aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (bug 16850)
[glibc.git] / ChangeLog
blob2a7f505a105cda3a2a02b165022a29905f20dd7f
1 2015-04-02  Andreas Schwab  <schwab@suse.de>
3         [BZ #16850]
4         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6 2015-04-02  Mel Gorman  <mgorman@suse.de>
8         [BZ #17195]
9         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10         as well as the main arena.
12 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
14         [BZ #18185]
15         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16         sharing L2 cache to 2 for Silvermont/Knights Landing.
18 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20         [BZ #17711]
21         * config.make.in (have-protected-data): New.
22         * configure.ac: Check linker support for protected data symbol.
23         * configure: Regenerated.
24         * elf/Makefile (modules-names): Add tst-protected1moda and
25         tst-protected1modb if $(have-protected-data) is yes.
26         (tests): Add tst-protected1a and tst-protected1b if
27         $(have-protected-data) is yes.
28         ($(objpfx)tst-protected1a): New.
29         ($(objpfx)tst-protected1b): Likewise.
30         (tst-protected1modb.so-no-z-defs): Likewise.
31         * elf/tst-protected1a.c: New file.
32         * elf/tst-protected1b.c: Likewise.
33         * elf/tst-protected1mod.h: Likewise.
34         * elf/tst-protected1moda.c: Likewise.
35         * elf/tst-protected1modb.c: Likewise.
37 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
39         [BZ #17711]
40         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
41         indicates it is called from do_lookup_x on relocation against
42         protected data, skip the data definion in the executable from
43         copy reloc.
44         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
45         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
46         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
47         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
48         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
49         otherwise to 0.
50         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
51         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
52         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
53         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
54         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
55         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
57 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
59         * sysdeps/nptl/pthread.h: Remove duplicate definition of
60         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
62 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
64         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
65         THREAD_SETMEM_NC.
66         * sysdeps/x86_64/nptl/tls.h: Ditto.
68 2015-03-27  Roland McGrath  <roland@hack.frob.com>
70         * dlfcn/tststatic.c (main): Converted to ...
71         (do_test): ... this.
72         (TEST_FUNCTION): New macro.
73         Include test-skeleton.c.
75 2015-03-26  Alan Modra  <amodra@gmail.com>
77         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
78         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
79         zero for undefined weak.
80         (elf_machine_plt_conflict): Similarly.
82 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
84         * math/auto-libm-test-in: Add more tests of acosh, asinh and
85         atanh.
86         * math/auto-libm-test-out: Regenerated.
87         * sysdeps/i386/fpu/libm-test-ulps: Update.
88         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90         * math/auto-libm-test-in: Add another test of asin.
91         * math/auto-libm-test-out: Regenerated.
92         * sysdeps/i386/fpu/libm-test-ulps: Update.
93         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
95         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
96         Remove macro.
97         (LLL_EBX_REG): Likewise.
98         (LLL_ENTER_KERNEL): Likewise.
100         * math/auto-libm-test-in: Add more tests of asin.
101         * math/auto-libm-test-out: Regenerated.
102         * sysdeps/i386/fpu/libm-test-ulps: Update.
103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
105         [BZ #18138]
106         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
107         libc_do_syscall_args): New structure.
108         (INTERNAL_SYSCALL_MAIN_0): New macro.
109         (INTERNAL_SYSCALL_MAIN_1): Likewise.
110         (INTERNAL_SYSCALL_MAIN_2): Likewise.
111         (INTERNAL_SYSCALL_MAIN_3): Likewise.
112         (INTERNAL_SYSCALL_MAIN_4): Likewise.
113         (INTERNAL_SYSCALL_MAIN_5): Likewise.
114         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
115         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
116         Replace conditional definitions by conditional definitions of ....
117         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
118         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
119         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
120         (libpthread-sysdep_routines): Add libc-do-syscall.
121         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
122         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
123         to __NR_futex not 240.
125 2015-03-25  Alan Modra  <amodra@gmail.com>
127         * NEWS: Advertise TLS optimization.
128         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
129         (DT_PPC_NUM): Increment.
130         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
131         (CHECK_STATIC_TLS): Use here.
132         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
133         TLS descriptors.
134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
135         * sysdeps/powerpc/dl-tls.c: New file.
136         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
137         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
138         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
139         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
144 2015-03-25  Alan Modra  <amodra@gmail.com>
146         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
147         for overlapping .opd entries" to "support...".
148         * sysdeps/powerpc/powerpc64/configure: Regenerate
150 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
152         * math/auto-libm-test-in: Add more tests of acos.
153         * math/auto-libm-test-out: Regenerated.
154         * sysdeps/i386/fpu/libm-test-ulps: Update.
155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
157         * math/auto-libm-test-in: Add more tests of expm1.
158         * math/auto-libm-test-out: Regenerated.
159         * sysdeps/i386/fpu/libm-test-ulps: Update.
160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
162 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
164         * math/auto-libm-test-in: Add more tests of cosh and sinh.
165         * math/auto-libm-test-out: Regenerated.
166         * sysdeps/i386/fpu/libm-test-ulps: Update.
167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
169         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
172         * math/auto-libm-test-in: Add more tests of log2.
173         * math/auto-libm-test-out: Regenerated.
174         * sysdeps/i386/fpu/libm-test-ulps: Update.
175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
177 2015-03-23  Roland McGrath  <roland@hack.frob.com>
179         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
180         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
181         _IO_IS_APPENDING bit in READ_WRITE instead.
183 2015-03-23  Florian Weimer  <fweimer@redhat.com>
185         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
186         (__determine_cpumask_size): Replace extend_alloca with a
187         variable-length array.  Do not treat res == 0 as an error.
189 2015-03-23  Florian Weimer  <fweimer@redhat.com>
191         [BZ #18100]
192         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
193         and integer overflow.
194         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
195         (main): Add integer overflow tests.
196         * manual/pattern.texi (Calling Wordexp): Document additional use
197         for WRDE_SYNTAX.
199 2015-03-23  Alan Modra  <amodra@gmail.com>
201         * config.h.in: Remove HAVE_ASM_PPC_REL16.
202         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
203         and false branch of conditional.
204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
205         Likewise.
207 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
209         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
210         libc-modules.h
211         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
212         unused declaration of _hurd_intr_rpc_msg_in_trap.
213         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
214         defined instead of whether it is non-zero.
215         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
216         input constraint instead of both input and output constraint.  Use ecx
217         clobber instead of %ecx.
218         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
219         mutex_unlock): Use a statement expression instead of an expression list.
220         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
221         type to vm_size_t instead of vm_address_t.
222         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
223         defined instead of whether it is non-zero.
224         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
225         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
226         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
227         comparisons with mapaddr.
228         * nscd/nscd-client.h: Include <time.h>.
229         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
230         9th parameter to __vm_region instead of int.
231         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
232         * scripts/check-local-headers.sh (exclude): Add device/,
233         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
234         cthreads.h.
236 2015-03-19  Roland McGrath  <roland@hack.frob.com>
238         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
239         to account for alignment padding.
240         * sysdeps/arm/memmove.S: Likewise.
242 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
244         * sysdeps/unix/sysv/linux/generic/README: New file.
246 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
248         [BZ #18138]
249         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
250         (futex_abstimed_wait)
251         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
252         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
253         of lll_futex_timed_wait.
255 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
257         [BZ #17542]
258         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
260 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
262         [BZ #17090]
263         [BZ #17620]
264         [BZ #17621]
265         [BZ #17628]
266         * NEWS: Update.
267         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
268         entries with Static TLS too.  Skip entries past the end of the
269         allocated DTV, from Alan Modra.
270         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
271         Static TLS DTV entry set up from...
272         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
273         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
274         * nptl/allocatestack.c (init_one_static_tls): ... and here...
275         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
276         for Static TLS.
277         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
278         that the slot we find is associated with the given map before
279         using its generation count.
280         * nptl_db/db_info.c: Include ldsodefs.h.
281         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
282         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
283         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
284         (link_map::l_tls_offset): New struct field.
285         (dtv_t::counter): Likewise.
286         (rtld_global): New struct.
287         (_rtld_global): New rtld variable.
288         (dl_tls_dtv_slotinfo_list): New rtld global field.
289         (dtv_slotinfo_list): New struct.
290         (dtv_slotinfo): Likewise.
291         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
292         (td_lookup): Rename to...
293         (td_mod_lookup): ... this.  Use new mod parameter instead of
294         LIBPTHREAD_SO.
295         * nptl_db/td_thr_tlsbase.c: Include link.h.
296         (dtv_slotinfo_list, dtv_slotinfo): New functions.
297         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
298         addresses even if the DTV is out of date or missing them.
299         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
300         index zero-length arrays.
301         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
302         (td_lookup): Make it a macro implemented in terms of...
303         (td_mod_lookup): ... this declaration.
304         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
305         (DB_MAIN_VARIABLE): Likewise.
307 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
309         [BZ #18134]
310         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
312 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
314         * stdlib/setenv.c (__add_to_environ): Revert previous change.
316 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
318         [BZ #18128]
319         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
320         (atomic_add, atomic_increment_and_test)
321         (atomic_decrement_and_test): Fix 64-bit arithmetic.
323 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
325         * stdlib/setenv.c (__add_to_environ):
326         Dump core quickly if setenv (..., NULL, ...) is called.
328 2015-03-13  Roland McGrath  <roland@hack.frob.com>
330         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
331         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
332         all the necessary asm magic in one place.
333         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
334         using those.
336 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
338         [BZ #14906]
339         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
340         traced file mtime. Use consistent log message.
341         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
342         (register_traced_file): Call install_watches. Always set mtime.
343         (invalidate_cache): Iterate over all trace files. Call install_watches.
344         (inotify_check_files): Don't inline. Handle watching parent
345         directories and configuration file movement in and out.
346         (handle_inotify_events): New function.
347         (main_loop_poll): Call handle_inotify_events.
348         (main_loop_epoll): Likewise.
349         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
350         (struct traced_file): Use array of inotify fds. Add parent directory,
351         and basename.
352         (struct database_dyn): Remove unused file_mtime.
353         (init_traced_file): New inline function.
354         (define_traced_file): New macro.
355         * nss/nss_db/db-init.c: Use define_traced_file.
356         (_nss_db_init): Use init_traced_file.
357         * nss/nss_files/files-init.c: Use define_traced_file.
358         (_nss_files_init): Use init_traced_file.
360 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
362         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
363         [_LIBC]: Do not include <stdlib.h>.
364         [!_LIBC] (abort): Remove declaration.
365         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
366         _FP_STATIC_ASSERT instead of conditionally calling abort.
367         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
368         (_FP_EXTEND_CNAN): Likewise.
369         (FP_TRUNC): Likewise.
370         (__FP_CLZ): Likewise.
371         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
373 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
375         * manual/string.texi (XPG basename): Fix prototype.
377 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
379         [BZ #18080]
380         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
381         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
382         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
383         (__setcontext): Likewise.
384         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
385         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
386         Call rt_sigprocmask syscall one time to set new signal mask
387         and retrieve the current signal mask instead of two calls.
388         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
389         (__swapcontext): Likewise.
390         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
391         * stdlib/tst-setcontext2.c: New file.
393 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
395         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
397 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
399         [BZ #18093]
400         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
401         the wrong size.
403 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
405         [BZ #18043]
406         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
408 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
410         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
411         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
412         Remove define.
413         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
414         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
415         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
416         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
417         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
418         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
419         define.
420         * nptl_db/td_symbol_list.c (td_lookup): Remove
421         HAVE_ASM_GLOBAL_DOT_NAME code.
422         * sysdeps/powerpc/powerpc64/configure.ac: Remove
423         HAVE_ASM_GLOBAL_DOT_NAME check.
424         * sysdeps/powerpc/powerpc64/configure: Regenerate.
425         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
426         (DOT_LABEL): Remove define.
427         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
428         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
429         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
430         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
431         (__TLS_GET_ADDR): Likewise.
432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
433         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
435 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
437         [BZ #18111]
438         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
439         (_FPU_SETCW): Initialize cw from fpsr before storing.
440         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
441         (fesetexceptflag): Rewrite using fpu_control.h.
442         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
444 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
446         [BZ #18110]
447         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
448         asms.
449         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
451 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
453         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
454         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
455         abort.
456         (_FP_FMA): Likewise.
457         (_FP_DIV): Likewise.
459 2015-03-10  Roland McGrath  <roland@hack.frob.com>
461         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
462         with 0 in that case.
463         * Makefile (summarize-tests): New canned sequence, factored out of
464         commands for targets tests and xtests.  Display summary lines that
465         don't start with PASS: or XFAIL: rather than ones that do start with
466         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
467         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
468         do start with ERROR: or FAIL:.
469         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
470         (except for [$(build-shared) = yes]).
471         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
472         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
473         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
474         * nptl/Makefile: Revert 2015-03-04 changes.
475         [$(CXX) empty] (tests-unsupported): New variable.
476         * debug/Makefile: Likewise.
478         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
479         gnulib file.  Replace __attribute with __attribute__ throughout.
481 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
483         * sysdeps/hppa/fpu/libm-test-ulps: Update.
485 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
487         [BZ #18104]
488         * math/auto-libm-test-in: Add another test of pow.
489         * math/auto-libm-test-out: Regenerated.
491 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
493         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
494         $(config-cflags-nofma).
496 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
498         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
499         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
500         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
501         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
502         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
503         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
504         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
505         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
506         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
507         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
508         Add comment on closing #endif.
510 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
512         * posix/wordexp.c (CHAR_IN_SET): New macro.
513         (parse_param): Use it.
515 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
517         * sysdeps/powerpc/fpu/libm-test-ulps: update.
519 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
521         [BZ #18043]
522         * posix/wordexp.c (parse_param): Fix buffer overflow.
523         * posix/wordexp-test.c (test_case): Add test case.
525 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
527         [BZ #18042]
528         * posix/wordexp.c (parse_backtick): Fix off-by-one.
529         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
531 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
533         [BZ #18043]
534         * posix/wordexp-test.c (test_case): Add test for BZ #18043
535         (do_bz18043): Delete.
536         (at_page_end): New.
537         (testit): Refactor to have words at the edge of unreadable page.
539 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
541         [BZ #16734]
542         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
543         Cleanup read-only streams as well.
544         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
546 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
548         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
549         <bits/libc-lockP.h>
551 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
553         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
554         on [__KERNEL__].
555         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
556         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
557         * soft-fp/op-common.h (_FP_DECL): Likewise.
559 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
561         * elf/ifuncdep2.c (global): Replace
562         __attribute__((visibility("protected"))) with
563         asm (".protected global").
564         * elf/ifuncmod1.c (global): Likewise.
565         * elf/ifuncmod5.c (global): Likewise.
567 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
569         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
570         <asm/sfp-machine.h> instead of <sfp-machine.h>.
572 2015-03-06  Roland McGrath  <roland@hack.frob.com>
574         * manual/install.texi (Configuring and compiling):
575         Document test-wrapper-env-only.
576         * INSTALL: Regenerated.
578 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
580         [BZ #18043]
581         * posix/wordexp.c (parse_param): Fix buffer overflow.
582         * posix/wordexp-test.c (do_bz18043): Add test case.
584 2015-03-06  Vincent Bernat  <vincent@bernat.im>
586         * time/tst-strptime2.c (do_test): Ensure failing tests are
587         reported correctly.
588         * time/tst-strptime3.c (do_test): Likewise.
590 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
592         Fix aio_error thread-safety.
593         * sysdeps/pthread/aio_error.c: New file
594         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
595         synchronization.
597 2015-03-06  Florian Weimer  <fweimer@redhat.com>
599         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
600         (group_number, vfprintf): Use it.
601         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
602         (JUMP, REF): Use it.
603         (WORK_BUFFER_SIZE): New enum constant.
604         (process_arg, vfprintf): Use it.
606 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
608         * manual/errno.texi (Error Messages): Complete example function
609         by adding missing #define.
610         (program_invocation_name): Add statement indicating GNU
611         extension and reference which header file declares the variable.
612         (program_invocation_short_name): Likewise.
614 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
616         * manual/errno.texi (Error Messages): Delete strerror ISO C89
617         compatibility note.
619 2015-03-05  Roland McGrath  <roland@hack.frob.com>
621         * Makeconfig (test-wrapper-env-only): New variable.
622         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
623         then use that with $(test-wrapper-env-only) rather than using
624         $(test-wrapper-env) $(run-program-env) $($*-ENV).
626 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
628         [BZ #18082]
629         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
630         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
631         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
632         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
633         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
634         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
635         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
636         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
637         Likewise.
638         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
639         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
640         Likewise.
641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
642         Likewise.
643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
644         Likewise.
645         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
646         Likewise.
647         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
648         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
649         Likewise.
650         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
651         Likewise.
652         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
653         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
655 2015-03-04  Roland McGrath  <roland@hack.frob.com>
657         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
658         (ETH_ALEN): New macro.
659         (struct ether_addr): Use it for length of ether_addr_octet.
661         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
662         (setdb): Don't call __nss_configure_lookup for "rpc".
663         (do_test): Don't call test_rpc.
664         (output_rpcent, test_rpc): Functions moved ...
665         * sunrpc/test-rpcent.c: ... to this new file.
666         * sunrpc/Makefile (tests): Add it.
668         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
669         __xpg_sigpause.
670         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
671         * nptl/tst-signal6.c: Likewise.
672         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
673         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
675         * configure.ac (libc_cv_cxx_link_ok): New check.
676         Reset CXX to empty if it fails to link.
677         * configure: Regenerated.
678         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
679         bug-atexit3-lib only if $(CXX) is nonempty.
680         * nptl/Makefile (tests): Likewise for tst-cancel24.
681         (tests, tests-static): Likewise for tst-cancel24-static.
682         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
683         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
684         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
685         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
687 2015-03-04  Andreas Schwab  <schwab@suse.de>
689         [BZ #17631]
690         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
691         for non-GCC compilers.
692         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
693         Likewise.
695 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
697         [BZ #17776]
698         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
699         integer before bitwise and assembly operations.
700         (feclearexcept): Likewise.
701         * math/test-fenvinline.c: New file.
702         * math/Makefile: Add test-fenvinline test.
704 2015-03-03  Alan Modra  <amodra@gmail.com>
706         [BZ #16512]
707         * scripts/localplt.awk: Strip off symbol version.
708         * NEWS: Mention bug fix.
710 2015-03-02  Roland McGrath  <roland@hack.frob.com>
712         * sysdeps/pthread/timer_routines.c
713         (timer_free_list, thread_free_list, thread_active_list): Make static.
715 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
717         [BZ #17779]
718         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
719         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
720         Undefine.
721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
722         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
723         Likewise.
724         * sysdeps/unix/sysv/linux/sh/kernel-features.h
725         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
726         Likewise.
728 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
730         [BZ #18036]
731         * posix/fnmatch_loop.c (END): Detect invalid pattern.
732         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
734 2015-03-02  Andreas Schwab  <schwab@suse.de>
736         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
737         variable name.
739 2015-03-02  Florian Weimer  <fweimer@redhat.com>
741         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
742         Return error status.
744 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
746         [BZ #15969]
747         * locale/findlocale.c (_nl_find_locale): Introduce const
748         version of loc_name and drop unsafe type casts.
750 2015-02-27  Roland McGrath  <roland@hack.frob.com>
752         * dlfcn/tststatic2.c (main): Converted to ...
753         (do_test): ... this.
754         (TEST_FUNCTION): New macro.
755         Include test-skeleton.c.
757 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
759         [BZ #17711]
760         * elf/Makefile (tests): Add vismain only if PIE is enabled.
761         (tests-pie): Add vismain.
762         (CFLAGS-vismain.c): New.
763         * elf/vismain.c: Add comments for PIE requirement.
765 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
767         [BZ #18046]
768         [BZ #18047]
769         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
770         0x1p-56L as threshold for just returning the argument.
771         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
772         0x1p-32L as threshold for just returning the argument.
773         * math/auto-libm-test-in: Add more tests of atanh.
774         * math/auto-libm-test-out: Regenerated.
775         * sysdeps/i386/fpu/libm-test-ulps: Update.
776         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
778 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
780         * string/bcopy.c (bcopy): Call memmove for performance.
782 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
784         * string/bzero.c (__bzero): Call memset for performance.
786 2015-02-27  John David Anglin  <dave.anglin@bell.net>
788         [BZ #18068]
789         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
790         to 00100000.
792 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
794         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
796 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
798         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
799         (__kernel_standard): Use CSTR macro when setting exc.name.
800         * sysdeps/ieee754/Makefile [$(subdir) = math]
801         (CFLAGS-k_standard.c): Remove variable.
803         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
804         setting p and q from "else if" to "else".
805         (qzero): Likewise.
806         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
807         (qone): Likewise.
808         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
809         (qzerof): Likewise.
810         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
811         (qonef): Likewise.
812         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
813         (qzero): Likewise.
814         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
815         (qone): Likewise.
817         [BZ #18038]
818         [BZ #18039]
819         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
820         return pi/2 for arguments below 0x1p-113L.
821         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
822         return pi/2 for arguments below 0x1p-106L.
823         * math/auto-libm-test-in: Add more tests of acos.
824         * math/auto-libm-test-out: Regenerated.
826         [BZ #16351]
827         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
828         (MO): New macro.
829         (__ieee754_asin): Force underflow exception for results with small
830         absolute value.
831         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
832         (MO): New macro.
833         (__ieee754_asinf): Force underflow exception for results with
834         small absolute value.
835         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
836         (__ieee754_asin): Force underflow exception for results with small
837         absolute value.
838         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
839         (__ieee754_asinf): Force underflow exception for results with
840         small absolute value.
841         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
842         (__ieee754_asinl): Force underflow exception for results with
843         small absolute value.
844         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
845         (__ieee754_asinl): Force underflow exception for results with
846         small absolute value.
847         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
848         (__ieee754_asinl): Force underflow exception for results with
849         small absolute value.
850         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
851         Include <math.h>.
852         * math/auto-libm-test-in: Do not mark underflow exceptions as
853         possibly missing for bug 16351.
854         * math/auto-libm-test-out: Regenerated.
856         [BZ #18030]
857         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
858         of power of 2 down when low part has opposite sign.
859         * math/libm-test.inc (logb_test_data): Add more tests.
861 2015-02-26  Andreas Schwab  <schwab@suse.de>
863         [BZ #18032]
864         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
865         over collating symbol inside a bracket expression.  Minor cleanup.
866         * posix/tst-fnmatch3.c (do_test): Add test case.
868 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
870         [BZ #18029]
871         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
872         Adjust exponent of power of 2 down when low part has opposite
873         sign.
874         * math/libm-test.inc (ilogb_test_data): Add more tests.
876 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
878         [BZ #15969]
879         * locale/findlocale.c (_nl_find_locale): Fix constness error in
880         the previous change.
882         [BZ #15969]
883         * locale/findlocale.c (_nl_find_locale): Retry archive search
884         after alias expansion.
886 2015-02-25  Roland McGrath  <roland@hack.frob.com>
888         * iconv/tst-iconv3.c (main): Converted to ...
889         (do_test): ... this.
890         (TEST_FUNCTION): New macro.
891         Include test-skeleton.c.
893         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
894         (convert): Make function static.
895         (test_unalign): Likewise.  Add const to argument pointee types.
896         (main): Replace with static function do_test.
897         Print "Succeeded." only if RET is zero.
898         (TEST_FUNCTION): New macro.
899         Include test-skeleton.c.
901         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
902         returns a null pointer.
904 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
906         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
907         to __memcpy_ppc only for static builds.
909 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
911         [BZ #18020]
912         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
913         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
914         * math/auto-libm-test-in: Add more tests of asinh.
915         * math/auto-libm-test-out: Regenerated.
916         * sysdeps/i386/fpu/libm-test-ulps: Update.
917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
919 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
921         [BZ #15850]
922         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
923         and ip6_mtuinfo definitions here.
924         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
925         in this define too.  Update comment.
927 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
929         * elf/sprof.c (load_shobj): Tweak error message to match others.
931 2015-02-24  Kevin Easton  <kevin@guarana.org>
933         [BZ #16145] (partial fix)
934         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
935         to reduce lock contention.
937 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
939         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
940         (struct timex): Update time comment.
941         (ADJ_SETOFFSET): Define.
943 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
945         [BZ #18019]
946         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
947         2**56 not 2**28 as threshold for log (2x) formula.
948         * math/auto-libm-test-in: Add more tests of acosh.
949         * math/auto-libm-test-out: Regenerated.
950         * sysdeps/i386/fpu/libm-test-ulps: Update.
951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
955         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
956         parenthesis around the buf assignment.
957         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
959 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
961         [BZ #16783]
962         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
963         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
964         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
965         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
966         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
967         * math/libm-test.inc (scalb_test_data): Add more tests.
969 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
971         [BZ #17916]
972         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
973         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
975 2015-02-24  Eric Rannaud  <e@nanocritical.com>
977         [BZ #17523]
978         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
979         * io/bits/fcntl2.h (open): Use it.
980         (openat): Likewise.
981         * io/open.c (__libc_open): Likewise.
982         * io/open64.c (__libc_open64): Likewise.
983         * io/open64_2.c (__open64_2): Likewise.
984         * io/open_2.c (__open_2): Likewise.
985         * io/openat.c (__openat): Likewise.
986         * io/openat64.c (__openat64): Likewise.
987         * io/openat64_2.c (__openat64_2): Likewise.
988         * io/openat_2.c (__openat_2): Likewise.
989         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
990         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
991         * sysdeps/posix/open64.c (__libc_open64): Likewise.
992         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
993         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
994         (__open_nocancel): Likewise.
995         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
996         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
997         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
999 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1001         [BZ #14841]
1002         * resolv/gethnamaddr.c (getanswer): Skip logging if
1003         RES_USE_DNSSEC is set.
1004         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1006 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1008         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1010 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1012         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1013         201304L, for Unicode 7.
1015 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1017         [BZ #17836]
1018         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1019         shared library.  Add gmon-start.os otherwise.
1020         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1021         $(objpfx)gmon-start.os if builing shared library.
1022         ($(objpfx)g$(static-start-installed-name)): Likewise.
1024 2015-02-23  Andreas Schwab  <schwab@suse.de>
1026         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1028 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1030         [BZ #17269]
1031         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1032         (enlarge_userbuf): Likewise.
1034 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1036         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1037         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1038         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1039         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1041 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1043         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1044         expression inside statement expression.
1046 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1048         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1049         <sysdeps/nptl/lowlevellock.h> and remove macros and
1050         functions that are now defined there.
1051         (SYS_futex): Remove.
1052         (lll_compare_and_swap): Remove.
1053         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1055 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1057         [BZ #17999]
1058         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1059         instead of scandirat.
1060         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1061         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1062         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1063         __scandirat.
1064         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1065         (__scandirat): Declare.  Use libc_hidden_proto.
1066         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1067         Remove variable.
1068         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1070 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1072         [BZ #15319]
1073         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1074         (MO): New macro.
1075         (__ieee754_atan2): For results with small absolute value, force
1076         underflow exception and remove excess range and precision from
1077         return value.
1078         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1079         (MO): New macro.
1080         (__ieee754_atan2f): For results with small absolute value, force
1081         underflow exception and remove excess range and precision from
1082         return value.
1083         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1084         (MO): New macro.
1085         (__atan): For results with small absolute value, force underflow
1086         exception and remove excess range and precision from return value.
1087         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1088         (MO): New macro.
1089         (__atanf): For results with small absolute value, force underflow
1090         exception and remove excess range and precision from return value.
1091         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1092         <math.h>.
1093         (__ieee754_atan2): Force underflow exception for results with
1094         small absolute value.
1095         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1096         <math_private.h>.
1097         (atan): Force underflow exception for results with small absolute
1098         value.
1099         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1100         (__atanf): Force underflow exception for results with small
1101         absolute value.
1102         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1103         <math.h>.
1104         (__atanl): Force underflow exception for results with small
1105         absolute value.
1106         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1107         (__atanl): Force underflow exception for results with small
1108         absolute value.
1109         * sysdeps/x86/fpu/bits/mathinline.h
1110         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1111         (__ieee754_atan2): Only define inline for long double.
1112         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1113         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1114         * math/auto-libm-test-in: Do not mark underflow exceptions as
1115         possibly missing for bug 15319.  Add more tests of atan2.
1116         * math/auto-libm-test-out: Regenerated.
1117         * math/libm-test.inc (casin_test_data): Do not mark underflow
1118         exceptions as possibly missing for bug 15319.
1119         (casinh_test_data): Likewise.
1120         * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1124         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1125         * sysdeps/mips/bits/endian.h: Fix comments.
1127 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1129         [BZ #17996]
1130         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1131         (hdestroy_r): Likewise.
1132         (hsearch_r): Likewise.
1133         (__hcreate_r): Declare and use libc_hidden_proto.
1134         (__hdestroy_r): Likewise.
1135         (__hsearch_r): Likewise.
1136         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1137         (hcreate): Call __hcreate_r instead of hcreate_r.
1138         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1139         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1140         as weak alias of __hcreate_r.
1141         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1142         __hdestroy_r.
1143         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1144         __hsearch_r.
1145         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1146         Remove variable.
1147         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1148         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1149         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1150         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1152 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1154         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1155         arena_lock into a single arena_get.
1157 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1159         * dl-reloc.c: Inlucde libc-internal.h.
1160         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1161         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1162         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1163         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1164         (grow_heap): Likewise.
1165         * malloc/malloc.c: Include libc-internal.h.
1166         (do_check_malloc): Call powerof2.
1167         (sysmalloc): Use pagesize. Call ALIGN_UP.
1168         (systrim): Use pagesize.
1169         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1170         (__libc_valloc): Use pagesize.
1171         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1173 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1175         [BZ #17991]
1176         * include/sys/resource.h (__getrlimit64): Declare.  Use
1177         libc_hidden_proto.
1178         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1179         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1180         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1181         getrlimit64.
1182         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1183         __getrlimit64.
1184         [!getrlimit64] (getrlimit64): Define as weak alias of
1185         __getrlimit64.  Use libc_hidden_weak.
1186         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1187         using __getrlimit64 not __new_getrlimit64.
1188         (__GI_getrlimit64): Likewise.
1189         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1190         Likewise.
1191         (__GI_getrlimit64): Likewise.
1192         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1194         (getrlimit): Add __getrlimit64 alias.
1195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1196         Likewise.
1197         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1198         Remove variable.
1199         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1200         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1202 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1204         * libio/fileops.c: Add missing sys/mman.h
1205         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1207 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1209         * manual/math.texi (Errors in Math Functions): Clarify goals
1210         regarding inexact and underflow exceptions.
1212 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1214         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1215         * sysdeps/mips/memset.S: Ditto.
1217 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1219         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1221 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1223         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1224         (__v1longjmp): Remove versioned symbol.
1225         (__v1siglongjmp): Remove alias and versioned symbol.
1226         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1227         (__v2siglongjmp): Likewise.
1229 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1231         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1233 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1235         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1237 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1239         [BZ #17987]
1240         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1241         zero result does not depend on the sign resulting from
1242         subtraction.
1243         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1244         Likewise.
1245         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1246         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1247         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1248         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1249         * math/libm-test.inc (remquo_test_data): Add more tests.
1251 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1253         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1254         Problem reported by J William Piggott.
1256 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1258         [BZ #17978]
1259         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1260         products 4 * y and 2 * y where those would overflow.
1261         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1262         Likewise.
1263         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1264         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1265         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1266         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1267         * math/libm-test.inc (remquo_test_data): Add more tests.
1269         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1271         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1272         [defined _COMPILING_NEWLIB].
1273         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1274         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1276         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1277         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1279 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1281         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1282         acquired.
1284 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1286         [BZ #17792]
1287         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1288         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1289         HOST_STACK_END_ADDR): Likewise.
1291 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1293         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1294         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1295         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1297 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1299         * sysdeps/generic/c++-types.data: New file.
1300         * sysdeps/generic/ld.abilist: New file.
1301         * sysdeps/generic/libBrokenLocale.abilist: New file.
1302         * sysdeps/generic/libanl.abilist: New file.
1303         * sysdeps/generic/libc.abilist: New file.
1304         * sysdeps/generic/libcrypt.abilist: New file.
1305         * sysdeps/generic/libdl.abilist: New file.
1306         * sysdeps/generic/libm.abilist: New file.
1307         * sysdeps/generic/libpthread.abilist: New file.
1308         * sysdeps/generic/libresolv.abilist: New file.
1309         * sysdeps/generic/librt.abilist: New file.
1311 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1313         [BZ #17569]
1314         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1315         Compute absolute value of x as modified by fmod, not original
1316         value of x.
1317         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1318         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1319         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1320         RUN_TEST_ffI_f1_mod8.
1321         (remquo_test_data): Add more tests.
1323 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1325         * sysdeps/init_array/pt-crti.S: New file.
1327 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1329         [BZ #17967]
1330         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1331         __builtin_fmaf instead of relying on contraction of a * b + c.
1333 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1335         [BZ #17969]
1336         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1337         node.
1339 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1341         [BZ #17964]
1342         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1343         __builtin_fma instead of relying on contraction of a * b + c.
1345 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1347         * Makeconfig (ASFLAGS): Add -Werror=undef.
1348         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1349         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1350         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1352         * Makeconfig (after-link): New variable.
1353         (+link-pie, +link-pie-tests): Use it.
1354         (+link-static, +link-static-tests): Likewise.
1355         (+link, +link-tests): Likewise.
1356         * Makerules (build-module, build-module-asneeded): Likewise.
1357         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1358         Likewise.
1359         * elf/Makefile ($(objpfx)ld.so): Likewise.
1361 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1363         [BZ #17965]
1364         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1365         both struct timeval and struct timespec.
1367 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #16560]
1370         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1371         and redefine.
1372         (__ieee754_exp2l): Do not multiply small fractional parts by
1373         M_LN2l.
1374         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1375         small argument.
1376         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1377         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1378         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1379         * math/auto-libm-test-in: Add more tests of exp2.
1380         * math/auto-libm-test-out: Regenerated.
1382 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1384         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1385         unaligned path.
1387 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1389         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1390         little endian.
1392 2015-02-12  Andreas Schwab  <schwab@suse.de>
1394         [BZ #15790]
1395         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1396         Filter out elision flags from value returned in kind.
1397         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1398         * nptl/tst-pthread-mutexattr.c: New file.
1400 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1402         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1403         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1404         into gnu-gnu, and update comment to refer to abi-tags.
1406 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1408         [BZ #15467]
1409         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1410         (__sincos): Set errno to EDOM for infinite argument.
1411         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1412         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1413         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1414         (__sincosl): Set errno to EDOM for infinite argument.
1415         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1416         (__sincosl): Set errno to EDOM for infinite argument.
1417         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1418         (__sincosl): Set errno to EDOM for infinite argument.
1419         * math/libm-test.inc (sincos_test_data): Test errno setting.
1421 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1423         * string/strxfrm_l.c: Remove #define STRCMP.
1424         * string/strcoll_l.c: Remove #define STRLEN.
1425         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1426         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1428 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1430         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1431         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1432         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1433         * sysdeps/mips/mips64/Makefile: ... here.
1434         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1435         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1436         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1437         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1438         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1439         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1440         * sysdeps/mips/mips64/n64/Implies: Likewise.
1442 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1444         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1445         <sys/time.h>, <string.h>, and <errno.h>.
1446         (dest_offset, dest_address, value, zero): Remove unused variables.
1447         (ldouble): Remove typedef.
1448         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1449         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1450         1).  Fix code style.
1451         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1452         (check): Function removed.
1453         (CHECK): New macro.
1454         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1455         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1456         Don't call set_sigaction_FP and remove_sigaction_FP here.
1457         (ldouble_test): Just use 'long double' as macro argument, no need for
1458         the 'ldouble' typedef.
1459         (do_test): Set up SIGFPE handler at start, using plain signal rather
1460         than sigaction.  Fix code style.
1462 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1464         [BZ #17949]
1465         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1466         jump label.
1468 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1470         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1471         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1473         * sysdeps/powerpc/configure.ac: Remove file.
1474         * sysdeps/powerpc/configure: Likewise.
1476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1477         [sysdep_routines]: Remove wordcopy-power6 object.
1478         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1479         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1480         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1481         (__memmove_ppc32): Likewise.
1482         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1483         file.
1484         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1485         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1486         Remove preprocessor.
1488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1489         [sysdep_routines]: Remove wide chars objects.
1490         [wcsmbs]: New rule for wide char objects.
1492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1493         Remove wordcopy-power6 obejct.
1494         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1495         Use local call for wordcopy and memcpy symbols.
1496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1497         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1498         implementation for loader.
1499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1501         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1502         Remove wordcopy-power7 object.
1503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1505         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1506         (_wordcopy_fwd_dest_aligned): Likewise.
1507         (_wordcopy_bwd_aligned): Likewise.
1508         (_wordcopy_bwd_dest_aligned): Likewise.
1510         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1511         Rewrite to call __memmove_ppc instead of include default
1512         implementation.
1514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1515         Remove wide chars objects.
1516         [wcsmbs]: New rule for wide char objects.
1518 2015-02-09  Andreas Schwab  <schwab@suse.de>
1520         [BZ #17912]
1521         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1522         in terms of __O_DIRECTORY.
1524 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1526         * time/getdate.c: Include <stdbool.h>.
1527         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1528         call PTR_MANGLE.
1529         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1530         PTR_DEMANGLE.
1532 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1534         Add ersatz _Static_assert on older C hosts
1535         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1536         pre-C11 C platform that is not known to support _Static_assert.
1538 2015-02-07  Richard Braun  <rbraun@sceen.net>
1540         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1541         sigstate.
1542         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1544 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1546         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1547         priority against unexistent AIO_PRIO_DELTA_MAX.
1548         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1549         instead of int.
1550         * misc/fchflags.c (fchflags): Likewise.
1551         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1552         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1553         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1554         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1555         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1556         Declare macros.
1557         [__USE_MISC] (chflags, fchflags): Declare functions.
1558         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1559         EINVAL when nfds is greater than FD_SETSIZE.
1560         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1561         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1562         45.
1563         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1564         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1565         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1566         MACH_RCV_TIMED_OUT.
1567         * hurd/hurd/signal.h (_hurd_self_sigstate,
1568         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1569         Explicit casts from void *.
1570         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1571         * abi-tags: Rename gnu-gnu os into gnu.
1573         [BZ #4719]
1574         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1575         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1576         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1577         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1578         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1579         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1581         [BZ #17944]
1582         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1583         duplicates ADDR->sun_path with sockaddr LEN limitation.
1584         * sysdeps/mach/hurd/connect.c: Include <string.h>
1585         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1586         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1587         * sysdeps/mach/hurd/sendto.c: Likewise.
1588         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1589         implementing it by hand.
1591 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1593         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1594         Use sfi_breg on ldr.
1595         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1596         Likewise.
1598         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1599         it's defined.
1600         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1601         Test SIGSETXID only if it's defined.
1603         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1605         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1606         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1608         * nptl/tst-align2.c: Moved ...
1609         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1610         * nptl/Makefile (tests): Remove tst-align2.
1611         * sysdeps/unix/sysv/linux/Makefile
1612         [$(subdir) = nptl] (tests): Add tst-align-clone.
1613         * nptl/tst-getpid1.c: Moved ...
1614         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1615         * nptl/tst-getpid2.c: Moved ...
1616         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1617         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1618         * sysdeps/unix/sysv/linux/Makefile
1619         [$(subdir) = nptl] (tests): ... here.
1620         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1621         * sysdeps/unix/sysv/linux/Makefile
1622         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1624         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1625         Drop trailing \n from perror argument.  Use return rather than exit.
1627         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1628         on [SA_SIGINFO].
1629         * nptl/tst-cancel21.c (do_test): Likewise.
1630         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1631         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1632         [!SA_SIGINFO]: Make it a stub test.
1634         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1635         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1637         * posix/tst-getlogin.c: Move to ...
1638         * login/tst-getlogin.c: ... here.
1639         * posix/Makefile (tests): Move tst-getlogin to ...
1640         * login/Makefile (tests): ... here.
1642         * libio/tst-atime.c (do_test): Move local variables SV and E
1643         inside [ST_NOATIME] conditional.
1645         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1647         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1649         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1650         (wait_code): New function replaces macro.
1651         Call nanosleep rather than syscall.
1653         * nptl/pt-system.c: Rewritten.  Put everything under
1654         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1655         Use IFUNC to redirect when possible.
1657         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1658         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1659         Use IFUNC to redirect when possible.
1661         * nptl/pt-fork.c: Rewritten.  Put everything under
1662         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1663         Use IFUNC to redirect when possible.
1664         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1666         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1667         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1668         unconditionally nowadays.  This included the only reference to
1669         __vdso_clock_gettime that appears outside libc proper.
1670         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1671         Remove version set (containing only __vdso_clock_gettime).
1672         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1673         Add attribute_hidden.
1674         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1675         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1676         libc_hidden_data_def.
1677         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1678         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1680         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1681         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1682         setrpcent, and getrpcport to ...
1683         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1684         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1685         getrpcbynumber_r, and getrpcent_r to ...
1686         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1687         * inet/getrpcbyname.c: Moved ...
1688         * sunrpc/getrpcbyname.c: ... here.
1689         * inet/getrpcbyname_r.c: Moved ...
1690         * sunrpc/getrpcbyname_r.c: ... here.
1691         * inet/getrpcbynumber.c: Moved ...
1692         * sunrpc/getrpcbynumber.c: ... here.
1693         * inet/getrpcbynumber_r.c: Moved ...
1694         * sunrpc/getrpcbynumber_r.c: ... here.
1695         * inet/getrpcent.c: Moved ...
1696         * sunrpc/getrpcent.c: ... here.
1697         * inet/getrpcent_r.c: Moved ...
1698         * sunrpc/getrpcent_r.c: ... here.
1699         * inet/Makefile (routines): Move those to ...
1700         * sunrpc/Makefile (routines): ... here.
1701         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1702         the $(subdirs) list.
1703         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1704         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1705         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1706         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1708         * elf/Makefile (routines): Include $(all-dl-routines), not just
1709         $(dl-routines).
1710         (rtld-routines): Likewise.  Use = rather than :=.
1711         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1712         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1713         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1714         * sysdeps/arm/Makefile: Likewise.
1715         * sysdeps/i386/Makefile: Likewise.
1716         * sysdeps/x86_64/Makefile: Likewise.
1717         * sysdeps/hppa/Makefile [$(subdir) = elf]
1718         (sysdep_routines, sysdep-rtld-routines): Don't add
1719         $(sysdep-dl-routines) to these.
1720         * sysdeps/ia64/Makefile: Likewise.
1721         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1722         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1723         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1724         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1725         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1726         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1727         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1728         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1729         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1730         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1731         these; sysdep-dl-routines alone is enough.
1733 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1735         [BZ #17932]
1736         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1737         where multiplication results in zero and third argument is finite
1738         and nonzero.
1739         * math/auto-libm-test-in: Add more tests of fma.
1740         * math/auto-libm-test-out: Regenerated.
1742         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1743         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1744         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1745         (_FP_CMP_EQ): Likewise.
1746         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1748         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1749         extra argument CHECK_NAN.  Redefine as wrapper around
1750         _FP_EXTEND_CNAN.
1752 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1754         * version.h (RELEASE): Set to "stable".
1755         (VERSION): Set to "2.21"
1756         * include/features.h (__GLIBC_MINOR__): Set to 21.
1758         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1760 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1761             Paul Eggert  <eggert@cs.ucla.edu>
1763         [BZ #16618]
1764         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1765         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1766         size in bytes. Store needed elements in wpmax. Use needed size
1767         in bytes for extend_alloca.
1769 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1771         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1772         binutls 2.25, and texinfo 5.2.
1773         * INSTALL: Regenerate.
1774         * sysdeps/nios2/configure: Regenerate.
1775         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1776         * manual/contrib.texi: Update.
1777         * po/be.po: Update.
1778         * po/bg.po: Update.
1779         * po/ca.po: Update.
1780         * po/cs.po: Update.
1781         * po/da.po: Update.
1782         * po/de.po: Update.
1783         * po/el.po: Update.
1784         * po/eo.po: Update.
1785         * po/es.po: Update.
1786         * po/fi.po: Update.
1787         * po/fr.po: Update.
1788         * po/gl.po: Update.
1789         * po/hr.po: Update.
1790         * po/hu.po: Update.
1791         * po/ia.po: Update.
1792         * po/id.po: Update.
1793         * po/it.po: Update.
1794         * po/ja.po: Update.
1795         * po/ko.po: Update.
1796         * po/lt.po: Update.
1797         * po/nb.po: Update.
1798         * po/nl.po: Update.
1799         * po/pl.po: Update.
1800         * po/pt_BR.po: Update.
1801         * po/ru.po: Update.
1802         * po/rw.po: Update.
1803         * po/sk.po: Update.
1804         * po/sl.po: Update.
1805         * po/sv.po: Update.
1806         * po/tr.po: Update.
1807         * po/uk.po: Update.
1808         * po/vi.po: Update.
1809         * po/zh_CN.po: Update.
1810         * po/zh_TW.po: Update.
1812         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1813         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1814         * sysdeps/hppa/dl-irel.h: Remove #warning.
1815         * sysdeps/hppa/entry.h: Provide prototype for
1816         __canonicalize_funcptr_for_compare and cast argument.
1817         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1818         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1819         * sysdeps/hppa/sotruss-lib.c: New file.
1820         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1821         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1822         (atomic_compare_and_exchange_bool_acq): Likewise.
1823         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1824         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1826         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1827         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1828         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1830 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1832         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1833         called function in non-PIC case.
1835 2015-01-31  David S. Miller  <davem@davemloft.net>
1837         * sysdeps/sparc/sparc32/bits/atomic.h
1838         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1839         unlock not after it.
1840         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1841         volatile register usage warnings from the compiler.
1843         * sysdeps/sparc/nptl/sem_init.c: Delete.
1844         * sysdeps/sparc/nptl/sem_post.c: Delete.
1845         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1846         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1847         * sysdeps/sparc/sparc32/sem_init.c: New file.
1848         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1849         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1850         padding explicitly initialized.
1851         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1852         padding for in-semaphore spinlock.
1853         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1854         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1855         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1856         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1857         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1858         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1859         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1860         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1861         version.
1862         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1863         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1865 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1867         [BZ #17801]
1868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1869         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1870         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1871         New.
1872         (index_AVX_Fast_Unaligned_Load): Likewise.
1873         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1874         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1875         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1876         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1877         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1878         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1879         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1880         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1881         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1883 2015-01-29  Andreas Schwab  <schwab@suse.de>
1885         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1887 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1889         [BZ #17892]
1890         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1892 2015-01-28  Martin Sebor  <msebor@redhat.com>
1894         * math/README.libm-test: Clarify. Add "How to read the test output."
1896 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1898         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1899         Define to 0.
1901 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1903         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1904         (__HAVE_64B_ATOMICS): Define to 0.
1906 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1908         [BZ #17885]
1909         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1910         value to set as new flag.
1912         [BZ #16576]
1913         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1914         and use _ARCH_PPCSQ instead.
1915         (__ieee754_sqrt): Likewise.
1916         (__ieee754_sqrtf): Likewise.
1917         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1918         _ARCH_PPCSQ is defined.
1919         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1920         fsqrt instruction.
1921         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1922         _ARCH_PPCSQ is defined.
1923         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1924         fsqrts instruction.
1925         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1927 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1929         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1930         bug (GCC BZ #64739).
1932 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1934         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1935         Mark _retval as used.
1936         (lll_futex_wake_unlock): Likewise.
1937         (lll_futex_timed_wait_requeue_pi): Likewise.
1939         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1940         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1941         register variables.
1943         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1944         libm_hidden_def.
1946         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1947         (__bswap_64): Mark as __always_inline.
1949 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1951         [BZ #15378]
1952         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1953         when none of the search directories exist.
1955 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1957         [BZ #17869]
1958         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1959         power8 in .machine directive.
1961         [BZ #17868]
1962         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1963         set dependency from opd value.
1965 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1968         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1969         architecture.
1971 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1973         [BZ #17870]
1974         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1975         with uint64_t.
1976         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1977         (uint64_t) 1.
1978         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1979         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1980         Replace 1UL with (uint64_t) 1.
1981         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1982         int with uint64_t.
1984 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1986         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1987         (if_freenameindex): Likewise.
1989         * resource/getrlimit64.c: Add missing libc_hidden_def.
1991 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1993         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1994         __label__.
1995         (_FP_FMA): Likewise.
1996         (_FP_TO_INT_ROUND): Likewise.
1997         (_FP_FROM_INT): Likewise.
1999 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2001         [BZ #16418]
2002         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2003         Make code racy and cancel safe.
2005 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2007         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2008         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2009         attribution.
2011         * pwd/tst-getpw.c: Rewrite.
2013         [BZ #17702]
2014         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2015         (modules-names): Add moddummy1 and moddummy2.
2016         ($(objpfx)tst-rec-dlopen): Define.
2017         * dlfcn/moddummy1.c: New file.
2018         * dlfcn/moddummy2.c: New file.
2019         * dlfcn/tst-rec-dlopen.c: New file.
2020         * elf/dl-cache.c (_dl_load_cache_lookup):
2021         Return char*. Copy result with alloca/strcpy/strdup.
2022         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2023         returns char*. Free cached. If not saving realname
2024         free cached.
2025         * elf/dl-open.c (dl_open_worker): Do not assert that
2026         _r_debug->r_state is RT_CONSISTENT.
2027         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2028         returns char*.
2030 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2031             Carlos O'Donell  <carlos@redhat.com>
2033         [BZ #12674]
2034         * nptl/sem_waitcommon.c: New file.
2035         * nptl/sem_wait.c: Include sem_waitcommon.c.
2036         (__sem_wait_cleanup, do_futex_wait): Remove.
2037         (__new_sem_wait): Adapt.
2038         (__new_sem_trywait): New function.
2039         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2040         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2041         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2042         (sem_timedwait): Adapt.
2043         * nptl/sem_post.c (__new_sem_post): Adapt.
2044         (futex_wake): New function.
2045         (__old_sem_post): Add release MO fence.
2046         * nptl/sem_open.c (sem_open): Adapt.
2047         * nptl/sem_init.c (__new_sem_init): Adapt.
2048         (futex_private_if_supported): New function.
2049         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2050         (__old_sem_getvalue): Add using previous code.
2051         * sysdeps/nptl/internaltypes.h: Adapt.
2052         * nptl/tst-sem13.c (do_test): Adapt.
2053         * nptl/tst-sem11.c (main): Adapt.
2054         * nptl/sem_trywait.c: Remove.
2055         * nptl/DESIGN-sem.txt: Remove.
2056         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2057         (gen-as-const-headers): Remove structsem.sym.
2058         * nptl/structsem.sym: Remove.
2059         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2060         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2061         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2062         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2063         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2064         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2065         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2066         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2067         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2068         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2069         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2070         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2071         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2072         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2073         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2074         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2075         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2076         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2077         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2078         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2079         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2080         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2082 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2084         * INSTALL: Regenerated.
2086         * po/libc.pot: Regenerated.
2088 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2089             Sandra Loosemore  <sandra@codesourcery.com>
2090             Andrew Jenner  <andrew@codesourcery.com>
2091             Joseph Myers  <joseph@codesourcery.com>
2092             Nathan Sidwell  <nathan@codesourcery.com>
2094         * NEWS: Mention new Nios II port.
2095         * sysdeps/nios2/Implies: New file.
2096         * sysdeps/nios2/Makefile: New file.
2097         * sysdeps/nios2/Subdirs: New file.
2098         * sysdeps/nios2/Versions: New file.
2099         * sysdeps/nios2/__longjmp.S: New file.
2100         * sysdeps/nios2/abort-instr.h: New file.
2101         * sysdeps/nios2/backtrace.c: New file.
2102         * sysdeps/nios2/bits/endian.h: New file.
2103         * sysdeps/nios2/bits/fenv.h: New file.
2104         * sysdeps/nios2/bits/link.h: New file.
2105         * sysdeps/nios2/bits/setjmp.h: New file.
2106         * sysdeps/nios2/bsd-_setjmp.S: New file.
2107         * sysdeps/nios2/bsd-setjmp.S: New file.
2108         * sysdeps/nios2/configure: New generated file.
2109         * sysdeps/nios2/configure.ac: New file.
2110         * sysdeps/nios2/crti.S: New file.
2111         * sysdeps/nios2/crtn.S: New file.
2112         * sysdeps/nios2/dl-init.c: New file.
2113         * sysdeps/nios2/dl-machine.h: New file.
2114         * sysdeps/nios2/dl-sysdep.h: New file.
2115         * sysdeps/nios2/dl-tls.h: New file.
2116         * sysdeps/nios2/dl-trampoline.S: New file.
2117         * sysdeps/nios2/gccframe.h: New file.
2118         * sysdeps/nios2/gmp-mparam.h: New file.
2119         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2120         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2121         * sysdeps/nios2/ldsodefs.h: New file.
2122         * sysdeps/nios2/libc-tls.c: New file.
2123         * sysdeps/nios2/libm-test-ulps: New file.
2124         * sysdeps/nios2/machine-gmon.h: New file.
2125         * sysdeps/nios2/math-tests.h: New file.
2126         * sysdeps/nios2/math_private.h: New file.
2127         * sysdeps/nios2/memusage.h: New file.
2128         * sysdeps/nios2/nptl/Makefile: New file.
2129         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2130         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2131         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2132         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2133         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2134         * sysdeps/nios2/nptl/tls.h: New file.
2135         * sysdeps/nios2/preconfigure: New file.
2136         * sysdeps/nios2/s_fma.c: New file.
2137         * sysdeps/nios2/s_fmaf.c: New file.
2138         * sysdeps/nios2/setjmp.S: New file.
2139         * sysdeps/nios2/sfp-machine.h: New file.
2140         * sysdeps/nios2/sotruss-lib.c: New file.
2141         * sysdeps/nios2/stackguard-macros.h: New file.
2142         * sysdeps/nios2/stackinfo.h: New file.
2143         * sysdeps/nios2/start.S: New file.
2144         * sysdeps/nios2/sysdep.h: New file.
2145         * sysdeps/nios2/tls-macros.h: New file.
2146         * sysdeps/nios2/tst-audit.h: New file.
2147         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2148         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2149         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2150         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2151         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2152         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2153         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2154         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2155         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2156         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2157         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2158         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2159         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2160         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2161         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2162         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2163         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2164         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2165         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2166         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2167         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2168         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2169         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2170         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2171         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2172         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2173         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2174         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2175         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2176         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2177         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2178         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2179         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2180         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2181         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2182         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2183         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2184         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2185         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2186         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2187         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2188         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2189         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2190         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2192 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2194         [BZ #17844]
2195         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2196         (getutent): Use weak_alias in non SHARED case
2197         and default_symbol_version in SHARED case.
2198         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2199         (getutent_r, pututline): Likewise.
2200         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2201         (getutid): Likewise.
2202         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2203         (getutid_r): Likewise.
2204         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2205         (getutline): Likewise.
2206         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2207         (getutline_r): Likewise.
2208         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2209         (updwtmp): Likewise.
2211 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2213         [BZ #17848]
2214         * sysdeps/s390/s390-32/memcmp.S
2215         (memcmp_g5): Rename to __memcmp_g5.
2216         * sysdeps/s390/s390-32/memcpy.S
2217         (memcpy_g5): Rename to __memcpy_g5.
2218         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2219         (memcpy_mvcle) Rename to __memcpy_mvcle.
2220         * sysdeps/s390/s390-32/memset.S
2221         (memset_g5): Rename to __memset_g5.
2222         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2223         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2224         and use prefixed functions.
2225         * sysdeps/s390/s390-32/multiarch/memcmp.S
2226         (memcmp_z196): Rename to __memcmp_z196.
2227         (memcmp_z10): Rename to __memcmp_z10.
2228         (memcmp): Set alias to __memcmp_g5.
2229         (bcmp): Set alias to __memcmp_g5.
2230         * sysdeps/s390/s390-32/multiarch/memcpy.S
2231         (memcpy_z196): Rename to __memcpy_z196.
2232         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2233         (memcpy_z10): Rename to __memcpy_z10.
2234         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2235         (memcpy): Set alias to __memcpy_g5.
2236         * sysdeps/s390/s390-32/multiarch/memset.S
2237         (memset_z196): Rename to __memset_z196.
2238         Jump to __memset_mvcle instead of memset_mvcle.
2239         (memset_z10): Rename to __memset_z10.
2240         Jump to __memset_mvcle instead of memset_mvcle.
2241         (memset_mvcle) Rename to __memset_mvcle.
2242         (memset): Set alias to __memset_g5.
2243         * sysdeps/s390/s390-64/memcmp.S
2244         (memcmp_z900): Rename to __memcmp_z900.
2245         * sysdeps/s390/s390-64/memcpy.S
2246         (memcpy_z900): Rename to __memcpy_z900.
2247         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2248         (memcpy_mvcle) Rename to __memcpy_mvcle.
2249         * sysdeps/s390/s390-64/memset.S
2250         (memset_z900): Rename to __memset_z900.
2251         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2252         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2253         and use prefixed functions.
2254         * sysdeps/s390/s390-64/multiarch/memcmp.S
2255         (memcmp_z196): Rename to __memcmp_z196.
2256         (memcmp_z10): Rename to __memcmp_z10.
2257         (memcmp): Set alias to __memcmp_z900.
2258         (bcmp): Set alias to __memcmp_z900.
2259         * sysdeps/s390/s390-64/multiarch/memcpy.S
2260         (memcpy_z196): Rename to __memcpy_z196.
2261         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2262         (memcpy_z10): Rename to __memcpy_z10.
2263         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2264         (memcpy): Set alias to __memcpy_z900.
2265         * sysdeps/s390/s390-64/multiarch/memset.S
2266         (memset_z196): Rename to __memset_z196.
2267         Jump to __memset_mvcle instead of memset_mvcle.
2268         (memset_z10): Rename to __memset_z10.
2269         Jump to __memset_mvcle instead of memset_mvcle.
2270         (memset_mvcle) Rename to __memset_mvcle.
2271         (memset): Set alias to __memset_z900.
2273 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2275         [BZ #17748]
2276         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2277         __fesetenv instead of fesetenv.
2279 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2281         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2282         macro.
2284 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2286         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2287         regression on LE.
2289         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2290         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2291         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2292         strncmp-power8 object.
2293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2294         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2295         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2296         * NEWS: Update.
2298 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2299             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2301         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2302         trailing byte check.
2304 2015-01-13  David S. Miller  <davem@davemloft.net>
2306         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2308 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2310         * login/logout.c (logout): Use memset rather than bzero.
2311         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2312         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2313         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2314         (_gethtbyaddr): Likewise.
2315         * locale/programs/simple-hash.c (bcopy): Macro removed.
2317 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2319         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2320         Add strcmp-power8 object.
2321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2322         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2323         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2324         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2325         __strcmp_power8 implementation.
2326         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2327         * NEWS: Update.
2329         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2330         Add strncpy-power8 and stpncpy-power8 objects.
2331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2332         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2333         implementations.
2334         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2335         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2336         __stpncpy_power8 implementation.
2337         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2338         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2339         __strncpy_power8 implementation.
2340         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2341         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2342         * NEWS: Update.
2344         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2345         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2346         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2349         strncat-power8 object.
2350         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2351         __strcat_power8 implementation.
2352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2353         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2354         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2355         optimized strcat for power8.
2357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2358         strcpy-power8 and stpcpy-power8 objects.
2359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2360         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2361         implementations.
2362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2363         multiarch stpcpy implementation for POWER8.
2364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2365         multiarch strcpy implementation for POWER8.
2366         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2367         __strcpy_power8 function.
2368         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2369         stpcpy for POWER8.
2370         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2371         strcpy for POWER8.
2372         * NEWS: Update.
2374 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2376         [BZ #16009]
2377         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2378         weights and rules. Use do_xfrm_cached if data fits in cache,
2379         do_xfrm otherwise.  Moved former main loop to...
2380         * (do_xfrm_cached): New function.
2381         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2382         find_idx, find_position and stack_push.
2383         * (find_idx): New function.
2384         * (find_position): Likewise.
2385         * localedata/sort-test.sh: Added test run for do_xfrm.
2386         * localedata/xfrm-test.c (main): Added command line option
2387         -nocache to run the test with strings that are too large for
2388         the STRXFRM cache.
2390 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2392         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2393         variable to lll_futex_wake call, not the value itself.
2395 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2397         [BZ #17803]
2398         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2399         twom64.  Adjust value to 0x1p-64L.
2400         (__scalblnl): Only return standard underflowing result for K <=
2401         -64 not K <= -63; adjust exponent for underflowing result by 64
2402         not 63.
2403         * math/libm-test.inc (scalbn_test_data): Add more tests.
2404         (scalbln_test_data): Likewise.
2406         [BZ #17834]
2407         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2408         0x1p63L.
2409         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2410         not HX.
2411         * math/libm-test.inc (scalbn_test_data): Add more tests.
2412         (scalbln_test_data): Likewise.
2414 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2415             Stefani Seibold  <stefani@seibold.net>
2417         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2418         (sysdep_routines): Add dl-vdso here, ...
2419         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2420         (sysdep_routines): ... not here.
2421         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2422         fallback when vDSO is not presented.
2423         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2424         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2425         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2426         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2427         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2428         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2429         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2430         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2431         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2432         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2433         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2434         fallback configurable symbol when vDSO is not available.
2435         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2436         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2437         be able to redefine fallback symbol when vDSO is not available.
2438         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2439         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2441 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2443         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2444         (TLS_INIT_TP): Add tm_capable initialization.
2445         (TLS_DEFINE_INIT_TP): Likewise.
2446         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2447         TCB.
2448         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2449         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2450         calculation.
2451         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2452         transactoion is lock elision is built and TCB tm_capable is set.
2453         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2455         (INTERNAL_SYSCALL_NCS): Likewise.
2456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2457         (INTERNAL_SYSCALL_NCS): Likewise.
2458         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2460         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2461         for powerpc.
2462         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2463         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2464         and remove it for 32 bits case.
2465         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2466         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2467         initialization.
2468         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2469         Disable lock elision with rdlocks if elision is not available.
2471         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2472         (sysdep_routines): Add lock elision objects.
2473         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2474         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2475         [pthread_mutex_t] (__elision): Add field.
2476         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2477         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2478         elision definitions for powerpc.
2479         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2480         implementation of lock elision for powerpc.
2481         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2482         implementation of timed lock elision for powerpc.
2483         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2484         implementation of trylock with lock elision for powerpc.
2485         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2486         implementaion of unlock for lock elision for powerpc.
2487         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2488         automatic enable lock elision for mutexes.
2489         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2490         transaction execution definitions for powerpc.
2491         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2492         definitions.
2493         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2494         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2495         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2497         * NEWS: Update.
2499 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2501         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2502         for #include of <shm-directory.h>.
2504 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2506         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2507         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2509 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2511         [BZ #17791]
2512         * NEWS: Mention bug fix.
2513         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2514         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2515         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2517 2015-01-09  Torvald Riegel <triegel@redhat.com>
2519         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2521 2015-01-09  Torvald Riegel <triegel@redhat.com>
2523         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2525 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2527         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2528         pointer and cast to uintptr_t.
2530 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2532         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2533         removed.
2534         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2536 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2538         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2539         of 0.
2541 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2543         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2544         <nptl/pthreadP.h> instead.
2545         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2547         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2548         already defined.
2549         [__SIGRTMIN] (init): Function removed.
2550         [__SIGRTMIN] (initialized): Variable removed.
2551         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2552         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2553         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2554         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2555         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2556         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2557         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2558         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2559         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2560         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2561         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2562         * sysdeps/nptl/allocrtsig.c: New file.
2563         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2564         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2565         * sysdeps/generic/testrtsig.h: File removed.
2567         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2568         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2570         * nptl/nptl-init.c (pthread_functions): Conditionalize
2571         .ptr__nptl_setxid initialization on [SIGSETXID].
2573         * sysdeps/nptl/sys/procfs.h: New file.
2574         * nptl_db/Makefile (headers): Add it.
2575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2577         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2578         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2579         * nptl/pthread_attr_setaffinity.c: Include it.
2580         * nptl/pthread_setattr_default_np.c: Likewise.
2581         * nptl/check-cpuset.h: New file.
2583 2015-01-08  Richard Henderson  <rth@redhat.com>
2585         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2586         (CFLAGS-tst-execstack-prog.c): Likewise.
2587         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2589 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2590             Sandra Loosemore  <sandra@codesourcery.com>
2591             Andrew Jenner  <andrew@codesourcery.com>
2592             Joseph Myers  <joseph@codesourcery.com>
2593             Nathan Sidwell  <nathan@codesourcery.com>
2595         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2596         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2597         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2598         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2599         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2600         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2601         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2602         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2603         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2604         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2605         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2606         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2607         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2608         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2609         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2610         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2611         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2613 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2615         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2616         timespec struct member in syscall macro.
2617         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2618         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2619         first timeval struct member in syscall macro.
2620         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2622 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #17748]
2625         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2626         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2627         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2628         __feupdateenv and define as weak alias of __feupdateenv.  Use
2629         libm_hidden_weak.
2630         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2631         libm_hidden_def.
2632         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2633         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2634         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2635         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2636         libm_hidden_def.
2637         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2638         __feupdateenv and define as weak alias of __feupdateenv.  Use
2639         libm_hidden_weak.
2640         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2641         libm_hidden_def.
2642         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2643         __feupdateenv and define as weak alias of __feupdateenv.  Use
2644         libm_hidden_weak.
2645         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2646         libm_hidden_def.
2647         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2648         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2649         (__feupdateenv): Likewise.
2650         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2651         __feupdateenv and define as weak alias of __feupdateenv.  Use
2652         libm_hidden_weak.
2653         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2654         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2655         libm_hidden_def.
2656         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2657         function.
2658         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2659         libm_hidden_def.
2660         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2661         __feupdateenv instead of feupdateenv.
2662         (default_libc_feupdateenv_test): Likewise.
2663         (libc_feresetround_ctx): Likewise.
2665 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2667         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2668         prototype.
2670 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2672         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2673         COLL_SYM in a couple of places to avoid uninitialized variable
2674         wanings on tilegx gcc 4.8.2.
2676 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2678         * sysdeps/aarch64/strcpy.S: New file.
2679         * sysdeps/aarch64/stpcpy.S: New file.
2680         * NEWS: Updated.
2682 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2684         * sysdeps/aarch64/strrchr.S: New file.
2685         * NEWS: Updated.
2687 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2689         [BZ #17658]
2690         * stdlib/setenv.c: Fix memory leak when setting large,
2691         duplicate string.
2693 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2695         [BZ #17273]
2696         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2697         and tabs from buffer before parsing fstab entry.
2698         * misc/tst-mntent.c (main): Add test for mount entry with
2699         trailing spaces and tabs.
2701 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2703         [BZ #17748]
2704         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2705         * math/fesetround.c (fesetround): Rename to __fesetround and
2706         define as weak alias of __fesetround.  Use libm_hidden_weak.
2707         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2708         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2709         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2710         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2711         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2712         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2713         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2714         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2715         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2716         __fesetround_inline.
2717         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2718         __fesetround_inline instead of __fesetround.
2719         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2720         __fesetround and define as weak alias of __fesetround.  Use
2721         libm_hidden_weak.  Call __fesetround_inline instead of
2722         __fesetround.
2723         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2724         __fesetround and define as weak alias of __fesetround.  Use
2725         libm_hidden_weak.
2726         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2727         Likewise.
2728         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2729         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2730         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2731         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2732         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2733         __fesetround and define as weak alias of __fesetround.  Use
2734         libm_hidden_weak.
2735         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2736         __fesetround instead of fesetround.
2737         (default_libc_feholdexcept_setround): Likewise.
2738         (libc_feholdsetround_ctx): Likewise.
2739         (libc_feholdsetround_noex_ctx): Likewise.
2741         [BZ #17748]
2742         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2743         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2744         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2745         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2746         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2747         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2748         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2749         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2750         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2751         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2752         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2753         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2754         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2755         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2756         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2757         libm_hidden_def.
2758         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2759         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2760         Likewise.
2761         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2762         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2763         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2764         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2765         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2766         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2767         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2768         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2769         __fesetenv instead of fesetenv.
2770         (libc_feresetround_noex_ctx): Likewise.
2771         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2772         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2773         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2774         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2775         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2776         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2777         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2778         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2779         (__feupdateenv): Likewise.
2780         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2781         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2782         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2783         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2785 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2787         [BZ #17806]
2788         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2789         addresses have been freed.
2791 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2793         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2794         and nservall.
2796 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2798         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2799         Clean up check_pf allocation pattern. addresses
2801 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2803         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2804         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2805         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2806         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2807         * nptl/pthread_join.c (pthread_join): Likewise.
2808         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2809         * sysdeps/posix/waitid.c (__waitid): Likewise.
2810         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2811         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2812         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2813         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2814         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2815         Likewise.
2816         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2817         (__libc_pread64): Likewise.
2818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2819         (__libc_pwrite): Likewise.
2820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2821         (__libc_pwrite64): Likewsie.
2822         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2823         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2824         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2825         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2826         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2827         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2828         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2830         Likewise.
2831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2832         (__libc_pread64): Likewise.
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2834         Likewise.
2835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2836         (__libc_pwrite64): Likewise.
2837         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2838         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2839         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2840         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2841         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2842         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2843         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2844         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2845         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2846         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2847         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2848         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2849         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2850         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2851         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2852         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2853         Likewise.
2855 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2857         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2858         (CFLAGS-test-double.c): Likewise.
2859         (CFLAGS-test-ldouble.c): Likewise.
2860         (CPPFLAGS-test-ifloat.c): Likewise.
2861         (CPPFLAGS-test-idouble.c): Likewise.
2862         (CPPFLAGS-test-ildoubl.c): Likewise.
2863         (CFLAGS-test-test-fenv.c): Remove variable.
2864         (CFLAGS-test-misc.c): Likewise.
2866 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2868         [BZ #17797]
2869         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2870         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2871         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2872         CLOCKS_PER_SEC == 1000000.
2873         * time/clocktest.c (main): Replace %ld with %jd and cast to
2874         intmax_t.
2876 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2878         * sysdeps/generic/unwind-resume.h: New file.
2879         * sysdeps/gnu/unwind-resume.c: Include it.
2880         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2881         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2882         argument list.
2883         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2884         global rather than static.
2885         (_Unwind_Resume): Update user.
2886         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2887         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2888         rather than static.  Add __attribute__ ((cold)).
2889         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2890         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2891         * sysdeps/arm/arm-unwind-resume.S: New file.
2892         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2893         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2894         * sysdeps/arm/Makefile [$(subdir) = csu]
2895         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2896         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2897         Add rt-arm-unwind-resume.
2898         [$(subdir) = nptl]
2899         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2900         Add pt-arm-unwind-resume.
2901         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2902         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2904 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2906         [BZ #17748]
2907         * include/fenv.h (__feholdexcept): Declare.  Use
2908         libm_hidden_proto.
2909         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2910         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2911         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2912         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2913         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2914         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2915         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2916         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2917         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2918         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2919         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2920         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2921         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2922         (feholdexcept): Likewise.
2923         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2924         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2925         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2926         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2927         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2928         __feholdexcept instead of feholdexcept.
2929         (default_libc_feholdexcept_setround): Likewise.
2931 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2933         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2934         to avoid using stl/str to align destination.
2936 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2938         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2940 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2942         [BZ #17796]
2943         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2944         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2945         Define as weak alias not strong alias.
2947 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2949         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2950         bltzal with addiupc.
2951         (RTLD_START): Ditto.
2953 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2955         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2956         for __vdso_* functions in declarations.
2957         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2958         definitions.
2959         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2960         INTERNAL_VSYSCALL): Use struct return types to check for error.
2962         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2963         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2964         function with cast from llround().
2965         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2966         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2967         Define.
2969 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2971         [BZ #17793]
2972         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2973         Define as weak alias not strong alias.
2975         [BZ #17635]
2976         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2977         ...
2978         * ctype/ctype-extn.c: ... here.
2979         (__isblank_l): Move to ...
2980         * ctype/ctype-c99_l.c: ... here.  New file.
2981         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2982         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2983         Remove variable.
2984         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2985         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2986         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2987         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2988         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2990         [BZ #17777]
2991         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2992         (posix_fadvise64): Define as weak alias not strong alias.
2993         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2994         (posix_fallocate64): Likewise.
2995         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2996         Remove variable.
2997         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2998         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2999         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3000         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3001         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3003 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3005         [BZ #16191]
3006         * NEWS: Mention bug fix.
3007         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3008         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3009         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3010         (HOST_STACK_END_ADDR): Likewise.
3012 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3014         [BZ #17748]
3015         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3016         * math/fegetround.c (fegetround): Rename to __fegetround and
3017         define as weak alias of __fegetround.  Use libm_hidden_weak.
3018         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3019         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3020         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3021         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3022         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3023         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3024         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3025         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3026         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3027         Undefine after rather than before function definition; use
3028         parentheses around function name in definition.
3029         (__fegetround): Also undefine macro after function definition.
3030         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3031         __fegetround and define as weak alias of __fegetround.  Use
3032         libm_hidden_weak.  Do not undefine as macro.
3033         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3034         Likewise.
3035         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3036         __fegetround and define as weak alias of __fegetround.  Use
3037         libm_hidden_weak.
3038         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3039         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3040         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3041         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3042         __fegetround and define as weak alias of __fegetround.  Use
3043         libm_hidden_weak.
3044         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3045         __fegetround instead of fegetround.
3047         [BZ #17782]
3048         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3049         Condition macro definition on [__USE_MISC].
3051         [BZ #17781]
3052         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3053         (struct sigaction): Change type of sa_flags field to int.
3055         [BZ #17780]
3056         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3057         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3058         __glibc_reserved0.
3060         * nptl/version.c (banner): Use single year in copyright notice.
3062         * NEWS: Update copyright dates.
3063         * catgets/gencat.c (print_version): Likewise.
3064         * csu/version.c (banner): Likewise.
3065         * debug/catchsegv.sh: Likewise.
3066         * debug/pcprofiledump.c (print_version): Likewise.
3067         * debug/xtrace.sh (do_version): Likewise.
3068         * elf/ldconfig.c (print_version): Likewise.
3069         * elf/ldd.bash.in: Likewise.
3070         * elf/pldd.c (print_version): Likewise.
3071         * elf/sotruss.sh: Likewise.
3072         * elf/sprof.c (print_version): Likewise.
3073         * iconv/iconv_prog.c (print_version): Likewise.
3074         * iconv/iconvconfig.c (print_version): Likewise.
3075         * locale/programs/locale.c (print_version): Likewise.
3076         * locale/programs/localedef.c (print_version): Likewise.
3077         * login/programs/pt_chown.c (print_version): Likewise.
3078         * malloc/memusage.sh (do_version): Likewise.
3079         * malloc/memusagestat.c (print_version): Likewise.
3080         * malloc/mtrace.pl: Likewise.
3081         * manual/libc.texinfo: Likewise.
3082         * nptl/version.c (banner): Likewise.
3083         * nscd/nscd.c (print_version): Likewise.
3084         * nss/getent.c (print_version): Likewise.
3085         * nss/makedb.c (print_version): Likewise.
3086         * posix/getconf.c (main): Likewise.
3087         * scripts/test-installation.pl: Likewise.
3088         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3090 2015-01-02  Will Newton  <will.newton@linaro.org>
3092         * sysdeps/arm/armv7/configure: Removed.
3093         * sysdeps/arm/armv7/configure.ac: Likewise.
3095 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3097         * All files with FSF copyright notices: Update copyright dates
3098         using scripts/update-copyrights.
3099         * intl/plural.c: Regenerated.
3100         * locale/programs/charmap-kw.h: Likewise.
3101         * locale/programs/locfile-kw.h: Likewise.
3103 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3105         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3107 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3109         [BZ #17748]
3110         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3111         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3112         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3113         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3114         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3115         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3116         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3117         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3118         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3119         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3120         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3121         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3122         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3123         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3124         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3125         libm_hidden_def.
3126         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3128         Likewise.
3129         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3130         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3132         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3133         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3134         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3135         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3136         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3137         __fegetenv instead of fegetenv.
3138         (libc_feholdsetround_noex_ctx): Likewise.
3140 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3142         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3143         (Elf_MIPS_ABIFlags_v0): New structure.
3144         (EF_MIPS_FP64): Define.
3145         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3146         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3147         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3148         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3149         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3150         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3151         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3152         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3153         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3154         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3155         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3156         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3157         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3158         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3159         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3160         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3161         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3162         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3163         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3164         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3165         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3166         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3167         field.
3168         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3169         EF_MIPS_FP64.
3170         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3171         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3172         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3173         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3174         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3175         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3176         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3177         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3178         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3179         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3180         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3181         record the current FP ABI extension.
3182         (mips-mode-switch): Define to show if kernel headers support mode
3183         switching.
3184         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3185         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3186         supported SYSV ABI version to 3.
3187         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3188         feature.
3190 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3191             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3193         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3194         path.
3195         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3197 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3199         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3200         __fegetround and redefine to call __fegetround.  Remove condition
3201         on [!__NO_MATH_INLINES].
3202         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3203         function.
3204         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3205         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3206         Remove macro.
3207         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3208         instead of <fenv_libc.h>.
3209         (__llrintl): Call fegetround instead of __fegetround.
3210         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3211         instead of <fenv_libc.h>.
3212         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3213         (__lrintl): Call fegetround instead of __fegetround.
3214         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3215         instead of <fenv_libc.h>.
3216         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3217         (__rintl): Call fegetround instead of __fegetround.
3219 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3221         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3222         arrays.
3224 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3226         [BZ #17775]
3227         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3228         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3229         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3231 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3233         * sysdeps/i386/tls-macros.h: Include <features.h>.
3234         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3235         (TLS_IE): Likewise.
3236         (TLS_LD): Likewise.
3237         (TLS_GD): Likewise.
3238         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3239         define for GCC >= 5.0.
3241 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3243         * math/test-fenv.c (test_single_exception, set_single_exc,
3244         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3245         feexcp_mask_test, feenable_test, fe_single_test): Add
3246         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3247         case where they are not used.
3248         * math/libm-test.inc: Likewise.
3249         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3250         unused in the absence of FP rounding/exception support.
3251         * stdio-common/tst-printf-round.c: Likewise.
3252         * stdlib/tst-strtod-round.c: Likewise.
3253         * stdlib/tst-strtod-underflow.c: Likewise.
3255 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3257         [BZ #17723]
3258         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3259         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3260         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3261         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3262         libm_hidden_weak.
3263         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3264         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3265         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3266         libm_hidden_def.
3267         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3268         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3269         libm_hidden_weak.
3270         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3271         Likewise.
3272         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3273         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3274         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3275         libm_hidden_weak.
3276         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3277         libm_hidden_def.
3278         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3279         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3280         (__feraiseexcept): Likewise.
3281         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3282         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3283         libm_hidden_weak.
3284         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3285         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3286         libm_hidden_def.
3287         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3288         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3289         Use libm_hidden_def.
3290         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3291         libm_hidden_def.
3292         (feraiseexcept): Define as weak not strong alias.  Use
3293         libm_hidden_weak.
3294         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3295         New inline function.  Factored out of ...
3296         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3297         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3298         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3299         feraiseexcept.
3300         * math/w_acos.c (__acos): Likewise.
3301         * math/w_asin.c (__asin): Likewise.
3302         * math/w_ilogb.c (__ilogb): Likewise.
3303         * math/w_j0.c (y0): Likewise.
3304         * math/w_j1.c (y1): Likewise.
3305         * math/w_jn.c (yn): Likewise.
3306         * math/w_log.c (__log): Likewise.
3307         * math/w_log10.c (__log10): Likewise.
3308         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3309         * sysdeps/aarch64/fpu/math_private.h
3310         (libc_feupdateenv_test_aarch64): Likewise.
3311         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3312         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3313         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3314         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3315         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3316         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3317         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3318         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3319         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3320         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3322 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3324         [BZ #17732]
3325         * io/test-utime.c (main): Replace %ld with %jd and cast to
3326         intmax_t.
3327         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3328         * nptl/tst-mutex5.c: Include <stdint.h>.
3329         (do_test): Replace %ld with %jd and cast to intmax_t.
3330         * posix/tst-regex.c (run_test): Likewise.
3331         (run_test_backwards): Likewise.
3332         * rt/tst-clock.c: Include <stdint.h>.
3333         (clock_test): Replace %ld with %jd and cast to intmax_t.
3334         * rt/tst-cpuclock1.c: Include <stdint.h>.
3335         (do_test): Replace %lu with %ju and cast to uintmax_t.
3336         * rt/tst-cpuclock2.c: Include <stdint.h>.
3337         (do_test): Replace %lu with %ju and cast to uintmax_t.
3338         * rt/tst-mqueue1.c: Include <stdint.h>.
3339         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3340         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3341         intmax_t.
3342         * rt/tst-mqueue4.c (do_test): Likewise.
3343         * rt/tst-timer4.c: Include <stdint.h>.
3344         (check_ts): Replace %ld with %jd and cast to intmax_t.
3345         (do_test): Likewise.
3346         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3347         and cast to intmax_t.
3348         * sysdeps/pthread/tst-timer.c (main): Likewise.
3349         * time/clocktest.c (main): Likewise.
3350         * time/tst-posixtz.c (do_test): Likewise.
3351         * timezone/tst-timezone.c (main): Likewise.
3353 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3354             H.J. Lu  <hongjiu.lu@intel.com>
3356         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3357         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3358         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3359         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3360         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3361         version if bit_Fast_Unaligned_Load is set.
3362         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3363         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3364         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3365         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3366         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3367         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3369         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3370         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3371         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3372         to 4.
3373         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3374         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3375         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3376         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3378 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3380         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3381         instead of #if to avoid a Wundef warning.
3382         * stdlib/tst-limits.c (do_test): Likewise.
3384         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3385         parallel other exception macros.
3386         (fegetenv): Convert from macro to extern inline so that it applies
3387         retroactively to inline functions already seen by the compiler.
3388         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3390         * posix/Makefile (before-compile): Use $(objpfx) for
3391         posix-conf-vars-def.h.
3393 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3395         * posix/getconf.c (main): Use size_t for type of I.
3396         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3397         NSPEC.
3399         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3400         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3401         * posix/posix-envs.def: Likewise.
3402         * sysdeps/posix/sysconf.c: Likewise.
3403         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3404         (specs): Remove array.
3405         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3406         array.
3408         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3409         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3410         (__sysconf): Use CONF_IS_* macros.
3412         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3413         ($(objpfx)posix-conf-vars-def.h): New target.
3414         * posix/posix-conf-vars.list: New file.
3415         * posix/posix-conf-vars.h: New file.
3416         * posix/confstr.c: Include posix-conf-vars.h.
3417         (confstr): Use CONF_IS_* macros.
3418         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3419         CONF_IS_* macros.
3420         * scripts/gen-posix-conf-vars.awk: New file.
3422 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3424         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3425         fegetround): Add no-op macros to avoid linknamespace issues.
3427         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3428         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3430         * sysdeps/unix/sysv/linux/tile/sysdep.h
3431         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3432         assembly-specific section to avoid a redefinition warning.
3434         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3435         long before casting to pointer to avoid a cast warning.
3437 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3439         * sysdeps/tile/tilegx/Implies: New file.
3441 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3443         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3445 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3447         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3449 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3451         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3452         not define.
3453         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3454         <kernel-features.h>.
3455         (__utimes) [__NR_utimes]: Make code unconditional.
3456         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3457         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3458         (__ASSUME_UTIMES): Do not undefine.
3459         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3460         (__ASSUME_UTIMES): Likewise.
3461         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3462         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3463         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3464         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3466 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3468         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3470 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3472         [BZ #17747]
3473         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3474         alias to weak alias for j0l, y0l.
3475         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3476         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3478         [BZ #17746]
3479         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3480         conversion.
3482 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3484         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3485         to zero if not already defined.
3487 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3489         [BZ #17724]
3490         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3491         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3492         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3493         (char *) casts added.
3494         * sysdeps/ieee754/k_standardf.c: New file.
3495         * sysdeps/ieee754/k_standardl.c: Likewise.
3496         * math/Makefile (libm-support): Remove k_standard.
3497         (libm-calls): Add k_standard.
3499 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3501         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3502         Optimize to avoid an unnecessary FPCR read.
3504 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3506         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3507         Optimize to reduce FPCR/FPSR accesses.
3509 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3511         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3512         Call libc_fetestexcept_aarch64.
3514 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3516         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3517         Call libc_fesetround_aarch64.
3519 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3521         [BZ #17733]
3522         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3523         (__bind): Do not define as weak alias.
3524         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3525         define.
3526         (__getsockname): Do not define as weak alias.
3528 2014-12-22  Will Newton  <will.newton@linaro.org>
3530         * manual/install.texi: Document that we require bison 2.7
3531         or above.
3532         * INSTALL: Regenerate.
3533         * configure.ac: Use AC_CHECK_PROG_VER instead of
3534         AC_PATH_PROG when checking for bison and check for
3535         version 2.7 or above.
3536         * configure: Regenerate.
3538 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3540         [BZ #17745]
3541         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3542         * sysdeps/tile/ffsll.c (ffsll): To here.
3544         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3546 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3548         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3549         if not defined.
3550         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3551         definition.
3552         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3553         hidden ___tls_get_addr.
3554         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3555         hidden __tls_get_addr.
3556         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3557         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3558         Likewise.
3560 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3562         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3563         _dl_init call.
3565 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3567         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3568         from "call _dl_init@PLT".
3569         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3571 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3573         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3574         guarantees.
3576 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3578         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3580 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3582         [BZ #17744]
3583         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3584         strnlen.
3586 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3588         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3589         of multu on MIPSr6.
3590         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3591         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3592         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3593         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3594         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3596 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3598         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3599         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3600         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3601         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3602         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3603         mips32r6/mips64r6.
3604         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3606 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3608         * string/strncat.c (STRNCAT): Simplify implementation.
3610 2014-12-19  David S. Miller  <davem@davemloft.net>
3612         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3613         access the quad as both a long double and as a series of 4 words.
3615         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3616         link_map->l_info array access.
3618 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3620         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3622         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3623         * math/atest-exp2.c (TIMEOUT): Likewise.
3624         * math/atest-sincos.c (TIMEOUT): Likewise.
3626 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3628         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3629         -Wno-error with -fno-builtin-lround.
3631 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3633         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3634         Contains futex constants and functions moved over from ...
3635         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3636         <lowlevellock-futex.h>.
3637         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3638         (lll_timedwait_tid): Add comments and parentheses around macro
3639         arguments.
3641 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3643         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3644         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3645         (__lll_private_flag): Remove.
3646         (lll_futex_wait): Likewise.
3647         (lll_futex_timed_wait): Likewise.
3648         (lll_futex_wake): Likewise.
3649         (lll_futex_requeue): Likewise.
3650         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3651         (__lll_timedwait_tid): Spell out argument names.
3652         (lll_timedwait_tid): Add comments and parentheses around macro
3653         arguments.
3654         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3655         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3657 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3659         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3660         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3661         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3662         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3663         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3664         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3665         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3666         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3667         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3668         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3670         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3671         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3673         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3674         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3675         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3676         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3677         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3679 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3681         * sysdeps/x86_64/x32/Makefile: New file.
3683 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3685         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3686         1L with (mp_limb_t) 1.
3688 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3690         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3691         * nptl/libc_pthread_init.c: ... here.
3692         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3693         * nptl/register-atfork.c: ... here.
3695         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3696         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3697         Use assert_perror to check its return value.
3698         (__gai_create_helper_thread): Likewise.
3700         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3702         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3704 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3706         [BZ #17725]
3707         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3708         __profil_counter.
3709         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3710         Likewise.
3711         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3712         Likewise.
3713         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3716         (profil_counter): Likewise.
3717         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3718         (profil_counter): Likewise.
3719         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3720         Likewise.
3721         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3722         Likewise.
3723         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3724         (profil_counter): Likewise.
3725         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3726         Likewise.
3727         [!__profil_counter] (profil_counter): Define as weak alias of
3728         __profil_counter.
3729         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3730         (profil_counter): Rename to __profil_counter.
3731         [!__profil_counter] (profil_counter): Define as weak alias of
3732         __profil_counter.
3733         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3734         (profil_counter): Rename to __profil_counter.
3735         [!__profil_counter] (profil_counter): Define as weak alias of
3736         __profil_counter.
3737         * sysdeps/posix/profil.c: Update comment referring to
3738         profil_counter.
3739         (__profil): Use __profil_counter instead of profil_counter.
3740         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3741         __profil_counter.  Use __profil_counter_ushort and
3742         __profil_counter_uint in definitions.
3743         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3744         instead of profil_counter_uint and profil_counter_ushort.
3746         [BZ #17722]
3747         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3748         define as weak alias of __inet_makeaddr.
3749         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3750         as weak alias of __inet_addr.
3751         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3752         as weak alias of __inet_pton.  Use libc_hidden_weak.
3753         * include/arpa/inet.h (__inet_pton): Declare.  Use
3754         libc_hidden_proto.
3755         (inet_makeaddr): Don't use libc_hidden_proto.
3756         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3757         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3758         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3759         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3760         Remove variable.
3761         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3762         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3764 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3766         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3768 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3770         * stdio-common/bug-vfprintf-nargs.c (do_test):
3771         Cast value to intptr_t to avoid format warning
3772         for usage with PRIdPTR printing macro.
3774 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3776         * libio/tst-widetext.c (do_test):
3777         Use format type %td instead of %Zd for ptrdiff_t
3778         in order to avoid format warning.
3780 2014-12-17  Andreas Schwab  <schwab@suse.de>
3782         * nscd/mem.c (gc): Add size_t cast to match printf format.
3784 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3786         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3787         (init): Apply PTR_MANGLE to pointers before storing them.
3788         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3789         before using them.
3791 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3793         [BZ #17719]
3794         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3795         define as weak alias of __memrchr.
3796         (__memrchr): Do not define as strong alias of memrchr.
3797         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3798         Remove variable.
3799         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3800         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3801         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3803         [BZ #17717]
3804         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3805         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3806         (if_indextoname): Rename to __if_indextoname and define as weak
3807         alias of __if_indextoname.  Use libc_hidden_weak.
3808         (if_freenameindex): Rename to __if_freenameindex and define as
3809         weak alias of __if_freenameindex.
3810         (if_nameindex): Rename to __if_nameindex and define as weak alias
3811         of __if_nameindex.
3812         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3813         __if_nametoindex and define as weak alias of __if_nametoindex.
3814         Use libc_hidden_weak.
3815         (if_freenameindex): Rename to __if_freenameindex and define as
3816         weak alias of __if_freenameindex.
3817         (if_nameindex): Rename to __if_nameindex and define as weak alias
3818         of __if_nameindex.
3819         (if_indextoname): Rename to __if_indextoname and define as weak
3820         alias of __if_indextoname.  Use libc_hidden_weak.
3821         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3822         __if_nametoindex and define as weak alias of __if_nametoindex.
3823         Use libc_hidden_weak.
3824         (if_freenameindex): Rename to __if_freenameindex and define as
3825         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3826         (if_nameindex_netlink): Use __if_freenameindex instead of
3827         if_freenameindex.
3828         (if_nameindex): Rename to __if_nameindex and define as weak alias
3829         of __if_nameindex.  Use libc_hidden_weak.
3830         (if_indextoname): Rename to __if_indextoname and define as weak
3831         alias of __if_indextoname.  Use libc_hidden_weak.
3832         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3833         libc_hidden_proto.
3834         [!_ISOMAC] (__if_freenameindex): Likewise.
3835         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3836         if_nametoindex.
3837         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3838         variable.
3839         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3840         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3841         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3842         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3843         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3844         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3845         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3847         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3848         Remove variable.
3849         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3850         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3852 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3854         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3855         subscript above bounds'
3857         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3858         bounds.
3860 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3862         * libio/tst-fopenloc.c: Use test-skeleton.c.
3864         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3865         (entry): Rename to ITEM.
3866         (do_test, comp): Adjust.
3868         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3870 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3872         * string/tester.c: Include <libc-internal.h>.
3873         (test_memset): Ignore -Wmemset-transposed-args.
3875 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3877         * misc/tst-mntent2.c (do_test): Fix warning.
3879 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3881         * elf/tst-unique4lib.cc(a): Mark as used.
3883 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3885         [BZ #17630]
3886         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3887         names.
3889 2014-12-16  Allan McRae  <allan@archlinux.org>
3891         * stdio-common/Makefile (tests): Re-add bug26.
3893 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3895         [BZ #17657]
3896         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3897         static array.
3899 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3901         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3902         (__lll_lock_wait): Likewise.
3903         (__lll_timedlock_wait): Likewise.
3904         (__lll_timedwait_tid): Likewise.
3905         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3906         (__lll_robust_timedlock_wait): Likewise.
3907         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3908         (lll_cond_trylock): Likewise.
3909         (__lll_lock): Likewise.
3910         (__lll_robust_lock): Likewise.
3911         (__lll_cond_lock): Likewise.
3912         (lll_robust_cond_lock): Likewise.
3913         (__lll_timedlock): Likewise.
3914         (__lll_robust_timedlock): Likewise.
3915         (__lll_unlock): Likewise.
3916         (__lll_robust_unlock): Likewise.
3917         (lll_wait_tid): Likewise.
3918         (lll_timedwait_tid): Likewise.
3920 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3922         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3924 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3926         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3928 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3930         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3931         * stdio-common/tst-sprintf.c: Likewise.
3933 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3935         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3937 2014-12-15  Jeff Law  <law@redhat.com>
3939         [BZ #16617]
3940         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3941         on the heap.  (CVE-2012-3406)
3942         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3943         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3944         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3946 2014-12-15  Will Newton  <will.newton@linaro.org>
3948         * manual/install.texi: Bump required version of texinfo
3949         to 4.7 from 4.5.
3950         * INSTALL: Regenerated.
3951         * configure.ac: Check for makeinfo version 4.7 and above.
3952         * configure: Regenerated.
3954 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3956         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3957         PREFIX, string constant to insert between directory and name.
3958         * sysdeps/posix/shm_open.c: Update caller.
3959         * sysdeps/posix/shm_unlink.c: Likewise.
3960         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3961         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3962         (SEM_SHM_PREFIX): New macro.
3963         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3964         [$(have-thread-library) = no].
3965         * nptl/Makefile (libpthread-routines): Add shm-directory.
3966         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3967         * sysdeps/nptl/shm-directory.h: New file.
3968         * sysdeps/posix/shm-directory.c
3969         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3970         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3971         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3972         INTERNAL_SYSCALL.
3973         (__where_is_shmfs): Function removed.
3974         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3975         Variables removed.
3976         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3977         Use SHM_GET_NAME.
3978         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3980         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3981         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3982         unconditional for use inside libpthread.
3983         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3985 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3987         * nptl/pthread_getaffinity.c: New file.
3988         * nptl/pthread_setaffinity.c: New file.
3989         * nptl/pthread_getname.c: New file.
3990         * nptl/pthread_setname.c: New file.
3992         * nptl/pthread_create.c (START_THREAD_DEFN)
3993         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3995 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3996             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3998         * resolv/res_send.c (send_vc): Disable warning resplen may
3999         be used uninitialized.
4001 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4003         * nptl/tst-mutex6.c
4004         (ATTR_NULL): New define checks ATTR against NULL.
4005         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4006         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4008 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4010         [BZ #17581]
4011         * malloc/hooks.c
4012         (mem2mem_check): Revert my previous change.
4013         (malloc_check_get_size): Revert my previous change.
4014         (mem2chunk_check): Revert my previous change.
4016 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4018         * sysdeps/posix/shm-directory.c: New file.
4019         * sysdeps/posix/shm-directory.h: New file.
4020         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4021         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4022         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4023         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4024         Transmute EPERM to EACCES.
4025         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4026         from ...
4027         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4028         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4030 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4032         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4033         pointer and cast to uintptr_t.
4034         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4035         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4036         Add cast to avoid warning.
4037         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4039 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4041         * nptl/semaphore.h: Move to ...
4042         * sysdeps/pthread/semaphore.h: ... here.
4043         * Makefile (installed-headers): Change nptl/semaphore.h to
4044         sysdeps/pthread/semaphore.h.
4046 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4048         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4049         generated error format strings.
4051         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4052         -Wformat-extra-args warnings for scanf formats.
4053         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4054         test of zero-length format (duh).
4055         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4056         corner-case scanf format test.
4057         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4058         generated fprintf format string.
4059         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4060         corner-case sprintf format tests.
4061         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4062         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4063         -Wformat-extra-args warnings throughout.
4064         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4065         (CFLAGS-scanf4.c): Likewise.
4066         (CFLAGS-scanf7.c): Likewise.
4067         (CFLAGS-tst-sprintf.c): Likewise.
4068         (CFLAGS-tst-printf.c): Likewise.
4069         (CFLAGS-tst-printfsz.c): Likewise.
4071 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4073         * include/cpio.h: New file.
4074         * include/fmtmsg.h: Likewise.
4076         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4077         corresponding format argument to size_t.
4078         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4079         arguments.
4080         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4081         corresponding format argument to size_t.
4082         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4083         arguments.
4084         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4085         corresponding format argument to size_t.
4086         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4087         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4088         (CFLAGS-tst-mbswcs2.c): Likewise.
4089         (CFLAGS-tst-mbswcs3.c): Likewise.
4090         (CFLAGS-tst-mbswcs4.c): Likewise.
4091         (CFLAGS-tst-mbswcs5.c): Likewise.
4092         (CFLAGS-tst-trans.c): Likewise
4094 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4096         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4097         rather than assuming they won't contain any '%'s.
4099 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4101         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4102         inhibit_loop_to_libcall to avoid recursive calls.
4103         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4104         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4106 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4108         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4109         prototype.
4111 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4113         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4114         integer value instead of boolean.
4116 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4118         * malloc/malloc.c: Fix powerof2 check.
4120 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4122         * locale/programs/locfile.h (maybe_swap_uint32):
4123         Remove inline and add unused attribute.
4125 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4127         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4128         Truncating assembler expression to a .long expression.
4130 2014-12-11  Andreas Schwab  <schwab@suse.de>
4132         * elf/rtld.c (struct map_args): Constify str member.
4133         (do_preload): Constify fname argument.
4135 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4138         constants definition.
4140 2014-12-11  Andreas Schwab  <schwab@suse.de>
4142         [BZ #16657]
4143         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4144         FORCE_ELISION instead of DO_ELISION.
4145         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4146         Remove.
4147         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4148         Likewise.
4150         * iconvdata/gconv-modules: Remove duplicate entry.
4152 2014-12-11  Will Newton  <will.newton@linaro.org>
4154         Merge gettext 0.19.3 into intl/.
4156         This involves a number of cosmetic changes to comments
4157         and ANSI function definitions and prototypes throughout
4158         all the files. The gettext copyright header is used but
4159         with the date ranges taken from the glibc copy.
4161         * NEWS: Add gettext merge to 2.21.
4162         * intl/bindtextdom.c: Switch to gettext copyright.
4163         Use ANSI definitions and prototypes.
4164         Use gl_* locking primitives rather than __libc_* ones.
4165         Use __builtin_expect rather than __glibc_likely/unlikely.
4166         * intl/dcgettext.c: Switch to gettext copyright.
4167         Use ANSI definitions and prototypes.
4168         * intl/dcigettext.c: Switch to gettext copyright.
4169         Use ANSI definitions and prototypes.
4170         (INTDIV0_RAISES_SIGFPE): New define.
4171         Use gl_* locking primitives rather than __libc_* ones.
4172         Include eval-plural.h instead of plural-eval.c.
4173         Use __builtin_expect rather than __glibc_likely/unlikely.
4174         * intl/dcngettext.c: Switch to gettext copyright.
4175         Use ANSI definitions and prototypes.
4176         * intl/dgettext.c: Likewise.
4177         * intl/dngettext.c: Likewise.
4178         * intl/plural-eval.c: Renamed to...
4179         * intl/eval-plural.h: ...this.
4180         * intl/explodename.c: Switch to gettext copyright.
4181         Use ANSI definitions and prototypes.
4182         (_nl_explode_name): Use strchr instead of __rawmemchr.
4183         * intl/finddomain.c: Switch to gettext copyright.
4184         Use ANSI definitions and prototypes.
4185         Use gl_* locking primitives rather than __libc_* ones.
4186         (_nl_find_domain): Use malloc rather than alloca for
4187         allocation of temporary locale name.
4188         * intl/gettext.c: Switch to gettext copyright.
4189         Use ANSI definitions and prototypes.
4190         * intl/gettextP.h: Switch to gettext copyright.
4191         Use ANSI definitions and prototypes.
4192         Use gl_* locking primitives rather than __libc_* ones.
4193         * intl/gmo.h: Switch to gettext copyright.
4194         (struct sysdep_string): Move struct segment_pair outside of
4195         struct definition.
4196         * intl/hash-string.c: Use ANSI definitions and prototypes.
4197         * intl/hash-string.h: Switch to gettext copyright.
4198         Use ANSI definitions and prototypes.
4199         * intl/l10nflist.c: Switch to gettext copyright.
4200         Use ANSI definitions and prototypes.
4201         (_nl_normalize_codeset): Avoid integer overflow.
4202         * intl/loadinfo.h: Switch to gettext copyright.
4203         Use ANSI definitions and prototypes.
4204         (LIBINTL_DLL_EXPORTED): New define.
4205         (PATH_SEPARATOR): New define.
4206         * intl/loadmsgcat.c: Switch to gettext copyright.
4207         * intl/localealias.c: Switch to gettext copyright.
4208         Use ANSI definitions and prototypes.
4209         (_nl_expand_alias): Use PATH_SEPARATOR.
4210         * intl/ngettext.c: Switch to gettext copyright.
4211         Use ANSI definitions and prototypes.
4212         * intl/plural-exp.c: Likewise.
4213         * intl/plural-exp.h: Switch to gettext copyright.
4214         Use ANSI definitions and prototypes.
4215         (struct expression): Move definition of enum operator outside
4216         of struct definition.
4217         * intl/plural.c: Regenerate.
4218         * intl/plural.y: Switch to gettext copyright.
4219         Use ANSI definitions and prototypes.
4220         Port to bison 3.0.
4221         * intl/textdomain.c: Switch to gettext copyright.
4222         Use ANSI definitions and prototypes.
4223         Use gl_* locking primitives rather than __libc_* ones.
4225 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4227         * debug/warning-nop.c: Add used atrribute.
4229 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4231         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4233         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4234         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4235         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4237 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4238             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4240         [BZ #17634]
4241         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4242         Undefine after defining function.  Define as weak alias of
4243         __wcschr.  Use libc_hidden_weak.
4244         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4245         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4246         (libc_hidden_def): Also define __GI___wcschr alias.
4247         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4248         __wcschr and define as weak alias of __wcschr.
4249         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4250         __wcschr.
4251         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4252         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4253         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4254         libc_hidden_weak.  Do not use libc_hidden_def.
4255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4256         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4257         __GI___wcschr alias.
4258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4259         [IS_IN (libc)] (wcschr): Define as macro expanding to
4260         __redirect_wcschr.
4261         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4262         [IS_IN (libc)] (__wcschr_power6): Likewise.
4263         [IS_IN (libc)] (__wcschr_power7): Likewise.
4264         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4265         instead of wcschr.
4266         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4267         __libc_wcschr.
4268         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4269         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4270         __wcschr and define as weak alias of __wcschr.  Use
4271         libc_hidden_builtin_def.
4272         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4273         as weak alias of __wcschr.  Use libc_hidden_weak.
4274         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4275         wcschr.
4276         * time/era.c (_nl_init_era_entries): Likewise.
4277         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4278         variable.
4279         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4280         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4282 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4284         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4285         format for long int variable.
4287 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4289         [BZ #10672]
4290         * manual/search.texi: (Array Sort Function): Remove claim how to make
4291         qsort stable.
4293 2014-12-10  Andreas Schwab  <schwab@suse.de>
4295         [BZ #12847]
4296         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4297         user-controlled locks.
4299 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4301         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4302         register.
4304 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4306         * configure.ac (--disable-werror): New configure option.
4307         (enable_werror): New AC_SUBST.
4308         * configure: Regenerated.
4309         * config.make.in (enable-werror): New variable.
4310         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4311         -Wno-error=undef.
4312         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4313         * manual/install.texi (Configuring and compiling): Document
4314         --disable-werror.
4315         * INSTALL: Regenerated.
4316         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4317         (CFLAGS-tst-chk2.c): Likewise.
4318         (CFLAGS-tst-chk3.c): Likewise.
4319         (CFLAGS-tst-chk4.cc): Likewise.
4320         (CFLAGS-tst-chk5.cc): Likewise.
4321         (CFLAGS-tst-chk6.cc): Likewise.
4322         (CFLAGS-tst-lfschk1.c): Likewise.
4323         (CFLAGS-tst-lfschk2.c): Likewise.
4324         (CFLAGS-tst-lfschk3.c): Likewise.
4325         (CFLAGS-tst-lfschk4.cc): Likewise.
4326         (CFLAGS-tst-lfschk5.cc): Likewise.
4327         (CFLAGS-tst-lfschk6.cc): Likewise.
4329         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4330         (main): Disable -Wdeprecated-declarations around calls to
4331         register_printf_function.
4333         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4334         (do_test): Disable -Wdiv-by-zero around some calls to
4335         fwrite_unlocked and fread_unlocked.
4337         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4338         (DIAG_POP_NEEDS_COMMENT): Likewise.
4339         (_DIAG_STR1): Likewise.
4340         (_DIAG_STR): Likewise.
4341         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4342         * stdio-common/bug21.c: Include <libc-internal.h>.
4343         (do_test): Disable -Wformat around call to sscanf.
4344         * stdio-common/scanf14.c: Include <libc-internal.h>.
4345         (main): Disable -Wformat around some calls to scanf functions.
4347 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4349         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4351 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4353         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4354         stack variable alignment.
4356 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4358         [BZ #17682]
4359         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4360         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4361         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4362         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4363         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4364         __getrlimit instead of getrlimit.
4365         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4366         __gettimeofday instead of gettimeofday.
4367         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4368         Likewise.
4369         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4370         Likewise.
4371         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4372         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4373         Remove variable.
4374         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4375         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4377 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4379         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4380         for wide-character tests.
4382 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4384         * io/openat64.c: #include <libc-internal.h>
4385         (__openat64): Prototypify.  Use ignore_value on MODE.
4386         * io/openat.c: Likewise.
4387         * misc/reboot.c: #include <libc-internal.h>
4388         (reboot): Prototypify.  Use ignore_value on HOWTO.
4389         * misc/ptrace.c: #include <libc-internal.h>
4390         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4392 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4394         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4395         XPG4, UNIX98 and XOPEN2K.
4396         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4397         Remove variable.
4398         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4400 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4402         * libio/fileops.c: Use ISO C style for function definitions.
4403         * libio/iofopen.c: Likewise.
4404         * libio/wfileops.c: Likewise.
4406         [BZ #17653]
4407         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4408         offset on EOF.
4409         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4410         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4411         (fgets_func): Function pointer to fgets and fgetws.
4412         (do_ftell_test): Add test to verify ftell value after read
4413         EOF.
4414         (do_test): Set fgets_func.
4416         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4417         O_TRUNC flag for w and w+ modes.
4418         (do_rewind_test): Likewise.
4419         (do_ftell_test): Likewise.
4420         (do_write_test): Likewise.
4422         [BZ #17647]
4423         * libio/fileops.c (do_ftell): Seek only when there are
4424         unflushed writes.
4425         * libio/wfileops.c (do_ftell_wide): Likewise.
4426         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4427         test case.
4428         (do_one_test): Call it.
4430 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4432         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4433         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4434         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4435         Remove variable.
4436         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4437         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4438         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4440 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4442         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4443         Remove variable.
4444         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4446         [BZ #17668]
4447         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4448         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4449         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4450         __freeifaddrs.  Use libc_hidden_weak.
4451         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4452         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4453         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4454         __freeifaddrs.  Use libc_hidden_weak.
4455         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4456         __getifaddrs and define as weak alias of __getifaddrs.  Use
4457         libc_hidden_weak.
4458         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4459         __freeifaddrs.  Use libc_hidden_weak.
4460         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4461         Remove variable.
4462         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4463         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4465 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4467         [BZ #17601]
4468         * sysdeps/mips/start.S (__start): Use indirect jump to call
4469         __libc_start_main.
4471 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4473         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4475         * nptl/tst-mutex1.c: Include <stdbool.h>.
4476         [!ATTR] (ATTR_NULL): New macro.
4477         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4478         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4479         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4481         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4482         to char *.
4484         [BZ #17665]
4485         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4486         Change conditional to [__USE_MISC].
4488         [BZ #17664]
4489         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4490         fgets_unlocked.
4491         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4492         __fgets_unlocked.
4493         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4494         fgets_unlocked.
4495         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4496         Remove variable.
4497         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4498         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4499         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4500         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4501         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4502         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4503         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4504         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4505         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4507         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4509 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4511         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4512         Remove strpbrk objects.
4513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4514         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4515         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4516         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4517         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4518         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4521         Remove strcspn objects.
4522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4523         (__libc_ifunc_impl_list): Remove strcspn implementation.
4524         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4525         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4526         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4527         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4530         Remove strspn objetcs.
4531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4532         (__libc_ifunc_impl_list): Remove strspn implementation.
4533         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4534         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4535         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4536         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4538 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4540         [BZ #17581]
4541         * malloc/hooks.c
4542         (mem2mem_check): Add a terminator to the chain of checking blocks.
4543         (malloc_check_get_size): Use it here.
4544         (mem2chunk_check): Ditto.
4546 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4548         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4549         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4551 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4553         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4555         * nptl/nptl-init.c: Include libc-internal.h.
4556         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4558         * elf/ldconfig.c (search_dir): Expand comment.
4560 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4562         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4563         variable.
4564         (linknamespace-symlist-stdlibs-tests): Likewise.
4565         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4566         instead of $(objpfx)symlist-stdlibs.
4567         (linknamespace-libs-isoc): New variable.
4568         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4569         (linknamespace-libs-ISO): New variable.
4570         (linknamespace-libs-ISO99): Likewise.
4571         (linknamespace-libs-ISO11): Likewise.
4572         (linknamespace-libs-XPG3): Likewise.
4573         (linknamespace-libs-XPG4): Likewise.
4574         (linknamespace-libs-POSIX): Likewise.
4575         (linknamespace-libs-UNIX98): Likewise.
4576         (linknamespace-libs-XOPEN2K): Likewise.
4577         (linknamespace-libs-POSIX2008): Likewise.
4578         (linknamespace-libs-XOPEN2K8): Likewise.
4579         ($(objpfx)symlist-stdlibs): Replace by
4580         $(linknamespace-symlist-stdlibs-tests).  Use
4581         $(linknamespace-libs-$*) as set of libraries.
4582         ($(linknamespace-header-tests)): Update dependencies.  Use
4583         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4584         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4585         * conform/linknamespace.pl: Remove comment about considering
4586         definitions of symbols from irrelevant libraries.
4588 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4590         [BZ #13862]
4591         * elf/dl-tls.c: Include <atomic.h>.
4592         (oom): Remove #ifdef SHARED/#endif.
4593         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4594         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4595         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4596         big enough.
4597         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4598         * nptl/Makefile (tests): Add tst-stack4.
4599         (modules-names): Add tst-stack4mod.
4600         ($(objpfx)tst-stack4): New.
4601         (tst-stack4mod.sos): Likewise.
4602         ($(objpfx)tst-stack4.out): Likewise.
4603         ($(tst-stack4mod.sos)): Likewise.
4604         (clean): Likewise.
4605         * nptl/tst-stack4.c: New file.
4606         * nptl/tst-stack4mod.c: Likewise.
4608 2014-11-27  J. Brown  <jb999@gmx.de>
4610         * sysdeps/x86/bits/string.h: Add recent CPUs.
4612 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4614         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4615         sigblock.
4617         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4618         feof.
4620         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4621         variable.
4623 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4625         * nscd/connections.c: Include libc-internal.h because of macro
4626         usage ignore_value.
4628 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4630         * string/bits/string3.h (__warn_memset_zero_len): Don't
4631         declare for gcc newer than 5.0.
4632         (memset): Don't test for zero-length __LEN for gcc newer than
4633         5.0.
4635 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4637         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4638         size_t for %zu format.
4640         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4641         difference, not %ju.
4643 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4645         * include/libc-internal.h (ignore_value): New macro.
4646         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4647         with ignore_value.
4649         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4650         definition.
4652         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4653         pthread_cleanup_push to void *.
4655         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4656         Undefine.
4658         [BZ #16619]
4659         [BZ #16740]
4660         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4661         instead of 1L << 52.
4663         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4664         * libio/bug-rewind2.c (do_test): Likewise.
4666         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4667         * debug/test-strcpy_chk-ifunc.c: Likewise.
4668         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4669         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4670         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4671         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4672         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4673         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4674         * Rules [$(multi-arch) = no] (tests): Do not filter out
4675         $(tests-ifunc).
4676         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4677         * debug/Makefile (tests-ifunc): Remove variable.
4678         (tests): Do not add $(tests-ifunc).
4679         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4680         (tests): Do not add $(tests-ifunc).
4681         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4682         [TEST_IFUNC]: Remove conditionals.
4683         * string/test-string.h (TEST_IFUNC): Remove macro.
4684         [TEST_IFUNC]: Remove conditionals.
4686         * string/test-strchr.c [!WIDE] (L): New macro.
4687         [WIDE] (L): Likewise.
4688         (check1): Use CHAR instead of char.  Use L on string and character
4689         constants.
4691 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4693         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4694         tests.
4695         * sysdeps/powerpc/bits/atomic.h
4696         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4697         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4698         (atomic_exchange_and_add_acq): Likewise.
4699         (atomic_exchange_and_add_rel): Likewise.
4700         * sysdeps/powerpc/powerpc32/bits/atomic.h
4701         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4702         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4703         * sysdeps/powerpc/powerpc64/bits/atomic.h
4704         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4705         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4707 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4709         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4710         Change synchronization of __sched_fifo_min_prio and
4711         __sched_fifo_max_prio.
4712         * nptl/pthread_mutexattr_getprioceiling.c
4713         (pthread_mutexattr_getprioceiling): Likewise.
4714         * nptl/pthread_mutexattr_setprioceiling.c
4715         (pthread_mutexattr_setprioceiling): Likewise.
4716         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4717         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4718         Likewise.
4720 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4722         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4723         void.
4725 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4727         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4728         third argument const.
4730 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4732         fnmatch: work around GCC compiler warning bug with uninit var
4733         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4734         This works around a bug with x86-64 GCC 4.9.2 and earlier
4735         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4736         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4737         used uninitialized in this function [-Wmaybe-uninitialized]".
4739 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4741         * posix/bug-regex31.c (main): Return RES not 0.
4743 2014-11-25  Anton Blanchard <anton@samba.org>
4745         * sysdeps/powerpc/bits/atomic.h
4746         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4748 2014-11-24  Sterling Augustine  <saugustine@google.com>
4750         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4752 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4754         [BZ #17608]
4755         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4757 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4759         [BZ #17633]
4760         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4761         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4762         variable.
4763         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4764         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4766 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4768         * string/strncpy.c (strncpy): Improve performance by using memset.
4770 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4772         * string/strcpy.c (strcpy):
4773         Improve performance by using strlen and memcpy.
4775 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4777         * string/strcoll_l.c (get_next_seq): __always_inline.
4778         * string/strcoll_l.c (do_compare): __always_inline.
4780 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4782         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4783         defined.
4784         * include/mqueue.h: Likewise.
4785         * include/stdlib.h: Likewise.
4787         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4788         (get_null_defines): Adjust.
4789         * sunrpc/Makefile: Adjust comment.
4790         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4791         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4792         (CFLAGS-interp.c): Likewise.
4793         (CFLAGS-ldconfig.c): Likewise.
4794         (CPPFLAGS-.os): Likewise.
4795         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4796         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4797         * extra-modules.mk (extra-modules.mk): Likewise.
4798         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4799         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4800         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4801         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4802         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4803         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4804         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4805         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4806         * iconvdata/Makefile (CPPFLAGS): Likewise.
4807         (cpp-srcs-left): Add libof for all iconvdata routines.
4808         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4809         * include/assert.h: Likewise.
4810         * include/ctype.h: Likewise.
4811         * include/errno.h: Likewise.
4812         * include/libc-symbols.h: Likewise.
4813         * include/math.h: Likewise.
4814         * include/netdb.h: Likewise.
4815         * include/resolv.h: Likewise.
4816         * include/stdio.h: Likewise.
4817         * include/stdlib.h: Likewise.
4818         * include/string.h: Likewise.
4819         * include/sys/stat.h: Likewise.
4820         * include/wctype.h: Likewise.
4821         * intl/l10nflist.c: Likewise.
4822         * libidn/idn-stub.c: Likewise.
4823         * libio/libioP.h: Likewise.
4824         * nptl/libc_multiple_threads.c: Likewise.
4825         * nptl/pthreadP.h: Likewise.
4826         * posix/regex_internal.h: Likewise.
4827         * resolv/res_hconf.c: Likewise.
4828         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4829         * sysdeps/arm/memmove.S: Likewise.
4830         * sysdeps/arm/sysdep.h: Likewise.
4831         * sysdeps/generic/_itoa.h: Likewise.
4832         * sysdeps/generic/symbol-hacks.h: Likewise.
4833         * sysdeps/gnu/errlist.awk: Likewise.
4834         * sysdeps/gnu/errlist.c: Likewise.
4835         * sysdeps/i386/i586/memcpy.S: Likewise.
4836         * sysdeps/i386/i586/memset.S: Likewise.
4837         * sysdeps/i386/i686/memcpy.S: Likewise.
4838         * sysdeps/i386/i686/memmove.S: Likewise.
4839         * sysdeps/i386/i686/mempcpy.S: Likewise.
4840         * sysdeps/i386/i686/memset.S: Likewise.
4841         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4842         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4843         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4844         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4845         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4846         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4847         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4848         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4849         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4850         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4851         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4852         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4853         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4854         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4855         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4856         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4857         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4858         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4859         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4860         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4861         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4862         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4863         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4864         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4865         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4866         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4867         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4868         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4869         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4870         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4871         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4873         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4874         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4875         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4876         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4877         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4878         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4879         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4880         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4881         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4882         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4883         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4884         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4885         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4886         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4887         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4888         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4889         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4890         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4891         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4892         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4893         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4894         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4895         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4896         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4897         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4898         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4899         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4900         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4901         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4902         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4903         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4904         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4905         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4906         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4907         * sysdeps/posix/closedir.c: Likewise.
4908         * sysdeps/posix/opendir.c: Likewise.
4909         * sysdeps/posix/readdir.c: Likewise.
4910         * sysdeps/posix/rewinddir.c: Likewise.
4911         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4912         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4913         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4914         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4915         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4916         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4917         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4918         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4922         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4923         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4924         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4925         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4926         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4927         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4928         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4929         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4930         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4931         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4932         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4933         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4934         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4936         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4939         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4941         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4946         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4947         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4948         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4949         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4950         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4951         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4952         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4953         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4954         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4955         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4956         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4957         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4958         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4959         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4960         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4961         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4962         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4964         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4966         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4967         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4968         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4969         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4971         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4972         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4973         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4974         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4975         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4976         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4977         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4978         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4979         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4980         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4981         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4982         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4983         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4984         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4985         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4986         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4987         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4988         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4989         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4990         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4991         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4992         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4993         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4995         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4996         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4997         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4998         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4999         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5000         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5001         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5002         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5003         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5004         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5005         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5007         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5008         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5009         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5010         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5011         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5012         * sysdeps/unix/alpha/sysdep.S: Likewise.
5013         * sysdeps/unix/alpha/sysdep.h: Likewise.
5014         * sysdeps/unix/make-syscalls.sh: Likewise.
5015         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5016         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5017         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5018         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5019         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5020         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5021         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5022         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5023         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5024         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5025         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5026         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5027         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5028         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5029         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5030         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5031         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5032         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5033         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5034         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5035         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5036         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5037         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5038         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5039         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5040         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5041         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5044         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5045         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5049         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5053         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5054         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5055         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5056         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5057         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5058         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5059         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5061         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5062         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5063         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5065         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5066         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5067         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5068         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5069         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5070         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5071         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5073         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5074         * sysdeps/x86_64/memcpy.S: Likewise.
5075         * sysdeps/x86_64/memmove.c: Likewise.
5076         * sysdeps/x86_64/memset.S: Likewise.
5077         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5079         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5080         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5081         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5082         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5083         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5084         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5085         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5086         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5087         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5088         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5089         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5090         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5091         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5092         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5093         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5094         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5095         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5096         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5097         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5098         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5099         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5100         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5101         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5102         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5103         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5104         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5105         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5106         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5107         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5108         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5109         * sysdeps/x86_64/strcmp.S: Likewise.
5111         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5113         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5114         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5115         * elf/rtld-Rules: Likewise.
5116         * elf/setup-vdso.h: Likewise.
5117         * include/assert.h: Likewise.
5118         * include/bits/stdlib-float.h: Likewise.
5119         * include/errno.h: Likewise.
5120         * include/sys/stat.h: Likewise.
5121         * include/unistd.h: Likewise.
5122         * sysdeps/aarch64/setjmp.S: Likewise.
5123         * sysdeps/alpha/setjmp.S: Likewise.
5124         * sysdeps/arm/__longjmp.S: Likewise.
5125         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5126         * sysdeps/arm/setjmp.S: Likewise.
5127         * sysdeps/arm/sysdep.h: Likewise.
5128         * sysdeps/generic/_itoa.h: Likewise.
5129         * sysdeps/generic/dl-sysdep.h: Likewise.
5130         * sysdeps/generic/ldsodefs.h: Likewise.
5131         * sysdeps/i386/dl-tls.h: Likewise.
5132         * sysdeps/i386/setjmp.S: Likewise.
5133         * sysdeps/m68k/setjmp.c: Likewise.
5134         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5135         * sysdeps/mach/hurd/opendir.c: Likewise.
5136         * sysdeps/posix/getcwd.c: Likewise.
5137         * sysdeps/posix/opendir.c: Likewise.
5138         * sysdeps/posix/profil.c: Likewise.
5139         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5140         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5141         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5142         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5143         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5144         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5145         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5146         * sysdeps/s390/dl-tls.h: Likewise.
5147         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5148         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5149         * sysdeps/sh/sh3/setjmp.S: Likewise.
5150         * sysdeps/sh/sh4/setjmp.S: Likewise.
5151         * sysdeps/unix/alpha/sysdep.h: Likewise.
5152         * sysdeps/unix/arm/sysdep.S: Likewise.
5153         * sysdeps/unix/i386/sysdep.S: Likewise.
5154         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5155         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5156         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5157         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5159         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5160         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5161         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5162         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5163         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5164         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5165         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5166         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5169         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5171         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5172         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5173         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5174         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5177         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5178         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5179         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5180         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5181         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5182         * sysdeps/x86_64/setjmp.S: Likewise.
5184         * include/math.h: Use IS_IN instead of IS_IN_libm.
5185         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5186         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5187         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5188         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5189         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5191         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5192         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5193         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5194         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5195         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5196         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5197         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5198         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5199         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5200         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5201         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5202         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5203         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5204         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5205         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5206         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5207         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5208         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5209         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5210         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5211         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5212         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5213         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5214         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5215         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5216         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5217         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5219         Likewise.
5220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5221         Likewise.
5222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5223         Likewise.
5224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5225         Likewise.
5226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5227         Likewise.
5228         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5229         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5230         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5231         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5232         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5233         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5239         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5240         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5241         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5242         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5243         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5244         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5245         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5246         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5247         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5248         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5249         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5250         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5251         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5252         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5254         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5256         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5257         * nptl/pthreadP.h: Likewise.
5258         * nptl_db/structs.def: Likewise.
5259         * sysdeps/arm/sysdep.h: Likewise.
5260         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5261         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5262         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5263         * sysdeps/unix/alpha/sysdep.h: Likewise.
5264         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5266         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5267         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5268         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5269         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5270         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5271         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5272         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5273         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5274         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5275         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5276         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5277         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5282         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5283         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5285         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5286         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5287         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5288         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5289         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5291         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5292         * nptl/pthreadP.h: Likewise.
5293         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5294         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5295         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5296         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5297         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5298         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5299         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5300         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5301         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5302         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5303         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5304         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5306         Likewise.
5307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5308         Likewise.
5309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5311         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5314         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5315         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5316         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5318         * dlfcn/dladdr.c: Use IS_IN.
5319         * dlfcn/dladdr1.c: Likewise.
5320         * dlfcn/dlclose.c: Likewise.
5321         * dlfcn/dlerror.c: Likewise.
5322         * dlfcn/dlinfo.c: Likewise.
5323         * dlfcn/dlmopen.c: Likewise.
5324         * dlfcn/dlopen.c: Likewise.
5325         * dlfcn/dlsym.c: Likewise.
5326         * dlfcn/dlvsym.c: Likewise.
5328         * include/ifaddrs.h: Use IS_IN.
5329         * inet/check_pf.c: Likewise.
5330         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5331         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5333         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5334         IS_IN_ldconfig.
5335         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5336         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5338         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5339         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5340         IS_IN (libc).
5342         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5344         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5345         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5346         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5347         * include/libc-symbols.h (IS_IN_LIB): New macro.
5348         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5349         * include/netdb.h: Likewise.
5350         * include/stap-probe.h: Remove all uses of IN_LIB.
5352         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5353         instead of IN_MODULE.
5354         * include/libc-symbols.h (IN_MODULE): Define using
5355         MODULE_NAME.
5356         (PASTE_NAME, PASTE_NAME1): New macros.
5357         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5358         of IN_LIB.
5359         (STAP_PROBE_ASM): Likewise.
5361 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5363         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5364         __mach_init in dlopened libc.
5366 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5368         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5369         * sysdeps/arm/preconfigure: Regenerate.
5371 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5373         * nptl/pthread_create.c (__pthread_create_2_1): Set
5374         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5375         when copying values from IATTR into PD.
5377 2014-11-21  Will Newton  <will.newton@linaro.org>
5378             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5380         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5381         Refactor inline-asm.  Also add comment.
5383         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5384         ElfW macro instead of hardcoded Elf64 types.
5385         (la_aarch64_gnu_pltenter): Likewise.
5386         * sysdeps/aarch64/dl-machine.h
5387         (elf_machine_runtime_setup): Use ElfW(Addr).
5389         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5390         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5391         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5392         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5393         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5394         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5395         (R_AARCH64_TLS_DTPMOD): This.
5396         (R_AARCH64_TLS_DTPREL64): Rename to ...
5397         (R_AARCH64_TLS_DTPREL): This.
5398         (R_AARCH64_TLS_TPREL64): Rename to ...
5399         (R_AARCH64_TLS_TPREL): This.
5400         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5401         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5402         R_AARCH64_TLS_TPREL64.
5403         (elf_machine_rela): Likewise.
5405 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5407         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5408         by setting it to 0.  64b atomics are not supported currently.
5410 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5412         [BZ #16469]
5413         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5414         search domain names.
5416 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5418         [BZ #16469]
5419         * NEWS: Update.
5420         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5421         trailing dot.
5422         * posix/tst-getaddrinfo5.c: New.
5423         * posix/Makefile (tests): Add it.
5425 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5427         [BZ #14498]
5428         * NEWS: Fixed.
5429         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5430         after parsing line but before break_if_match.
5431         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5432         if there is a protocol mismatch.
5434 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5436         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5437         because the potential race is on the user-supplied stream.
5439 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5441         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5442         string literal if not passed a buffer.
5443         * manual/job.texi (ctermid): Update reasoning, note deviation
5444         from posix, suggest mtasurace when not passed a buffer, for
5445         future non-preliminary safety notes.
5447 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5449         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5450         of not passing it a buffer.
5451         Reported by Peng Haitao.
5453 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5455         * manual/Makefile ($(objpfx)stamp-summary): Require
5456         check-safety.sh to pass.
5457         * manual/check-safety.sh: Wish for verification that every
5458         @deftypefn and @deftypefun is followed by a @safety remark.
5460 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5462         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5464         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5465         PTHREAD_CANCEL_ASYNCHRONOUS.
5466         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5467         send SIGCANCEL.
5469         * nptl/default-sched.h: New file.
5470         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5471         * nptl/pthread_create.c: Include it.
5472         (__pthread_create_2_1): Use collect_default_sched instead of making
5473         Linux syscalls here directly.
5475 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5477         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5478         __pthread_once): Use C11 atomics.
5480 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5482         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5484 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5486         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5487         atomic_thread_fence_acquire, atomic_thread_fence_release,
5488         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5489         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5490         atomic_compare_exchange_weak_relaxed,
5491         atomic_compare_exchange_weak_acquire,
5492         atomic_compare_exchange_weak_release,
5493         atomic_exchange_acquire, atomic_exchange_release,
5494         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5495         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5496         atomic_fetch_and_acquire,
5497         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5499 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5501         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5502         USE_ATOMIC_COMPILER_BUILTINS): Define.
5503         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5505         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5507         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5509         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5511         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5513         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5515         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5517         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5519         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5521         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5523         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5525         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5527         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5529         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5530         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5531         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5533         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5535         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5537         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5538         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5539         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5541         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5544 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5546         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5547         the sched_priority value here.  It was already checked when the user
5548         called pthread_attr_setschedparam.
5550         * nptl/tst-bad-schedattr.c: New file.
5551         * nptl/Makefile (tests): Add it.
5553 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5554             Florian Weimer  <fweimer@redhat.com>
5555             Joseph Myers  <joseph@codesourcery.com>
5556             Adam Conrad  <adconrad@0c3.net>
5557             Andreas Schwab  <schwab@suse.de>
5558             Brooks  <bmoses@google.com>
5560         [BZ #17625]
5561         * wordexp-test.c (__dso_handle): Add prototype.
5562         (__register_atfork): Likewise.
5563         (__app_register_atfork): New function.
5564         (registered_forks): New global.
5565         (register_fork): New function.
5566         (test_case): Add 3 new tests for WRDE_CMDSUB.
5567         (main): Call __app_register_atfork.
5568         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5569         fork count is non-zero fail the test.
5570         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5571         is set.
5572         (parse_dollars): Remove check for WRDE_NOCMD.
5573         (parse_dquote): Likewise.
5575 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5577         * Makeconfig (built-modules): List non-library modules to be
5578         built.
5579         (module-cppflags): Include libc-modules.h for
5580         everything except shlib-versions.v.i.
5581         (CPPFLAGS): Use it.
5582         (before-compile): Add libc-modules.h.
5583         ($(common-objpfx)libc-modules.h,
5584         $(common-objpfx)libc-modules.stmp): New targets.
5585         (common-generated): Add libc-modules.h and libc-modules.stmp.
5586         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5587         * include/libc-symbols.h: Don't include libc-modules.h.
5588         * include/libc-modules.h: Remove file.
5589         * scripts/gen-libc-modules.awk: New script to generate
5590         libc-modules.h.
5591         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5592         Depend on libc-modules.stmp.
5594         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5596         * Makeconfig (in-module): Get value of libof set for the
5597         translation unit.
5598         (CPPFLAGS): Use $(in-module).
5599         * Makerules: Don't suffix routine names for nonlib.
5600         * include/libc-modules.h: New file.
5601         * include/libc-symbols.h: Include libc-modules.h
5602         (IS_IN): New macro to replace IS_IN_* macros.
5603         * elf/Makefile: Set libof-* for each routine.
5604         * elf/rtld-Rules: Likewise.
5605         * extra-modules.mk: Likewise.
5606         * iconv/Makefile: Likewise.
5607         * iconvdata/Makefile: Likewise.
5608         * locale/Makefile: Likewise.
5609         * malloc/Makefile: Likewise.
5610         * nss/Makefile: Likewise.
5611         * sysdeps/gnu/Makefile: Likewise.
5612         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5613         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5614         * sysdeps/s390/s390-64/Makefile: Likewise.
5615         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5616         CPPFLAGS for nscd instead of nonlib.
5618 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5620         * nptl/createthread.c: New file.
5622         * nptl/createthread.c: Moved ...
5623         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5625         * nptl/createthread.c: Add proper top-line comment.
5626         (do_clone): Folded into ...
5627         (create_thread): ... here.  Take new arguments STOPPED_START and
5628         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5629         increment __nptl_threads, do event-reporting logic, do
5630         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5631         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5632         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5633         just send SIGCANCEL.
5634         * nptl/pthread_create.c: Forward-declare create_thread before
5635         including createthread.c.
5636         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5637         declaration, and new macro START_THREAD_SELF to replace argument.
5638         Remove return statement.
5639         (report_thread_creation): New function.
5640         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5641         synchronization logic, and __nptl_nthreads increment here, around
5642         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5643         PD->parent_cancelhandling here, before create_thread.  When
5644         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5645         __deallocate_stack, and ENOMEM translation here.
5647 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5649         [BZ #17616]
5650         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5651         (mptwo): Rename to __mptwo.
5652         (__inv): Use __mptwo instead of mptwo.
5653         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5654         (mptwo): Rename to __mptwo.
5655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5656         of mpone and __mptwo instead of mptwo.
5657         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5658         instead of mpone.
5659         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5660         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5661         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5662         of mpone and __mptwo instead of mptwo.
5663         (__mpranred): Use __mpone instead of mpone.
5664         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5665         variable.
5666         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5667         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5668         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5669         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5670         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5671         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5672         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5673         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5674         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5675         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5676         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5677         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5678         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5679         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5680         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5681         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5682         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5683         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5684         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5686 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5688         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5689         replace BSD Handler xref with BSD Signal Handling.
5691 2014-11-17  Richard Henderson  <rth@redhat.com>
5693         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5694         (_FP_PACK_RAW_2): Remove.
5695         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5696         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5697         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5698         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5699         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5700         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5701         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5702         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5703         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5704         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5705         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5706         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5707         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5708         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5709         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5710         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5712 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5714         * signal/signal.h [__USE_MISC]
5715         (struct sigvec): Remove type.
5716         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5717         (sigvec): Remove declaration.
5718         * sysdeps/posix/sigvec.c: Moved ...
5719         * signal/sigvec.c: ... here, replacing old file.
5720         (struct sigvec): New type, copied from old signal.h definition.
5721         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5722         (__sigvec): Convert definition to prototype.
5723         (sigvec): Replace weak_alias with compat_symbol.
5724         * signal/Versions (libc: GLIBC_2.21): New version set.
5725         * include/signal.h: Remove __sigvec declaration.
5726         * sysdeps/unix/bsd/sigvec.c: Remove file.
5727         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5728         * manual/signal.texi (BSD Handler): Remove subsection.
5729         Move siginterrupt up to ...
5730         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5731         (Blocking in BSD): Fold subsection into its parent.
5732         * NEWS: Mention sigvec removal.
5734 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5736         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5737         (DLA_FMS): Make definition conditional only on [__FMA4__].
5738         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5739         definition.
5741         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5742         Make definition conditional only on [PROF].
5743         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5744         definition.
5745         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5746         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5748         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5749         !__GNUC__].
5750         * include/signal.h (__sigpause): Move declaration above call to
5751         libc_hidden_proto.
5752         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5753         variable.
5754         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5755         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5757 2014-11-14  David S. Miller  <davem@davemloft.net>
5759         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5760         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5762 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5764         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5765         * configure: Regenerated.
5766         * manual/install.texi (Tools for Compilation): Document a
5767         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5768         compiler verified to work.
5769         * INSTALL: Regenerated.
5771         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5772         redeclare with asm name.
5773         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5774         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5775         including <string.h>.
5776         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5777         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5778         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5779         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5780         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5781         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5782         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5784 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5786         * stdlib/strtol.c (__strtol): Use prototype definition.
5788         [BZ #17594]
5789         * stdlib/strtol.c (SYM__): New macro.
5790         (SYM__1): Likewise.
5791         (__strtol): Likewise.
5792         (strtol): Rename to __strtol and define as weak alias of
5793         __strtol.  Use libc_hidden_weak.
5795 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5797         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5798         Use numbered labels in inline assembly.
5800 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5802         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5803         Add setjmp LIBC_PROBE.
5804         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5805         Likewise.
5806         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5807         Add longjmp, longjmp_target LIBC_PROBE.
5808         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5809         Likewise.
5811 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5813         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5814         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5815         to get rid of unused variable warning.
5817 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5819         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5820         Check for unwind_backtrace ==  NULL only in SHARED case.
5821         (__backchain_backtrace): Compile only in SHARED case.
5822         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5823         Likewise.
5824         (__backchain_backtrace): Declare as static.
5826 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5828         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5829         (__libc_multiple_threads_ptr): Variable moved ...
5830         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5832 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5834         * conform/GlibcConform.pm: New file.
5835         * conform/conformtest.pl: Use GlibcConform module.
5836         * conform/linknamespace.pl: New file.
5837         * conform/list-header-symbols.pl: Likewise.
5838         * conform/Makefile (linknamespace-symlists-base): New variable.
5839         (linknamespace-symlists-tests): Likewise.
5840         (linknamespace-header-base): Likewise.
5841         (linknamespace-header-tests): Likewise.
5842         (tests-special): Add new tests.
5843         ($(linknamespace-symlists-tests)): New rule.
5844         (linknamespace-libs): New variable.
5845         ($(objpfx)symlist-stdlibs): New rule.
5846         ($(linknamespace-header-tests)): Likewise.
5847         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5848         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5849         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5850         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5851         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5852         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5853         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5854         (test-xfail-ISO/math.h/linknamespace): Likewise.
5855         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5856         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5857         (test-xfail-ISO/time.h/linknamespace): Likewise.
5858         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5859         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5860         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5861         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5862         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5863         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5864         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5865         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5866         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5867         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5868         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5869         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5870         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5871         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5872         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5873         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5874         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5875         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5876         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5877         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5878         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5879         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5880         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5881         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5882         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5883         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5884         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5885         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5886         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5887         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5888         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5889         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5890         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5891         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5892         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5893         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5894         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5895         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5896         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5897         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5898         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5899         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5900         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5901         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5902         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5903         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5904         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5905         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5906         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5907         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5908         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5909         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5910         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5911         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5912         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5913         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5914         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5915         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5916         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5917         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5918         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5919         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5920         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5921         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5922         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5923         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5924         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5925         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5926         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5927         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5928         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5929         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5930         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5931         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5932         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5933         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5934         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5935         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5936         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5937         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5938         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5939         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5940         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5941         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5942         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5943         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5944         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5945         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5946         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5947         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5948         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5949         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5950         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5951         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5952         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5953         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5954         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5955         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5956         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5957         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5958         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5959         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5960         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5961         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5962         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5963         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5964         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5965         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5966         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5967         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5968         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5969         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5970         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5971         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5972         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5973         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5974         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5975         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5976         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5977         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5978         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5979         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5980         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5981         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5982         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5983         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5984         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5985         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5986         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5987         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5988         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5989         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5990         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5991         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5992         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5993         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5994         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5995         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5996         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5997         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5998         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5999         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6000         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6001         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6002         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6003         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6004         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6005         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6006         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6007         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6009         [BZ #17589]
6010         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6011         of fgets_unlocked.
6013         [BZ #17585]
6014         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6015         (memmem): Rename to __memmem and define as weak alias of
6016         __memmem.  Use libc_hidden_weak.
6017         (__memmem): Use libc_hidden_def.
6018         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6019         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6020         memmem.
6022         [BZ #17582]
6023         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6024         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6025         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6026         and define as weak alias of __fgets_unlocked.  Use
6027         libc_hidden_weak.
6028         (__fgets_unlocked): Use libc_hidden_def.
6029         * include/stdio.h (__fgets_unlocked): Declare.  Use
6030         libc_hidden_proto.
6031         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6032         __fgets_unlocked instead of fgets_unlocked.
6033         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6034         (GET_NPROCS_CONF_PARSER): Likewise.
6035         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6036         (GET_NPROCS_CONF_PARSER): Likewise.
6038         [BZ #17574]
6039         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6040         weak alias of __wmemset.  Use libc_hidden_weak.
6041         (__wmemset): Use libc_hidden_def.
6042         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6043         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6044         of wmemset.
6046         [BZ #17573]
6047         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6048         with asm name __mempcpy.
6049         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6051         [BZ #17572]
6052         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6053         and define as weak alias of __rawmemchr.
6054         (__rawmemchr): Do not define as strong alias of rawmemchr.
6056         [BZ #17571]
6057         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6058         alias of __qsort_r.
6059         (qsort): Call __qsort_r instead of qsort_r.
6060         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6061         (__qsort_r): Declare.  Call libc_hidden_proto.
6062         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6063         instead of qsort_r.
6064         * nscd/gai.c (__qsort_r): Define to qsort_r.
6065         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6066         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6067         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6069         [BZ #17570]
6070         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6071         define as weak alias of __malloc_info.
6073         [BZ #17584]
6074         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6075         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6076         (__rewinddir): Use libc_hidden_def.
6077         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6078         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6079         (__rewinddir): Use libc_hidden_def.
6080         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6081         weak alias of __rewinddir.  Don't use libc_hidden_def.
6082         (__rewinddir): Use libc_hidden_def.
6083         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6084         (__rewinddir): Use libc_hidden_proto.
6085         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6086         rewinddir.
6087         (__getcwd): Use __rewinddir instead of rewinddir.
6089         [BZ #17583]
6090         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6091         alias of __fileno.  Use libc_hidden_weak.
6092         (__fileno): Use libc_hidden_def.
6093         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6094         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6095         alias of __ftello.
6096         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6097         __ftello.
6098         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6099         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6100         libc_hidden_def.
6101         (fread_unlocked): Don't use libc_hidden_ver.
6102         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6103         and define as weak alias of __fread_unlocked.  Don't use
6104         libc_hidden_def.
6105         (__fread_unlocked): Use libc_hidden_def.
6106         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6107         (ftello): Don't use libc_hidden_proto.
6108         (__ftello): Declare.  Use libc_hidden_proto.
6109         (fread_unlocked): Don't use libc_hidden_proto.
6110         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6111         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6112         and __ftello instead of fileno, fread_unlocked and ftello.
6114 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6116         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6117         GOT12.
6118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6119         Likewise.
6120         (_dl_start_user): Likewise.
6121         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6123 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6124             Siddhesh Poyarekar  <siddhesh@redhat.com>
6126         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6127         Move argv and envp down instead of moving argc up.
6128         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6130 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6132         [BZ #17506]
6133         * test-skeleton.c (main): Return successful if one of
6134         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6135         * string/tst-strcoll-overflow.c: Define expected status.
6137 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6139         [BZ #17475]
6140         * locale/iso-639.def: Define Bhili and Tulu language codes.
6142 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6144         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6146 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6148         [BZ #17555]
6149         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6151 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6153         * configure.ac: Updated check of minimal required version to
6154         2.22.
6155         * manual/install.texi (Tools for Compilation): Updated version
6156         number.
6157         * configure: Regenerated.
6158         * INSTALL: Likewise.
6160 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6162         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6163         __tls_get_addr.
6165 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6167         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6168         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6169         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6170         libc_hidden_weak.
6171         (waitpid): Define as alias of __waitpid.
6172         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6173         __waitpid.
6174         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6175         libc_hidden_weak.
6176         (waitpid): Define as alias of __waitpid.
6177         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6178         __libc_waitpid alias.
6179         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6180         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6181         Likewise.
6182         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6183         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6184         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6185         alias.
6186         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6187         __waitpid.
6188         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6189         libc_hidden_weak.
6190         (waitpid): Define as alias of __waitpid.
6192 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6194         * manual/llio.texi: Add comment that write safety has been
6195         fixed in Linux.
6197         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6198         (localplt-build-dso): Add elf/ld.so.
6199         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6200         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6201         and free for ld.so.
6202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6203         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6205         Likewise.
6206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6207         Likewise.
6208         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6209         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6210         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6211         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6212         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6213         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6214         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6215         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6216         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6217         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6218         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6220 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6222         [BZ #14132]
6223         * include/libc-symbols.h (INTUSE): Remove macro.
6224         (INTDEF): Likewise.
6225         (INTVARDEF): Likewise.
6226         (_INTVARDEF): Likewise.
6227         (INTDEF2): Likewise.
6228         (INTVARDEF2): Likewise.
6229         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6230         rtld_hidden_def instead of INTVARDEF.
6231         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6232         (_dl_starting_up_internal): Remove declaration.
6233         (_dl_starting_up): Use rtld_hidden_proto.
6234         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6235         declaration.
6236         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6237         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6238         _dl_starting_up.
6239         * elf/dl-writev.h (_dl_writev): Likewise.
6240         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6241         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6242         _dl_starting_up_internal.
6244 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6246         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6247         test-skeleton.c.
6249 2014-11-05  Will Newton  <will.newton@linaro.org>
6251         * benchtests/Makefile: (bench-malloc): Add malloc thread
6252         scalability benchmark.
6253         * benchtests/bench-malloc-threads.c: New file.
6255 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6257         * sysdeps/aarch64/strchrnul.S: New file.
6259 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6261         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6262         definition.
6263         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6264         Likwise.
6265         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6266         Likewise.
6267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6268         Likewise.
6269         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6270         Likewise.
6271         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6272         Likewise.
6274 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6276         * catgets/test-gencat.c: Use test-skeleton.c.
6277         * catgets/tst-catgets.c: Likewise.
6278         * csu/tst-empty.c: Likewise.
6279         * elf/tst-audit2.c: Likewise.
6280         * elf/tst-global1.c: Likewise.
6281         * elf/tst-pathopt.c: Likewise.
6282         * elf/tst-piemod1.c: Likewise.
6283         * elf/tst-tls10.c: Likewise.
6284         * elf/tst-tls11.c: Likewise.
6285         * elf/tst-tls12.c: Likewise.
6286         * gnulib/tst-gcc.c: Likewise.
6287         * iconvdata/tst-e2big.c: Likewise.
6288         * iconvdata/tst-loading.c: Likewise.
6289         * iconv/tst-iconv1.c: Likewise.
6290         * iconv/tst-iconv2.c: Likewise.
6291         * inet/test-inet6_opt.c: Likewise.
6292         * inet/tst-gethnm.c: Likewise.
6293         * inet/tst-network.c: Likewise.
6294         * inet/tst-ntoa.c: Likewise.
6295         * intl/tst-codeset.c: Likewise.
6296         * intl/tst-gettext2.c: Likewise.
6297         * intl/tst-gettext3.c: Likewise.
6298         * intl/tst-ngettext.c: Likewise.
6299         * intl/tst-translit.c: Likewise.
6300         * io/test-stat.c: Likewise.
6301         * libio/test-fmemopen.c: Likewise.
6302         * libio/tst-freopen.c: Likewise.
6303         * libio/tst-sscanf.c: Likewise.
6304         * libio/tst-ungetwc1.c: Likewise.
6305         * libio/tst-ungetwc2.c: Likewise.
6306         * libio/tst-widetext.c: Likewise.
6307         * localedata/tst-ctype.c: Likewise.
6308         * localedata/tst-digits.c: Likewise.
6309         * localedata/tst-leaks.c: Likewise.
6310         * localedata/tst-mbswcs1.c: Likewise.
6311         * localedata/tst-mbswcs2.c: Likewise.
6312         * localedata/tst-mbswcs3.c: Likewise.
6313         * localedata/tst-mbswcs4.c: Likewise.
6314         * localedata/tst-mbswcs5.c: Likewise.
6315         * localedata/tst-setlocale.c: Likewise.
6316         * localedata/tst-trans.c: Likewise.
6317         * localedata/tst-wctype.c: Likewise.
6318         * localedata/tst-xlocale1.c: Likewise.
6319         * login/tst-grantpt.c: Likewise.
6320         * malloc/tst-calloc.c: Likewise.
6321         * malloc/tst-malloc.c: Likewise.
6322         * malloc/tst-mallocstate.c: Likewise.
6323         * malloc/tst-mcheck.c: Likewise.
6324         * malloc/tst-mtrace.c: Likewise.
6325         * malloc/tst-obstack.c: Likewise.
6326         * math/atest-exp2.c: Likewise.
6327         * math/atest-exp.c: Likewise.
6328         * math/atest-sincos.c: Likewise.
6329         * math/test-matherr.c: Likewise.
6330         * math/test-misc.c: Likewise.
6331         * math/test-powl.c: Likewise.
6332         * math/tst-definitions.c: Likewise.
6333         * misc/tst-dirname.c: Likewise.
6334         * misc/tst-efgcvt.c: Likewise.
6335         * misc/tst-fdset.c: Likewise.
6336         * misc/tst-hsearch.c: Likewise.
6337         * misc/tst-mntent2.c: Likewise.
6338         * nptl/tst-sem7.c: Likewise.
6339         * nptl/tst-sem8.c: Likewise.
6340         * nptl/tst-sem9.c: Likewise.
6341         * nss/test-netdb.c: Likewise.
6342         * posix/tst-fnmatch.c: Likewise.
6343         * posix/tst-getlogin.c: Likewise.
6344         * posix/tst-gnuglob.c: Likewise.
6345         * posix/tst-mmap.c: Likewise.
6346         * pwd/tst-getpw.c: Likewise.
6347         * resolv/tst-inet_ntop.c: Likewise.
6348         * rt/tst-timer.c: Likewise.
6349         * stdio-common/test-fseek.c: Likewise.
6350         * stdio-common/test-popen.c: Likewise.
6351         * stdio-common/test-vfprintf.c: Likewise.
6352         * stdio-common/tst-cookie.c: Likewise.
6353         * stdio-common/tst-fileno.c: Likewise.
6354         * stdio-common/tst-gets.c: Likewise.
6355         * stdio-common/tst-obprintf.c: Likewise.
6356         * stdio-common/tst-perror.c: Likewise.
6357         * stdio-common/tst-sprintf2.c: Likewise.
6358         * stdio-common/tst-sprintf3.c: Likewise.
6359         * stdio-common/tst-sprintf.c: Likewise.
6360         * stdio-common/tst-swprintf.c: Likewise.
6361         * stdio-common/tst-tmpnam.c: Likewise.
6362         * stdio-common/tst-unbputc.c: Likewise.
6363         * stdio-common/tst-wc-printf.c: Likewise.
6364         * stdlib/tst-environ.c: Likewise.
6365         * stdlib/tst-fmtmsg.c: Likewise.
6366         * stdlib/tst-limits.c: Likewise.
6367         * stdlib/tst-rand48-2.c: Likewise.
6368         * stdlib/tst-rand48.c: Likewise.
6369         * stdlib/tst-random2.c: Likewise.
6370         * stdlib/tst-random.c: Likewise.
6371         * stdlib/tst-strtol.c: Likewise.
6372         * stdlib/tst-strtoll.c: Likewise.
6373         * stdlib/tst-tls-atexit.c: Likewise.
6374         * stdlib/tst-xpg-basename.c: Likewise.
6375         * string/test-ffs.c: Likewise.
6376         * string/tst-bswap.c: Likewise.
6377         * string/tst-inlcall.c: Likewise.
6378         * string/tst-strtok.c: Likewise.
6379         * string/tst-strxfrm.c: Likewise.
6380         * sysdeps/x86_64/tst-audit10.c: Likewise.
6381         * sysdeps/x86_64/tst-audit3.c: Likewise.
6382         * sysdeps/x86_64/tst-audit4.c: Likewise.
6383         * sysdeps/x86_64/tst-audit5.c: Likewise.
6384         * time/tst-ftime_l.c: Likewise.
6385         * time/tst-getdate.c: Likewise.
6386         * time/tst-mktime3.c: Likewise.
6387         * time/tst-mktime.c: Likewise.
6388         * time/tst-posixtz.c: Likewise.
6389         * time/tst-strptime2.c: Likewise.
6390         * time/tst-strptime3.c: Likewise.
6391         * wcsmbs/tst-btowc.c: Likewise.
6392         * wcsmbs/tst-mbrtowc.c: Likewise.
6393         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6394         * wcsmbs/tst-wchar-h.c: Likewise.
6395         * wcsmbs/tst-wcpncpy.c: Likewise.
6396         * wcsmbs/tst-wcrtomb.c: Likewise.
6397         * wcsmbs/tst-wcsnlen.c: Likewise.
6398         * wcsmbs/tst-wcstof.c: Likewise.
6400 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6402         [BZ #14132]
6403         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6404         INTDEF.
6405         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6406         declaration.
6407         (_dl_mcount): Use rtld_hidden_proto.
6408         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6409         _dl_mcount.
6410         * elf/rtld.c (_rtld_global_ro): Likewise.
6412         [BZ #14132]
6413         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6414         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6415         of _dl_init_internal.
6416         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6417         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6418         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6419         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6420         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6421         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6422         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6423         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6424         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6425         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6426         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6427         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6428         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6429         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6430         * sysdeps/tile/dl-start.S (_start): Likewise.
6431         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6432         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6434         [BZ #14132]
6435         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6436         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6437         (rtld_progname): Make macro definition unconditional.
6438         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6439         INTDEF.
6440         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6441         (dl_main): Likewise.
6442         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6443         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6444         instead of _dl_argv_internal.
6445         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6446         __GI__dl_argv instead of INTUSE(_dl_argv).
6447         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6448         __GI__dl_argv instead of _dl_argv_internal.
6450         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6451         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6452         macro.
6453         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6454         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6455         New macro.
6456         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6457         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6458         macro.
6459         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6460         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6462 2014-11-04  Andreas Schwab  <schwab@suse.de>
6464         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6466 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6468         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6469         mtvsrd instruction in binary form.
6471 2014-11-03  Andreas Schwab  <schwab@suse.de>
6473         [BZ #17522]
6474         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6475         for less than MB_LEN_MAX use a local buffer of that size.
6476         * libio/tst-fputws.c: New file.
6477         * libio/Makefile (tests): Add tst-fputws.
6479 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6481         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6482         the size of the fpu_fr.fpu_dregs[] array.
6484 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6486         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6487         (__nanosleep): Do not define as alias.
6488         (nanosleep): Define as alias of __nanosleep.
6489         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6490         __libc_nanosleep name.
6492 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6494         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6495         install.texi in comment.
6497 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6499         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6500         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6501         ... add here and use lwsync or sync ...
6502         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6503         ... and add here using lwsync.
6505 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6507         * elf/dl-machine-reject-phdr.h: New file.
6508         * elf/dl-load.c: #include that.
6509         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6510         if that returned true.
6512 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6514         [BZ #17496]
6515         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6516         gen-as-const-headers chunk.  Add a big scare comment after the last
6517         safe place to touch before-compile.
6519 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6521         * manual/install.texi (Tools for Compilation): Update autoconf
6522         version requirements.
6523         * INSTALL: Regenerated.
6525         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6526         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6527         (__libc_pselect): Likewise.
6529         [BZ #14138]
6530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6535 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6537         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6538         correct barrier instruction.
6539         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6540         Likewise.
6541         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6542         Likewise.
6544 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6546         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6547         after defining inlines.  Instead, just use parens to defeat macro
6548         expansion of __isctype in its declaration.
6550 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6552         * include/sys/uio.h (__libc_readv): Remove declaration.
6553         (__libc_writev): Likewise.
6554         * misc/readv.c (__libc_readv): Rename to __readv.
6555         (__readv): Do not define as alias.
6556         (readv): Define as alias of __readv.
6557         * misc/writev.c (__libc_writev): Rename to __writev.
6558         (__writev): Do not define as alias.
6559         (writev): Define as alias of __writev.
6560         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6561         (__readv): Do not define as alias.
6562         (readv): Define unconditionally as alias of __readv.
6563         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6564         (__writev): Do not define as alias.
6565         (writev): Define unconditionally as alias of __writev.
6566         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6567         name.
6568         (writev): Do not define __libc_writev name.
6570 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6572         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6573         (convert_charseq): New function, broken out of ...
6574         (use_from_charmap): ... here.  Call it.
6575         (use_to_charmap): Use convert_charseq and free instead of duplicating
6576         its code with a variable-length stack struct.
6578 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6580         * include/fcntl.h (__libc_creat): Remove declaration.
6581         * io/creat.c (__libc_creat): Rename to creat.
6582         (creat): Do not define as alias.
6583         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6584         of creat instead of __libc_creat.
6585         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6586         to creat.
6587         (creat): Do not define as alias.
6588         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6589         __libc_creat.
6590         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6591         __libc_creat name.
6592         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6593         Likewise.
6595 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6597         * manual/llio.texi: Add comments discussing why write() may be
6598         considered MT-unsafe on Linux.
6600 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6602         * dl-load.c (local_strdup): Remove.
6603         (expand_dynamic_string_token): Use __strdup.
6604         (decompose_rpath): Likewise.
6605         (_dl_map_object): Likewise.
6607 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6609         [BZ #14132]
6610         * sysdeps/generic/unwind-dw2-fde.c
6611         (__register_frame_info_bases_internal): Do not declare.
6612         (__register_frame_info_table_bases_internal): Likewise.
6613         (__deregister_frame_info_bases_internal): Likewise.
6614         (__register_frame_info_bases): Declare and use hidden_proto before
6615         definition.  Use hidden_def instead of INTDEF.
6616         (__register_frame_info_table_bases): Likewise.
6617         (__deregister_frame_info_bases): Likewise.
6618         (__register_frame_info): Do not use INTUSE.
6619         (__register_frame): Likewise.
6620         (__register_frame_info_table): Likewise.
6621         (__register_frame_table): Likewise.
6622         (__deregister_frame_info): Likewise.
6623         (__deregister_frame): Likewise.
6625 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6627         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6628         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6629         not undefine.
6630         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6631         Likewise.
6632         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6633         Likewise.
6635 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6637         [BZ #14138]
6638         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6639         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6640         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6641         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6642         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6643         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6644         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6645         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6646         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6647         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6648         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6649         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6650         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6651         syscall.
6652         (setfsuid): Likewise.
6653         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6654         (setfsuid): Likewise.
6655         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6656         (setfsuid): Likewise.
6657         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6658         Likewise.
6659         (setfsuid): Likewise.
6660         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6661         (setfsuid): Likewise.
6662         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6663         Likewise.
6664         (setfsuid): Likewise.
6666 2014-10-27  Andreas Schwab  <schwab@suse.de>
6668         [BZ #17501]
6669         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6670         check for Slow_SSE4_2 feature bit.
6671         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6672         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6673         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6674         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6676 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6678         * configure.ac: Validate compiler version with a empirical test of
6679         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6680         $CC -v output.
6681         * configure: Regenerated.
6683         * inet/htons.c (htons): Prototypify.
6684         * inet/htonl.c (htonl): Likewise.
6686 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6688         * string/strncat.c (strncat): Improve performance by using strlen.
6690 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6692         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6694 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6696         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6697         Call libc_fetestexcept_aarch64.
6699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6701         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6702         Call libc_feholdexcept_aarch64.
6704 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6706         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6707         Call get_rounding_mode.
6709 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6711         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6712         Simplify logic.
6714 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6716         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6717         Simplify logic.
6719 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6721         [BZ #14138]
6722         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6723         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6724         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6725         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6726         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6727         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6728         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6729         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6730         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6731         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6732         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6733         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6734         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6735         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6736         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6737         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6738         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6739         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6740         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6741         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6742         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6743         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6744         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6745         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6746         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6747         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6748         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6749         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6750         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6751         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6752         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6753         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6754         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6755         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6756         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6757         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6758         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6759         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6760         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6761         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6762         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6763         syscall.
6764         (geteuid): Likewise.
6765         (getgid): Likewise.
6766         (getuid): Likewise.
6767         (getresgid): Likewise.
6768         (getresuid): Likewise.
6769         (getgroups): Likewise.
6770         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6771         (geteuid): Likewise.
6772         (getgid): Likewise.
6773         (getuid): Likewise.
6774         (getresgid): Likewise.
6775         (getresuid): Likewise.
6776         (getgroups): Likewise.
6777         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6778         (geteuid): Likewise.
6779         (getgid): Likewise.
6780         (getuid): Likewise.
6781         (getresgid): Likewise.
6782         (getresuid): Likewise.
6783         (getgroups): Likewise.
6784         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6785         Likewise.
6786         (geteuid): Likewise.
6787         (getgid): Likewise.
6788         (getuid): Likewise.
6789         (getresgid): Likewise.
6790         (getresuid): Likewise.
6791         (getgroups): Likewise.
6792         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6793         (geteuid): Likewise.
6794         (getgid): Likewise.
6795         (getuid): Likewise.
6796         (getresgid): Likewise.
6797         (getresuid): Likewise.
6798         (getgroups): Likewise.
6799         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6800         Likewise.
6801         (geteuid): Likewise.
6802         (getgid): Likewise.
6803         (getuid): Likewise.
6804         (getgroups): Likewise.
6806         [BZ #14138]
6807         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6808         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6809         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6810         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6811         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6812         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6813         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6814         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6815         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6816         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6817         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6818         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6819         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6820         __chown.
6821         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6822         (lchown): Likewise.
6823         (fchown): Likewise.
6824         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6825         Likewise.
6826         (lchown): Likewise.
6827         (fchown): Likewise.
6828         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6829         (lchown): Likewise.
6830         (fchown): Likewise.
6831         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6832         Likewise.
6833         (lchown): Likewise.
6834         (fchown): Likewise.
6836 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6838         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6839         Simplify logic.
6841 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6843         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6844         Cleanup logic.
6846 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6848         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6849         Remove unused include.
6851 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6853         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6854         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6855         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6856         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6858 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6859             Helge Deller <deller@gmx.de>
6861         [BZ #17508]
6862         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6863         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6864         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6866 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6868         [BZ #14132]
6869         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6870         Remove macro definition.
6871         (__ashrdi3_v_glibc20): Likewise.
6872         (__lshrdi3_v_glibc20): Likewise.
6873         (__cmpdi2_v_glibc20): Likewise.
6874         (__ucmpdi2_v_glibc20): Likewise.
6875         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6876         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6877         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6878         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6879         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6880         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6882 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6884         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6885         old GNU extension [0] syntax.
6886         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6887         alloca rather than an array member with variable length.
6888         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6889         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6890         (parse_opt): ... here.  Likewise use alloca there.
6891         Validate the -i argument before checking for rootness.
6892         (send_shutdown): New function, broken out of ...
6893         (parse_opt): ... here.
6895 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6897         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6898         macro to get at the _rt_local_ro field.
6899         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6900         ([PIC] case) or _dl_hwcap ([!PIC] case).
6901         * sysdeps/arm/setjmp.S: Likewise.
6903         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6904         * sysdeps/arm/configure.ac: New check to define it.
6905         * sysdeps/arm/configure: Regenerated.
6906         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6907         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6908         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6909         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6910         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6911         Use move/movt pair instead of a load.
6912         (LDST_GLOBAL): Macro removed.
6913         (LDR_GLOBAL): New macro replaces it.
6914         (LDR_HIDDEN): New macro.
6915         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6916         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6918         * setjmp/tst-setjmp-static.c: New file.
6919         * setjmp/Makefile (tests): Add it.
6920         (tests-static): New variable.
6922 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6924         [BZ #17485]
6925         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6927 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6929         [BZ #14132]
6930         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6932 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6934         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6936 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6938         * io/fts.c (dirent_not_directory): New function.
6939         (fts_build): Call it.
6941 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6943         * nptl/version.c (__nptl_main): Use normal __write rather than
6944         INTERNAL_SYSCALL.
6945         (banner): Update copyright years.
6947         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6948         gettimeofday.
6949         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6950         * nptl/pthread_cond_timedwait.c: Likewise.
6951         * nptl/pthread_mutex_timedlock.c: Likewise.
6952         * nptl/sem_timedwait.c: Likewise.
6954         * sysdeps/nptl/bits/libc-lock.h
6955         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6956         (__libc_lock_init_recursive): Return void, not 0.
6957         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6958         (__libc_rwlock_init): Likewise.
6959         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6961 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6963         [BZ #15215]
6964         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6965         (__pthread_once_slow): ... here.
6966         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6967         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6969 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6971         [BZ #15215]
6972         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6973         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6974         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6975         * nptl/pthread_once.c (__pthread_once): Likewise.
6976         Update comments.
6978 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6980         [BZ #14138]
6981         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6982         name.
6983         (writev): Use __libc_writev as strong name.
6984         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6985         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6987 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6989         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6991         * sysdeps/i386/nptl/tls.h
6992         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6993         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6994         New macros.
6995         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6996         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6997         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6998         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6999         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7000         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7002         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7003         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7004         on [__NR_futex].
7005         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7006         broken out of ...
7007         (__pthread_mutex_init): ... here.  Call it.
7008         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7009         Conditionalize PI cases on [__NR_futex].
7010         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7011         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7012         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7014         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7015         conditional on [SIGSETXID].
7016         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7017         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7018         is defined.  Likewise for SIGSETXID.
7019         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7020         Conditionalize definitions on [SIGSETXID].
7021         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7022         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7023         unblocking on [SIGCANCEL].
7025         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7026         [__NR_set_robust_list].
7028 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7030         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7031         (do_compare): Likewise.
7033 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7035         [BZ #15884]
7036         * string/strcoll_l.c: Don't include stdio.h.
7037         (coll_seq): Remove members idxarr and rulearr.
7038         (get_next_seq_cached): Remove function.
7039         (get_next_seq): Likewise.
7040         (get_next_seq_nocache): Rename to get_next_seq.
7041         (do_compare): Remove function.
7042         (do_compare_nocache): Rename to do_compare.
7043         (STRCOLL): Remove weight and rules cache.
7045 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7047         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7048         * sysdeps/arm/sfp-machine.h: ... to here.
7049         * sysdeps/arm/Implies: Remove arm/soft-fp.
7051 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7053         * conform/data/sys/utsname.h-data (*_t): Allow.
7054         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7055         [POSIX] (WEXITED): Do not expect constant.
7056         [POSIX] (WSTOPPED): Likewise.
7057         [POSIX] (WNOHANG): Likewise.
7058         [POSIX] (WNOWAIT): Likewise.
7059         [POSIX] (siginfo_t): Do not expect type or elements.
7060         [POSIX] (pid_t): Do not expect type.
7061         [POSIX] (signal.h): Do not allow header.
7062         [POSIX] (sys/resource.h): Likewise.
7063         [POSIX] (si_*): Do not allow pattern.
7064         [POSIX] (W*): Likewise.
7065         [POSIX] (P_*): Likewise.
7066         [POSIX] (BUS_*): Likewise.
7067         [POSIX] (CLD_*): Likewise.
7068         [POSIX] (FPE_*): Likewise.
7069         [POSIX] (ILL_*): Likewise.
7070         [POSIX] (POLL_*): Likewise.
7071         [POSIX] (SEGV_*): Likewise.
7072         [POSIX] (SI_*): Likewise.
7073         [POSIX] (TRAP_*): Likewise.
7074         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7075         variable.
7077 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7079         [BZ #12926]
7080         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7081         infinite loop when __recvmsg returns 0.
7083 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7085         * CANCEL-FCT-WAIVE: Remove file.
7086         * CANCEL-FILE-WAIVE: Likewise.
7088         [BZ #14132]
7089         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7090         instead of INTVARDEF.
7091         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7092         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7093         rtld_hidden_data_def instead of INTVARDEF.
7094         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7095         * elf/dl-deps.c (expand_dst): Likewise.
7096         * elf/dl-load.c (_dl_dst_count): Likewise.
7097         (_dl_dst_substitute): Likewise.
7098         (decompose_rpath): Likewise.
7099         (_dl_init_paths): Likewise.
7100         (open_path): Likewise.
7101         (_dl_map_object): Likewise.
7102         * elf/rtld.c (dl_main): Likewise.
7103         (process_dl_audit): Likewise.
7104         (process_envvars): Likewise.
7105         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7106         Remove declaration.
7107         (__libc_enable_secure): Use rtld_hidden_proto.
7109 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7111         * elf/dl-load.c
7112         (add_path): New function broken out of _dl_rtld_di_serinfo.
7113         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7115 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7117         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7118         parentheses around macro arguments.
7119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7120         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7122         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7123         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7127         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7130         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7131         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7132         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7133         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7134         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7135         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7137         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7146         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7148         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7149         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7150         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7151         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7152         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7153         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7154         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7155         Likewise.
7156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7157         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7158         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7162         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7163         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7164         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7165         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7166         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7167         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7168         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7173         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7174         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7177         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7178         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7179         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7180         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7181         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7182         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7183         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7184         (_FP_FRAC_SRS_1): Likewise.
7185         (_FP_FRAC_CLZ_1): Likewise.
7186         (_FP_MUL_MEAT_1_imm): Likewise.
7187         (_FP_MUL_MEAT_1_wide): Likewise.
7188         (_FP_MUL_MEAT_1_hard): Likewise.
7189         (_FP_SQRT_MEAT_1): Likewise.
7190         (_FP_FRAC_ASSEMBLE_1): Likewise.
7191         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7192         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7193         (__FP_CLZ_2): Likewise.
7194         (_FP_MUL_MEAT_2_wide): Likewise.
7195         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7196         (_FP_MUL_MEAT_2_gmp): Likewise.
7197         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7198         (_FP_SQRT_MEAT_2): Likewise.
7199         (_FP_FRAC_ASSEMBLE_2): Likewise.
7200         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7201         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7202         (_FP_FRAC_CLZ_4): Likewise.
7203         (_FP_MUL_MEAT_4_wide): Likewise.
7204         (_FP_MUL_MEAT_4_gmp): Likewise.
7205         (_FP_SQRT_MEAT_4): Likewise.
7206         (_FP_FRAC_ASSEMBLE_4): Likewise.
7207         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7208         * soft-fp/op-common.h (_FP_CMP): Likewise.
7209         (_FP_CMP_EQ): Likewise.
7210         (_FP_CMP_UNORD): Likewise.
7211         (_FP_TO_INT): Likewise.
7212         (_FP_FROM_INT): Likewise.
7213         [!__FP_CLZ] (__FP_CLZ): Likewise.
7214         (_FP_DIV_HELP_imm): Likewise.
7215         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7216         Likewise.
7217         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7220         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7221         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7222         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7224         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7225         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7228         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7229         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7230         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7231         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7232         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7233         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7240         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7244         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7246         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7247         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7248         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7249         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7250         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7251         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7252         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7253         (FP_UNPACK_RAW_SP): Likewise.
7254         (FP_PACK_RAW_S): Likewise.
7255         (FP_PACK_RAW_SP): Likewise.
7256         (FP_UNPACK_S): Likewise.
7257         (FP_UNPACK_SP): Likewise.
7258         (FP_UNPACK_SEMIRAW_S): Likewise.
7259         (FP_UNPACK_SEMIRAW_SP): Likewise.
7260         (FP_PACK_S): Likewise.
7261         (FP_PACK_SP): Likewise.
7262         (FP_PACK_SEMIRAW_S): Likewise.
7263         (FP_PACK_SEMIRAW_SP): Likewise.
7264         (_FP_SQRT_MEAT_S): Likewise.
7265         (FP_CMP_S): Likewise.
7266         (FP_CMP_EQ_S): Likewise.
7267         (FP_CMP_UNORD_S): Likewise.
7268         (FP_TO_INT_S): Likewise.
7269         (FP_FROM_INT_S): Likewise.
7271         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7273         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7274         (FP_EX_INVALID_IMZ): Likewise.
7275         (FP_EX_INVALID_IMZ_FMA): Likewise.
7276         (FP_EX_INVALID_ISI): Likewise.
7277         (FP_EX_INVALID_ZDZ): Likewise.
7278         (FP_EX_INVALID_IDI): Likewise.
7279         (FP_EX_INVALID_SQRT): Likewise.
7280         (FP_EX_INVALID_CVI): Likewise.
7281         (FP_EX_INVALID_VC): Likewise.
7282         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7283         "invalid" exceptions.
7284         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7285         (_FP_ADD_INTERNAL): Likewise.
7286         (_FP_MUL): Likewise.
7287         (_FP_FMA): Likewise.
7288         (_FP_DIV): Likewise.
7289         (_FP_CMP_CHECK_NAN): Likewise.
7290         (_FP_SQRT): Likewise.
7291         (_FP_TO_INT): Likewise.
7292         (FP_EXTEND): Likewise.
7294 2014-10-09  Allan McRae  <allan@archlinux.org>
7296         * po/fr.po: Update French translation from translation project.
7298 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7300         [BZ #14132]
7301         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7302         of INTDEF.
7303         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7304         (__cxa_atexit): Use libc_hidden_proto.
7305         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7307         [BZ #14132]
7308         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7309         declaration.
7310         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7311         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7312         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7313         [!_ISOMAC] (__iswctype_internal): Likewise.
7314         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7315         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7316         alias.
7317         (fcntl): Remove __fcntl_internal alias.
7318         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7319         __connect_internal alias.
7320         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7321         Likewise.
7323         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7324         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7325         FP_DENORM_ZERO.
7326         (_FP_CHECK_FLUSH_ZERO): New macro.
7327         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7328         (_FP_CMP): Likewise.
7329         (_FP_CMP_EQ): Likewise.
7330         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7331         FP_DENORM_ZERO.
7332         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7333         (FP_TRUNC): Likewise.
7335         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7336         treated as invalid conversion, not as normal exponent.
7338         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7339         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7340         (_FP_CMP_EQ): Likewise.
7341         (_FP_CMP_UNORD): Likewise.
7342         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7343         (FP_CMP_EQ_D): Likewise.
7344         (FP_CMP_UNORD_D): Likewise.
7345         * soft-fp/extended.h (FP_CMP_E): Likewise.
7346         (FP_CMP_EQ_E): Likewise.
7347         (FP_CMP_UNORD_E): Likewise.
7348         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7349         (FP_CMP_EQ_Q): Likewise.
7350         (FP_CMP_UNORD_Q): Likewise.
7351         * soft-fp/single.h (FP_CMP_S): Likewise.
7352         (FP_CMP_EQ_S): Likewise.
7353         (FP_CMP_UNORD_S): Likewise.
7354         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7355         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7356         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7357         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7358         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7359         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7360         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7361         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7362         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7363         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7364         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7365         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7366         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7367         to FP_CMP_Q.
7368         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7369         FP_CMP_Q.
7370         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7371         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7372         FP_CMP_EQ_Q.
7373         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7374         FP_CMP_Q.
7375         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7376         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7377         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7378         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7379         FP_CMP_EQ_Q.
7380         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7381         FP_CMP_Q.
7382         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7383         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7384         FP_CMP_EQ_Q.
7385         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7386         FP_CMP_Q.
7387         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7388         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7389         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7390         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7391         FP_CMP_EQ_Q.
7393         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7394         a subnormal result, set the underflow exception if trapping on
7395         underflow is enabled.
7396         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7397         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7398         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7399         redefine to 0.
7400         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7401         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7402         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7403         * soft-fp/extendxftf2.c (__extendxftf2): Use
7404         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7406         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7407         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7408         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7409         FP_HANDLE_EXCEPTIONS.
7410         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7411         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7412         FP_HANDLE_EXCEPTIONS.
7413         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7414         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7415         FP_HANDLE_EXCEPTIONS.
7416         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7417         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7418         FP_HANDLE_EXCEPTIONS.
7420 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7422         [BZ #14132]
7423         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7424         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7425         use INTUSE.
7426         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7427         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7428         Remove alias.
7429         (__adjtimex): Define using libc_hidden_ver.
7430         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7431         Remove declaration.
7432         (ntp_gettime): Call __adjtimex directly.
7433         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7434         Remove declaration.
7435         (ntp_gettimex): Call __adjtimex directly.
7436         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7437         __adjtimex_internal alias.
7439 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7441         [BZ #17460]
7442         * nscd/nscd.c (more_help): Rewrite list of tables collection
7443         using xstrdup and asprintf.
7445         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7447 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7448             Roland McGrath  <roland@hack.frob.com>
7450         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7451         (do_lookup_unique): ... local function 'enter' here; update callers.
7453 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7455         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7456         compat_symbol calls on [SHARED].
7457         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7458         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7459         Remove.
7460         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7461         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7462         (oldsetrlimit): Remove.
7463         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7465         (lchown): New syscall entry.
7466         (oldsetrlimit): Remove.
7467         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7468         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7469         (oldsetrlimit): Remove.
7470         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7472         [BZ #14138]
7473         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7474         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7475         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7476         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7477         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7478         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7479         (fchown): Likewise.
7480         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7481         (fchown): Likewise.
7482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7483         Likewise.
7485 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7487         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7488         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7489         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7490         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7491         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7492         Likewise.
7493         (__old_sem_post): Likewise.
7495 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7497         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7498         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7499         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7500         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7501         Use INLINE_VSYSCALL macro.
7502         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7503         __vdso_clock_gettime.
7504         * sysdeps/unix/sysv/linux/tile/init-first.c
7505         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7506         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7507         __vdso_clock_gettime.
7509         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7510         to set up frame more cleanly.
7512         * sysdeps/tile/memcmp.c: New file.
7514         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7516         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7517         * sysdeps/tile/tilegx/strcasestr.c: New file.
7518         * sysdeps/tile/tilegx/strnlen.c: New file.
7519         * sysdeps/tile/tilegx/strstr.c: New file.
7521         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7523 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7525         * nptl/tst-setuid3.c: Write errors to stdout.
7527 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7529         * elf/dl-deps.c
7530         (preload): New functions broken out of _dl_map_object_deps.
7531         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7533 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7535         [BZ #14138]
7536         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7537         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7539 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7541         * sysdeps/mips/strcmp.S: New.
7543 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7545         [BZ #14138]
7546         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7547         (linkat): Likewise.
7548         (mkdirat): Likewise.
7549         (readlinkat): Likewise.
7550         (renameat): Likewise.
7551         (symlinkat): Likewise.
7552         (unlinkat): Likewise.
7553         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7554         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7555         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7556         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7557         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7558         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7559         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7561 2014-09-30  Will Newton  <will.newton@linaro.org>
7563         * math/math.h: Define long double math functions if
7564         _LIBC_TEST is defined.
7565         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7567         * localedata/Makefile: Move assignment to tests-special
7568         into an ifdef testing run-built-tests.
7569         * timezone/Makefile: Likewise.
7571 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7573         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7574         with $(BASH) not $(SHELL).
7576 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7577             Matthew LeGendre  <legendre1@llnl.gov>
7579         [BZ #17411]
7580         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7581         l_reloc_result.
7583 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7585         * stdio-common/printf_fp.c
7586         (hack_digit): New function, broken out of ...
7587         (__printf_fp): ... local function here.  Update call sites.
7588         hack_digit now takes an additional parameter that is a pointer
7589         to a struct of the referenced locals.  Those locals moved inside
7590         the struct and references updated.
7592 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7594         * aclocal.m4: Require autoconf 2.69.
7595         * configure: Regenerated.
7596         * sysdeps/aarch64/configure: Likewise.
7597         * sysdeps/alpha/configure: Likewise.
7598         * sysdeps/arm/armv7/configure: Likewise.
7599         * sysdeps/arm/configure: Likewise.
7600         * sysdeps/ia64/configure: Likewise.
7601         * sysdeps/mach/configure: Likewise.
7602         * sysdeps/mips/configure: Likewise.
7603         * sysdeps/s390/configure: Likewise.
7604         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7607         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7608         file.
7609         * sysdeps/ia64/configure.ac: Likewise.
7611 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7614         specify symbol version for ld.so.  Do not include entry for
7615         libpthread.
7616         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7617         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7618         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7620         [BZ #14171]
7621         * Makeconfig [$(build-shared) = yes]
7622         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7623         makefiles.
7624         [$(build-shared) = yes && $(soversions.mk-done) = t]
7625         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7626         [$(build-shared) = yes && $(soversions.mk-done) = t]
7627         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7628         to Makerules.
7629         [$(build-shared) = yes && $(soversions.mk-done) = t]
7630         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7631         here.
7632         [$(build-shared) = yes && $(soversions.mk-done) = t]
7633         (common-generated): Don't append gnu/lib-names.h and
7634         gnu/lib-names.stmp here.
7635         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7636         (lib-names-h-abi): New variable.
7637         [$(build-shared) = yes && $(soversions.mk-done) = t]
7638         (lib-names-stmp-abi): Likewise.
7639         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7640         abi-variants] (before-compile): Append
7641         $(common-objpfx)$(lib-names-h-abi).
7642         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7643         abi-variants] (common-generated): Append gnu/lib-names.h.
7644         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7645         abi-variants] (install-others-nosubdir): Depend on
7646         $(inst_includedir)/$(lib-names-h-abi).
7647         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7648         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7649         [$(build-shared) = yes && $(soversions.mk-done) = t]
7650         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7651         [$(build-shared) = yes && $(soversions.mk-done) = t]
7652         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7653         [$(build-shared) = yes && $(soversions.mk-done) = t]
7654         (common-generated): Append $(lib-names-h-abi) and
7655         $(lib-names-stmp-abi).
7656         * scripts/lib-names.awk: Do not handle multi being set.
7657         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7658         Remove variable.
7659         (abi-lp64_be-ld-soname): Likewise.
7660         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7661         Likewise.
7662         (abi-hard-ld-soname): Likewise.
7663         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7664         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7665         Remove variable.
7666         (abi-o32_hard-ld-soname): Likewise.
7667         (abi-o32_soft_2008-ld-soname): Likewise.
7668         (abi-o32_hard_2008-ld-soname): Likewise.
7669         (abi-n32_soft-ld-soname): Likewise.
7670         (abi-n32_hard-ld-soname): Likewise.
7671         (abi-n32_soft_2008-ld-soname): Likewise.
7672         (abi-n32_hard_2008-ld-soname): Likewise.
7673         (abi-n64_soft-ld-soname): Likewise.
7674         (abi-n64_hard-ld-soname): Likewise.
7675         (abi-n64_soft_2008-ld-soname): Likewise.
7676         (abi-n64_hard_2008-ld-soname): Likewise.
7677         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7678         Likewise.
7679         (abi-64-v2-ld-soname): Likewise.
7680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7681         ld.so entries.
7682         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7683         variable.
7684         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7685         entry.
7686         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7687         variable.
7688         (abi-64-ld-soname): Likewise.
7689         (abi-x32-ld-soname): Likewise.
7690         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7691         entry.
7692         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7694 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #14138]
7697         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7698         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7699         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7700         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7701         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7702         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7703         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7704         syscall entry for GLIBC_2.2 symbol version.
7705         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7706         Likewise.
7707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7708         (setrlimit): Likewise.
7709         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7710         Likewise.
7712 2014-09-23  Will Newton  <will.newton@linaro.org>
7714         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7715         _LINUX_ARM_SYSDEP_H include guard too.
7716         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7717         define.
7719 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7721         * sysdeps/unix/sysv/linux/eventfd.c:
7722         Make first argument unsigned.
7723         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7724         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7726 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7728         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7729         * socket/sys/socket.h: Likewise
7730         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7732 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7734         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7736 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7738         * time/tst-ftime.c: New test.
7739         * time/Makefile (tests): Add tst-ftime.
7741 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7743         * soft-fp/extended.h: Fix comment formatting.
7744         * soft-fp/op-1.h: Likewise.
7745         * soft-fp/op-2.h: Likewise.
7746         * soft-fp/op-4.h: Likewise.
7747         * soft-fp/op-8.h: Likewise.
7748         * soft-fp/op-common.h: Likewise.
7749         * soft-fp/soft-fp.h: Likewise.
7751         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7753 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7755         [BZ #6652]
7756         * Makeconfig (soversions-default-setname): Remove variable.
7757         ($(common-objpfx)soversions.i): Don't pass default_setname to
7758         soversions.awk.
7759         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7760         oldest_abi to abi-versions.awk.
7761         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7762         * config.make.in (oldest-abi): Remove variable.
7763         * configure.ac (--enable-oldest-abi): Remove configure option.
7764         * configure: Regenerated.
7765         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7766         text.
7767         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7768         * scripts/soversions.awk: Do not handle default_setname variable.
7769         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7770         variable.
7771         * sysdeps/mach/hurd/configure: Regenerated.
7772         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7773         variable.
7774         * sysdeps/unix/sysv/linux/configure: Regenerated.
7776 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7778         * elf/Makefile (CFLAGS-interp.c): Remove.
7779         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7780         path string.
7781         * elf/interp.c: Include generated runtime-linker.h
7783         * Makerules (lib%.so): Don't include $(+interp) in
7784         prerequisites.
7785         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7786         * dlfcn/eval.c: Remove file.
7788         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7789         macros.
7791         [BZ #17266]
7792         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7793         4.2 and newer.
7795         [BZ #17370]
7796         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7798 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7799             Jakub Jelinek  <jakub@redhat.com>
7801         [BZ #17266]
7802         * libio/stdio.h: Check definition of __fortify_function
7803         instead of __extern_always_inline to include bits/stdio2.h.
7804         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7805         check if __extern_always_inline is defined.
7806         [__USE_MISC || __USE_XOPEN]: Likewise.
7807         [__USE_ISOC99] Likewise.
7808         * misc/sys/cdefs.h (__fortify_function): Define only if
7809         __extern_always_inline is defined.
7810         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7811         __extern_always_inline and __extern_inline only for g++-4.3
7812         and newer or a compatible gcc.
7814 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7816         [BZ #17371]
7817         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7818         last change to handle zero prefix length.
7820 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7822         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7823         _SC_REGEX_VERSION.
7825         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7826         _POSIX_RAW_SOCKETS.
7828 2014-09-13  Allan McRae  <allan@archlinux.org>
7830         * po/ru.po: Update Russian translation from translation project.
7832 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7834         * locale/programs/locale.c (show_locale_vars): Inline local function
7835         into its sole call site.  Clean up some style nits.
7836         (print_item): New function, broken out of ...
7837         (show_info): ... local function here.  Clean up style nits.
7839         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7840         out of ...
7841         (set_class_defaults): ... local function set_default here.
7842         Define set_default as a macro locally to pass constant parameters.
7843         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7844         rather than a shared local.
7846         * stdlib/rpmatch.c (try): New function, broken out of ...
7847         (rpmatch): ... local function here.  Also, prototypify definition.
7849 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7851         * scripts/soversions.awk: Do not handle configuration names.
7852         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7853         vendor and os variables to soversions.awk.
7854         * configure.ac: Do not modify gnu-* host_os.
7855         * configure: Regenerated
7856         * shlib-versions: Remove first column with configuration names.
7857         * nptl/shlib-versions: Likewise.
7858         * nptl_db/shlib-versions: Likewise.
7859         * sysdeps/hppa/shlib-versions: Likewise.
7860         * sysdeps/m68k/shlib-versions: Likewise.
7861         * sysdeps/mach/hurd/shlib-versions: Likewise.
7862         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7863         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7864         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7865         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7866         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7867         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7868         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7869         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7871         Likewise.
7872         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7873         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7874         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7875         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7876         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7877         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7878         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7879         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7882         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7884         Regenerated.
7885         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7887         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7889         * shlib-versions: Remove OS-specific entries.  Moved to files in
7890         sysdeps.
7891         * sysdeps/mach/hurd/shlib-versions: New file.
7892         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7894         * nptl/shlib-versions: Remove architecture-specific entries.
7895         Moved to files in sysdeps.
7896         * shlib-versions: Likewise.
7897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7898         file.
7899         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7900         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7901         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7902         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7904         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7905         (UDP_NO_CHECK6_RX): Likewise.
7907 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7909         * sysdeps/posix/sysconf.c (__sysconf): Spell
7910         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7912 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7914         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7915         loading.
7916         * iconv/Versions (__gconv_transliterate): Export for use from
7917         gconv modules.
7918         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7919         (struct __gconv_trans_data, __gconv_trans_fct,
7920         __gconv_trans_context_fct, __gconv_trans_query_fct,
7921         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7922         definitions.
7923         (struct __gconv_step_data): Remove __trans member.
7924         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7925         longer hidden.  Remove unused trans_data argument.
7926         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7927         (__gconv_translit_find): Remove declaration.
7928         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7929         prototype.
7930         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7931         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7932         trans_data argument.  Add hidden definition.
7933         (__gconv_translit_find): Remove.
7934         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7935         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7936         * iconv/skeleton.c: Remove transliteration initialization.
7937         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7938         __gconv_step_data initialization.
7939         * libio/iofwide.c (__libio_translit_): Remove.
7940         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7941         * wcsmbs/btowc.c (__btowc): Likewise.
7942         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7943         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7944         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7945         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7946         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7947         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7948         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7949         * wcsmbs/wctob.c (wctob): Likewise.
7951 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7953         [BZ #16194]
7954         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7955         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7956         register usage.
7957         * sysdeps/x86/Makefile: Adjust.
7959 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7960             Roland McGrath  <roland@hack.frob.com>
7962         * locale/weight.h: Add include guard.
7963         (findidx): Make static rather than auto; take new parameters
7964         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7965         * locale/weightwc.h: Likewise.
7966         * posix/fnmatch_loop.c
7967         (FCT): Change type of EXTRA from int32_t to wint_t.
7968         Don't include either header inside the function.
7969         Call FINDIDX rather than findidx, and pass new arguments.
7970         #undef FINDIDX at the end of the file.
7971         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7972         FINDIDX before including fnmatch_loop.c for the non-wide version.
7973         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7974         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7975         for the wide version.
7976         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7977         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7978         Pass new arguments to findidx.
7979         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7980         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7981         Don't #include it inside the function.  Pass new arguments to findidx.
7982         * posix/regex_internal.h
7983         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7984         (re_string_elem_size_at): Don't #include it inside the function.
7985         Pass new arguments to findidx.
7986         * string/strcoll_l.c: #include WEIGHT_H at top level.
7987         (get_next_seq): Don't #include it inside the function.
7988         Pass new arguments to findidx.
7989         (get_next_seq_nocache): Likewise.
7990         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7991         (STRXFRM): Don't #include it inside the function.
7992         Pass new arguments to findidx.
7994 2014-09-11  Florian Weimer  <fweimer@redhat.com>
7996         [BZ #17344]
7997         * malloc/malloc.c (unlink): Turn asserts into a call to
7998         malloc_printerr.
8000 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8002         [BZ #17370]
8003         * libio/wfileops (do_ftell_wide): Free OUT.
8005 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8007         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8009 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8011         [BZ #17363]
8012         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8013         group if the current group is empty.
8015 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8017         * benchtests/bench-memset.c (test_main): Add more test from size
8018         from 32 to 512 bytes.
8019         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8020         Add POWER8 memset object.
8021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8022         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8023         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8024         implementation.
8025         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8026         Likewise.
8027         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8028         multiarch POWER8 memset optimization.
8029         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8030         POWER8 memset optimization.
8032         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8033         Remove bzero multiarch objects.
8034         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8035         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8036         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8037         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8038         Remove define.
8039         [__bzero]: Redefine to specific name.
8040         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8041         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8042         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8043         define.
8044         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8045         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8047 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8049         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8050         warnings into errors.
8052         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8053         __cxa_thread_atexit_impl prototype.
8055 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8057         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8058         Fix capitalization of error message.
8060 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8062         * sysdeps/mips/preconfigure: Modify ABI tests.
8064 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8066         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8068 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8069             Carlos O'Donell  <carlos@systemhalted.org>
8071         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8072         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8073         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8074         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8075         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8076         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8077         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8078         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8079         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8080         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8081         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8082         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8083         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8084         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8085         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8086         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8087         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8088         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8089         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8090         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8091         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8092         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8093         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8094         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8095         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8096         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8097         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8098         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8099         Deconditionalize the code that was previously under [RESET_PID].
8100         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8101         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8102         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8103         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8104         include sysdep.h.
8106 2014-09-08  Allan McRae  <allan@archlinux.org>
8108         * version.h (RELEASE): Set to "development".
8109         (VERSION): Set to "2.20.90"
8111 2014-09-07  Allan McRae  <allan@archlinux.org
8113         * version.h (RELEASE): Set to "stable".
8114         (VERSION): Set to "2.20"
8115         * include/features.h (__GLIBC_MINOR__): Set to 20.
8117         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8118         Liebler.
8120         * po/ko.po: Update Korean translation from translation project.
8122 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8124         [BZ #17354]
8125         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8126         macro for handling signed relocations.
8128 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8130         [BZ #17325]
8131         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8132         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8133         assert.
8134         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8135         * iconvdata/ibm935.c (BODY): Likewise.
8136         * iconvdata/ibm937.c (BODY): Likewise.
8137         * iconvdata/ibm939.c (BODY): Likewise.
8138         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8139         assert.
8140         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8141         script.
8142         * iconvdata/run-iconv-test.sh: New test loop for checking for
8143         decoder crashers.
8145 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8147         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8148         libm_hidden_ver.
8150 2014-09-01  Allan McRae  <allan@archlinux.org>
8152         * po/eo.po: Update Esperanto translation from translation project.
8154         * po/ca.po: Update Catalan translation from translation project.
8156 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8158         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8159         __proc_dostop call.
8161 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8163         [BZ #17319]
8164         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8165         to call set_thread_area instead of hand written asm.
8166         (__NR_set_thread_area): Removed define.
8167         (TLS_FLAG_WRITABLE): Likewise.
8168         (__ASSUME_SET_THREAD_AREA): Remove check.
8169         (TLS_EBX_ARG): Remove define.
8170         (TLS_LOAD_EBX): Likewise.
8172 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8174         Simplify atomicity of socket creation in bind.
8176         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8177         looking up the name after linking the file.
8179 2014-08-27  Allan McRae  <allan@archlinux.org>
8181         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8183 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8185         [BZ #17187]
8186         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8187         trans_compare, open_translit, __gconv_translit_find):
8188         Remove module loading code.
8190 2014-08-26  Allan McRae  <allan@archlinux.org>
8192         * po/vi.po: Update Vietnamese translation from translation project.
8194         * po/uk.po: Update Ukrainian translation from translation project.
8196         * po/fr.po: Update French translation from translation project.
8198         * po/ru.po: Update Russian translation from translation project.
8200         * po/pl.po: Update Polish translation from translation project.
8202         * po/cs.po: Update Czech translation from translation project.
8204         * po/de.po: Update German translation from translation project.
8206         * po/bg.po: Update Bulgarian translation from translation project.
8208         * po/sv.po: Update Sweedish translation from translation project.
8210         * po/nl.po: Update Dutch translation from translation project.
8212         * po/es.po: Update Spanish translation from translation project.
8214 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8216         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8218         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8219         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8220         (CPPFLAGS-iconvconfig): Likewise.
8221         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8223         * include/libc-symbols.h: Remove unnecessary check for
8224         NOT_IN_libc.
8225         * nptl/pthreadP.h: Likewise.
8226         * sysdeps/aarch64/setjmp.S: Likewise.
8227         * sysdeps/alpha/setjmp.S: Likewise.
8228         * sysdeps/arm/sysdep.h: Likewise.
8229         * sysdeps/i386/setjmp.S: Likewise.
8230         * sysdeps/m68k/setjmp.c: Likewise.
8231         * sysdeps/posix/getcwd.c: Likewise.
8232         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8233         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8234         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8235         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8236         * sysdeps/sh/sh3/setjmp.S: Likewise.
8237         * sysdeps/sh/sh4/setjmp.S: Likewise.
8238         * sysdeps/unix/alpha/sysdep.h: Likewise.
8239         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8240         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8241         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8242         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8247         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8248         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8249         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8250         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8252         * sysdeps/x86_64/setjmp.S: Likewise.
8254 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8256         [BZ #17263]
8257         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8258         <stdint.h>.
8259         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8260         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8262 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8264         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8266         [BZ #17262]
8267         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8268         and __x86_64__ when disabling x87 inline functions.
8270 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8272         [BZ #17259]
8273         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8274         asm statement with __cpuid_count.
8276 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8278         * configure.ac: Change __ehdr_start code to dereference the struct.
8279         Run readelf on the output to look for relocations.
8280         * configure: Regenerated.
8282 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8284         [BZ #17261]
8285         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8286         value to 0.
8287         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8289 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8291         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8293 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8295         [BZ #16892]
8296         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8297         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8299 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8301         * malloc/malloc.c: Fix typo in comment.
8303 2014-08-09  Allan McRae  <allan@archlinux.org>
8305         * Regenerate libc.po.
8307 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8309         * intl/tst-gettext2.sh: Check every lang file for creation.
8311 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8313         * sysdeps/aarch64/fpu/math_private.h
8314         (libc_feholdsetround_noex_aarch64_ctx): New function.
8316 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8318         * sysdeps/arm/armv6/strcpy.S (strcpy):
8319         Fix performance issue in misaligned cases.
8321 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8323         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8324         Move definition from termios.h.
8325         (struct termio): Likewise.
8326         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8327         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8328         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8329         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8330         Likewise.
8331         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8332         Move definition to ioctl-types.h
8333         (struct termio): Likewise.
8334         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8335         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8336         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8337         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8338         Likewise.
8340 2014-08-05  Richard Henderson  <rth@redhat.com>
8342         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8343         exceptions.
8344         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8345         Add fraiseexcpt.
8346         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8347         Use __feraiseexcept.
8348         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8349         Protect libm symbols with IS_IN_libm.
8351         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8353 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8355         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8357 2014-08-04  Will Newton  <will.newton@linaro.org>
8359         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8360         file.
8362 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8364         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8365         variants for each function.
8367 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8369         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8370         appended ...
8371         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8372         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8373         appended ...
8374         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8375         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8376         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8377         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8378         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8379         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8380         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8381         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8382         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8383         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8384         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8385         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8386         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8387         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8388         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8389         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8390         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8391         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8392         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8393         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8394         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8395         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8396         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8397         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8398         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8399         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8400         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8401         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8402         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8403         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8404         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8405         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8406         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8407         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8408         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8409         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8410         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8411         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8412         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8413         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8414         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8415         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8416         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8417         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8418         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8419         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8420         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8422         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8423         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8424         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8425         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8426         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8427         Update #include.
8428         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8429         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8431 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8433         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8434         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8435         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8436         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8437         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8438         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8440 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8442         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8443         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8444         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8445         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8447 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8449         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8450         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8451         (__libc_vfork): Define function under this name.
8452         (__vfork): Define as an alias.
8453         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8454         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8456 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8458         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8459         that was previously under [RESET_PID].
8460         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8462 2014-08-04  Andreas Schwab  <schwab@suse.de>
8464         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8466 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8468         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8469         (main): Likewise.
8471 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8473         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8475 2014-08-01  Richard Henderon  <rth@redhat.com>
8477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8478         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8479         typo in exact zero test.
8480         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8481         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8482         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8484 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8486         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8487         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8488         * sysdeps/arm/sysdep.h: ... here.
8489         [!__ASSEMBLER__]: Include <stdint.h>.
8491 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8493         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8494         (HAVE_WCTYPE_H): Likewise.
8495         (HAVE_ISWCTYPE): Likewise.
8496         (ENABLE_NLS): Likewise.
8497         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8498         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8500         * posix/regex_internal.c: Check if DEBUG is defined and is
8501         set.
8503         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8504         (HAVE_MBSRTOWCS): Likewise.
8505         * posix/fnmatch.c: Include string.h unconditionally.
8507 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8509         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8510         reversal.
8512 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8514         * sysdeps/generic/safe-fatal.h: New file.
8515         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8516         * nptl/forward.c: Include it.
8517         (__pthread_unwind): Use __safe_fatal as default action, rather
8518         than a bogus use of INTERNAL_SYSCALL that could never work.
8520         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8521         * configure.ac (libc_cv_builtin_trap): New test.
8522         * configure: Regenerated.
8523         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8524         (ABORT_INSTRUCTION): Define using __builtin_trap.
8526         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8527         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8528         * sysdeps/nptl/nptl-signals.h: New file.
8529         * nptl/pthreadP.h: Include <nptl-signals.h>.
8531 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8533         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8534         (ONE_DIRECTION): Define.
8535         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8536         (ONE_DIRECTION): Define.
8537         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8538         (ONE_DIRECTION): Define.
8540 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8542         * sysdeps/s390/Makefile: Delete file.
8543         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8544         * sysdeps/s390/__longjmp.c: Delete file.
8545         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8546         Remove fields __flags and __reserved.
8547         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8548         and add versioning.
8549         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8550         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8551         * sysdeps/s390/rtld-setjmp.S: Likewise.
8552         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8553         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8554         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8555         * sysdeps/s390/s390-32/setjmp.S: ... here.
8556         Add versioning.
8557         (__sigsetjmp): Remove setting __flags field.
8558         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8559         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8560         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8561         * sysdeps/s390/s390-64/setjmp.S: ... here.
8562         Add versioning.
8563         (__sigsetjmp): Remove setting __flags field.
8564         * sysdeps/s390/setjmp.S: Delete file.
8565         * sysdeps/s390/sigjmp.c: Likewise.
8566         * sysdeps/s390/v1-longjmp.c: Likewise.
8567         * sysdeps/s390/v1-setjmp.h: Likewise.
8568         * sysdeps/s390/v1-sigjmp.c: Likewise.
8569         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8570         Remove v1-longjmp_chk.
8571         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8572         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8573         Include debug/longjmp_chk.c and add versioning.
8574         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8575         Include nptl/pt-longjmp.c and add versioning.
8576         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8577         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8578         Include __longjmp.c.
8579         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8580         Move to ...
8581         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8582         (__getcontext): Remove setting __flags field.
8583         Add versioning.
8584         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8585         Don't restore upper high grps.
8586         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8587         Likewise.
8588         (__swapcontext): Remove setting uc_flags field.
8589         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8590         Delete file.
8591         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8592         Include __longjmp.c.
8593         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8594         Move to ...
8595         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8596         (__getcontext): Remove setting __flags field.
8597         Add versioning.
8598         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8599         (__swapcontext): Remove setting uc_flags field.
8600         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8601         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8602         Remove fields uc_high_gprs and __reserved.
8603         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8604         New file with reverted content.
8605         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8606         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8607         Regenerated.
8608         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8609         Regenerated.
8611 2014-07-31  Andreas Schwab  <schwab@suse.de>
8613         * config.h.in (HAVE_IFUNC): Define to 0.
8614         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8615         definedness.
8617 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8620         memmove-avx-unaligned, memcpy-avx-unaligned and
8621         mempcpy-avx-unaligned.
8622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8623         Add tests for AVX memcpy functions.
8624         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8625         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8626         memcpy_chk.
8627         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8628         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8629         memmove_chk.
8630         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8631         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8632         mempcpy_chk.
8633         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8634         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8635         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8637 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8639         [BZ #17213]
8640         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8641         powerpc64le.
8643 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8645         [BZ #16839]
8646         * manual/llio.texi: Add section about open file description locks.
8647         * manual/examples/ofdlocks.c: Example of open file description
8648         lock usage.
8649         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8650         F_OFD_SETLK, and F_OFD_SETLKW.
8652 2014-07-23  Allan McRae  <allan@archlinux.org>
8654         * po/es.po: Update Spanish translation from translation project.
8656 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8658         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8660 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8662         [BZ #17078]
8663         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8664         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8665         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8667 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8669         [BZ #17088]
8670         * math/fesetenv.c (__fesetenv)
8671         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8672         * math/feupdateenv.c (__feupdateenv)
8673         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8675         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8676         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8677         (__ASSUME_SOCKETCALL): Do not define.
8679         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8680         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8681         (__ASSUME_SOCKETCALL): Do not define.
8682         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8683         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8684         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8685         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8686         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8687         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8688         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8689         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8691         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8692         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8693         (__ASSUME_SOCKETCALL): Do not define.
8694         (__ASSUME_IPC64): Define unconditionally.
8695         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8696         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8697         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8698         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8699         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8700         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8701         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8702         Likewise.
8704         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8705         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8706         (__ASSUME_SOCKETCALL): Do not define.
8707         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8708         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8709         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8710         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8711         (__ASSUME_REQUEUE_PI): Define unconditionally.
8712         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8713         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8714         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8715         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8716         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8717         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8719         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8720         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8721         (__ASSUME_SOCKETCALL): Do not define.
8722         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8723         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8724         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8725         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8726         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8727         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8729         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8730         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8731         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8732         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8733         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8734         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8735         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8736         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8737         (__ASSUME_GETCPU_SYSCALL): Likewise.
8739         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8740         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8741         cases for individual architectures.
8742         * sysdeps/gnu/configure: Regenerated.
8743         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8744         LIBC_SLIBDIR_RTLDDIR.
8745         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8746         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8747         LIBC_SLIBDIR_RTLDDIR.
8748         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8750         LIBC_SLIBDIR_RTLDDIR.
8751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8752         Regenerated.
8753         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8754         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8755         file.
8756         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8757         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8758         file.
8759         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8760         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8761         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8762         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8764         * sysdeps/aarch64/shlib-versions: Move to ...
8765         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8766         * sysdeps/alpha/shlib-versions: Move to ...
8767         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8768         * sysdeps/arm/shlib-versions: Move to ...
8769         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8770         * sysdeps/hppa/shlib-versions: Move all contents except for
8771         libgcc_s entry to ...
8772         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8773         entry from ...
8774         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8775         * sysdeps/ia64/shlib-versions: Move to ...
8776         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8777         entry from ...
8778         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8779         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8780         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8781         * sysdeps/microblaze/shlib-versions: Move to ...
8782         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8783         * sysdeps/mips/shlib-versions: Move to ...
8784         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8785         entry from ...
8786         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8787         * sysdeps/tile/shlib-versions: Move to ...
8788         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8789         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8790         from ...
8791         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8792         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8793         entry from ...
8794         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8796 2014-07-17  Will Newton  <will.newton@linaro.org>
8798         * sysdeps/arm/bits/atomic.h
8799         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8800         (__arch_compare_and_exchange_bool_16_int): Likewise.
8801         (__arch_compare_and_exchange_bool_64_int): Likewise.
8803         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8804         into an #else block.
8806 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8808         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8809         just Linux configurations.  Test empirically that the compiler sets
8810         __ARM_EABI__, rather than using the tuple to decide.
8811         * sysdeps/arm/preconfigure: Regenerated.
8812         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8813         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8814         contents appended ...
8815         * sysdeps/arm/configure.ac: ... here.
8816         * sysdeps/arm/configure: Regenerated.
8818 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8820         * nptl/pthread_kill.c: New file.
8821         * nptl/pthread_sigmask.c: New file.
8822         * nptl/pthread_sigqueue.c: New file.
8824         * sysdeps/nptl/lowlevellock.h: New file.
8825         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8826         * sysdeps/nptl/lowlevellock-futex.h: New file.
8828         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8829         Remove dead declarations.
8831 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8833         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8834         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8835         config-cflags-avx2.
8836         * sysdeps/x86_64/configure.ac: Likewise.
8837         * sysdeps/i386/configure: Regenerated.
8838         * sysdeps/x86_64/configure: Likewise.
8839         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8840         memset-avx2 only if config-cflags-avx2 is yes.
8841         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8842         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8843         defined.
8844         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8845         only if HAVE_AVX2_SUPPORT is defined.
8846         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8848 2014-07-14  Alan Modra  <amodra@gmail.com>
8850         [BZ #17153]
8851         * elf/elf.h (DT_PPC64_NUM): Correct value.
8852         * NEWS: Add to fixed bug list.
8854 2014-07-13  Jim Meyering  <meyering@fb.com>
8856         [BZ 17150]
8857         regex: don't deref NULL upon heap allocation failure
8858         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8859         failure in one more place.
8860         To trigger the segfault, configure grep -with-included-regex,
8861         build it, and run these commands:
8862         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8864 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8866         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8868 2014-07-11  Richard Henderson  <rth@redhat.com>
8870         * sysdeps/aarch64/libm-test-ulps: Update.
8872 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8874         [BZ #17135]
8875         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8876         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8877         (__nptl_setxid): Initialize error member.  Call
8878         __nptl_setxid_error.
8879         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8880         * nptl/descr.h (struct xid_command): Add error member.
8881         * nptl/tst-setuid3.c: New file.
8882         * nptl/Makefile (tests): Add it.
8884 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8886         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8887         New define.
8888         (__lll_trylock): Use __lll_base_trylock.
8889         (__lll_cond_trylock): Likewise.
8891 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8893         * nptl/pthread_create.c (start_thread): Use atomic_or and
8894         lll_futex_wake directly rather than lll_robust_dead.
8895         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8896         (lll_robust_dead): Macro removed.
8897         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8898         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8899         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8900         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8901         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8902         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8903         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8904         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8905         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8906         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8907         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8908         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8910         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8911         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8913         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8914         Use atomic_compare_and_exchange_val_acq directly rather than
8915         lll_robust_trylock.
8916         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8917         (__lll_robust_trylock, lll_robust_trylock): Removed.
8918         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8919         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8920         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8921         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8922         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8923         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8924         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8925         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8926         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8927         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8928         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8929         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8930         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8931         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8933 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8935         * manual/locale.texi (Locale Names): New section documenting
8936         locale name syntax.  Adjust menu and node chaining accordingly.
8937         (Choosing Locale): Reference Locale Names, Locale Categories.
8938         Mention setting LC_ALL=C.  Reflect that name syntax is now
8939         documented.
8940         (Locale Categories): New section title.  Reference Locale Names.
8941         LC_ALL is an environment variable, but not a category.
8942         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8943         description, now in Locale Name.  Reference that section.  Locale
8944         name syntax is now documented.
8946 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8948         [BZ #17137]
8949         * locale/findlocale.c (name_present, valid_locale_name): New
8950         functions.
8951         (_nl_find_locale): Use the loc_name variable to store name
8952         candidates.  Call name_present and valid_locale_name to check and
8953         validate locale names.  Return an error if the locale is invalid.
8955 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8957         * locale/setlocale.c (setlocale): Use strdup for allocating
8958         composite name copy.
8960 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8962         Sync up with gnulib.
8963         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8964         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8965         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8966         and _GL_ARG_NONNULL.
8967         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8968         [!_LIBC]: Include code for Windows and Cygwin.
8969         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8970         Include prototype for int strerror_r.
8971         [!_LIBC] (is_open): New function.
8972         (flush_stdout): New function.
8973         (print_errno_message): Use it.
8974         (error): Likewise.
8975         (error_at_line): Likewise.
8976         (error_tail) Add function attribute macros.  Use
8977         __builtin_expect.
8979         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8981         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8983         * io/ftw.c: Include sys/param.h unconditionally.
8985         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8987         [BZ #17125]
8988         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8989         libc_freeres_ptr.
8990         (freecache): New function to free CACHE on exit.
8992         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8993         initialization.
8995 2014-07-09  David S. Miller  <davem@davemloft.net>
8997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8999         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9000         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9001         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9002         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9003         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9004         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9005         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9006         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9007         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9008         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9009         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9010         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9011         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9013 2014-07-09  Andreas Schwab  <schwab@suse.de>
9015         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9016         output.
9017         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9018         (do_test): Likewise.
9020         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9022 2014-07-09  Will Newton  <will.newton@linaro.org>
9024         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9025         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9026         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9027         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9028         * sysdeps/hppa/start.S (_start): Likewise.
9030 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9032         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9034         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9035         defined.
9037 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9039         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9040         after checking that it is non-NULL.
9042         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9044 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9046         * sysdeps/powerpc/memmove.c: Remove file.
9047         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9048         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9049         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9050         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9051         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9052         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9053         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9054         string memmove instead of removed powerpc one.
9056         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9057         [weak_alias]: Fix compiler warning due trailing data.
9058         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9059         [weak_alias]: Likewise.
9060         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9061         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9064         (__libc_ifunc_impl_list): Add memmove functions.
9066 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9068         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9069         Remove code.
9070         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9071         Likewise
9072         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9073         Likewise
9074         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9075         Likewise
9076         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9077         Likewise
9078         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9079         Likewise
9080         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9081         Likewise
9082         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9083         Likewise
9084         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9085         Likewise
9086         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9087         Likewise
9088         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9089         Likewise
9090         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9091         Likewise
9092         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9093         Likewise
9094         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9095         Likewise
9096         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9097         Likewise
9098         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9099         Likewise
9100         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9101         Likewise
9103 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9105         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9106         to avoid alignment traps in non-cacheable memory.
9107         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9110         multiarch objects.
9111         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9112         file: multiarch power7 memmove.
9113         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9114         multiarch default memmove.
9115         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9116         multiarch memove for powerpc32/power4.
9118         * string/bcopy.c: Use full path to include memmove.c.
9119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9120         multiarch objects.
9121         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9122         bcopy for powerpc64.
9123         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9124         bcopy for powerpc64.
9125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9126         and memmove implementations.
9127         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9128         optimized multiarch memmove for POWER7/powerpc64.
9129         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9130         default multiarch memmove for powerpc64.
9131         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9132         multiarch for powerpc64.
9133         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9134         for POWER7/powerpc64.
9135         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9136         memmove for POWER7/powerpc64.
9138         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9139         glibc default one.
9141         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9142         __ELF_NATIVE_CLASS equal to 64.
9144 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9146         * sysdeps/nptl/lowlevellock.h: File removed.
9148         * NEWS: NPTL is no longer an add-on!
9149         * nptl/internaltypes.h: Moved ...
9150         * sysdeps/nptl/internaltypes.h: ... here.
9151         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9152         * sysdeps/nptl/fork.c: Likewise.
9153         * sysdeps/nptl/gai_misc.h: Likewise.
9154         * sysdeps/nptl/librt-cancellation.c: Likewise.
9155         * sysdeps/nptl/jmp-unwind.c: Likewise.
9156         * sysdeps/nptl/setxid.h: Likewise.
9157         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9158         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9159         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9160         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9161         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9162         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9163         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9164         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9165         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9166         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9167         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9168         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9169         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9170         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9171         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9172         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9173         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9174         * nptl/Makeconfig: Moved ...
9175         * sysdeps/nptl/Makeconfig: ... here.
9176         * nptl/configure: File removed.
9177         * nptl/ANNOUNCE: File removed.
9178         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9179         * sysdeps/unix/sysv/linux/configure: Regenerated.
9181         * nptl/Makefile (routines): Add libc_pthread_init,
9182         libc_multiple_threads, register-atfork and unregister-atfork.
9183         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9184         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9185         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9186         pthread-pi-defines.sym, structsem.sym.
9187         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9188         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9189         [$(subdir) = nptl] (tests): Add tst-setgetname.
9190         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9191         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9192         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9193         [!LIBC_SIGACTION]: Remove aliases.
9194         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9195         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9196         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9197         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9198         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9199         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9200         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9201         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9202         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9203         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9204         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9205         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9206         __libc_allocate_rtsig_private.
9207         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9208         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9209         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9210         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9211         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9212         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9213         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9214         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9215         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9216         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9217         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9218         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9219         * nptl/internaltypes.h: ... here.
9220         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9221         * sysdeps/nptl/jmp-unwind.c: ... here.
9222         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9223         * nptl/libc-lowlevellock.c: ... here.
9224         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9225         * nptl/libc_multiple_threads.c: ... here.
9226         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9227         * nptl/libc_pthread_init.c: ... here.
9228         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9229         * nptl/lowlevelbarrier.sym: ... here.
9230         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9231         * nptl/lowlevelcond.sym: ... here.
9232         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9233         * nptl/lowlevellock.c: ... here.
9234         * nptl/lowlevellock.h: Moved ...
9235         * sysdeps/nptl/lowlevellock.h: ... here.
9236         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9237         * nptl/lowlevelrobustlock.c: ... here.
9238         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9239         * nptl/lowlevelrobustlock.sym: ... here.
9240         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9241         * nptl/lowlevelrwlock.sym: ... here.
9242         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9243         * nptl/pt-fork.c: ... here.
9244         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9245         * nptl/pthread-pi-defines.sym: ... here.
9246         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9247         * nptl/pthread_attr_getaffinity.c: ... here.
9248         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9249         * nptl/pthread_attr_setaffinity.c: ... here.
9250         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9251         * nptl/pthread_mutex_cond_lock.c: ... here.
9252         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9253         Update #include.
9254         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9255         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9256         * nptl/pthread_once.c: ... here, replacing old file.
9257         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9258         * nptl/pthread_yield.c: ... here.
9259         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9260         * nptl/register-atfork.c: ... here.
9261         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9262         * nptl/sem_post.c: ... here.
9263         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9264         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9265         * nptl/sem_timedwait.c: ... here.
9266         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9267         * nptl/sem_trywait.c: ... here.
9268         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9269         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9270         * nptl/sem_wait.c: ... here.
9271         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9272         * nptl/structsem.sym: ... here.
9273         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9274         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9275         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9276         * nptl/unregister-atfork.c: ... here.
9277         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9278         * nptl/unwindbuf.sym: ... here.
9279         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9280         * sysdeps/nptl/fork.c: ... here.
9281         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9282         * sysdeps/nptl/fork.h: ... here.
9283         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9284         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9285         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9286         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9287         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9288         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9289         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9290         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9291         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9292         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9293         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9294         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9295         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9296         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9297         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9298         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9299         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9300         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9301         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9302         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9303         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9304         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9305         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9306         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9307         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9308         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9309         * sysdeps/unix/sysv/linux/raise.c: ... here.
9310         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9311         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9312         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9313         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9314         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9315         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9316         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9317         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9318         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9319         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9320         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9321         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9322         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9323         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9324         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9326 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9328         * sysdeps/generic/memcopy.h: Add comment for
9329         MEMCPY_OK_FOR_FWD_MEMMOVE.
9331 2014-07-04  Will Newton  <will.newton@linaro.org>
9333         * string/memchr.c: Merge from gnulib.
9334         [_LIBC]: Remove conditionals.
9335         (__ptr_t): Remove define.
9336         (LONG_MAX_32_BITS): Likewise.
9337         (LONG_MAX): Likewise.
9338         (MEMCHR): Use ANSI prototype and optimize algorithm.
9340         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9342 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9344         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9345         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9347         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9348         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9349         in a bare environment with no <stdlib.h> installed.
9350         * sysdeps/nptl/configure: Regenerated.
9352         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9354         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9355         AC_EGREP_CPP for kernel header checks, so they only succeed if
9356         including <linux/version.h> actually works right.
9357         * sysdeps/unix/sysv/linux/configure: Regenerated.
9359         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9360         value so it's not diagnosed as unused.
9362         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9363         thing) with "ifeq ($(subdir),rt)".
9365 2014-07-03  Richard Henderson  <rth@redhat.com>
9367         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9368         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9369         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9371         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9372         (math_force_eval): New.
9374         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9375         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9377         * sysdeps/alpha/fpu/s_round.c: Remove file.
9378         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9380         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9381         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9382         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9383         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9384         (_dl_start, print_statistics): Likewise.
9385         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9386         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9388         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9389         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9390         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9391         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9392         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9393         (HP_SMALL_TIMING_AVAIL): Define.
9394         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9395         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9396         (HP_SMALL_TIMING_AVAIL): Define.
9397         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9398         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9400         * sysdeps/aarch64/hp-timing.h: New file.
9402         * sysdeps/generic/hp-timing.h: Remove dead comment.
9403         * sysdeps/generic/hp-timing-common.h: New file.
9404         * sysdeps/alpha/hp-timing.h: Include it.
9405         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9406         * sysdeps/i386/i686/hp-timing.h: Likewise.
9407         * sysdeps/ia64/hp-timing.h: Likewise.
9408         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9409         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9410         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9411         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9412         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9413         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9414         (hp_timing_t): New.
9416         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9417         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9418         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9419         * elf/rtld.c (_dl_start_final): Likewise.
9420         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9421         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9422         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9423         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9424         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9425         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9426         (HP_TIMING_DIFF_INIT): Remove.
9427         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9428         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9429         (HP_TIMING_DIFF_INIT): Remove.
9430         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9431         * sysdeps/i386/i686/hp-timing.c: Remove file.
9432         * sysdeps/x86_64/hp-timing.c: Remove file.
9433         * sysdeps/ia64/hp-timing.c: Remove file.
9434         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9435         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9436         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9437         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9439         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9440         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9441         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9442         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9443         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9444         (HP_TIMING_ACCUM): Remove.
9445         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9446         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9447         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9449         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9450         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9451         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9452         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9453         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9454         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9455         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9456         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9458         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9460 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9462         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9464 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9466         Sync up with gettext.
9467         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9468         [_MSC_VER]: Include malloc.h
9469         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9470         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9471         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9472         TEMP_FAILURE_RETRY.  Cast return of alloca.
9473         [!_LIBC] Call gl_rwlock_init.
9474         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9476 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9478         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9479         before checking its value.
9481 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9483         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9485         * debug/memcpy_chk.c: Don't include pagecopy.h.
9486         * debug/mempcpy_chk.c: Likewise.
9487         * string/memcpy.c: Likewise.
9488         * string/memmove.c: Likewise.
9489         * sysdeps/powerpc/memmove.c: Likewise.
9490         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9491         definition of PAGE_COPY_FWD_MAYBE here...
9492         * sysdeps/generic/pagecopy.h: ... from here.
9493         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9495 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9496             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9498         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9500         optimizations.
9501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9502         (__libc_ifunc_impl_list): Likewise.
9503         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9504         multiarch strcat for PPC64.
9505         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9506         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9508 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9510         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9512 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9514         * intl/loadmsgcat.c: Remove declaration of
9515         get_sysdep_segment_value.
9516         (get_sysdep_segment_value): Use ISO C style.
9517         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9518         semicolon.  Fix typo and formatting in comment.
9519         (_nl_unload_domain): Use ISO C style.
9521         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9523 2014-07-02  Will Newton  <will.newton@linaro.org>
9525         * malloc/obstack.c: Merge from gnulib master.
9526         [HAVE_CONFIG_H]: Remove conditional code.
9527         [!_LIBC]: Include config.h.
9528         [!ELIDE_CODE]: Don't include inttypes.h, include
9529         stdint.h unconditionally.
9530         (print_and_abort): Mark as _Noreturn.
9531         (_obstack_allocated_p): Mark as __attribute_pure__.
9532         (obstack_free): Rename to __obstack_free.
9533         [!__attribute__]: Remove conditional code.
9534         * malloc/obstack.h: Merge from gnulib master.
9535         [__cplusplus]: Move conditional down.
9536         [!__attribute_pure__]: Define __attribute_pure__ here
9537         if it is not already defined.
9538         (_obstack_memory_used): Mark as __attribute_pure__.
9539         [!__obstack_free]: Define as obstack_free.
9540         [__GNUC__]: Remove check for ancient NeXT gcc.
9542 2014-07-02  Will Newton  <will.newton@linaro.org>
9543             Paul Eggert  <eggert@cs.ucla.edu>
9545         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9547 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9549         * resolv/gethnamaddr.c: Add comment warning that the file is
9550         not maintained.
9552 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9554         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9555         entries.
9557         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9558         entry for aio_cancel and aio_cancel64.
9559         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9560         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9561         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9562         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9563         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9564         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9565         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9566         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9567         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9568         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9569         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9570         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9571         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9573 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9575         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9576         * nptl/pthread_mutex_lock.c: Likewise.
9577         * nptl/pthread_mutex_timedlock.c: Likewise.
9578         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9580 2014-07-01  Richard henderson  <rth@redhat.com>
9582         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9583         (__isnan, __isnanl): Remove.
9584         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9586         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9588 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9590         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9592 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9594         * resolv/nss_dns/dns-host.c (getanswer_r)
9595         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9597 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9599         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9600         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9601         undefine.
9602         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9603         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9605 2014-07-01  Roland McGrath <roland@hack.frob.com>
9607         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9608         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9610         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9611         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9613         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9614         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9615         ... here.
9616         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9617         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9619         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9620         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9621         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9622         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9624         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9625         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9626         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9627         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9628         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9629         Moved ...
9630         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9631         ... here.
9632         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9633         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9634         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9635         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9636         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9637         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9638         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9639         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9640         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9641         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9642         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9643         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9644         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9645         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9646         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9647         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9648         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9649         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9650         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9651         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9652         ... here.
9653         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9654         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9655         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9656         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9657         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9658         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9659         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9660         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9662 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9664         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9665         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9666         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9667         Add sysdep.
9669 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9673 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9675         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9676         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9678         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9680         * sysdeps/arm/libm-test-ulps: Regenerated.
9682 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9683             Roland McGrath <roland@hack.frob.com>
9685         * test-skeleton.c (signal_handler): Kill the whole process group
9686         before killing the child individually.
9687         (main): Report any failure on `setpgid'.
9689 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9691         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9692         from _TLS_H to _ARM_NPTL_TLS_H.
9693         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9694         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9696 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9698         [BZ #16539]
9699         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9700         (__expm1l): Return argument unchanged when small but not
9701         subnormal.
9703         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9704         include macro name.
9705         (_FP_UNPACK_RAW_1_P): Likewise.
9706         (_FP_PACK_RAW_1): Likewise.
9707         (_FP_PACK_RAW_1_P): Likewise.
9708         (_FP_MUL_MEAT_1_wide): Likewise.
9709         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9710         (_FP_MUL_MEAT_1_hard): Likewise.
9711         (_FP_DIV_MEAT_1_imm): Likewise.
9712         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9713         (_FP_DIV_MEAT_1_udiv): Likewise.
9714         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9715         (_FP_UNPACK_RAW_2): Likewise.
9716         (_FP_UNPACK_RAW_2_P): Likewise.
9717         (_FP_PACK_RAW_2): Likewise.
9718         (_FP_PACK_RAW_2_P): Likewise.
9719         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9720         (_FP_MUL_MEAT_2_wide): Likewise.
9721         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9722         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9723         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9724         (_FP_MUL_MEAT_2_gmp): Likewise.
9725         (_FP_DIV_MEAT_2_udiv): Likewise.
9726         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9727         (_FP_FRAC_SRL_4): Likewise.
9728         (_FP_FRAC_SRST_4): Likewise.
9729         (_FP_FRAC_SRS_4): Likewise.
9730         (_FP_UNPACK_RAW_4): Likewise.
9731         (_FP_UNPACK_RAW_4_P): Likewise.
9732         (_FP_PACK_RAW_4): Likewise.
9733         (_FP_PACK_RAW_4_P): Likewise.
9734         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9735         (_FP_MUL_MEAT_4_wide): Likewise.
9736         (_FP_MUL_MEAT_4_gmp): Likewise.
9737         (umul_ppppmnnn): Likewise.
9738         (_FP_DIV_MEAT_4_udiv): Likewise.
9739         (__FP_FRAC_ADD_4): Likewise.
9740         (__FP_FRAC_SUB_3): Likewise.
9741         (__FP_FRAC_SUB_4): Likewise.
9742         (__FP_FRAC_DEC_3): Likewise.
9743         (__FP_FRAC_DEC_4): Likewise.
9744         (__FP_FRAC_ADDI_4): Likewise.
9745         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9746         (_FP_FRAC_SRL_8): Likewise.
9747         (_FP_FRAC_SRS_8): Likewise.
9749         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9750         include macro name.
9751         (FP_UNPACK_RAW_EP): Likewise.
9752         (FP_PACK_RAW_E): Likewise.
9753         (FP_PACK_RAW_EP): Likewise.
9754         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9755         (_FP_ISSIGNAN): Likewise.
9756         (_FP_ADD_INTERNAL): Likewise.
9757         (_FP_FMA): Likewise.
9758         (_FP_CMP): Likewise.
9759         (_FP_SQRT): Likewise.
9760         (_FP_TO_INT): Likewise.
9761         (_FP_FROM_INT): Likewise.
9762         (FP_EXTEND): Likewise.
9763         (_FP_DIV_MEAT_N_loop): Likewise.
9765 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9767         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9768         throughout.
9770 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9772         [BZ #17097]
9773         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9774         result with correct sign in case of exponents that produce
9775         overflow except for X very close to 1.
9777 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9779         mktime: merge #if/#ifdef usage from glibc
9780         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9781         as that works with both Glibc's and Gnulib's style.
9782         See thread starting at Siddhesh Poyarekar's bug report at:
9783         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9785 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9787         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9788         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9789         * sysdeps/tile/tilegx/memmove.c: Remove file.
9791 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9793         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9794         abi-name definition.
9795         * scripts/soversions.awk: Do not handle or generate ABI lines.
9796         * shlib-versions: Remove ABI entries.
9797         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9798         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9800 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9803         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9804         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9805         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9807         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9809         Moved ...
9810         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9811         ... here.
9812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9813         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9815         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9825         Moved ...
9826         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9828         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9830         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9832         Moved ...
9833         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9835         Moved ...
9836         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9838         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9840         Moved ...
9841         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9842         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9843         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9845         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9847         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9849         Moved ...
9850         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9852         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9853         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9854         Moved ...
9855         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9857         Moved ...
9858         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9860         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9862         Moved ...
9863         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9864         ... here.
9865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9866         Identical file removed.
9867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9868         Moved ...
9869         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9870         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9871         Identical file removed.
9872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9873         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9875         Moved ...
9876         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9877         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9878         Identical file removed.
9879         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9880         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9882         Identical file removed.
9883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9884         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9885         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9886         Identical file removed.
9887         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9888         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9890         Identical file removed.
9891         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9892         Moved ...
9893         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9894         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9895         Identical file removed.
9896         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9897         Moved ...
9898         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9899         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9900         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9901         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9902         Identical file removed.
9903         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9904         Moved ...
9905         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9906         ... here.
9907         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9908         Identical file removed.
9909         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9910         Moved ...
9911         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9913         Identical file removed.
9914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9915         Moved ...
9916         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9917         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9918         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9920         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9921         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9922         Moved ...
9923         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9924         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9925         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9927         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9928         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9929         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9930         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9931         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9933 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9935         [BZ #17092]
9936         * nscd/nscd.c (monitor_child): Return exit status of child
9937         instead of return value from wait syscall.
9939 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9941         * configure.ac (libc_commonpagesize): Remove variable.
9942         (libc_relro_required): Likewise.
9943         (libc_cv_z_relro): Remove configure test.
9944         * configure: Regenerated.
9945         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9946         variable.
9947         (libc_relro_required): Likewise.
9948         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9949         (libc_relro_required): Likewise.
9950         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9951         (libc_relro_required): Likewise.
9952         * sysdeps/arm/preconfigure: Regenerated.
9953         * sysdeps/ia64/preconfigure: Remove file.
9954         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9955         variable.
9956         (libc_relro_required): Likewise.
9958         [BZ #16561]
9959         [BZ #16562]
9960         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9961         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9962         recompute overflowing results in original rounding mode.
9963         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9964         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9965         recompute overflowing results in original rounding mode.
9966         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9967         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9968         recompute overflowing results in original rounding mode.
9969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9970         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9971         recompute overflowing results in original rounding mode.
9972         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9973         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9974         recompute overflowing results in original rounding mode.
9975         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9976         (libc_feholdsetround_ctx): New macro.
9977         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9978         * sysdeps/i386/fpu/libm-test-ulps: Update.
9979         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9981 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9983         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9984         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9985         corresponding .cpsetup call.
9987 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9989         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9990         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9991         * sysdeps/arm/Makefile [$(subdir) = csu]
9992         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9993         (static-only-routines): Add aeabi_read_tp here.
9994         (shared-only-routines): Add libc-aeabi_read_tp here.
9995         (CFLAGS-libc-start.c): Add -fexceptions here.
9996         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9997         (sysdep_routines, static-only-routines, shared-only-routines):
9998         Don't add to these here.
9999         (CFLAGS-libc-start.c): Likewise.
10001         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10002         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10003         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10004         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10005         * sysdeps/arm/Makefile [$(subdir) = rt]
10006         (librt-sysdep_routines, librt-shared-only-routines):
10007         Append rt-aeabi_unwind_cpp_pr1 here.
10008         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10009         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10010         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10011         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10012         Append nptl-aeabi_unwind_cpp_pr1 here.
10013         (tests): Filter out tst-cleanupx4 here.
10014         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10015         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10016         Don't do those here.
10018 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10020         * scripts/list-sources.sh: Do not handle ports specially.
10022 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10024         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10025         * sysdeps/arm/feupdateenv.c: Likewise.
10027         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10029 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10031         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10032         trailing whitespace removed.
10033         * scripts/config.guess: Update to version 2014-03-23.
10034         * scripts/config.sub: Update to version 2014-05-01
10035         * scripts/install-sh: Update to version 2013-12-25.23.
10036         * scripts/move-if-change: Update from gnulib.
10038 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10040         * debug/memmove_chk.c: Remove pagecopy.h include.
10042 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10044         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10045         identical to gnulib mktime.
10047 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10049         * configure.ac: Do not test for machine being rs6000.  Do not test
10050         for powerpc*-*soft.
10051         * configure: Regenerated.
10053         [BZ #11505]
10054         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10055         test.
10056         * configure: Regenerated.
10057         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10058         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10059         Remove configure test.
10060         * sysdeps/arm/configure: Regenerated.
10061         * sysdeps/nptl/configure.ac: Do not check
10062         libc_cv_asm_cfi_directives.
10063         * sysdeps/nptl/configure: Regenerated.
10064         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10065         * sysdeps/x86_64/nptl/configure: Remove generated file.
10066         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10067         unconditional.
10068         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10070 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10072         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10073         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10074         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10075         it is defined.
10077         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10078         instead of whether it is defined.
10079         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10080         * sysdeps/hppa/dl-machine.h: Likewise.
10081         * sysdeps/ia64/dl-machine.h: Likewise.
10082         * sysdeps/m68k/dl-machine.h: Likewise.
10083         * sysdeps/microblaze/dl-machine.h: Likewise.
10084         * sysdeps/mips/dl-machine.: Likewise.
10085         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10086         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10087         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10088         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10089         * sysdeps/sh/dl-machine.h: Likewise.
10090         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10091         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10092         * sysdeps/tile/dl-machine.h: Likewise.
10093         * sysdeps/x86_64/dl-machine.h: Likewise.
10095         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10096         code.
10097         (verify_persistent_db): Likewise.
10099 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10102         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10104         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10106         Moved ...
10107         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10108         ... here.
10109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10110         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10112         Identical file removed.
10113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10114         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10116         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10118         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10120         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10122         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10124         Moved ...
10125         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10127         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10129         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10131         Moved ...
10132         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10134         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10136         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10138         Identical file removed.
10139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10140         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10142         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10144         Moved ...
10145         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10146         ... here.
10147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10148         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10150         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10152         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10154         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10156         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10158         Moved ...
10159         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10161         Moved ...
10162         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10164         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10166         Moved ...
10167         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10169         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10171         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10172         folded into ...
10173         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10174         * sysdeps/unix/sysv/linux/s390/Versions
10175         (libpthread: GLIBC_2.19): New version set.
10176         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10177         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10178         (librt: GLIBC_2.3.3): New version set.
10179         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10180         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10181         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10182         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10183         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10184         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10185         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10187         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10189         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10190         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10191         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10192         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10193         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10194         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10195         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10196         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10197         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10198         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10199         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10200         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10201         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10202         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10203         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10204         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10205         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10207         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10209         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10215         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10217         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10218         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10219         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10221         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10223         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10225         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10226         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10227         (__libc_vfork): Define the function under this name.
10228         [!NOT_IN_libc] (__vfork): Make this an alias.
10229         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10230         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10231         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10232         (__libc_vfork): Define the function under this name.
10233         [!NOT_IN_libc] (__vfork): Make this an alias.
10234         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10235         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10236         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10238         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10239         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10241         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10242         code that was previously under [RESET_PID].
10243         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10244         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10247         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10248         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10249         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10250         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10251         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10252         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10253         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10254         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10255         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10256         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10257         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10258         Moved ...
10259         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10260         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10261         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10262         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10263         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10264         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10265         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10266         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10267         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10268         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10269         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10270         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10271         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10272         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10273         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10274         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10275         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10276         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10277         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10278         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10279         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10280         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10281         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10282         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10283         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10284         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10285         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10286         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10287         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10289 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10291         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10292         that was previously under [RESET_PID].
10293         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10295 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10297         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10298         not undefine and redefine.
10299         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10300         [O_CLOEXEC]: Make code unconditional.
10301         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10302         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10303         <kernel-features.h>.
10304         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10305         conditional variable definition.
10306         (shm_open) [O_CLOEXEC]: Make code unconditional.
10307         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10308         code.
10310         * configure.ac (USE_REGPARMS): Don't define here.
10311         * configure: Regenerated.
10312         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10313         * sysdeps/i386/configure: Regenerated.
10315         * nptl/createthread.c: Don't include kernel-features.h.
10316         * nptl/pthread_cancel.c: Likewise.
10317         * nptl/pthread_condattr_setclock.c: Likewise.
10318         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10319         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10320         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10321         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10322         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10323         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10324         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10327         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10328         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10329         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10330         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10331         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10332         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10333         * nscd/gai.c: Likewise.
10334         * nss/nss_db/db-open.c: Likewise.
10335         * sysdeps/generic/ldsodefs.h: Likewise.
10336         * sysdeps/sh/nptl/tls.h: Likewise.
10337         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10338         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10339         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10340         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10341         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10342         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10343         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10344         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10345         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10346         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10347         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10348         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10349         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10350         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10351         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10352         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10353         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10354         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10355         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10356         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10359         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10360         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10361         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10363         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10365         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10366         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10367         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10368         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10369         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10370         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10371         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10372         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10373         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10374         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10375         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10376         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10377         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10378         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10379         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10380         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10381         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10382         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10383         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10384         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10385         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10386         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10387         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10388         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10389         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10390         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10391         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10392         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10393         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10394         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10417         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10418         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10419         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10420         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10421         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10422         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10423         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10424         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10425         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10426         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10427         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10428         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10429         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10430         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10431         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10432         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10433         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10434         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10435         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10436         * sysdeps/unix/sysv/linux/system.c: Likewise.
10437         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10438         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10439         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10440         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10441         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10442         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10443         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10445         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10446         * configure: Regenerated.
10447         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10449         * configure.ac (base_machine): Do not set specially for particular
10450         machines here.
10451         * configure: Regenerated.
10452         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10453         settings from configure.ac.
10454         * sysdeps/i386/preconfigure: New file.
10455         * sysdeps/s390/preconfigure: Likewise.
10456         * sysdeps/sh/preconfigure: Likewise.
10457         * sysdeps/sparc/preconfigure: Likewise.
10459 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10461         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10462         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10463         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10464         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10465         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10466         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10467         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10468         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10469         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10470         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10471         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10472         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10473         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10474         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10475         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10476         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10478         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10479         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10481         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10482         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10483         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10484         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10485         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10486         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10487         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10488         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10489         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10490         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10491         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10492         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10493         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10494         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10495         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10496         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10497         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10498         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10499         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10500         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10501         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10502         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10503         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10504         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10505         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10506         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10507         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10508         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10510         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10511         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10512         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10513         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10514         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10515         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10516         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10518         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10521         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10523         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10525         Moved ...
10526         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10527         ... here.
10528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10529         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10531         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10533         Moved ...
10534         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10536         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10538         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10540         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10542         Moved ...
10543         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10545         Moved ...
10546         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10548         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10550         Moved ...
10551         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10553         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10555         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10557         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10559         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10561         Moved ...
10562         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10563         ... here.
10564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10565         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10567         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10569         Moved ...
10570         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10572         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10574         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10576         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10578         Moved ...
10579         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10581         Moved ...
10582         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10584         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10586         Moved ...
10587         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10589         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10591         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10593 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10595         * timezone/checktab.awk: Update from tzcode 2014e.
10596         * timezone/private.h: Likewise.
10597         * timezone/tzfile.h: Likewise.
10598         * timezone/zdump.c: Likewise.
10599         * timezone/zic.c: Likewise.
10601         * sysdeps/unix/sysv/linux/kernel-features.h
10602         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10603         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10604         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10605         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10606         Remove conditional code.
10608 2014-06-25  Will Newton  <will.newton@linaro.org>
10610         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10611         (_dl_arm_cap_flags): Add HWCAP2 values.
10612         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10613         (_DL_HWCAP_COUNT): Increase to 37.
10614         (_DL_HWCAP_LAST): New define.
10615         (_DL_HWCAP2_LAST): New define.
10616         (_dl_procinfo): Add support for printing
10617         AT_HWCAP2 entries.
10618         (_dl_string_hwcap): Use _dl_hwcap_string.
10620 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10624 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10626         * README: Do not mention ports directory.
10628         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10629         Remove macro.
10630         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10631         <kernel-features.h>.
10632         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10633         conditional variable definition.
10634         (__futimes): Update comment.
10635         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10636         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10638         [BZ #16560]
10639         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10640         arguments close to 0.
10641         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10642         Likewise.
10643         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10644         Likewise.
10645         * math/auto-libm-test-in: Add more tests of exp10.
10646         * math/auto-libm-test-out: Regenerated.
10647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10649         * sysdeps/unix/sysv/linux/kernel-features.h
10650         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10651         * sysdeps/unix/sysv/linux/readv.c: Do not include
10652         <kernel-features.h>.
10653         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10654         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10655         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10656         unconditional.
10657         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10658         conditional code.
10659         * sysdeps/unix/sysv/linux/writev.c: Do not include
10660         <kernel-features.h>.
10661         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10662         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10663         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10664         unconditional.
10665         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10666         conditional code.
10668 2014-06-25  Will Newton  <will.newton@linaro.org>
10670         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10671         comment changes throughout the file.  Remove checks
10672         for HAVE_*_H definitions that are not required.
10673         (__gen_tempname): Call abort if an unknown kind value is
10674         passed.
10676 2014-06-25  Andreas Schwab  <schwab@suse.de>
10678         [BZ #17086]
10679         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10680         scalbln, scalblnf, scalblnl in libc.
10682 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10684         [BZ #17086]
10685         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10686         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10687         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10689 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10691         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10692         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10693         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10694         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10695         Update #include.
10696         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10697         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10698         Update #include.
10699         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10700         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10701         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10702         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10703         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10704         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10705         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10706         * sysdeps/x86/bits/semaphore.h: ... here.
10707         * sysdeps/x86/nptl/elide.h: Moved ...
10708         * sysdeps/x86/elide.h: ... here.
10709         * sysdeps/x86_64/nptl/Implies: File removed.
10710         * sysdeps/i386/nptl/Implies: File removed.
10712 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10714         [BZ #16539]
10715         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10716         return the argument for normal arguments with exponent below -64.
10717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10718         Likewise.
10719         * math/auto-libm-test-in: Add another test of expm1.
10720         * math/auto-libm-test-out: Regenerated.
10722         [BZ #16287]
10723         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10724         calling __erfcl for arguments at least 16.
10725         * math/auto-libm-test-in: Add more tests of erf.
10726         * math/auto-libm-test-out: Regenerated.
10728         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10729         individual architectures.
10730         * sysdeps/unix/sysv/linux/configure: Regenerated.
10731         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10732         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10733         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10734         (ldd_rewrite_script): Define variable.
10735         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10737         file.
10738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10739         generated file.
10740         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10741         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10742         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10743         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10744         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10745         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10746         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10747         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10749 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10751         [BZ #17084]
10752         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10753         Rename member __data.d to __data.__elision_data.
10755 2014-06-24  Wilco  <wdijkstr@arm.com>
10757         * NEWS: Add 16918 to fixed bug list.
10759 2014-06-24  Wilco  <wdijkstr@arm.com>
10761         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10763 2014-06-24  Wilco  <wdijkstr@arm.com>
10765         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10766         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10767         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10768         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10769         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10770         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10771         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10772         Use _FPU_MASK_RM.
10774 2014-06-24  Wilco  <wdijkstr@arm.com>
10776         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10778 2014-06-24  Wilco  <wdijkstr@arm.com>
10780         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10781         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10782         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10783         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10785 2014-06-24  Wilco  <wdijkstr@arm.com>
10787         [BZ #16918]
10788         * sysdeps/arm/feupdateenv.c (feupdateenv):
10789         Rewrite to reduce FPSCR accesses and fix return value.
10791 2014-06-24  Wilco  <wdijkstr@arm.com>
10793         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10794         Optimize to avoid unnecessary FPSCR writes.
10795         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10796         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10797         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10798         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10800 2014-06-24  Wilco  <wdijkstr@arm.com>
10802         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10803         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10804         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10805         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10806         Call libc_fetestexcept_vfp.
10807         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10808         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10809         __SOFTFP__ ifdef so that they can be built for softfp.
10811 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10813         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10814         argument type signed char.
10816         * Makerules (check-abi): Dump diff of symlist if the test
10817         fails.
10819 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10821         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10822         using abort.
10824         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10825         Remove unused variable ST.
10827 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10829         [BZ #16354]
10830         [BZ #17061]
10831         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10832         small arguments before calling __expm1.
10833         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10834         small arguments before calling __expm1f.
10835         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10836         small arguments before calling __expm1l.
10837         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10838         Likewise.
10839         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10840         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10841         spurious underflow for some cosh tests.
10842         * math/auto-libm-test-out: Regenerated.
10843         * sysdeps/i386/fpu/libm-test-ulps: Update.
10845         [BZ #17050]
10846         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10847         (__ieee754_y1): Set errno if return value overflows.
10848         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10849         (__ieee754_y1f): Set errno if return value overflows.
10850         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10851         (__ieee754_y1l): Set errno if return value overflows.
10852         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10853         (__ieee754_y1l): Set errno if return value overflows.
10854         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10855         * math/auto-libm-test-out: Regenerated.
10857         * math/gen-auto-libm-tests.c: Document use of
10858         ignore-zero-inf-sign.
10859         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10860         (input_flags): Add ignore-zero-inf-sign.
10861         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10862         * math/gen-libm-test.pl (generate_testfile): Handle
10863         ignore-zero-inf-sign.
10864         * math/auto-libm-test-in: Mark some cpow tests with
10865         ignore-zero-inf-sign and some with xfail-rounding.
10866         * math/auto-libm-test-out: Regenerated.
10867         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10868         * sysdeps/i386/fpu/libm-test-ulps: Update.
10869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10871         [BZ #16315]
10872         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10873         overflowing or underflowing operations take place with sign of
10874         result.
10875         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10876         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10877         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10878         (__ieee754_pow): Recompute overflowing and underflowing results in
10879         original rounding mode.
10880         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10881         (__powl_helper): Allow negative argument X and scale negated value
10882         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10883         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10884         overflowing or underflowing operations take place with sign of
10885         result.
10886         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10887         Include <math.h>.
10888         * math/auto-libm-test-in: Add more tests of pow.
10889         * math/auto-libm-test-out: Regenerated.
10890         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10891         (pow_tonearest_test_data): Remove.
10892         (pow_test_tonearest): Likewise.
10893         (pow_towardzero_test_data): Likewise.
10894         (pow_test_towardzero): Likewise.
10895         (pow_downward_test_data): Likewise.
10896         (pow_test_downward): Likewise.
10897         (pow_upward_test_data): Likewise.
10898         (pow_test_upward): Likewise.
10899         (main): Don't call removed functions.
10900         * sysdeps/i386/fpu/libm-test-ulps: Update.
10901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10906         Moved ...
10907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10909         Moved ...
10910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10912         Moved ...
10913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10915         Moved ...
10916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10918         File removed.
10919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10920         File removed.
10921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10922         File removed.
10923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10924         File removed.
10925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10926         File removed.
10927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10928         File removed.
10929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10930         File removed.
10931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10932         File removed.
10933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10934         File removed.
10935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10936         File removed.
10937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10938         File removed.
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10940         File removed.
10941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10942         Moved ...
10943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10945         Moved ...
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10947         ... here.
10948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10952         Moved ...
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10955         Moved ...
10956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10958         Moved ...
10959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10961         Moved ...
10962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10964         Moved ...
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10967         Moved ...
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10971         ... here.
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10973         Moved ...
10974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10976         Moved ...
10977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10978         ... here.
10979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10980         Moved ...
10981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10982         ... here.
10983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10984         Moved ...
10985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10986         ... here.
10987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10988         Moved ...
10989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10991         Moved ...
10992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10996         Moved ...
10997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10998         ... here.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11000         Moved ...
11001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11002         ... here.
11003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11004         Moved ...
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11007         Moved ...
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11010         Moved ...
11011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11013         Moved ...
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11016         Moved ...
11017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11018         ... here.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11020         Moved ...
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11023         Moved ...
11024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11026         Moved ...
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11029         Moved ...
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11034         Moved ...
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11037         Moved ...
11038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11040         Moved ...
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11042         ... here.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11044         Moved ...
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11046         ... here.
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11048         Moved ...
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11050         ... here.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11052         Moved ...
11053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11055         Moved ...
11056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11058         Moved ...
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11061         Moved ...
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11063         ... here.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11065         Moved ...
11066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11067         ... here.
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11069         Moved ...
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11071         ... here.
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11073         Moved ...
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11076         Moved ...
11077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11079 2014-06-23  Will Newton  <will.newton@linaro.org>
11080             Wilco  <wdijkstr@arm.com>
11082         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11083         implementation.  Include get-rounding-mode.h.
11084         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11085         [!libc_feholdsetround_noex_ctx]: Define
11086         libc_feholdsetround_noex_ctx.
11087         [!libc_feholdsetround_noexf_ctx]: Define
11088         libc_feholdsetround_noexf_ctx.
11089         [!libc_feholdsetround_noexl_ctx]: Define
11090         libc_feholdsetround_noexl_ctx.
11091         (libc_feholdsetround_ctx): New function.
11092         (libc_feresetround_ctx): New function.
11093         (libc_feholdsetround_noex_ctx): New function.
11094         (libc_feresetround_noex_ctx): New function.
11096 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11098         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11099         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11100         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11101         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11102         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11103         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11105         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11106         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11107         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11108         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11109         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11110         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11111         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11112         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11114         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11116         Moved ...
11117         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11118         ... here.
11119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11120         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11122         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11124         Moved ...
11125         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11127         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11128         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11129         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11131         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11133         Moved ...
11134         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11135         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11136         Moved ...
11137         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11139         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11140         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11141         Moved ...
11142         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11143         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11144         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11145         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11146         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11147         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11148         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11150         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11151         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11152         Moved ...
11153         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11154         ... here.
11155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11156         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11158         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11160         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11162         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11164         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11166         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11167         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11168         Moved ...
11169         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11170         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11171         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11172         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11173         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11175         Moved ...
11176         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11177         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11178         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11179         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11180         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11182         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11183         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11184         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11185         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11186         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11187         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11188         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11189         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11190         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11191         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11192         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11193         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11194         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11195         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11196         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11197         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11198         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11199         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11200         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11201         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11202         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11203         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11204         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11205         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11206         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11207         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11208         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11209         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11211 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11214         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11215         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11216         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11217         (IPV6_PMTUDISC_INTERFACE): Likewise.
11218         (IPV6_PMTUDISC_OMIT): Likewise.
11220 2014-06-23  Andreas Schwab  <schwab@suse.de>
11222         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11223         Remove unused errout label.
11225 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11227         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11228         macro: hardware supports Vector Crypto instructions.
11230 2014-06-23  Will Newton  <will.newton@linaro.org>
11232         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11233         rather than __builtin_expect.
11235         * elf/dl-lookup.c (undefined_msg): Remove variable.
11236         (_dl_lookup_symbol_x): Replace undefined_msg with string
11237         literal.
11239         * elf/dl-lookup.c (do_lookup_unique): New function.
11240         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11241         to a separate function.
11243 2014-06-23  Andreas Schwab  <schwab@suse.de>
11245         [BZ #17079]
11246         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11247         before reading the next line.
11249 2014-06-23  Will Newton  <will.newton@linaro.org>
11251         * test-skeleton.c (signal_handler): Use printf and %m
11252         rather than perror.  Use printf rather than fprintf to
11253         stderr.  Use puts rather than fputs to stderr.
11254         (main): Likewise.
11256 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11258         * nscd/nscd.c (thread_info_t): Remove typedef.
11259         (thread_info): Remove variable.
11261 2014-06-21  Allan McRae  <allan@archlinux.org>
11263         * NEWS: Mention CVE-2014-4043.
11265 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11267         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11268         * nptl/smp.h: ... here.
11270         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11272         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11273         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11274         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11275         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11277         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11278         * nptl/stack-aliasing.h: New file.
11279         * sysdeps/i386/i686/stack-aliasing.h: New file.
11280         * sysdeps/i386/i686/nptl/Makefile: File removed.
11281         * sysdeps/x86_64/stack-aliasing.h: New file.
11282         * sysdeps/x86_64/nptl/Makefile
11283         (CFLAGS-pthread_create.c): Variable removed.
11285         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11286         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11287         old file.
11288         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11289         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11290         old file.
11292 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11294         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11295         (__ASSUME_SIGFRAME_V2): Remove macro.
11296         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11297         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11298         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11299         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11300         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11301         Declare as function.  Remove conditional macro definitions.
11302         (__default_rt_sa_restorer): Likewise.
11303         (__default_sa_restorer_v1): Remove declaration.
11304         (__default_sa_restorer_v2): Likewise.
11305         (__default_rt_sa_restorer_v1): Likewise.
11306         (__default_rt_sa_restorer_v2): Likewise.
11307         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11308         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11309         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11311 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11313         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11314         (libpthread-routines): Add sysdep.
11315         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11316         * sysdeps/unix/sysv/linux/sparc/Versions
11317         (libpthread: GLIBC_2.3.3): New version set.
11318         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11319         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11320         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11321         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11322         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11323         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11324         Moved ...
11325         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11326         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11327         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11328         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11329         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11330         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11331         * sysdeps/sparc/nptl/sem_init.c: ... here.
11332         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11333         * sysdeps/sparc/nptl/sem_post.c: ... here.
11334         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11335         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11336         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11337         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11338         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11339         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11340         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11341         (libpthread-routines): Add cpu_relax.
11342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11343         File removed.
11344         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11345         (librt: GLIBC_2.3.3): New version set.
11346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11347         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11348         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11349         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11352         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11354         Moved ...
11355         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11357         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11359         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11361         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11363         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11365         Moved ...
11366         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11367         Update #include.
11368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11369         Moved ...
11370         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11371         Update #include.
11372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11373         Moved ...
11374         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11375         Update #include.
11376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11377         Moved ...
11378         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11379         Update #include.
11380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11381         Moved ...
11382         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11383         Update #include.
11384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11385         Moved ...
11386         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11387         Update #include.
11388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11389         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11395         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11397         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11399         Moved ...
11400         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11402         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11406 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11408         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11409         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11410         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11411         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11412         * nscd/nscd.c: Likewise.
11413         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11414         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11415         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11416         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11418         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11419         <kernel-features.h>.
11420         (init_mq_netlink): Remove conditional have_sock_cloexec
11421         definitions.  Remove code conditional on have_sock_cloexec < 0.
11422         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11423         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11424         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11425         <kernel-features.h>.
11426         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11427         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11429 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11432         Add tests for memset_chk and memset.
11434         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11435         with AVX2_Usable.
11437 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11439         [BZ #16046]
11440         * elf/tst-dl-iter-static.c: New file.
11441         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11443         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11444         error.
11446 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11448         * sysdeps/unix/sysv/linux/kernel-features.h
11449         (__ASSUME_F_GETOWN_EX): Remove macro.
11450         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11451         <kernel-features.h>.
11452         (miss_F_GETOWN_EX): Remove variable or macro.
11453         (do_fcntl): Do not check miss_F_GETOWN_EX.
11454         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11456         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11457         Remove macro.
11458         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11459         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11460         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11462         * sysdeps/unix/sysv/linux/kernel-features.h
11463         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11464         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11465         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11466         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11468 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11470         [BZ #17075]
11471         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11472         Fix calculation of the symbol's value.
11473         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11474         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11475         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11476         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11477         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11478         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11479         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11480         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11481         (modules-names): Add `tst-armtlsdescmod',
11482         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11483         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11484         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11485         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11486         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11487         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11488         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11489         ($(objpfx)tst-armtlsdescloc): New dependency.
11490         ($(objpfx)tst-armtlsdescextnow): Likewise.
11491         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11492         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11493         TLS scheme support.
11494         * sysdeps/arm/configure: Regenerate.
11496 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11498         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11499         (__atfct_seterrno_2): Likewise.
11500         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11501         <kernel-features.h>.
11502         (__ASSUME_ATFCTS): Do not undefine and redefine.
11503         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11504         (__have_atfcts): Remove conditional definition.
11505         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11506         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11507         unreachable if [__ASSUME_ATFCTS].
11508         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11509         not undefine and redefine.
11510         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11511         <kernel-features.h>.
11512         (faccessat) [__NR_faccessat]: Make code unconditional.
11513         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11514         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11515         <kernel-features.h>.
11516         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11517         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11518         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11519         <kernel-features.h>.
11520         (fchownat) [__NR_fchownat]: Make code unconditional.
11521         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11522         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11523         <kernel-features.h>.
11524         (futimesat) [__NR_futimesat]: Make code unconditional.
11525         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11526         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11527         <kernel-features.h>.
11528         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11529         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11530         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11531         <kernel-features.h>.
11532         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11533         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11534         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11535         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11536         <kernel-features.h>.
11537         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11538         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11539         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11540         <kernel-features.h>.
11541         (linkat) [__NR_linkat]: Make code unconditional.
11542         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11543         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11544         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11545         <kernel-features.h>.
11546         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11547         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11548         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11549         <kernel-features.h>.
11550         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11551         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11552         * sysdeps/unix/sysv/linux/openat.c: Do not include
11553         <kernel-features.h>.
11554         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11555         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11556         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11557         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11558         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11559         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11560         <kernel-features.h>.
11561         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11562         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11563         result of INLINE_SYSCALL directly, not via int variable.
11564         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11565         <kernel-features.h>.
11566         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11567         (renameat) [__NR_renameat]: Make code unconditional.
11568         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11569         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11570         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11571         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11572         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11573         (__ASSUME_ATFCTS): Do not undefine and redefine.
11574         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11575         <kernel-features.h>.
11576         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11577         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11578         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11579         <kernel-features.h>.
11580         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11581         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11582         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11583         (__ASSUME_ATFCTS): Do not undefine and redefine.
11584         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11585         <kernel-features.h>.
11586         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11587         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11588         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11589         <kernel-features.h>.
11590         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11591         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11593 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11595         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11597 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11599         [BZ #17069]
11600         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11601         constructed tree before returning error.
11602         * posix/bug-regexp36.c: Expand test case.
11604 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11606         [BZ #6803]
11607         * math/libm-test.inc (scalbln_test_date):
11608         Add errno expectations.
11609         * math/w_scalblnf.c: New File.
11610         Add wrapper which checks for setting errno to ERANGE.
11611         Add weak_alias for corresponding scalbln function.
11612         * math/w_scalbln.c: Likewise.
11613         * math/w_scalblnl.c: Likewise.
11614         * math/Makefile (libm-calls): Add w_scalbln.
11615         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11616         Remove weak_alias for corresponding scalbln function.
11617         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11619         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11620         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11621         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11622         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11623         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11624         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11625         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11626         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11627         Remove long_double_symbol for scalblnl function in libm, libc.
11628         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11629         Add wrapper which checks for setting errno to ERANGE.
11630         Add long_double_symbol for scalblnl function in libm, libc.
11631         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11632         Remove long_double_symbol for scalblnl in libm.
11633         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11634         Add wrapper which checks for setting errno to ERANGE.
11635         Add long_double_symbol for scalblnl function in libm.
11636         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11637         Do not use wrapper because of own implementation.
11639 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11641         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11642         3 bytes for __pad1 for x32.
11643         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11645 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11646             H.J. Lu  <hongjiu.lu@intel.com>
11648         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11649         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11650         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11651         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11652         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11654 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11656         [BZ #17069]
11657         * posix/regcomp.c (parse_expression): Deallocate partially
11658         constructed tree before returning error.
11659         * posix/Makefile.c (tests): Add bug-regex36.
11660         (generated): Add bug-regex36.mtrace.
11661         (tests-special): Add $(objpfx)bug-regex36-mem.out
11662         (bug-regex36-ENV): New variable.
11663         ($(objpfx)bug-regex36-mem.out): New rule.
11664         * posix/bug-regex36.c: New file.
11666 2014-06-19  Will Newton  <will.newton@linaro.org>
11668         * malloc/malloc.c (systrim): If extra is zero then return
11669         early.
11671 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11673         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11675 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11677         * sysdeps/aarch64/strchr.S: New file.
11679 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11681         [BZ #17022]
11682         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11683         from arguments -2 or below.
11684         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11685         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11687 2014-06-18  Andreas Schwab  <schwab@suse.de>
11689         [BZ #17062]
11690         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11691         of a bracket expr not to run off the end of the string.
11692         * posix/Makefile (tests): Add tst-fnmatch3.
11693         * posix/tst-fnmatch3.c: New file.
11695 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11697         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11698         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11699         [$(cross-compiling) = no]: Likewise.
11700         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11701         [$(cross-compiling) = no]: Likewise.
11703 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11705         [BZ #17031]
11706         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11707         double, adjusted for any remainder from the high double.
11708         * math/libm-test.inc (nearbyint): Add tests.
11709         (rint): Likewise.
11711 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11713         * nptl/sysdeps/powerpc/Makefile: Moved ...
11714         * sysdeps/powerpc/nptl/Makefile: ... here.
11715         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11716         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11717         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11718         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11719         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11720         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11721         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11722         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11723         * nptl/sysdeps/powerpc/tls.h: Moved ...
11724         * sysdeps/powerpc/nptl/tls.h: ... here.
11726 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11728         [BZ #16681]
11729         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11730         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11731         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11732         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11733         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11734         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11735         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11736         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11737         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11739 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11741         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11743 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11745         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11746         defined operator.
11748         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11749         $TIMEOUTFACTOR.
11751 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11753         [BZ #17058]
11754         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11755         non-executed part of the test.
11757 2014-06-16  Andreas Schwab  <schwab@suse.de>
11759         * string/bits/string2.h (strdup, strndup): Update feature guard.
11761 2014-06-14  David S. Miller  <davem@davemloft.net>
11763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11765 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11767         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11768         that was previously under [RESET_PID].
11769         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11771         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11772         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11773         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11774         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11775         (__libc_vfork): New strong alias.
11776         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11778 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11780         * sysdeps/generic/elide.h: New file.
11782 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11784         * Makefile (installed-headers): Adjust path of pthread.h header.
11786 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11788         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11789         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11790         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11791         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11793         * nptl/sysdeps/s390/Makefile: Moved ...
11794         * sysdeps/s390/nptl/Makefile: ... here.
11795         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11796         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11797         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11798         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11799         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11800         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11801         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11802         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11803         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11804         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11805         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11806         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11807         * nptl/sysdeps/s390/tls.h: Moved ...
11808         * sysdeps/s390/nptl/tls.h: ... here.
11810         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11811         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11813 2014-06-13  David S. Miller  <davem@davemloft.net>
11815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11818         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11822         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11823         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11824         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11825         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11826         Remove RESET_PID cpp guards.
11827         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11828         Remove RESET_PID cpp guards.
11829         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11831 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11833         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11834         __sp to uintptr_t.
11836 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11838         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11839         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11840         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11841         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11843         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11844         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11845         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11846         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11847         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11849         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11850         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11851         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11853         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11855         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11859         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11860         (pthread_rwlock_rdlock): Add elision.
11861         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11862         (pthread_rwlock_wrlock): Add elision.
11863         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11864         (pthread_rwlock_trywrlock): Add elision.
11865         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11866         (pthread_rwlock_tryrdlock): Add elision.
11867         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11868         (pthread_rwlock_tryrdlock): Add elision unlock.
11869         * nptl/sysdeps/pthread/pthread.h:
11870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11871         (PTHREAD_RWLOCK_INITIALIZER,
11872         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11873         Handle new elision field.
11874         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11875         * sysdeps/arm/nptl/bits/pthreadtypes.h
11876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11877         * sysdeps/sh/nptl/bits/pthreadtypes.h
11878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11879         * sysdeps/tile/nptl/bits/pthreadtypes.h
11880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11881         * sysdeps/a/nptl/bits/pthreadtypes.h
11882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11883         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11885         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11887         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11889         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11891         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11893         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11894         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11895         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11896         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11897         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11899         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11900         (elision_init): Set try_xbegin to zero when no RTM.
11901         * sysdeps/x86/nptl/bits/pthreadtypes.h
11902         (pthread_rwlock_t): Change __pad1 to __rwelision.
11903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11905 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11907         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11908         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11909         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11910         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11912 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11914         [BZ #16996]
11915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11916         that the cached result has been set before returning it.
11918 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11920         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11921         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11922         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11923         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11924         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11925         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11927         * nptl/sysdeps/sparc/Makefile: Moved ...
11928         * sysdeps/sparc/nptl/Makefile: ... here.
11929         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11930         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11931         * nptl/sysdeps/sparc/tls.h: Moved ...
11932         * sysdeps/sparc/nptl/tls.h: ... here.
11933         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11934         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11935         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11936         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11937         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11938         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11939         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11940         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11941         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11942         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11943         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11944         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11945         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11946         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11947         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11948         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11949         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11950         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11951         Update #include.
11952         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11954         Update #include.
11955         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11956         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11957         Update #include.
11958         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11959         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11960         Update #include.
11962         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11964         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11965         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11967         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11968         (struct list_links): Type removed.
11969         (struct thread_node, struct timer_node): Replace struct list_links
11970         with struct list_head.
11971         (list_unlink_ip): Likewise.
11972         * sysdeps/pthread/timer_routines.c
11973         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11974         (list_append, list_insbefore): Likewise.
11975         (list_init): Function removed.
11976         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11977         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11978         * sysdeps/pthread/Makefile: ... here, new file.
11980         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11981         * sysdeps/nptl/Implies: ... here.
11982         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11983         * nptl/sysdeps/pthread/list.h: Moved ...
11984         * include/list.h: ... here.
11985         * nptl/sysdeps/pthread/createthread.c: Moved ...
11986         * nptl/createthread.c: ... here.
11987         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11988         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11989         * nptl/pt-longjmp.c: ... here.
11990         * nptl/sysdeps/pthread/Makefile: Moved ...
11991         * sysdeps/nptl/Makefile: ... here.
11992         * nptl/sysdeps/pthread/Subdirs: Moved ...
11993         * sysdeps/nptl/Subdirs: ... here.
11994         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11995         * sysdeps/nptl/aio_misc.h: ... here.
11996         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11997         * sysdeps/nptl/bits/libc-lock.h: ... here.
11998         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11999         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12000         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12001         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12002         * nptl/sysdeps/pthread/configure: Moved ...
12003         * sysdeps/nptl/configure: ... here.
12004         * nptl/sysdeps/pthread/configure.ac: Moved ...
12005         * sysdeps/nptl/configure.ac: ... here.
12006         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12007         * sysdeps/nptl/gai_misc.h: ... here.
12008         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12009         * sysdeps/nptl/librt-cancellation.c: ... here.
12010         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12011         * sysdeps/nptl/malloc-machine.h: ... here.
12012         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12013         * sysdeps/nptl/pthread-functions.h: ... here.
12014         * nptl/sysdeps/pthread/pthread.h: Moved ...
12015         * sysdeps/nptl/pthread.h: ... here.
12016         * nptl/sysdeps/pthread/setxid.h: Moved ...
12017         * sysdeps/nptl/setxid.h: ... here.
12018         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12019         * sysdeps/nptl/sigfillset.c: ... here.
12020         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12021         * sysdeps/nptl/tcb-offsets.h: ... here.
12022         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12023         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12024         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12025         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12026         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12027         * sysdeps/pthread/allocalim.h: ... here.
12028         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12029         * sysdeps/pthread/bits/sigthread.h: ... here.
12030         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12031         * sysdeps/pthread/flockfile.c: ... here.
12032         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12033         * sysdeps/pthread/ftrylockfile.c: ... here.
12034         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12035         * sysdeps/pthread/funlockfile.c: ... here.
12036         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12037         * sysdeps/pthread/posix-timer.h: ... here.
12038         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12039         * sysdeps/pthread/timer_create.c: ... here.
12040         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12041         * sysdeps/pthread/timer_delete.c: ... here.
12042         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12043         * sysdeps/pthread/timer_getoverr.c: ... here.
12044         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12045         * sysdeps/pthread/timer_gettime.c: ... here.
12046         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12047         * sysdeps/pthread/timer_routines.c: ... here.
12048         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12049         * sysdeps/pthread/timer_settime.c: ... here.
12050         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12051         * sysdeps/pthread/tst-timer.c: ... here.
12052         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12053         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12055         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12056         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12058         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12059         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12060         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12061         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12062         Update #include target.
12063         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12064         * sysdeps/i386/i686/nptl/Makefile: ... here.
12065         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12066         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12067         Update #include target.
12068         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12069         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12070         * nptl/sysdeps/i386/Makefile: Moved ...
12071         * sysdeps/i386/nptl/Makefile: ... here.
12072         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12073         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12074         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12075         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12076         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12077         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12078         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12079         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12080         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12081         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12082         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12083         * nptl/sysdeps/i386/tls.h: Moved ...
12084         * sysdeps/i386/nptl/tls.h: ... here.
12086         * sysdeps/sh/Makefile [$(subdir) = csu]
12087         (gen-as-const-headers): Add tcb-offsets.sym.
12088         * nptl/sysdeps/sh/Makefile: File removed.
12089         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12090         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12091         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12092         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12093         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12094         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12095         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12096         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12097         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12098         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12099         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12100         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12101         * nptl/sysdeps/sh/tls.h: Moved ...
12102         * sysdeps/sh/nptl/tls.h: ... here.
12103         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12104         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12105         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12106         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12107         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12108         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12109         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12110         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12111         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12112         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12114         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12115         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12116         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12118         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12120         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12122         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12123         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12124         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12125         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12126         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12128         Moved ...
12129         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12130         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12131         Moved ...
12132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12133         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12134         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12135         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12136         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12137         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12138         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12139         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12140         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12141         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12142         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12143         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12144         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12145         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12146         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12147         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12148         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12149         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12150         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12152 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12154         * posix/spawn_faction_addopen.c: Include string.h.
12156 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12158         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12159         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12160         * nptl/sysdeps/x86_64/Makefile: Moved ...
12161         * sysdeps/x86_64/nptl/Makefile: ... here.
12162         * nptl/sysdeps/x86_64/configure: Moved ...
12163         * sysdeps/x86_64/nptl/configure: ... here.
12164         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12165         * sysdeps/x86_64/nptl/configure.ac: ... here.
12166         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12167         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12168         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12169         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12170         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12171         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12172         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12173         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12174         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12175         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12176         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12177         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12178         * nptl/sysdeps/x86_64/tls.h: Moved ...
12179         * sysdeps/x86_64/nptl/tls.h: ... here.
12180         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12181         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12182         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12183         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12185         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12187 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12191 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12193         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12194         type.
12195         [POSIX] (off_t): Likewise.
12196         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12197         [POSIX] (S_ISBLK): Require macro.
12198         [POSIX] (S_ISCHR): Likewise.
12199         [POSIX] (S_ISDIR): Likewise.
12200         [POSIX] (S_ISFIFO): Likewise.
12201         [POSIX] (S_ISREG): Likewise.
12202         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12203         optional-macro.
12204         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12205         type.
12206         [POSIX] (time_t): Likewise.
12207         [POSIX] (timer_t): Likewise.
12209 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12211         [BZ #17048]
12212         * posix/spawn_int.h (struct __spawn_action): Make the path string
12213         non-const to support deallocation.
12214         * posix/spawn_faction_addopen.c
12215         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12216         * posix/spawn_faction_destroy.c
12217         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12218         path in all spawn_do_open actions.
12219         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12220         posix_spawn_file_actions_addopen.
12222 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12224         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12225         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12226         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12227         conditional code always true.
12228         (__libc_vfork): New alias.
12230 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12232         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12233         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12235         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12237         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12238         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12240         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12241         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12243         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12244         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12246 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12248         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12249         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12250         multiarch strcmp for PPC64.
12251         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12252         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12254         multiarch optimizations.
12255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12256         (__libc_ifunc_impl_list): Likewise.
12258 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12260         * benchtests/scripts/validate_benchout.py: New script.
12261         * benchtests/Makefile (bench-func): Call it.
12262         * benchtests/scripts/benchout.schema.json: New file.
12264 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12266         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12267         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12268         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12269         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12270         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12271         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12272         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12273         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12274         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12275         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12276         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12277         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12278         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12279         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12280         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12281         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12283         Moved ...
12284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12285         ... here.
12286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12287         Moved ...
12288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12290         Moved ...
12291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12292         ... here.
12293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12294         Moved ...
12295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12296         ... here.
12297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12298         Moved ...
12299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12301         Moved ...
12302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12303         ... here.
12304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12305         Moved ...
12306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12307         ... here.
12308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12309         Moved ...
12310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12312         Moved ...
12313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12314         ... here.
12315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12316         Moved ...
12317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12318         ... here.
12319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12320         Moved ...
12321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12322         ... here.
12323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12324         Moved ...
12325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12327         Moved ...
12328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12329         ... here.
12330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12331         Moved ...
12332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12333         ... here.
12334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12335         Moved ...
12336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12337         ... here.
12338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12339         Moved ...
12340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12342         Moved ...
12343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12344         ... here.
12345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12346         Moved ...
12347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12348         ... here.
12349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12350         Moved ...
12351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12353         Moved ...
12354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12355         ... here.
12356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12357         Moved ...
12358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12360         Moved ...
12361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12363         Moved ...
12364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12365         ... here.
12366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12367         Moved ...
12368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12369         ... here.
12370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12371         Moved ...
12372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12373         ... here.
12374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12375         Moved ...
12376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12378         Moved ...
12379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12380         ... here.
12381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12382         Moved ...
12383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12384         ... here.
12385         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12386         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12387         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12388         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12390         Moved ...
12391         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12392         ... here.
12393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12394         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12396         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12397         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12398         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12400         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12401         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12404         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12406         Moved ...
12407         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12409         Moved ...
12410         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12411         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12412         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12413         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12414         Moved ...
12415         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12417         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12418         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12419         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12420         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12421         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12423 2014-06-10  Wilco  <wdijkstr@arm.com>
12425         * math/test-fenv-return.c: New file.
12426         * math/Makefile: Add new test test-fenv-return.
12428 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12430         [BZ #17042]
12431         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12432         when x - 1 is zero.
12433         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12434         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12435         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12436         0.0L for an argument of 1.0L.
12437         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12438         Likewise.
12439         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12440         value when x - 1 is zero.
12441         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12442         * sysdeps/i386/fpu/libm-test-ulps: Update.
12443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12445 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12447         [BZ #15119]
12448         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12450 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12452         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12453         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12455 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12457         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12458         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12460         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12461         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12463         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12464         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12466         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12467         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12469         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12470         if not already defined.
12471         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12472         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12473         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12474         (TLS_INIT_TP): Use it.
12475         (TLS_DEFINE_INIT_TP): New macro.
12476         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12478 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12480         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12481         constant.
12482         [POSIX] (IXANY): Likewise.
12483         [POSIX] (OLCUC): Likewise.
12484         [POSIX || POSIX2008] (CBAUD): Do not allow.
12485         [POSIX || POSIX2008] (DEFECHO): Likewise.
12486         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12487         [POSIX || POSIX2008] (ECHOKE): Likewise.
12488         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12489         [POSIX || POSIX2008] (EXTA): Likewise.
12490         [POSIX || POSIX2008] (EXTB): Likewise.
12491         [POSIX || POSIX2008] (FLUSHO): Likewise.
12492         [POSIX || POSIX2008] (LOBLK): Likewise.
12493         [POSIX || POSIX2008] (PENDIN): Likewise.
12494         [POSIX || POSIX2008] (SWTCH): Likewise.
12495         [POSIX || POSIX2008] (VDISCARD): Likewise.
12496         [POSIX || POSIX2008] (VDSUSP): Likewise.
12497         [POSIX || POSIX2008] (VLNEXT): Likewise.
12498         [POSIX || POSIX2008] (VREPRINT): Likewise.
12499         [POSIX || POSIX2008] (VSTATUS): Likewise.
12500         [POSIX || POSIX2008] (VWERASE): Likewise.
12501         (B*): Change to B[0123456789]*.
12502         * conform/data/time.h-data [POSIX || UNIX98]
12503         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12504         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12505         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12506         [POSIX] (tm_*): Do not allow.
12508 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12510         * Makefile (install): Don't set LANGUAGE.
12511         * Makefile.in (install): Likewise.
12512         * assert/Makefile (test-assert-ENV): Remove variable.
12513         (test-assert-perr-ENV): Likewise.
12514         * elf/Makefile (neededtest4-ENV): Likewise.
12515         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12516         [$(cross-compiling) = no]: Don't set LANGUAGE.
12517         * io/ftwtest-sh (LANG): Remove variable.
12518         * libio/Makefile (tst-widetext-ENV): Likewise.
12519         * manual/install.texi (Running make install): Don't refer to
12520         environment settings for make install.
12521         * INSTALL: Regenerated.
12522         * nptl/tst-tls6.sh: Don't set LANG.
12523         * posix/globtest.sh (LANG): Remove variable.
12524         * string/Makefile (tester-ENV): Likewise.
12525         (inl-tester-ENV): Likewise.
12526         (noinl-tester-ENV): Likewise.
12527         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12528         [$(cross-compiling) = no]: Don't set LANGUAGE.
12529         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12530         without explicit environment settings.
12532 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12534         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12535         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12536         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12537         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12539 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12541         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12542         other files in the crypt directory.
12543         * crypt/crypt.c: Remove duplicate includes.
12544         * crypt/crypt-entry.c: Likewise.
12545         * crypt/crypt_util.c: Likewise.
12547 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12549         * Makeconfig (run-program-env): New variable.
12550         (run-program-prefix-before-env): Likewise.
12551         (run-program-prefix-after-env): Likewise.
12552         (run-program-prefix): Define in terms of new variables.
12553         (built-program-cmd-before-env): New variable.
12554         (built-program-cmd-after-env): Likewise.
12555         (built-program-cmd): Define in terms of new variables.
12556         (test-program-prefix-before-env): New variable.
12557         (test-program-prefix-after-env): Likewise.
12558         (test-program-prefix): Define in terms of new variables.
12559         (test-program-cmd-before-env): New variable.
12560         (test-program-cmd-after-env): Likewise.
12561         (test-program-cmd): Define in terms of new variables.
12562         * Rules (make-test-out): Use $(run-program-env).
12563         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12564         (help): Do not mention environment variables.  Mention
12565         --timeoutfactor option.
12566         (timeoutfactor): New variable.
12567         (blacklist_exports): Remove function.
12568         (exports): Remove variable.
12569         (command): Do not include ${exports}.
12570         * manual/install.texi (Configuring and compiling): Do not mention
12571         test wrappers preserving environment variables.  Mention that last
12572         assignment to a variable must take precedence.
12573         * INSTALL: Regenerated.
12574         * benchtests/Makefile (run-bench): Use $(run-program-env).
12575         * catgets/Makefile ($(objpfx)test1.cat): Use
12576         $(built-program-cmd-before-env), $(run-program-env) and
12577         $(built-program-cmd-after-env).
12578         ($(objpfx)test2.cat): Do not specify environment variables
12579         explicitly.
12580         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12581         $(run-program-env) and $(built-program-cmd-after-env).
12582         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12583         $(run-program-env) and $(test-program-cmd-after-env).
12584         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12585         explicitly.
12586         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12587         run_program_env and test_program_cmd_after_env arguments.
12588         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12589         * elf/tst-pathopt.sh: Use run_program_env argument.
12590         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12591         $(test-wrapper-env) and $(run-program-env).
12592         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12593         run_program_env arguments.
12594         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12595         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12596         $(test-program-prefix-before-env), $(run-program-env) and
12597         $(test-program-prefix-after-env).
12598         ($(objpfx)tst-gettext2.out): Likewise.
12599         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12600         run_program_env and test_program_prefix_after_env arguments.
12601         * intl/tst-gettext2.sh: Likewise.
12602         * intl/tst-gettext4.sh: Do not set environment variables
12603         explicitly.
12604         * intl/tst-gettext6.sh: Likewise.
12605         * intl/tst-translit.sh: Likewise.
12606         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12607         $(test-program-prefix-before-env), $(run-program-env) and
12608         $(test-program-prefix-after-env).
12609         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12610         run_program_env and test_program_prefix_after_env arguments.
12611         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12612         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12613         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12614         explicitly with each use of ${test_wrapper_env}.
12615         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12616         $(test-program-prefix-before-env), $(run-program-env) and
12617         $(test-program-prefix-after-env).
12618         * posix/tst-getconf.sh: Do not set environment variables
12619         explicitly.
12620         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12621         run_program_env and test_program_prefix_after_env arguments.
12622         * stdio-common/tst-printf.sh: Do not set environment variables
12623         explicitly.
12624         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12625         $(test-program-prefix-before-env), $(run-program-env) and
12626         $(test-program-prefix-after-env).
12627         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12628         run_program_env and test_program_prefix_after_env arguments.
12629         Split $test calls into $test_pre and $test.
12630         * timezone/Makefile (build-testdata): Use
12631         $(built-program-cmd-before-env), $(run-program-env) and
12632         $(built-program-cmd-after-env).
12634 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12636         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12637         strlen for non SHARED builds.
12639 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12641         * nptl/allocatestack.c (check_list): Inlined function...
12642         (__reclaim_stacks): ... here.
12644 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12646         [BZ #15698]
12647         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12648         memory overrun.
12650 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12652         * Rules (make-test-out): Include
12653         LOCPATH=$(common-objpfx)localedata in default environment.
12654         * debug/Makefile (tst-chk1-ENV): Remove variable.
12655         (tst-chk2-ENV): Likewise.
12656         (tst-chk3-ENV): Likewise.
12657         (tst-chk4-ENV): Likewise.
12658         (tst-chk5-ENV): Likewise.
12659         (tst-chk6-ENV): Likewise.
12660         (tst-lfschk1-ENV): Likewise.
12661         (tst-lfschk2-ENV): Likewise.
12662         (tst-lfschk3-ENV): Likewise.
12663         (tst-lfschk4-ENV): Likewise.
12664         (tst-lfschk5-ENV): Likewise.
12665         (tst-lfschk6-ENV): Likewise.
12666         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12667         (tst-iconv7-ENV): Likewise.
12668         * intl/Makefile (LOCPATH-ENV): Likewise.
12669         (tst-codeset-ENV): Likewise.
12670         (tst-gettext3-ENV): Likewise.
12671         (tst-gettext5-ENV): Likewise.
12672         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12673         (tst-fopenloc-ENV): Likewise.
12674         (tst-fgetws-ENV): Remove variable.
12675         (tst-ungetwc1-ENV): Likewise.
12676         (tst-ungetwc2-ENV): Likewise.
12677         (bug-ungetwc2-ENV): Likewise.
12678         (tst-swscanf-ENV): Likewise.
12679         (bug-ftell-ENV): Likewise.
12680         (tst-fgetwc-ENV): Likewise.
12681         (tst-fseek-ENV): Likewise.
12682         (tst-ftell-partial-wide-ENV): Likewise.
12683         (tst-ftell-active-handler-ENV): Likewise.
12684         (tst-ftell-append-ENV): Likewise.
12685         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12686         (tst-regexloc-ENV): Likewise.
12687         (bug-regex1-ENV): Likewise.
12688         (tst-regex-ENV): Likewise.
12689         (tst-regex2-ENV): Likewise.
12690         (bug-regex5-ENV): Likewise.
12691         (bug-regex6-ENV): Likewise.
12692         (bug-regex17-ENV): Likewise.
12693         (bug-regex18-ENV): Likewise.
12694         (bug-regex19-ENV): Likewise.
12695         (bug-regex20-ENV): Likewise.
12696         (bug-regex22-ENV): Likewise.
12697         (bug-regex23-ENV): Likewise.
12698         (bug-regex25-ENV): Likewise.
12699         (bug-regex26-ENV): Likewise.
12700         (bug-regex30-ENV): Likewise.
12701         (bug-regex32-ENV): Likewise.
12702         (bug-regex33-ENV): Likewise.
12703         (bug-regex34-ENV): Likewise.
12704         (bug-regex35-ENV): Likewise.
12705         (tst-rxspencer-ENV): Likewise.
12706         (tst-rxspencer-no-utf8-ENV): Likewise.
12707         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12708         (tst-sscanf-ENV): Likewise.
12709         (tst-swprintf-ENV): Likewise.
12710         (tst-swscanf-ENV): Likewise.
12711         (test-vfprintf-ENV): Likewise.
12712         (scanf13-ENV): Likewise.
12713         (bug14-ENV): Likewise.
12714         (tst-grouping-ENV): Likewise.
12715         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12716         (tst-strtod3-ENV): Likewise.
12717         (tst-strtod4-ENV): Likewise.
12718         (tst-strtod5-ENV): Likewise.
12719         (testmb2-ENV): Likewise./
12720         * string/Makefile (tst-strxfrm-ENV): Likewise.
12721         (tst-strxfrm2-ENV): Likewise.
12722         (bug-strcoll1-ENV): Likewise.
12723         (test-strcasecmp-ENV): Likewise.
12724         (test-strncasecmp-ENV): Likewise.
12725         * time/Makefile (tst-strptime-ENV): Likewise.
12726         (tst-ftime_l-ENV): Likewise.
12727         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12728         (tst-mbrtowc-ENV): Likewise.
12729         (tst-wcrtomb-ENV): Likewise.
12730         (tst-mbrtowc2-ENV): Likewise.
12731         (tst-c16c32-1-ENV): Likewise.
12732         (tst-mbsnrtowcs-ENV): Likewise.
12734 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12736         * manual/resource.texi (How to get information about the memory
12737         subsystem?): Fix typo.
12738         Reported by Peon de la Parra Ivan <peon@keba.com>
12740 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12742         [BZ #16882]
12743         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12744         (pthread_spin_lock): Branch out of spin loop to proper location.
12745         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12746         (pthread_spin_lock): Likewise.
12748         * nptl/tst-spin4.c: New test.
12749         * nptl/Makefile (tests): Add tst-spin4.
12751 2014-06-03  Andreas Schwab  <schwab@suse.de>
12753         [BZ #15946]
12754         * resolv/res_send.c (send_dg): Reload file descriptor after
12755         calling reopen.
12757 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12759         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12761 2014-06-03  Richard Henderson  <rth@redhat.com>
12763         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12764         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12765         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12766         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12767         in the SAVE_PID block.
12768         (__libc_vfork): New alias.
12769         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12771         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12772         child in registers, not on the stack.  Remove RESET_PID conditionals.
12773         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12775 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12777         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12779 2014-06-03  Wilco  <wdijkstr@arm.com>
12781         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12782         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12783         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12784         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12785         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12786         Likewise.
12788 2014-06-03  Wilco  <wdijkstr@arm.com>
12790         * sysdeps/aarch64/fpu/math_private.h
12791         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12792         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12793         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12794         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12795         Fix declarations.
12797 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12799         * crypt/crypt-private.h: Include ufc-crypt.h.
12800         (__b64_from_24bit): Declare extern.
12801         * crypt/crypt_util.c(__b64_from_24bit): New function.
12802         (b64t): New static const variable.
12803         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12804         (b64t): Remove variable.
12805         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12806         * crypt/sha256-crypt.c: Include crypt-private.h.
12807         (b64t): Remove variable.
12808         (__sha256_crypt_r): Remove b64_from_24bit and replace
12809         with __b64_from_24bit.
12810         * crypt/sha512-crypt.c: Likewise.
12812 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12814         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12815         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12816         Label the code __libc_vfork rather than __vfork.
12817         [!NOT_IN_libc] (vfork): Define as weak alias.
12818         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12819         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12820         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12822 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12824         * malloc/malloc.c (malloc_info): Fix format specifier for
12825         n_mmaps.
12827 2014-06-02  Wilco  <wdijkstr@arm.com>
12829         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12830         FPCR write.
12832 2014-06-02  Wilco  <wdijkstr@arm.com>
12834         [BZ #17009]
12835         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12836         Rewrite to reduce FPCR/FPSR accesses.
12838 2014-06-01  David S. Miller  <davem@davemloft.net>
12840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12842 2014-05-31  David S. Miller  <davem@davemloft.net>
12844         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12845         to occur in round to nearest mode when |x| >= 2.0
12847 2014-05-30  Richard Henderson  <rth@twiddle.net>
12849         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12850         (PSEUDO_RET_NOERRNO): Remove.
12851         (ret): Don't redefine.
12852         (ret_NOERRNO): Define in terms of ret.
12853         (ret_ERRVAL): Likewise.
12855         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12856         use of PSEUDO_RET; perform the error check directly.
12858 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12860         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12861         with __int128_t.
12863 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12865         * malloc/malloc (malloc_info): Fix formatting.
12867 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12868             Roland McGrath  <roland@hack.frob.com>
12870         * malloc/malloc (malloc_info): Also print mmapped statistics.
12872 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12874         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12875         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12877 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12879         * malloc/malloc.c (malloc_info): Inline mi_arena.
12881 2014-05-29  Richard Henderson  <rth@twiddle.net>
12883         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12884         Remove comma before expanding ASM_ARGS_##nr.
12885         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12886         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12887         of ASM_ARGS_##nr.
12888         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12889         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12890         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12891         (ASM_ARGS_1): Add leading comma.
12893         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12894         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12895         to __errno_location.
12896         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12897         Remove the expected plt for __errno_location.
12899         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12900         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12901         call to __read_tp.
12903         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12904         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12905         it and break it down.
12906         (DOCARGS_0, DOCARGS_1): Do nothing.
12907         (DOCARGS_2): Update to store into the new stack frame.
12908         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12909         (UNDOCARGS_1): Update to restore from the new stack frame.
12910         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12911         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12913         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12914         (SINGLE_THREAD_P): New parameter for result regno.
12915         (PSEUDO): Update to match; use cbz instead of beq.
12917         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12918         Use ENTRY to define the _nocancel entry point.  Share the syscall
12919         and syscall error check paths with the cancel path.
12920         (PSEUDO_END): New.
12922         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12923         whitespace; tabs before and after asm mnemonics.
12925 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12927         [BZ #15132]
12928         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12929         Call fstat64 or stat64 internally, depending on arguments passed.
12930         Replace stat buffer argument with file descriptor argument.
12931         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12932         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12933         Pass fd to __internal_statvfs instead of calling fstat64.
12934         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12935         Pass fd to __internal_statvfs64 instead of calling fstat64.
12936         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12937         Pass -1 to __internal_statvfs instead of calling stat64.
12938         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12939         Pass -1 to __internal_statvfs64 instead of calling stat64.
12941 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12943         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12944         that was previously under [RESET_PID].
12945         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12947         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12948         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12950 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12952         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12954         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12955         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12957 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12959         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12961 2014-05-27  Andreas Schwab  <schwab@suse.de>
12963         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12964         TLS_INIT_TP macro.
12965         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12966         * elf/rtld.c (init_tls, dl_main): Likewise.
12967         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12968         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12969         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12970         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12971         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12972         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12973         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12974         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12975         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12976         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12977         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12978         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12979         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12980         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12981         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12982         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12983         * sysdeps/generic/tls.h: Update description.
12985 2014-05-27  Will Newton  <will.newton@linaro.org>
12987         [BZ #16990]
12988         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12989         and restore r2 rather than just restoring.
12991 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12993         [BZ #16724]
12994         * libio/tst-ftell-append.c: New test case.
12995         * libio/Makefile (tests): Add test case.
12996         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12997         append mode.
12998         * libio/wfileops.c (do_ftell_wide): Likewise.
13000 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13004         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13005         ...
13006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13008         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13009         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13010         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13011         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13012         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13013         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13015         Moved ...
13016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13018         Moved ...
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13020         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13021         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13022         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13023         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13024         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13025         ...
13026         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13027         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13028         Moved ...
13029         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13030         here.
13031         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13032         ...
13033         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13034         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13035         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13037         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13038         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13039         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13040         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13043         merge into ...
13044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13046         ...
13047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13049         ...
13050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13052         Moved ...
13053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13054         here.
13055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13056         Moved ...
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13059         Moved ...
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13063         conditional [RESET_PID].
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13066         removed.
13067         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13068         removed.
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13071         <tcb-offsets.h>.
13072         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13073         (__libc_vfork): New strong alias.
13074         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13075         removed.
13076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13077         Removed.
13079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13080         <tcb-offsets.h>.
13081         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13082         (__libc_vfork): New strong alias.
13083         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13084         removed.
13085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13086         removed.
13088 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13090         * malloc/malloc.c (mi_arena): New function.
13091         (malloc_info): Remove nested function mi_arena. Call non-nosted
13092         function mi_arena.
13094 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13096         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13097         by insrwi.
13098         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13099         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13100         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13101         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13102         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13103         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13104         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13106 2014-05-26  Andreas Schwab  <schwab@suse.de>
13108         [BZ #16984]
13109         * locale/programs/repertoire.c (repertoire_read): Add slash
13110         between I18NPATH element and file name.
13111         * locale/programs/locfile.c (locfile_read): Likewise.
13113 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13115         * nptl/pthread_mutexattr_settype.c
13116         (__pthread_mutexattr_settype):
13117         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13119 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13121         * nptl/tst-mutex5 (do_test):
13122         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13124 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13126         * benchtests/README: Document 'init' directive.
13127         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13128         BENCH_INIT.
13129         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13130         (parse_file): Recognize 'init' directive.
13132 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13134         [BZ #16796]
13135         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13136         alignment of struct pthread.
13138 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13140         [BZ #16878]
13141         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13142         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13143         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13144         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13146 2014-05-25  Richard Henderson  <rth@twiddle.net>
13148         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13149         (SINGLE_THREAD_P_PIC): Remove.
13150         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13151         (SINGLE_THREAD_P_PIC): Remove.
13153         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13154         branch to syscall error ...
13155         (PSEUDO): ... here.
13156         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13157         from __local_syscall_error to .Lsyscall_error.
13158         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13159         (SYSCALL_ERROR): Update label name.
13161         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13162         Do not use DOARGS/UNDOARGS.
13163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13164         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13165         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13166         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13167         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13169         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13170         block comment.
13172         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13173         define if !NOT_IN_libc.
13174         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13175         define with non-default symbol versions.
13177 2014-05-23  Richard Henderson  <rth@twiddle.net>
13179         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13180         (vfork, __vfork): Define via compat_symbol.
13182         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13183         [!HAVE_IFUNC] (vfork_compat): Remove.
13184         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13186 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13188         [BZ #16978]
13189         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13190         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13191         variable.
13193 2014-05-23  Richard Henderson  <rth@twiddle.net>
13195         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13196         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13197         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13198         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13200         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13201         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13202         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13203         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13204         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13205         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13206         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13207         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13208         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13209         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13210         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13211         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13212         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13213         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13214         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13215         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13216         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13217         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13218         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13219         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13220         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13221         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13222         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13223         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13224         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13225         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13226         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13227         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13228         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13229         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13230         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13231         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13232         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13233         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13234         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13235         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13236         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13237         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13238         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13239         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13240         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13241         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13242         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13243         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13244         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13245         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13246         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13247         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13248         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13249         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13250         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13251         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13253         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13255         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13257         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13258         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13259         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13260         before exiting on error.
13261         (__libc_vfork): New strong alias.
13262         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13263         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13265         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13266         that was previously under [RESET_PID].
13267         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13269         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13271 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13273         [BZ #16977]
13274         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13275         value when x - 1 is zero.
13276         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13277         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13278         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13279         0.0L for an argument of 1.0L.
13280         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13281         Likewise.
13282         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13283         value when x - 1 is zero.
13284         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13285         * sysdeps/i386/fpu/libm-test-ulps: Update.
13286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13288 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13290         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13291         alphasort and versionsort.
13293 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13295         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13296         macro.
13297         [copysignf]: Likewise.
13299 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13301         * crypt/md5-crypt.c: Fix formatting.
13303 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13305         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13306         (b64_from_24bit): New function.
13308 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13310         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13311         libc_hidden_builtin_def to ifunc.
13312         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13313         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13315 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13317         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13318         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13320 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13322         * nscd/Depend (linuxthreads): Remove.
13323         (nptl): Add.
13324         * resolv/Depend (linuxthreads): Remove.
13325         * rt/Depend (linuxthreads): Remove.
13327         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13328         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13329         $(common-objpfx)elf/.
13330         (link-libc-before-gnulib): Likewise.
13331         (elfobjdir): Remove variable.
13332         * Makefile (install): Use $(elf-objpfx) instead of
13333         $(common-objpfx)elf/.
13334         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13335         $(elfobjdir)/.
13336         (link-libc-deps): Likewise.
13337         ($(common-objpfx)libc.so): Likewise.
13338         ($(common-objpfx)linkobj/libc.so): Likewise.
13339         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13340         instead of $(common-objpfx)elf/.
13341         (symbolic-link-list): Likewise.
13342         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13343         [$(cross-compiling) = no]: Likewise.
13344         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13345         $(elfobjdir)/.
13346         (static-gnulib-arch): Likewise.
13347         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13348         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13349         $(common-objpfx)elf/.
13351 2014-05-21  Richard Henderson  <rth@redhat.com>
13353         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13354         (SINGLE_THREAD_P): Use the correct width load.  Fold
13355         into the ldr offset.
13357         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13358         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13360 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13362         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13363         (libgcc_s_resume): Use __attribute_used__.
13364         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13365         Likewise.
13367 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13369         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13370         optimization when used with float constants.
13372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13374 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13376         [BZ #16915]
13377         * locale/nl_langinfo_l.c: Make direct reference to every
13378         _nl_current_CATEGORY symbol.
13379         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13380         (tests-static): Add tst-langinfo-static.
13381         (tests-special): Add tst-langinfo-static.out.
13382         ($(objpfx)tst-langinfo.out): Redirect output.
13383         ($(objpfx)tst-langinfo-static.out): New.
13384         * localedata/tst-langinfo.sh: Send output to stdout.
13385         * localedata/tst-langinfo-static.c: New file.
13387         [BZ #16965]
13388         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13389         when the shift amount is modulo the limb size.
13391 2014-05-20  Richard Henderson  <rth@redhat.com>
13393         [BZ #16967]
13394         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13395         Change type of sa_flags from unsigned int to int.
13397         [BZ #16966]
13398         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13400         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13402 2014-05-20  Will Newton  <will.newton@linaro.org>
13404         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13405         Test the return value of the system call in the nocancel case.
13407 2014-05-20  Will Newton  <will.newton@linaro.org>
13408             Yvan Roux  <yvan.roux@linaro.org>
13410         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13411         #include of asm/ptrace.h.
13412         (PTRACE_GET_THREAD_AREA): Remove #undef.
13413         (PTRACE_GETHBPREGS): Likewise.
13414         (PTRACE_SETHBPREGS): Likewise.
13415         (struct user_regs_struct): New structure.
13416         (struct user_fpsimd_struct): New structure.
13417         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13418         #include of asm/ptrace.h and second #include of sys/user.h.
13419         (PTRACE_GET_THREAD_AREA): Remove #undef.
13420         (PTRACE_GETHBPREGS): Likewise.
13421         (PTRACE_SETHBPREGS): Likewise.
13422         (ELF_NGREG): Use new struct user_regs_struct.
13423         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13425 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13427         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13428         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13430 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13432         [BZ #16958]
13433         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13434         membar to avoid block loads/stores to overlap previous stores.
13436 2014-05-17  Richard Henderson  <rth@redhat.com>
13438         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13439         Create the __##syscall_name##_nocancel entry point.
13440         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13441         Remove; let the sysdep-cancel.h code create it.
13443 2014-05-17  David S. Miller  <davem@davemloft.net>
13445         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13446         Protect with __USE_GNU.
13447         (TIOCSET_TEMPT): Likewise.
13448         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13449         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13450         these are already provided in bits/ioctl-types.h
13452 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13454         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13455         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13457         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13458         Use wait4 regardless of [__NR_waitpid].
13460 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13462         PR libgcc/60166
13463         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13464         (_FP_NANSIGN_Q): Set the quiet bit.
13466 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13468         * benchtests/Makefile
13469         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13470         not $(common-objpfx)math/libm.so.
13471         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13472         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13473         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13474         $(common-objpfx)dlfcn/libdl.so.
13475         ($(objpfx)tst-audit8): Depend on $(libm), not
13476         $(common-objpfx)math/libm.so.
13477         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13478         not $(common-objpfx)dlfcn/libdl.so.
13479         * math/Makefile
13480         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13481         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13482         [$(build-shared) = yes].
13483         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13484         $(common-objpfx)nptl/libpthread.so.
13485         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13486         $(common-objpfx)math/libm.so$(libm.so-version) or
13487         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13488         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13489         $(common-objpfx)dlfcn/libdl.so.
13490         * setjmp/Makefile (link-libm): Remove variable.
13491         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13492         * stdio-common/Makefile (link-libm): Remove variable.
13493         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13494         * stdlib/Makefile (link-libm): Remove variable.
13495         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13496         ($(objpfx)tst-strtod-round): Likewise.
13497         ($(objpfx)tst-tininess): Likewise.
13498         ($(objpfx)tst-strtod-underflow): Likewise.
13499         ($(objpfx)tst-strtod6): Likewise.
13500         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13501         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13502         $(common-objpfx)dlfcn/libdl.so.
13504 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13506         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13507         BSD terminal modes definitions.
13509 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13511         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13512         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13514         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13515         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13516         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13517         Don't do #include_next.
13518         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13519         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13520         Don't do #include_next.
13521         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13522         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13523         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13524         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13526 2014-05-16  Allan McRae  <allan@archlinux.org>
13528         * po/sv.po: Update Swedish translation from translation project.
13530         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13531         in sed expression.
13533 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13535         [BZ #16917]
13536         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13537         errno if the TIOCGPTN ioctl fails with an error different than
13538         EINVAL.
13539         * login/tst-ptsname.c: New file.
13540         * login/Makefile (tests): Add tst-ptsname.
13542         [BZ #16943]
13543         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13544         and prlimit64.
13546 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13548         [BZ #16849]
13549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13550         herrno to return EAI_AGAIN.
13552 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13554         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13555         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13556         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13557         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13558         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13559         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13560         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13561         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13562         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13563         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13564         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13565         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13566         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13567         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13568         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13569         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13571         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13572         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13573         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13574         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13575         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13576         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13577         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13578         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13579         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13580         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13581         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13582         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13583         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13585         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13587         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13589         Moved ...
13590         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13592         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13594         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13596         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13598         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13600         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13602         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13604         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13606         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13608         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13610         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13612         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13614         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13616         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13618         Moved ...
13619         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13621         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13623         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13625         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13627         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13629         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13631         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13633         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13635         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13637         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13639         Moved ...
13640         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13642         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13644         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13645         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13646         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13647         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13648         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13649         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13650         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13651         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13652         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13653         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13654         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13655         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13656         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13657         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13658         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13659         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13660         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13661         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13662         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13663         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13664         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13665         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13666         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13667         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13668         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13669         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13670         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13671         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13672         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13673         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13674         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13676         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13677         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13679         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13680         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13681         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13682         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13683         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13684         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13685         Moved ...
13686         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13687         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13688         Moved ...
13689         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13691         Moved ...
13692         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13694         Moved ...
13695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13696         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13697         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13698         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13699         Moved ...
13700         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13701         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13702         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13703         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13704         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13705         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13706         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13707         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13708         Moved ...
13709         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13710         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13711         Moved ...
13712         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13713         ... here.
13714         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13715         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13716         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13717         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13718         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13719         Moved ...
13720         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13721         ... here.
13722         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13723         Moved ...
13724         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13725         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13726         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13727         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13728         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13730         Moved ...
13731         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13732         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13733         Moved ...
13734         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13736         Moved ...
13737         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13739         Moved ...
13740         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13741         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13742         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13743         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13744         Moved ...
13745         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13746         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13747         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13748         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13749         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13750         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13751         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13752         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13753         Moved ...
13754         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13755         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13756         Moved ...
13757         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13758         ... here.
13759         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13760         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13761         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13762         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13763         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13764         Moved ...
13765         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13766         ... here.
13767         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13768         Moved ...
13769         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13770         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13771         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13772         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13773         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13774         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13775         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13776         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13777         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13779         Moved ...
13780         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13782         Moved ...
13783         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13784         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13785         Moved ...
13786         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13787         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13788         Moved ...
13789         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13790         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13791         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13792         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13793         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13794         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13795         Moved ...
13796         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13797         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13798         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13799         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13800         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13801         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13802         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13803         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13804         Moved ...
13805         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13806         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13807         Moved ...
13808         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13809         ... here.
13810         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13811         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13812         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13813         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13814         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13815         Moved ...
13816         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13817         ... here.
13818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13819         Moved ...
13820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13821         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13822         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13823         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13824         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13825         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13826         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13827         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13828         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13829         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13830         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13832         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13833         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13835         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13836         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13838         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13839         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13840         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13841         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13842         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13843         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13844         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13845         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13846         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13847         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13848         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13849         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13850         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13851         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13852         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13853         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13854         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13856         Moved ...
13857         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13859         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13861         Moved ...
13862         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13864         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13865         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13866         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13867         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13868         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13870         Moved ...
13871         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13873         Moved ...
13874         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13875         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13876         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13877         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13878         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13880         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13881         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13882         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13883         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13884         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13885         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13886         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13887         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13888         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13889         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13890         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13892         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13893         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13894         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13895         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13896         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13898         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13899         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13900         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13901         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13902         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13903         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13904         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13905         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13906         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13907         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13912         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13913         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13914         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13915         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13916         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13917         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13918         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13919         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13920         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13921         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13922         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13923         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13924         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13925         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13927         Update #include.
13928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13929         Likewise.
13930         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13931         Likewise.
13932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13933         Likewise.
13934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13935         Likewise.
13936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13937         Likewise.
13938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13939         Likewise.
13940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13941         Likewise.
13942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13943         Likewise.
13944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13945         Likewise.
13946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13947         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13949         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13951         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13956         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13957         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13958         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13959         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13960         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13962         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13963         that was previously under [RESET_PID].
13964         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13965         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13966         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13968         * sysdeps/i386/nptl/Implies: New file.
13969         * sysdeps/x86_64/nptl/Implies: New file.
13970         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13971         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13972         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13973         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13975         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13976         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13977         (__libc_vfork): New strong alias.
13978         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13979         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13981         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13982         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13983         (__libc_vfork): New strong alias.
13984         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13985         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13987         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13988         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13989         (__libc_vfork): New strong alias.
13990         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13991         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13992         * nptl/pt-vfork.c: New file.
13993         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13994         (libpthread: GLIBC_2.20): New version set (empty).
13996 2014-05-14  Will Newton  <will.newton@linaro.org>
13998         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13999         rather than #if.
14001 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14003         [BZ #16564]
14004         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14005         arguments with exponent 65 or above.
14006         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14007         arguments 0x1p113L or above.
14008         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14009         to arguments 0x1p107L or above.
14010         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14011         positive arguments with exponent 65 or above.
14012         * math/auto-libm-test-in: Add more tests of log1p.
14013         * math/auto-libm-test-out: Regenerated.
14015         [BZ #16928]
14016         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14017         non-finite arguments is +0.
14018         * math/s_cacosf.c (__cacosf): Likewise.
14019         * math/s_cacosl.c (__cacosl): Likewise.
14020         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14021         * sysdeps/i386/fpu/libm-test-ulps: Update.
14022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024         [BZ #16927]
14025         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14026         value.
14027         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14028         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14029         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14030         for explicit high bit of mantissa when testing for argument equal
14031         to 1.
14032         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14033         * sysdeps/i386/fpu/libm-test-ulps: Update.
14034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14036         [BZ #16516]
14037         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14038         (__erf): Scale by 16 instead of 8 in potentially underflowing
14039         case.  Ensure exception if result actually underflows.
14040         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14041         (__erff): Scale by 16 instead of 8 in potentially underflowing
14042         case.  Ensure exception if result actually underflows.
14043         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14044         (efx8): Remove variable.
14045         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14046         case.  Ensure exception if result actually underflows.
14047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14048         (efx8): Remove variable.
14049         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14050         case.  Ensure exception if result actually underflows.
14051         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14052         (efx8): Remove variable.
14053         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14054         case.  Ensure exception if result actually underflows.
14055         * math/auto-libm-test-in: Add more tests of erf.
14056         * math/auto-libm-test-out: Regenerated.
14058 2014-05-14  Andreas Schwab  <schwab@suse.de>
14060         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14061         Remove code conditionalized on USE___THREAD.
14063         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14064         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14065         not definedness.
14067 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14069         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14070         Define unconditionally.
14071         (__ASSUME_O_CLOEXEC): Likewise.
14072         (__ASSUME_SOCK_CLOEXEC): Likewise.
14073         (__ASSUME_IN_NONBLOCK): Likewise.
14074         (__ASSUME_PIPE2): Likewise.
14075         (__ASSUME_EVENTFD2): Likewise.
14076         (__ASSUME_SIGNALFD4): Likewise.
14077         (__ASSUME_DUP3): Likewise.
14078         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14079         (__ASSUME_DUP3): Do not define.
14080         (__ASSUME_EVENTFD2): Likewise.
14081         (__ASSUME_IN_NONBLOCK): Likewise.
14082         (__ASSUME_O_CLOEXEC): Likewise.
14083         (__ASSUME_PIPE2): Likewise.
14084         (__ASSUME_SIGNALFD4): Likewise.
14085         (__ASSUME_SOCK_CLOEXEC): Likewise.
14086         (__ASSUME_UTIMES): Undefine.
14087         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14088         (__ASSUME_UTIMES): Do not define.
14089         (__ASSUME_O_CLOEXEC): Likewise.
14090         (__ASSUME_SOCK_CLOEXEC): Likewise.
14091         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14092         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14093         0x020621].
14094         (__ASSUME_PIPE2): Likewise.
14095         (__ASSUME_EVENTFD2): Likewise.
14096         (__ASSUME_SIGNALFD4): Likewise.
14097         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14098         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14099         Do not define.
14100         (__ASSUME_EVENTFD2): Likewise.
14101         (__ASSUME_SIGNALFD4): Likewise.
14102         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14103         (__ASSUME_32BITUIDS): Likewise.
14104         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14105         (__ASSUME_IPC64): Likewise.
14106         (__ASSUME_ST_INO_64_BIT): Likewise.
14107         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14108         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14109         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14110         (__ASSUME_UTIMES): Do not define.
14111         (__ASSUME_PSELECT): Likewise.
14112         (__ASSUME_PPOLL): Likewise.
14113         (__ASSUME_O_CLOEXEC): Likewise.
14114         (__ASSUME_SOCK_CLOEXEC): Likewise.
14115         (__ASSUME_IN_NONBLOCK): Likewise.
14116         (__ASSUME_PIPE2): Likewise.
14117         (__ASSUME_EVENTFD2): Likewise.
14118         (__ASSUME_SIGNALFD4): Likewise.
14119         (__ASSUME_DUP3): Likewise.
14120         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14121         (__ASSUME_UTIMES): Likewise.
14122         (__ASSUME_O_CLOEXEC): Likewise.
14123         (__ASSUME_SOCK_CLOEXEC): Likewise.
14124         (__ASSUME_IN_NONBLOCK): Likewise.
14125         (__ASSUME_PIPE2): Likewise.
14126         (__ASSUME_EVENTFD2): Likewise.
14127         (__ASSUME_SIGNALFD4): Likewise.
14128         (__ASSUME_DUP3): Likewise.
14129         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14130         (__ASSUME_UTIMES): Likewise.
14131         (__ASSUME_O_CLOEXEC): Likewise.
14132         (__ASSUME_SOCK_CLOEXEC): Likewise.
14133         (__ASSUME_IN_NONBLOCK): Likewise.
14134         (__ASSUME_PIPE2): Likewise.
14135         (__ASSUME_EVENTFD2): Likewise.
14136         (__ASSUME_SIGNALFD4): Likewise.
14137         (__ASSUME_DUP3): Likewise.
14138         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14139         Likewise.
14140         (__ASSUME_UTIMES): Likewise.
14141         (__ASSUME_EVENTFD2): Likewise.
14142         (__ASSUME_SIGNALFD4): Likewise.
14143         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14144         (__ASSUME_O_CLOEXEC): Likewise.
14145         (__ASSUME_SOCK_CLOEXEC): Likewise.
14146         (__ASSUME_IN_NONBLOCK): Likewise.
14147         (__ASSUME_PIPE2): Likewise.
14148         (__ASSUME_EVENTFD2): Likewise.
14149         (__ASSUME_SIGNALFD4): Likewise.
14150         (__ASSUME_DUP3): Likewise.
14151         (__ASSUME_UTIMES): Undefine.
14153         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14154         feclearexcept.  Remove symbol versioning code.
14155         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14156         symbol versioning code.
14157         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14158         symbol versioning code.
14159         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14160         feupdateenv.  Remove symbol versioning code.
14161         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14162         fegetexceptflag.  Remove symbol versioning code.
14163         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14164         fesetexceptflag.  Remove symbol versioning code.
14165         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14166         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14167         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14168         (__posix_fadvise64_l32): Remove prototype.
14169         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14170         code.
14172 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14174         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14175         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14176         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14177         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14179 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14181         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14182         current working directory
14184 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14186         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14187         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14188         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14189         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14190         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14191         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14192         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14193         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14194         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14195         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14196         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14197         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14198         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14199         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14200         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14201         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14207         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14208         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14211         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14212         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14213         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14214         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14215         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14216         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14217         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14218         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14219         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14220         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14221         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14222         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14223         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14224         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14225         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14226         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14227         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14229         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14230         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14232         * sysdeps/unix/sysv/linux/arm/Makefile
14233         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14234         Add rt-aeabi_unwind_cpp_pr1.
14235         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14236         Add nptl-aeabi_unwind_cpp_pr1.
14237         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14238         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14239         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14240         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14241         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14242         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14244         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14245         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14246         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14247         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14249         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14250         Deconditionalize the code that was previously under [RESET_PID].
14251         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14253         * sysdeps/generic/exit-thread.h: New file.
14254         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14255         * include/unistd.h (__exit_thread): Remove declaration.
14256         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14257         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14258         * csu/libc-start.c: Include <exit-thread.h>.
14259         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14260         * nptl/pthread_create.c: Include <exit-thread.h>.
14261         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14262         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14263         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14264         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14265         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14266         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14267         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14268         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14269         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14270         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14271         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14272         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14273         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14274         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14275         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14276         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14277         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14279 2014-05-13  Andreas Schwab  <schwab@suse.de>
14281         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14283 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14285         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14286         (__ASSUME_UTIMES): Do not condition on kernel version.
14287         (__ASSUME_PSELECT): Define unconditionally.
14288         (__ASSUME_PPOLL): Likewise.
14289         (__ASSUME_ATFCTS): Likewise.
14290         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14291         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14292         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14293         (__ASSUME_UTIMENSAT): Define unconditionally.
14294         (__ASSUME_PRIVATE_FUTEX): Likewise.
14295         (__ASSUME_FALLOCATE): Likewise.
14296         (__ASSUME_O_CLOEXEC): Likewise.
14297         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14298         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14299         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14300         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14301         (__ASSUME_IN_NONBLOCK): Likewise.
14302         (__ASSUME_PIPE2): Likewise.
14303         (__ASSUME_EVENTFD2): Likewise.
14304         (__ASSUME_SIGNALFD4): Likewise.
14305         (__ASSUME_DUP3): Likewise.
14306         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14307         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14308         (__ASSUME_AT_RANDOM): Likewise.
14309         (__ASSUME_PREADV): Likewise.
14310         (__ASSUME_PWRITEV): Likewise.
14311         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14312         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14313         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14314         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14315         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14316         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14317         (__ASSUME_O_CLOEXEC): Define unconditionally.
14318         (__ASSUME_PSELECT): Do not undefine conditionally.
14319         (__ASSUME_PPOLL): Likewise.
14320         (__ASSUME_ATFCTS): Likewise.
14321         (__ASSUME_SET_ROBUST_LIST): Likewise.
14322         (__ASSUME_UTIMENSAT): Likewise.
14323         (__ASSUME_FDATASYNC): Define unconditionally.
14324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14325         (__ASSUME_SIGFRAME_V2): Likewise.
14326         )__ASSUME_EVENTFD2): Likewise.
14327         (__ASSUME_SIGNALFD4): Likewise.
14328         (__ASSUME_PSELECT): Do not undefine conditionally.
14329         (__ASSUME_PPOLL): Likewise.
14330         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14331         (__ASSUME_PSELECT): Define unconditionally.
14332         (__ASSUME_PPOLL): Likewise.
14333         (__ASSUME_O_CLOEXEC): Likewise.
14334         (__ASSUME_SOCK_CLOEXEC): Likewise.
14335         (__ASSUME_IN_NONBLOCK): Likewise.
14336         (__ASSUME_PIPE2): Likewise.
14337         (__ASSUME_EVENTFD2): Likewise.
14338         (__ASSUME_SIGNALFD4): Likewise.
14339         (__ASSUME_DUP3): Likewise.
14340         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14341         (__ASSUME_O_CLOEXEC): Likewise.
14342         (__ASSUME_SOCK_CLOEXEC): Likewise.
14343         (__ASSUME_IN_NONBLOCK): Likewise.
14344         (__ASSUME_PIPE2): Likewise.
14345         (__ASSUME_EVENTFD2): Likewise.
14346         (__ASSUME_SIGNALFD4): Likewise.
14347         (__ASSUME_DUP3): Likewise.
14348         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14349         (__ASSUME_EVENTFD2): Likewise.
14350         (__ASSUME_SIGNALFD4): Likewise.
14351         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14353 2014-05-12  Andreas Schwab  <schwab@suse.de>
14355         [BZ #16932]
14356         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14357         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14358         than maximum RPC packet size.
14359         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14360         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14361         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14362         (_nss_nis_getservbyport_r): Likewise.
14364 2014-05-12  Will Newton  <will.newton@linaro.org>
14366         * malloc/Makefile (tests): Add tst-mallopt.
14367         * malloc/tst-mallopt.c: New file.
14369 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14371         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14372         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14374 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14376         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14377         (tst-tlsmod6.so): Likewise.
14379 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14381         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14383 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14385         [BZ #16064]
14386         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14387         and <dl-procinfo.h>.
14388         (__fegetenv): Save SSE state in envp->__eip if supported.
14389         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14390         envp->__eip if supported.
14391         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14392         and <dl-procinfo.h>.
14393         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14394         __data_offset and __data_selector in environment to 0.  Set SSE
14395         state if supported.
14396         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14397         test-fenv-sse.
14398         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14399         -mfpmath=sse.
14400         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14402 2014-05-09  Will Newton  <will.newton@linaro.org>
14404         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14405         and libc_relro_required for ARM.
14406         * sysdeps/arm/preconfigure: Regenerate.
14408 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14409             Stefan Liebler  <stli@linux.vnet.ibm.com>
14411         * config.make.in (enable-lock-elision): New Makefile variable.
14412         * configure.ac: Likewise.
14413         * configure: Regenerate.
14414         * sysdeps/s390/configure.ac:
14415         Add check for gcc transactions support.
14416         * sysdeps/s390/configure: Regenerate.
14417         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14418         Build elision files if enabled.
14419         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14420         Add lock elision support for s390.
14421         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14422         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14423         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14424         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14425         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14426         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14427         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14428         Likewise.
14429         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14430         Likewise.
14431         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14432         Likewise.
14433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14434         Likewise.
14435         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14436         (__lll_timedlock_elision, __lll_lock_elision)
14437         (__lll_unlock_elision, __lll_trylock_elision)
14438         (lll_timedlock_elision, lll_lock_elision)
14439         (lll_unlock_elision, lll_trylock_elision): Add.
14440         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14441         (pthread_mutex_t): Add lock elision support for s390.
14443 2014-05-14  Wilco  <wdijkstr@arm.com>
14445         * sysdeps/arm/fclrexcpt.c: Cleanup.
14446         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14447         * sysdeps/arm/feenablxcpt.c: Cleanup.
14448         * sysdeps/arm/fegetenv.c: Cleanup.
14449         * sysdeps/arm/fegetexcept.c: Cleanup.
14450         * sysdeps/arm/fegetround.c: Cleanup.
14451         * sysdeps/arm/feholdexcpt.c: Cleanup.
14452         * sysdeps/arm/fesetenv.c: Cleanup.
14453         * sysdeps/arm/fesetround.c: Cleanup.
14454         * sysdeps/arm/feupdateenv.c: Cleanup.
14455         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14456         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14457         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14458         * sysdeps/arm/ftestexcept.c: Cleanup.
14459         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14460         * sysdeps/arm/setfpucw.c: Cleanup.
14462 2014-05-09  Will Newton  <will.newton@linaro.org>
14464         * sysdeps/arm/armv7/strcmp.S: New file.
14465         * NEWS: Mention addition of ARMv7 optimized strcmp.
14467 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14469         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14470         look for %.ac rather than %.in.
14472         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14473         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14474         * sysdeps/mach/hurd/configure: Regenerated.
14475         * sysdeps/unix/sysv/linux/configure: Regenerated.
14477         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14479 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14481         [BZ# 16922]
14482         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14483         (LONG_SUB): Ditto.
14484         (PTR_SUB): Ditto.
14486 2014-05-07  Andreas Schwab  <schwab@suse.de>
14488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14489         when skipping over non-matching result from nscd.
14491 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14493         [BZ #16876]
14494         * nptl/sockperf.c (client): Check socket return value.
14496         [BZ #16877]
14497         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14498         nscd security class.
14500 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14502         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14503         * sysdeps/arm/unwind.h: ... here.
14505 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14507         [BZ# 16916]
14508         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14509         Define.
14511 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14513         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14514         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14515         multiarch strncpy for PPC64.
14516         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14517         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14519         multiarch optimizations.
14520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14521         (__libc_ifunc_impl_list): Likewise.
14522         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14523         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14524         multiarch stpncpy for PPC64.
14525         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14526         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14528 2014-05-06  Andreas Schwab  <schwab@suse.de>
14530         [BZ #16912]
14531         * gmon/mcount.c (_MCOUNT_DECL): Use
14532         atomic_compare_and_exchange_bool_acq instead of
14533         catomic_compare_and_exchange_bool_acq.
14535 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14537         * elf/Makefile (others, install-bin): Remove pldd.
14538         (pldd-modules): Variable removed.
14539         ($(objpfx)pldd): Target removed.
14540         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14541         (others, install-bin): Append pldd here.
14542         ($(objpfx)pldd): New target.
14544         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14545         to 0, so the first #if test emitted later doesn't see it undefined.
14546         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14547         * sysdeps/gnu/errlist.c: Regenerated.
14549 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14551         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14552         [libc_hidden_builtin_def]: Define to empty value.
14553         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14554         [libc_hidden_builtin_def]: Likewise.
14555         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14556         [libc_hidden_builtin_def]: Likewise.
14557         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14558         [libc_hidden_builtin_def]: Likewise.
14559         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14560         __redirect_memcpy and define ifunc as default hidden symbol.
14561         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14562         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14564 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14566         * locale/iso-4217.def: Reintroduce XDR currency.
14568 2014-05-04  Allan McRae  <allan@archlinux.org>
14570         * po/eo.po: Update Esperanto translation from translation project.
14572 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14574         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14575         and FEATURE_INDEX_MAX to 1.
14576         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14578 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14580         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14581         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14582         * iconvdata/big5.c (ONE_DIRECTION): Define.
14583         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14584         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14585         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14586         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14587         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14588         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14589         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14590         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14591         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14592         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14593         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14594         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14595         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14596         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14597         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14598         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14599         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14600         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14601         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14602         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14603         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14604         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14605         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14606         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14607         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14608         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14609         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14610         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14611         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14612         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14613         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14614         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14615         * iconvdata/johab.c (ONE_DIRECTION): Define.
14616         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14617         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14618         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14619         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14620         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14621         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14622         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14623         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14624         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14625         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14627 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14629         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14630         (_IO_JUMPS_OFFSET): Define to 0.
14632         * nptl/sysdeps/pthread/bits/libc-lock.h
14633         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14634         (__libc_lock_define_initialized_recursive): Always define using
14635         initializer.  Modern compilers treat uninitialized (implicit zero) and
14636         explicit zero initializers the same (i.e. put the datum in bss).
14638 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14640         * nscd/nscd-client.h: Include <string.h>.
14642 2014-05-01  David S. Miller  <davem@davemloft.net>
14644         [BZ #16885]
14645         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14646         multiple zero bytes exist at the end of a string.
14647         Reported by Aurelien Jarno <aurelien@aurel32.net>
14649         * string/test-strcmp.c (check): Add explicit test for situations where
14650         there are multiple zero bytes after the first.
14652 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14654         [BZ #16890]
14655         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14656         when compiling wprintf.
14657         * stdio-common/tstdiomisc.c (t3): New function.
14658         (main): Call it.
14660 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14662         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14663         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14664         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14665         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14667 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14669         * stdlib/longlong.h: Updated from GCC.
14671 2014-05-01  Will Newton  <will.newton@linaro.org>
14672             Bernard Ogden  <bernie.ogden@linaro.org>
14674         * NEWS: Update fixed bug list.
14676         [BZ #15119]
14677         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14679 2014-04-30  David S. Miller  <davem@davemloft.net>
14681         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14682         (libc_feholdexcept_setround_sparc_ctx): New function.
14683         (libc_fesetenv_sparc_ctx): Likewise.
14684         (libc_feupdateenv_sparc_ctx): Likewise.
14685         (libc_feholdsetround_sparc_ctx): Likewise.
14686         (libc_feholdexcept_setround_ctx): Define.
14687         (libc_feholdexcept_setroundf_ctx): Likewise.
14688         (libc_feholdexcept_setroundl_ctx): Likewise.
14689         (libc_fesetenv_ctx): Likewise.
14690         (libc_fesetenvf_ctx): Likewise.
14691         (libc_fesetenvl_ctx): Likewise.
14692         (libc_feupdateenv_ctx): Likewise.
14693         (libc_feupdateenvf_ctx): Likewise.
14694         (libc_feupdateenvl_ctx): Likewise.
14695         (libc_feresetround_ctx): Likewise.
14696         (libc_feresetroundf_ctx): Likewise.
14697         (libc_feresetroundl_ctx): Likewise.
14698         (libc_feholdsetround_ctx): Likewise.
14699         (libc_feholdsetroundf_ctx): Likewise.
14700         (libc_feholdsetroundl_ctx): Likewise.
14702         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14703         with __USE_GNU instead of XOPEN cpp guards.
14705         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14706         0.
14708         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14709         with XOPEN cpp guards.
14711 2014-04-30  Julian Brown  <julian@codesourcery.com>
14713         [BZ #16888]
14714         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14715         handling.
14717 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14719         [BZ #9894]
14720         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14721         Change to 2.6.32.
14722         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14723         * sysdeps/unix/sysv/linux/configure: Regenerated.
14724         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14725         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14726         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14727         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14728         * README: Update reference to required Linux kernel version.
14729         * manual/install.texi (Linux): Update reference to required Linux
14730         kernel headers version.
14731         * INSTALL: Regenerated.
14733         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14734         header inclusion.
14735         [POSIX] (limits.h): Likewise.
14736         [POSIX] (math.h): Likewise.
14737         [POSIX] (sys/wait.h): Likewise.
14738         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14739         function.
14740         [POSIX] (stddef.h): Do not allow header inclusion.
14742 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14744         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14746 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14748         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14749         Return immediately after lll_futex_wake.
14751 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14753         [BZ #16791]
14754         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14755         structure.
14756         (datahead_init_pos): Call datahead_init_common early.
14757         (datahead_init_neg): Likewise.
14759         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14760         datahead_init_neg): New functions.
14761         * nscd/aicache.c (addhstaiX): Use them.
14762         * nscd/grpcache.c (cache_addgr): Likewise.
14763         * nscd/hstcache.c (cache_addhst): Likewise.
14764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14765         * nscd/netgroupcache.c (do_notfound): Likewise.
14766         (addgetnetgrentX): Likewise.
14767         (addinnetgrX): Likewise.
14768         * nscd/pwdcache.c (cache_addpw): Likewise.
14769         * nscd/servicescache.c (cache_addserv): Likewise.
14771 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14772             Atsushi Onoe  <atsushi@onoe.org>
14774         [BZ #14308]
14775         [BZ #12994]
14776         [BZ #13651]
14777         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14778         one response is valid.
14779         * resolv/res_send.c (send_dg): Check for validity of other
14780         response if the current response is a referral.
14782 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14784         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14786 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14788         [BZ #16823]
14789         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14790         Always divide by positive zero when computing -Inf result.
14791         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14792         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14794 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14796         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14797         FPSCR if value do not change.
14798         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14799         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14800         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14801         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14802         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14803         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14804         function.
14806 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14808         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14809         * sysdeps/unix/sysv/linux/hppa: Move directory from
14810         ports/systeps/unix/sysv/linux/hppa.
14811         * README: Update listing for hppa-*-linux-gnu.
14813 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14815         [BZ #16754]
14816         * manual/stdio.texi (Hook functions): Fix types of stream hook
14817         functions.
14818         [BZ #16854]
14819         * socket/sys/socket.h: Fix typo in comment.
14821 2014-04-28  Wilco  <wdijkstr@arm.com>
14823         * sysdeps/arm/fenv_private.h: New file.
14824         * sysdeps/arm/math_private.h: New file.
14825         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14827 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14829         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14830         with __int128_t.
14831         (La_x86_64_retval): Likewise.
14833 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14835         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14836         fpsr if value didn't change.
14837         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14838         to fpcr if value didn't change.
14839         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14840         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14841         fpsr or fpcr if value didn't change.
14842         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14843         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14844         fpcr if value didn't change.
14845         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14846         to fpsr if value didn't change.
14848 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14850         * nptl/tst-sem3.c: Use test-skeleton.c
14851         (main): Rename to do_test.  Use return instead of
14852         exit.
14853         * nptl/tst-sem4.c: Use test-skeleton.c
14854         (main): Rename to do_test.
14856 2014-04-22  David S. Miller  <davem@davemloft.net>
14858         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14859         (struct sigaction): New struct member __glibc_reserved0, change
14860         type of sa_flags to int.
14862 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14864         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14865         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14867 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14869         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14870         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14872 2014-04-22  Will Newton  <will.newton@linaro.org>
14873             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14875         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14876         (__longjmp): Add longjmp and longjmp_target SystemTap
14877         probes.
14878         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14879         (__sigsetjmp): Add setjmp SystemTap probe.
14881 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14883         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14884         match manual order.
14886 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14888         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14890         * sysdeps/powerpc/fpu/fenv_private.h
14891         (libc_feholdexcept_setroundl_ctx): Define to
14892         libc_feholdexcept_setround_ppc_ctx.
14893         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14894         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14895         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14896         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14898 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14900         * sysdeps/aarch64/math-tests.h: New file.
14902 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14904         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14905         New.
14906         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14907         Check and set bit_AVX2_Usable.
14908         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14909         macro.
14910         (bit_AVX2): Likewise.
14911         (index_AVX2_Usable): Likewise.
14912         (CPUID_AVX2): Likewise.
14913         (HAS_AVX2): Likewise.
14915 2014-04-17  Will Newton  <will.newton@linaro.org>
14917         * manual/setjmp.texi (System V contexts): Add note that
14918         calling setcontext on a context created by a call to a
14919         signal handler is undefined.  Update text to note that
14920         setcontext from a signal handler is possible but not
14921         recommended.
14923         [BZ #16629]
14924         * stdlib/tst-setcontext.c: Include signal.h.
14925         (main): Check that the signal stack before and
14926         after swapcontext is the same.
14928         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14929         Re-implement to restore registers in user code and avoid
14930         rt_sigreturn system call.
14932 2014-04-17  Wilco  <wdijkstr@arm.com>
14934         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14935         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14936         * math/test-fenv.c: Skip exception trap tests on targets which only
14937         support non-stop mode.
14939 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14940             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14942         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14943         (libc_feholdsetround_aarch64_ctx)
14944         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14945         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14946         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14947         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14948         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14949         (libc_feresetround_noexl_ctx): Define.
14951 2014-04-16  Richard Henderson  <rth@redhat.com>
14953         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14955         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14956         unwind tables.
14958         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14959         const from the non-libc, non-ldso copy.
14961         * sysdeps/alpha/libm-test-ulps: Regenerate.
14963 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14964             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14966         * sysdeps/aarch64/fpu/math_private.h: New file.
14968 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14970         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14972 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14974         [BZ #16275]
14975         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14976         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14977         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14978         Intel MPX bound registers before _dl_profile_fixup.
14979         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14980         registers after _dl_profile_fixup.  Save and restore bound
14981         registers bnd0/bnd1 when calling _dl_call_pltexit.
14982         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14983         (LR_BND_OFFSET): Likewise.
14984         (LRV_BND0_OFFSET): Likewise.
14985         (LRV_BND1_OFFSET): Likewise.
14987 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14989         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14990         to...
14991         * sysdeps/mach/hurd/i386/tls.h: ... here.
14992         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14993         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14994         fields.
14996 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14998         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15000 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15002         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15004 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15006         [BZ #14770]
15007         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15008         * sysdeps/s390/configure: Regenerate.
15010         [BZ #16824]
15011         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15012         Set round-to-nearest internally to reduce error accumulation.
15014 2014-04-16  Alan Modra  <amodra@gmail.com>
15016         [BZ #16740]
15017         [BZ #16619]
15018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15019         * math/libm-test.inc (frexp_test_data): Add tests.
15020         * NEWS: Update fixed bug list.
15022 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15024         * benchtests/Makefile: Depend on libraries in build directory.
15025         (bench-math): Separate out math tests.
15026         (bench-pthread): Separate out pthread tests.
15027         (bench): Include math and pthread tests.
15029 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15031         [BZ #16831]
15032         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15033         _dl_debug_initialize.
15035         * configure.ac: Remove SELinux header check.
15036         * configure: Regenerate.
15037         * nscd/selinux.c (perms): Array of const char* to permission names.
15038         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15039         default policy. Call string_to_security_class and string_to_av_perm to
15040         translate strings. Enforce default policy and call avs_has_perm with
15041         results of translated strings.
15043 2014-04-13  David S. Miller  <davem@davemloft.net>
15045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15047 2014-04-12  Allan McRae  <allan@archlinux.org>
15049         [BZ #16838]
15050         * manual/string.texi (Collation Functions): Fix qsort argument
15051         order in example.
15052         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15054 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15056         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15057         Make the test a no-op if there are no exceptions defined.
15059 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15061         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15062         enable-hardcoded-path-in-tests
15064 2014-04-11  Will Newton  <will.newton@linaro.org>
15066         * benchtests/Makefile (extra-objs): Add json-lib.o.
15067         (bench-func): Tidy up JSON output.
15068         * benchtests/bench-skeleton.c: Include json-lib.h.
15069         (main): Use JSON library functions to do output of
15070         benchmark results.
15071         * benchtests/bench-timing-type.c (main): Output the
15072         timing type simply, leaving formatting to the user.
15073         * benchtests/json-lib.c: New file.
15074         * benchtests/json-lib.h: Likewise.
15076 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15078         [BZ #15215]
15079         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15080         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15081         memory barriers.  Add comments.
15082         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15083         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15084         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15085         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15086         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15087         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15089 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15091         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15092         * sysdeps/s390/s390-64/configure.ac: ... this ...
15093         * sysdeps/s390/configure.ac: ... to here.
15094         * sysdeps/s390/s390-32/configure: Delete file.
15095         * sysdeps/s390/s390-64/configure: Delete file.
15096         * sysdeps/s390/configure: Regenerate.
15098 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15100         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15102 2014-04-11  Will Newton  <will.newton@linaro.org>
15104         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15105         to zero if it is not defined elsewhere.  (mtrim): Test
15106         the value of MALLOC_DEBUG with #if rather than #ifdef.
15108 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15110         * benchtests/pthread_once-inputs: New file.
15111         * benchtests/pthread_once-source.c: New file.
15112         * benchtests/README: Update documentation.
15114 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15115             H.J. Lu  <hongjiu.lu@intel.com>
15117         [BZ #16275]
15118         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15119         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15120         * sysdeps/x86_64/configure: Regenerated.
15121         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15122         macro.
15123         (REGISTER_SAVE_RAX): Likewise.
15124         (REGISTER_SAVE_RCX): Likewise.
15125         (REGISTER_SAVE_RDX): Likewise.
15126         (REGISTER_SAVE_RSI): Likewise.
15127         (REGISTER_SAVE_RDI): Likewise.
15128         (REGISTER_SAVE_R8): Likewise.
15129         (REGISTER_SAVE_R9): Likewise.
15130         (REGISTER_SAVE_BND0): Likewise.
15131         (REGISTER_SAVE_BND1): Likewise.
15132         (REGISTER_SAVE_BND2): Likewise.
15133         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15134         bound registers when calling _dl_fixup.
15136 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15138         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15139         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15140         of its definition.
15141         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15142         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15143         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15144         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15145         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15146         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15147         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15149 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15151         [BZ #15514]
15152         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15153         pathconf(_PC_NAME_MAX).
15155 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15157         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15158         Remove macro usage.
15159         (__PTHREAD_SPINS): Move definition to ...
15160         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15161         (__PTHREAD_SPINS): ... here.
15162         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15163         (__PTHREAD_SPIN): Likewise.
15164         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15165         (__PTHREAD_SPIN): Likewise.
15166         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15167         (__PTHREAD_SPIN): Likewise.
15168         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15169         (__PTHREAD_SPIN): Likewise.
15170         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15171         (__PTHREAD_SPIN): Likewise.
15172         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15173         (__PTHREAD_SPIN): Likewise.
15174         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15175         (__PTHREAD_SPIN): Likewise.
15176         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15177         (__PTHREAD_SPIN): Likewise.
15178         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15179         (__PTHREAD_SPIN): Likewise.
15180         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15181         (__PTHREAD_SPIN): Likewise.
15182         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15183         (__PTHREAD_SPIN): Likewise.
15184         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15185         (__PTHREAD_SPIN): Likewise.
15187         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15188         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15189         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15190         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15191         imply folder.
15192         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15193         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15194         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15195         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15196         correct imply path.
15197         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15198         strlen symbol for non multi-arch builds.
15199         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15200         missing hidden_def and weak_alias.
15202 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15204         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15206 2014-04-07  Will Newton  <will.newton@linaro.org>
15208         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15209         and contents.  [!_LIBC] Remove #ifndef and contents.
15210         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15211         * string/memccpy.c (__memccpy): Use ANSI prototype.
15212         * string/memfrob.c (memfrob): Likewise.
15213         * string/strcoll.c (STRCOLL): Likewise.
15214         * string/strlen.c (strlen): Likewise.
15215         * string/strtok.c (STRTOK): Likewise.
15216         * string/strcat.c: Remove unused #include of memcopy.h.
15217         (strcat): Use ANSI prototype.
15218         * string/strchr.c: Remove unused #include of memcopy.h.
15219         (strchr): Use ANSI prototype.
15220         * string/strcmp.c: Remove unused #include of memcopy.h.
15221         (strcmp): Use ANSI prototype.
15222         * string/strcpy.c: Remove unused #include of memcopy.h.
15223         (strcpy): Use ANSI prototype.
15225 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15227         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15228         * config.make.in (config-extra-cppflags): Set it from
15229         libc_extra_cppflags.
15230         * configure.ac (libc_extra_cflags): Make it accumulate over
15231         configure fragments.
15232         (libc_extra_cppflags): New flag.
15233         * configure. Regenerate.
15234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15235         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15236         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15239         [BZ #16815]
15240         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15241         result for FE_DOWNWARD rounding mode.
15242         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15243         Likewise.
15244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15246 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15248         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15249         in function argument name.
15251 2014-04-03  David Svoboda  <svoboda@cert.org>
15253         [BZ #5666]
15254         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15255         explicitly.
15257 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15259         * elf/dl-unmap-segments.h: New file.
15260         * sysdeps/generic/ldsodefs.h
15261         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15262         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15263         * elf/dl-fptr.c: Likewise.
15264         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15265         * sysdeps/aarch64/tlsdesc.c: Likewise.
15266         * sysdeps/arm/tlsdesc.c: Likewise.
15267         * sysdeps/i386/tlsdesc.c: Likewise.
15268         * sysdeps/tile/dl-runtime.c: Likewise.
15269         * sysdeps/x86_64/tlsdesc.c: Likewise.
15270         * elf/dl-load.h: New file.
15271         * elf/dl-load.c: Include it.
15272         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15273         Macros moved to dl-load.h.
15274         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15275         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15276         Use _dl_unmap_segments in place of __munmap.
15277         Break out segment-mapping loop into ...
15278         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15280 2014-04-03  Will Newton  <will.newton@linaro.org>
15282         * elf/dl-lookup.c (do_lookup_x): Remove comment
15283         referring to nested function and move variable
15284         declarations down to before first use.
15286 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15288         [BZ #16799]
15289         [BZ #16800]
15290         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15291         with 0 numerator.
15292         * math/s_catanf.c (__catanf): Likewise.
15293         * math/s_catanh.c (__catanh): Likewise.
15294         * math/s_catanhf.c (__catanhf): Likewise.
15295         * math/s_catanhl.c (__catanhl): Likewise.
15296         * math/s_catanl.c (__catanl): Likewise.
15297         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15298         by positive zero when computing -Inf result.
15299         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15300         (catanh_test): Likewise.
15301         * sysdeps/i386/fpu/libm-test-ulps: Update.
15302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15304         [BZ #16789]
15305         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15306         instead of using underflowing value in computing result.
15307         * math/s_clog10.c (__clog10): Likewise.
15308         * math/s_clog10f.c (__clog10f): Likewise.
15309         * math/s_clog10l.c (__clog10l): Likewise.
15310         * math/s_clogf.c (__clogf): Likewise.
15311         * math/s_clogl.c (__clogl): Likewise.
15312         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15313         (clog10_test): Likewise.
15314         * sysdeps/i386/fpu/libm-test-ulps: Update.
15315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15317 2014-04-02  Alan Modra  <amodra@gmail.com>
15319         [BZ #16739]
15320         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15321         output when value is near a power of two.  Use int64_t for lx and
15322         remove casts.  Use decimal rather than hex exponent constants.
15323         Don't use long double multiplication when double will suffice.
15324         * math/libm-test.inc (nextafter_test_data): Add tests.
15325         * NEWS: Add 16739 and 16786 to bug list.
15327         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15329         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15331 2014-04-01  Will Newton  <will.newton@linaro.org>
15333         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15334         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15336 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15338         [BZ #13347]
15339         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15340         * nptl/tst-setuid2.c: New file.
15341         * nptl/Makefile (xtests): Add tst-setuid2.
15343 2014-04-01  Alan Modra  <amodra@gmail.com>
15345         [BZ #16786]
15346         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15348 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15350         [BZ #6803]
15351         [BZ #6804]
15352         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15353         set errno as appropriate.
15354         * math/w_scalbf.c (__scalbf): Likewise.
15355         * math/w_scalbl.c (__scalbl): Likewise.
15356         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15357         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15358         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15359         Add more NaN tests.
15361         [BZ #16349]
15362         * math/w_atan2.c: Include <errno.h>.
15363         (__atan2): Set errno for result underflowing to zero.
15364         * math/w_atan2f.c: Include <errno.h>.
15365         (__atan2f): Set errno for result underflowing to zero.
15366         * math/w_atan2l.c: Include <errno.h>.
15367         (__atan2l): Set errno for result underflowing to zero.
15368         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15369         tests.
15370         * math/auto-libm-test-out: Regenerated.
15372 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15374         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15375         Encode instruction correctly in little endian.
15376         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15377         Likewise.
15378         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15379         Likewise.
15380         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15381         Likewise.
15382         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15383         Likewise.
15385 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15387         [BZ #9894]
15388         * sysdeps/unix/sysv/linux/kernel-features.h
15389         [__sparc__ && !__arch64__ && !__sparc_v9__]
15390         (__ASSUME_SET_ROBUST_LIST): Do not define.
15391         [__sparc__ && !__arch64__ && !__sparc_v9__]
15392         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15393         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15394         Likewise.
15395         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15396         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15397         (__ASSUME_REQUEUE_PI): Likewise.
15398         (__ASSUME_SET_ROBUST_LIST): Likewise.
15399         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15400         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15401         Undefine.
15402         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15403         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15404         Likewise.
15405         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15406         Likewise.
15407         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15408         Likewise.
15409         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15410         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15411         Undefine.
15412         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15413         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15414         Likewise.
15416         [BZ #16648]
15417         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15418         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15419         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15421 2014-03-31  Will Newton  <will.newton@linaro.org>
15423         * benchtests/Makefile (bench): Add ffs and ffsll to list
15424         of tests.
15425         * benchtests/ffs-inputs: New file.
15426         * benchtests/ffsll-inputs: Likewise.
15428 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15430         [BZ #16770]
15431         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15432         too large before casting to int.
15433         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15434         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15435         * math/libm-test.inc (scalb_test_data): Add more tests.
15437 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15439         * benchtests/Makefile (DETAILED_OPT): New make option.
15440         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15441         set.
15442         * benchtests/bench-skeleton.c: Include stdbool.h.
15443         (main): Store and print timings per input.
15444         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15445         member to each argument value.
15446         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15447         (_print_arg_data): Initialize per-input timing to 0.
15449         * benchtests/Makefile (timing-type): New binary.
15450         (bench-clean): Also remove bench-timing-type.
15451         (bench): New target for timing-type.
15452         (bench-func): Print output in JSON format.
15453         * benchtests/bench-skeleton.c (main): Print output in JSON
15454         format.
15455         * benchtests/bench-timing-type.c: New file.
15456         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15457         (TIMING_PRINT_STATS): Remove.
15458         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15459         name separately.
15461         * benchtests/bench-modf.c: Remove.
15462         * benchtests/modf-inputs: New inputs file.
15464 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15466         [BZ #16362]
15467         * math/s_clog10.c (M_PI_LOG10E): New macro.
15468         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15469         imaginary parts are 0.
15470         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15471         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15472         imaginary parts are 0.
15473         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15474         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15475         imaginary parts are 0.
15476         * math/libm-test.inc (clog10_test_data): Update expected results
15477         for when real and imaginary parts are 0.
15479 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15481         * elf/dl-load.c: Finish conversion of __builtin_expect into
15482         __glibc_{un}likely.
15484 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15486         [BZ #16348]
15487         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15488         1+x for argument with exponent below -67.
15489         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15490         Likewise.
15491         * math/auto-libm-test-in: Add more tests of exp.
15492         * math/auto-libm-test-out: Regenerated.
15494 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15496         [BZ #16759]
15497         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15498         (nscd_getnetgrent): Use it.
15500         [BZ #16760]
15501         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15502         of stpcpy.
15504 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15506         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15507         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15508         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15509         (lll_robust_unlock): Remove out of line section. Use cfi
15510         intrinsics.
15511         (LLL_STUB_UNWIND_INFO*): Remove.
15512         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15513         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15514         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15515         (lll_robust_unlock): Remove out of line section. Use cfi
15516         intrinsics.
15517         (LLL_STUB_UNWIND_INFO*): Remove.
15519 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15521         [BZ #16758]
15522         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15523         blank values.
15525 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15527         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15529 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15531         [BZ #16198]
15532         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15533         fnstenv.
15534         * math/test-fenv-preserve.c: New file.
15535         * math/Makefile (tests): Add test-fenv-preserve.
15537 2014-03-26  Will Newton <will.newton@linaro.org>
15539         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15541 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15543         * scripts/versionlist.awk: Partition the version sets and emit all
15544         GLIBC_* (sorted) before all others (sorted).
15546 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15548         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15549         GLIBC_2.2.5 version.
15551 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15553         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15554         calls.
15556         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15557         previous change.
15559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15561 2014-03-25  Andreas Schwab  <schwab@suse.de>
15563         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15564         label to be used after in6ailist is initialized.
15566 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15568         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15569         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15571 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15573         [BZ #16357]
15574         [BZ #16599]
15575         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15576         min_plus_half.
15577         (fp_formats): Update initializers.
15578         (init_fp_formats): Initialize new field.
15579         (output_for_one_input_case): Allow underflow for results up to
15580         min_plus_half.
15581         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15582         * math/auto-libm-test-in: Don't mark some underflows from asin and
15583         atanh as spurious.
15584         * math/auto-libm-test-out: Regenerated.
15585         * sysdeps/i386/fpu/libm-test-ulps: Update.
15586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15588 2014-03-25  Andreas Schwab  <schwab@suse.de>
15590         * libio/Makefile (tst-ftell-partial-wide-ENV)
15591         (tst-ftell-active-handler-ENV): Define.
15593 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15595         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15597 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15599         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15601 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15603         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15604         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15605         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15607 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15609         [BZ #16634]
15610         * elf/dl-load.c (open_verify): Add mode parameter.
15611         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15612         (open_path): Change from boolean 'secure' to complete flag 'mode'
15613         (_dl_map_object): Adjust.
15614         * elf/Makefile (tests): Add tst-dlopen-aout.
15615         * elf/tst-dlopen-aout.c: New test.
15617 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15619         [BZ #16714]
15620         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15621         (struct stat): Rename member pad0 to __glibc_reserved0.
15623         [BZ #16712]
15624         * sysdeps/s390/s390-32/bits/wordsize.h
15625         (__WORDSIZE32_SIZE_ULONG): New define.
15626         * sysdeps/s390/s390-64/bits/wordsize.h
15627         (__WORDSIZE32_SIZE_ULONG): Likewise.
15628         * sysdeps/generic/stdint.h (SIZE_MAX):
15629         Define as UL if __WORDSIZE32_SIZE_ULONG.
15631         [BZ #16713]
15632         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15633         (__glibc_reserved0): New variable.
15634         (sa_flags): Change type to int.
15636         * posix/Makefile (before-compile): Use += before-compile instead
15637         of a :=.
15639         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15640         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15642 2014-03-20  Andreas Schwab  <schwab@suse.de>
15644         [BZ #16743]
15645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15646         non-matching result from nscd.
15648 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15650         * scripts/bench.py: Moved to ...
15651         * benchtests/scripts/bench.py: ... here.
15652         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15654 2014-03-24  Andreas Schwab  <schwab@suse.de>
15656         [BZ #16002]
15657         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15658         alloca_account and account alloca use for struct in6ailist.
15660 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15662         [BZ #16284]
15663         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15664         rounding mode to recompute results that overflow to infinity or
15665         underflow to zero.
15666         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15667         bug 16284.
15668         * math/auto-libm-test-out: Regenerated.
15669         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15670         (ccosh_test): Likewise.
15671         (csin_test_data): Use plus_oflow.
15672         (csin_test): Use ALL_RM_TEST.
15673         (csinh_test_data): Use plus_oflow.
15674         (csinh_test): Use ALL_RM_TEST.
15675         * sysdeps/i386/fpu/libm-test-ulps: Update.
15676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15678 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15680         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15681         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15682         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15684         [BZ #16731]
15685         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15686         when x - 1 is zero.
15687         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15688         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15689         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15691         argument is 1.
15692         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15693         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15694         zero.
15695         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15696         * sysdeps/i386/fpu/libm-test-ulps: Update.
15697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15699 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15701         * scripts/bench.pl: Remove file.
15702         * scripts/bench.py: New benchmark script.
15703         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15704         * benchtests/README: Mention python dependency.
15705         * scripts/pylintrc: New file.
15706         * scripts/pylint: New file.
15708         * bits/mathdef.h: Use #ifdef instead of #if.
15709         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15710         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15711         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15712         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15713         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15714         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15716 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15717             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15719         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15721         and strpbrk-ppc64 objects.
15722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15723         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15724         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15725         multiarch strpbrk for POWER7.
15726         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15727         multiarch strpbrk for PPC64.
15728         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15729         ifunc selector.
15730         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15731         strpbrk for POWER7.
15733 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15735         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15736         (atan_test): Likewise.
15737         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15738         (atanh_test): Use ALL_RM_TEST.
15739         (atan2_test_data): Likewise.
15740         (cabs_test): Likewise.
15741         (cacosh_test): Likewise.
15742         (carg_test): Likewise.
15743         (casin_test): Likewise.
15744         (casinh_test): Likewise.
15745         (cbrt_test): Likewise.
15746         (csqrt_test): Likewise.
15747         (erf_test): Likewise.
15748         (erfc_test): Likewise.
15749         (pow10_test): Likewise.
15750         (exp2_test): Likewise.
15751         (hypot_test): Likewise.
15752         (j0_test): Likewise.
15753         (j1_test): Likewise.
15754         (lgamma_test): Likewise.
15755         (gamma_test): Likewise.
15756         (sincos_test): Likewise.
15757         (tanh_test): Likewise.
15758         (y0_test): Likewise.
15759         (y1_test): Likewise.
15760         * sysdeps/i386/fpu/libm-test-ulps: Update.
15761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15763 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15765         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15767         and strcspn-ppc64 objects.
15768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15769         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15770         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15771         multiarch strcspn for POWER7.
15772         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15773         multiarch strcspn for PPC64.
15774         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15775         ifunc selector.
15776         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15777         strcspn for POWER7.
15779 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15781         * math/gen-libm-test.pl (generate_testfile): Expect only function
15782         name as argument to AUTO_TESTS_* and pass results for all rounding
15783         modes to parse_args.
15784         (parse_auto_input): Separate inputs of automatic tests from
15785         outputs before storing in %auto_tests.
15786         * math/libm-test.inc (acos_test_data): Update call to
15787         AUTO_TESTS_f_f.
15788         (acos_test): Use ALL_RM_TEST.
15789         (acos_tonearest_test_data): Remove.
15790         (acos_test_tonearest): Likewise.
15791         (acos_towardzero_test_data): Likewise.
15792         (acos_test_towardzero): Likewise.
15793         (acos_downward_test_data): Likewise.
15794         (acos_test_downward): Likewise.
15795         (acos_upward_test_data): Likewise.
15796         (acos_test_upward): Likewise.
15797         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15798         (asin_test_data): Likewise.
15799         (asin_test): Use ALL_RM_TEST.
15800         (asin_tonearest_test_data): Remove.
15801         (asin_test_tonearest): Likewise.
15802         (asin_towardzero_test_data): Likewise.
15803         (asin_test_towardzero): Likewise.
15804         (asin_downward_test_data): Likewise.
15805         (asin_test_downward): Likewise.
15806         (asin_upward_test_data): Likewise.
15807         (asin_test_upward): Likewise.
15808         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15809         (atan_test_data): Likewise.
15810         (atanh_test_data): Likewise.
15811         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15812         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15813         (carg_test_data): Likewise.
15814         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15815         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15816         (ccosh_test_data): Likewise.
15817         (cexp_test_data): Likewise.
15818         (clog_test_data): Likewise.
15819         (clog10_test_data): Likewise.
15820         (cos_test_data): Update call to AUTO_TESTS_f_f.
15821         (cos_test): Use ALL_RM_TEST.
15822         (cos_tonearest_test_data): Remove.
15823         (cos_test_tonearest): Likewise.
15824         (cos_towardzero_test_data): Likewise.
15825         (cos_test_towardzero): Likewise.
15826         (cos_downward_test_data): Likewise.
15827         (cos_test_downward): Likewise.
15828         (cos_upward_test_data): Likewise.
15829         (cos_test_upward): Likewise.
15830         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15831         (cosh_test): Use ALL_RM_TEST.
15832         (cosh_tonearest_test_data): Remove.
15833         (cosh_test_tonearest): Likewise.
15834         (cosh_towardzero_test_data): Likewise.
15835         (cosh_test_towardzero): Likewise.
15836         (cosh_downward_test_data): Likewise.
15837         (cosh_test_downward): Likewise.
15838         (cosh_upward_test_data): Likewise.
15839         (cosh_test_upward): Likewise.
15840         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15841         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15842         (ctan_test_data): Likewise.
15843         (ctan_test): Use ALL_RM_TEST.
15844         (ctan_tonearest_test_data): Remove.
15845         (ctan_test_tonearest): Likewise.
15846         (ctan_towardzero_test_data): Likewise.
15847         (ctan_test_towardzero): Likewise.
15848         (ctan_downward_test_data): Likewise.
15849         (ctan_test_downward): Likewise.
15850         (ctan_upward_test_data): Likewise.
15851         (ctan_test_upward): Likewise.
15852         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15853         (ctanh_test): Use ALL_RM_TEST.
15854         (ctanh_tonearest_test_data): Remove.
15855         (ctanh_test_tonearest): Likewise.
15856         (ctanh_towardzero_test_data): Likewise.
15857         (ctanh_test_towardzero): Likewise.
15858         (ctanh_downward_test_data): Likewise.
15859         (ctanh_test_downward): Likewise.
15860         (ctanh_upward_test_data): Likewise.
15861         (ctanh_test_upward): Likewise.
15862         (erf_test_data): Update call to AUTO_TESTS_f_f.
15863         (erfc_test_data): Likewise.
15864         (exp_test_data): Likewise.
15865         (exp_test): Use ALL_RM_TEST.
15866         (exp_tonearest_test_data): Remove.
15867         (exp_test_tonearest): Likewise.
15868         (exp_towardzero_test_data): Likewise.
15869         (exp_test_towardzero): Likewise.
15870         (exp_downward_test_data): Likewise.
15871         (exp_test_downward): Likewise.
15872         (exp_upward_test_data): Likewise.
15873         (exp_test_upward): Likewise.
15874         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15875         (exp10_test): Use ALL_RM_TEST.
15876         (exp10_tonearest_test_data): Remove.
15877         (exp10_test_tonearest): Likewise.
15878         (exp10_towardzero_test_data): Likewise.
15879         (exp10_test_towardzero): Likewise.
15880         (exp10_downward_test_data): Likewise.
15881         (exp10_test_downward): Likewise.
15882         (exp10_upward_test_data): Likewise.
15883         (exp10_test_upward): Likewise.
15884         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15885         (expm1_test_data): Likewise.
15886         (expm1_test): Use ALL_RM_TEST.
15887         (expm1_tonearest_test_data): Remove.
15888         (expm1_test_tonearest): Likewise.
15889         (expm1_towardzero_test_data): Likewise.
15890         (expm1_test_towardzero): Likewise.
15891         (expm1_downward_test_data): Likewise.
15892         (expm1_test_downward): Likewise.
15893         (expm1_upward_test_data): Likewise.
15894         (expm1_test_upward): Likewise.
15895         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15896         (fma_test): Use ALL_RM_TEST.
15897         (fma_towardzero_test_data): Remove.
15898         (fma_test_towardzero): Likewise.
15899         (fma_downward_test_data): Likewise.
15900         (fma_test_downward): Likewise.
15901         (fma_upward_test_data): Likewise.
15902         (fma_test_upward): Likewise.
15903         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15904         (j0_test_data): Update call to AUTO_TESTS_f_f.
15905         (j1_test_data): Likewise.
15906         (jn_test_data): Update call to AUTO_TESTS_if_f.
15907         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15908         (log_test_data): Update call to AUTO_TESTS_f_f.
15909         (log10_test_data): Likewise.
15910         (log1p_test_data): Likewise.
15911         (log2_test_data): Likewise.
15912         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15913         (pow_tonearest_test_data): Likewise.
15914         (sin_test_data): Update call to AUTO_TESTS_f_f.
15915         (sin_test): Use ALL_RM_TEST.
15916         (sin_tonearest_test_data): Remove.
15917         (sin_test_tonearest): Likewise.
15918         (sin_towardzero_test_data): Likewise.
15919         (sin_test_towardzero): Likewise.
15920         (sin_downward_test_data): Likewise.
15921         (sin_test_downward): Likewise.
15922         (sin_upward_test_data): Likewise.
15923         (sin_test_upward): Likewise.
15924         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15925         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15926         (sinh_test): Use ALL_RM_TEST.
15927         (sinh_tonearest_test_data): Remove.
15928         (sinh_test_tonearest): Likewise.
15929         (sinh_towardzero_test_data): Likewise.
15930         (sinh_test_towardzero): Likewise.
15931         (sinh_downward_test_data): Likewise.
15932         (sinh_test_downward): Likewise.
15933         (sinh_upward_test_data): Likewise.
15934         (sinh_test_upward): Likewise.
15935         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15936         (sqrt_test): Use ALL_RM_TEST.
15937         (sqrt_tonearest_test_data): Remove.
15938         (sqrt_test_tonearest): Likewise.
15939         (sqrt_towardzero_test_data): Likewise.
15940         (sqrt_test_towardzero): Likewise.
15941         (sqrt_downward_test_data): Likewise.
15942         (sqrt_test_downward): Likewise.
15943         (sqrt_upward_test_data): Likewise.
15944         (sqrt_test_upward): Likewise.
15945         (tan_test_data): Update call to AUTO_TESTS_f_f.
15946         (tan_test): Use ALL_RM_TEST.
15947         (tan_tonearest_test_data): Remove.
15948         (tan_test_tonearest): Likewise.
15949         (tan_towardzero_test_data): Likewise.
15950         (tan_test_towardzero): Likewise.
15951         (tan_downward_test_data): Likewise.
15952         (tan_test_downward): Likewise.
15953         (tan_upward_test_data): Likewise.
15954         (tan_test_upward): Likewise.
15955         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15956         (tgamma_test_data): Likewise.
15957         (y0_test_data): Likewise.
15958         (y1_test_data): Likewise.
15959         (yn_test_data): Update call to AUTO_TESTS_if_f.
15960         (main): Do not call removed functions.
15962 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15964         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15965         (ldexp_test_data): Remove.
15966         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15967         scalbn_test_data.
15968         (scalb_test): Use ALL_RM_TEST.
15970 2014-03-19  Andreas Schwab  <schwab@suse.de>
15972         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15974 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15976         [BZ #16649]
15977         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15978         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15979         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15980         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15981         (__ASSUME_PREADV): Undefine.
15982         (__ASSUME_PWRITEV): Likewise.
15984 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15986         * bits/mman-linux.h: Add comment about non-Linux use.
15987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15988         bits/mman-linux.h resting place.
15990         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15991         * bits/mman-linux.h: ... here.
15993 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15995         * conform/conformtest.pl: Add standard definition when calling C
15996         preprocessor on data files.
15997         (checknamespace): Remove unused variable.
15999 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16001         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16002         minus_oflow, plus_uflow and minus_uflow in expected results.
16003         * math/libm-test.inc (scalbn_test_data): Add more tests of
16004         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16005         minus_uflow.
16006         (scalbn_test): Use ALL_RM_TEST.
16007         (scalbln_test_data): Add more tests of negative arguments.  Use
16008         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16009         (scalbln_test): Use ALL_RM_TEST.
16011 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16013         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16015 2014-03-18  Will Newton  <will.newton@linaro.org>
16017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16018         inaccurate comment.
16020 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16022         * Makerules [!subdir] (check-abi): Exit with error status if a
16023         test failed.
16025 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16027         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16028         for rint.  Include results for all rounding modes.
16029         (nearbyint_test): Use ALL_RM_TEST.
16030         (rint_test_data): Include all tests used for nearbyint.
16032 2014-03-17  Will Newton  <will.newton@linaro.org>
16034         * nptl/sysdeps/pthread/pthread.h: Revert previous
16035         change.
16037         * sysdeps/generic/ldsodefs.h: Revert previous
16038         change.
16040         * libio/genops.c: Revert previous change.
16041         * libio/libioP.h: Likewise.
16042         * stdio-common/vfprintf.c: Likewise.
16044         * sysdeps/generic/math_private.h: Revert previous
16045         change.
16047         * sysdeps/generic/math_private.h: Check whether
16048         HAVE_RM_CTX is defined with #ifdef rather
16049         than #if.
16051         * argp/argp-fmtstream.h: Check whether
16052         __STRICT_ANSI__ is defined with #ifdef rather
16053         than #if.
16054         * argp/argp.h: Likewise.
16056         * libio/genops.c: Check whether
16057         _IO_JUMPS_OFFSET is defined with #ifdef rather
16058         than #if.
16059         * libio/libioP.h: Likewise.
16060         * stdio-common/vfprintf.c: Likewise.
16062         * sysdeps/generic/ldsodefs.h: Check whether
16063         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16064         than #if.
16066         * nptl/sysdeps/pthread/pthread.h: Check
16067         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16068         its value.
16070 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16072         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16073         setting O_APPEND.
16074         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16075         test case.
16077         [BZ #16680]
16078         * libio/fileops.c (_IO_file_open): Seek to end of file but
16079         don't cache the offset.
16080         (get_file_offset): Remove function.
16081         (do_ftell): Use cached offset when available.
16082         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16083         don't cache the offset.
16084         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16085         case.
16086         (do_one_test): Call it.
16087         (do_ftell_test): Fix up expected old offset for a+ mode.
16088         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16089         available.
16091         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16092         up test status with function return status.
16093         (do_write_test): Likewise.
16094         (do_append_test): Likewise.
16096         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16097         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16098         Remove.
16100 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16102         * math/gen-libm-test.pl (parse_args): Handle results specified for
16103         each rounding mode separately.
16104         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16105         tests and results from lrint_tonearest_test_data,
16106         lrint_towardzero_test_data, lrint_downward_test_data and
16107         lrint_upward_test_data.
16108         (lrint_test): Use ALL_RM_TEST.
16109         (lrint_tonearest_test_data): Remove.
16110         (lrint_test_tonearest): Likewise.
16111         (lrint_towardzero_test_data): Likewise.
16112         (lrint_test_towardzero): Likewise.
16113         (lrint_downward_test_data): Likewise.
16114         (lrint_test_downward): Likewise.
16115         (lrint_upward_test_data): Likewise.
16116         (lrint_test_upward): Likewise.
16117         (llrint_test_data): Merge in per-rounding-mode tests and results
16118         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16119         llrint_downward_test_data and llrint_upward_test_data.
16120         (llrint_test): Use ALL_RM_TEST.
16121         (llrint_tonearest_test_data): Remove.
16122         (llrint_test_tonearest): Likewise.
16123         (llrint_towardzero_test_data): Likewise.
16124         (llrint_test_towardzero): Likewise.
16125         (llrint_downward_test_data): Likewise.
16126         (llrint_test_downward): Likewise.
16127         (llrint_upward_test_data): Likewise.
16128         (llrint_test_upward): Likewise.
16129         (rint_test_data): Merge in per-rounding-mode tests and results
16130         from rint_tonearest_test_data, rint_towardzero_test_data,
16131         rint_downward_test_data and rint_upward_test_data.  Add
16132         per-rounding-mode results for tests not in those arrays.
16133         (rint_test): Use ALL_RM_TEST.
16134         (rint_tonearest_test_data): Remove.
16135         (rint_test_tonearest): Likewise.
16136         (rint_towardzero_test_data): Likewise.
16137         (rint_test_towardzero): Likewise.
16138         (rint_downward_test_data): Likewise.
16139         (rint_test_downward): Likewise.
16140         (rint_upward_test_data): Likewise.
16141         (rint_test_upward): Likewise.
16142         (main): Don't call removed functions.
16144 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16146         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16147         "Compiled on ..." crapola.  It is anti-useful.
16149 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16151         * scripts/evaluate-test.sh: Handle fourth argument to determine
16152         whether test run should stop on failure.
16153         * Makeconfig (stop-on-test-failure): New variable.
16154         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16155         $(stop-on-test-failure).
16156         * Makefile (tests): Give a summary of results from testing and
16157         exit with failure status if they include an ERROR or FAIL.
16158         (xtests): Likewise.
16159         * manual/install.texi (Configuring and compiling): Mention
16160         stop-on-test-failure=y.
16161         * INSTALL: Regenerated.
16163 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16165         * scripts/versionlist.awk: New file.
16166         * Makerules [$(build-shared) = yes]
16167         (postclean-generated): Add Versions.def, not Versions.def.v and
16168         Versions.def.v.i.
16169         ($(common-objpfx)Versions.def.v.i): Target removed.
16170         ($(common-objpfx)Versions.def): New target.
16171         ($(common-objpfx)Versions.all): Depend on that rather that
16172         $(common-objpfx)Versions.def.v.
16173         * Versions.def: File removed.
16175         * Makeconfig (+gccwarn): Add -Wundef.
16176         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16177         a dl-sysdep.h breaking its contract.
16178         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16179         * include/stackinfo.h: New file.
16180         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16181         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16182         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16183         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16184         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16185         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16186         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16187         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16188         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16189         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16190         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16191         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16192         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16193         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16194         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16196 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16198         [BZ #16707]
16199         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16200         implementation.
16201         * math/libm-test.inc (round_test_data): Add more tests.
16203         [BZ #16706]
16204         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16205         implementation.
16206         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16208         [BZ #16701]
16209         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16210         implementation.
16211         * math/libm-test.inc (ceil_test_data): Add more tests.
16213         * math/libm-test.inc (trunc_test_data): Add more tests related to
16214         BZ#16414.
16216 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16218         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16219         with #if rather than #ifdef.
16220         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16222 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16224         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16225         first.  Disable AVX-512 GCC support if assembler doesn't support
16226         it.
16227         * sysdeps/x86_64/configure: Regenerated.
16229 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16231         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16232         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16233         (__old_pthread_attr_setstack): Likewise.
16234         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16235         [!_STACK_GROWS_DOWN]: Likewise.
16237 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16239         * config.make.in (have-bash2): Delete.
16240         * configure.ac (libc_cv_have_bash2): Delete.
16241         * configure: Regenerate.
16242         * elf/Makefile (common-ldd-rewrite): Rename to ...
16243         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16244         (sh-ldd-rewrite): Delete.
16245         (bash-ldd-rewrite): Delete.
16246         (have-bash2): Delete checks.
16247         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16248         ldd-rewrite.
16250         * config.make.in (have-ksh): Delete.
16251         (KSH): Delete.
16252         * configure.ac (libc_cv_have_ksh): Delete.
16253         * configure: Regenerate.
16255         * elf/Makefile: Delete $(have-ksh) check.
16256         ($(objpfx)sotruss): Change KSH to BASH.
16257         * elf/sotruss.ksh: Rename to ...
16258         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16259         function style to match POSIX.  Drop ksh vim mode setting.
16261         * manual/time.texi (Specifying the Time Zone with TZ): Change
16262         Tuesday to Thursday.
16264         * debug/tst-longjmp_chk2.c: Update header comment.
16265         (stackoverflow_handler): Add comment.  Call assert on pass value.
16267 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16269         [BZ #16194]
16270         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16271         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16272         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16273         (La_x86_64_vector): Add zmm.
16274         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16275         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16276         ($(objpfx)tst-audit10): New target.
16277         ($(objpfx)tst-audit10.out): Likewise.
16278         (tst-audit10-ENV): New.
16279         (AVX512-CFLAGS): Likewise.
16280         (CFLAGS-tst-audit10.c): Likewise.
16281         (CFLAGS-tst-auditmod10a.c): Likewise.
16282         (CFLAGS-tst-auditmod10b.c): Likewise.
16283         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16284         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16285         * sysdeps/x86_64/configure: Regenerated.
16286         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16287         AVX-512 zmm register support.
16288         (_dl_x86_64_save_sse): Likewise.
16289         (_dl_x86_64_restore_sse): Likewise.
16290         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16291         size vector registers.
16292         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16293         (ZMM_SIZE): Likewise.
16294         * sysdeps/x86_64/tst-audit10.c: New file.
16295         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16296         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16298 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16300         * configure.ac (HAVE_EHDR_START): New check.
16301         * configure: Regenerated.
16302         * config.h.in (HAVE_EHDR_START): New #undef.
16303         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16304         assuming the lowest-addressed segment maps the start of the file.
16306 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16308         * INSTALL: Regenerated.
16310 2014-03-13  Will Newton  <will.newton@linaro.org>
16312         * manual/setjmp.texi (System V contexts): Improve
16313         clarity and grammar of documentation.
16315 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16317         [BZ #16381]
16318         * elf/Makefile (tests): Add tst-pie2.
16319         (tests-pie): Add tst-pie2.
16320         * elf/tst-pie2.c: New file.
16321         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16322         for ET_EXEC.
16323         * elf/rtld.c (map_doit): Load executable as lt_executable.
16324         (dl_main): Likewise.
16326 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16328         [BZ #16642]
16329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16330         (__ASSUME_PSELECT): Undefine.
16332 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16334         [BZ #16689]
16335         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16336         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16337         static build.
16338         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16339         selector for static builds.
16341 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16343         [BZ #16695]
16344         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16345         key in the buffer.
16347 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16349         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16350         IFUNC selector for static builds.
16352 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16354         * sysdeps/mips/math_private.h [__mips_hard_float]
16355         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16356         libc_feresetround_mips_ctx.
16357         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16358         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16359         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16361         [BZ #16677]
16362         * math/s_nextafter.c (__nextafter): Do not return value from
16363         overflowing computation.
16364         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16365         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16366         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16367         Likewise.
16368         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16369         Likewise.
16370         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16371         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16373 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16375         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16376         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16377         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16378         the new mov targetting sp.
16380 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16382         [BZ #16683]
16383         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16384         Define it for static builds as well.
16385         (NO_BZERO_IMPL): Likewise.
16387 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16389         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16390         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16391         multiarch strspn for PPC64.
16392         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16393         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16395         (__libc_ifunc_impl_list): Likewise.
16396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16397         multiarch optimizations
16398         * string/strspn.c (strspn): Using macro to redefine symbol name.
16400 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16401             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16403         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16404         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16405         multiarch strncat for PPC64.
16406         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16407         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16409         (__libc_ifunc_impl_list): Likewise.
16410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16411         multiarch optimizations
16413 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16415         [BZ #16639]
16416         * nscd/nscd.service: Make service type forking.
16418 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16420         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16421         sign in non default rounding modes.
16422         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16424 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16426         * math/libm-test.inc (ALL_RM_TEST): New macro.
16427         (ceil_test): Use ALL_RM_TEST.
16428         (cimag_test): Likewise.
16429         (conj_test): Likewise.
16430         (copysign_test): Likewise.
16431         (cproj_test): Likewise.
16432         (creal_test): Likewise.
16433         (fabs_test): Likewise.
16434         (floor_test): Likewise.
16435         (fmax_test): Likewise.
16436         (fmin_test): Likewise.
16437         (fmod_test): Likewise.
16438         (fpclassify_test): Likewise.
16439         (frexp_test): Likewise.
16440         (ilogb_test): Likewise.
16441         (isfinite_test): Likewise.
16442         (finite_test): Likewise.
16443         (isgreater_test): Likewise.
16444         (isgreaterequal_test): Likewise.
16445         (isinf_test): Likewise.
16446         (isless_test): Likewise.
16447         (islessequal_test): Likewise.
16448         (islessgreater_test): Likewise.
16449         (isnan_test): Likewise.
16450         (isnormal_test): Likewise.
16451         (issignaling_test): Likewise.
16452         (isunordered_test): Likewise.
16453         (logb_test): Likewise.
16454         (logb_downward_test_data): Remove.
16455         (logb_test_downward): Likewise.
16456         (lround_test): Use ALL_RM_TEST.
16457         (llround_test): Likewise.
16458         (modf_test): Likewise.
16459         (nexttoward_test): Likewise.
16460         (remainder_test): Likewise.
16461         (drem_test): Likewise.
16462         (remainder_tonearest_test_data): Likewise.
16463         (remainder_test_tonearest): Likewise.
16464         (drem_test_tonearest): Likewise.
16465         (remainder_towardzero_test_data): Likewise.
16466         (remainder_test_towardzero): Likewise.
16467         (drem_test_towardzero): Likewise.
16468         (remainder_downward_test_data): Likewise.
16469         (remainder_test_downward): Likewise.
16470         (drem_test_downward): Likewise.
16471         (remainder_upward_test_data): Likewise.
16472         (remainder_test_upward): Likewise.
16473         (drem_test_upward): Likewise.
16474         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16475         (round_test): Use ALL_RM_TEST.
16476         (signbit_test): Likewise.
16477         (trunc_test): Likewise.
16478         (significand_test): Likewise.
16479         (main): Don't call removed functions.
16481 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16483         [BZ #16674]
16484         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16485         || __USE_XOPEN2K8].
16486         (ILL_ILLOPN): Likewise.
16487         (ILL_ILLADR): Likewise.
16488         (ILL_ILLTRP): Likewise.
16489         (ILL_PRVOPC): Likewise.
16490         (ILL_PRVREG): Likewise.
16491         (ILL_COPROC): Likewise.
16492         (ILL_BADSTK): Likewise.
16493         (FPE_INTDIV): Likewise.
16494         (FPE_INTOVF): Likewise.
16495         (FPE_FLTDIV): Likewise.
16496         (FPE_FLTOVF): Likewise.
16497         (FPE_FLTUND): Likewise.
16498         (FPE_FLTRES): Likewise.
16499         (FPE_FLTINV): Likewise.
16500         (FPE_FLTSUB): Likewise.
16501         (SEGV_MAPERR): Likewise.
16502         (SEGV_ACCERR): Likewise.
16503         (BUS_ADRALN): Likewise.
16504         (BUS_ADRERR): Likewise.
16505         (BUS_OBJERR): Likewise.
16506         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16507         (TRAP_TRACE): Likewise.
16508         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16509         __USE_XOPEN2K8].
16510         (CLD_KILLED): Likewise.
16511         (CLD_DUMPED): Likewise.
16512         (CLD_TRAPPED): Likewise.
16513         (CLD_STOPPED): Likewise.
16514         (CLD_CONTINUED): Likewise.
16515         (POLL_IN): Likewise.
16516         (POLL_OUT): Likewise.
16517         (POLL_MSG): Likewise.
16518         (POLL_ERR): Likewise.
16519         (POLL_PRI): Likewise.
16520         (POLL_HUP): Likewise.
16521         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16522         Likewise.
16523         (ILL_ILLOPN): Likewise.
16524         (ILL_ILLADR): Likewise.
16525         (ILL_ILLTRP): Likewise.
16526         (ILL_PRVOPC): Likewise.
16527         (ILL_PRVREG): Likewise.
16528         (ILL_COPROC): Likewise.
16529         (ILL_BADSTK): Likewise.
16530         (FPE_INTDIV): Likewise.
16531         (FPE_INTOVF): Likewise.
16532         (FPE_FLTDIV): Likewise.
16533         (FPE_FLTOVF): Likewise.
16534         (FPE_FLTUND): Likewise.
16535         (FPE_FLTRES): Likewise.
16536         (FPE_FLTINV): Likewise.
16537         (FPE_FLTSUB): Likewise.
16538         (SEGV_MAPERR): Likewise.
16539         (SEGV_ACCERR): Likewise.
16540         (BUS_ADRALN): Likewise.
16541         (BUS_ADRERR): Likewise.
16542         (BUS_OBJERR): Likewise.
16543         (BUS_MCEERR_AR): Likewise.
16544         (BUS_MCEERR_AO): Likewise.
16545         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16546         (TRAP_TRACE): Likewise.
16547         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16548         __USE_XOPEN2K8].
16549         (CLD_KILLED): Likewise.
16550         (CLD_DUMPED): Likewise.
16551         (CLD_TRAPPED): Likewise.
16552         (CLD_STOPPED): Likewise.
16553         (CLD_CONTINUED): Likewise.
16554         (POLL_IN): Likewise.
16555         (POLL_OUT): Likewise.
16556         (POLL_MSG): Likewise.
16557         (POLL_ERR): Likewise.
16558         (POLL_PRI): Likewise.
16559         (POLL_HUP): Likewise.
16560         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16561         (ILL_ILLOPN): Likewise.
16562         (ILL_ILLADR): Likewise.
16563         (ILL_ILLTRP): Likewise.
16564         (ILL_PRVOPC): Likewise.
16565         (ILL_PRVREG): Likewise.
16566         (ILL_COPROC): Likewise.
16567         (ILL_BADSTK): Likewise.
16568         (FPE_INTDIV): Likewise.
16569         (FPE_INTOVF): Likewise.
16570         (FPE_FLTDIV): Likewise.
16571         (FPE_FLTOVF): Likewise.
16572         (FPE_FLTUND): Likewise.
16573         (FPE_FLTRES): Likewise.
16574         (FPE_FLTINV): Likewise.
16575         (FPE_FLTSUB): Likewise.
16576         (SEGV_MAPERR): Likewise.
16577         (SEGV_ACCERR): Likewise.
16578         (BUS_ADRALN): Likewise.
16579         (BUS_ADRERR): Likewise.
16580         (BUS_OBJERR): Likewise.
16581         (BUS_MCEERR_AR): Likewise.
16582         (BUS_MCEERR_AO): Likewise.
16583         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16584         (TRAP_TRACE): Likewise.
16585         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16586         __USE_XOPEN2K8].
16587         (CLD_KILLED): Likewise.
16588         (CLD_DUMPED): Likewise.
16589         (CLD_TRAPPED): Likewise.
16590         (CLD_STOPPED): Likewise.
16591         (CLD_CONTINUED): Likewise.
16592         (POLL_IN): Likewise.
16593         (POLL_OUT): Likewise.
16594         (POLL_MSG): Likewise.
16595         (POLL_ERR): Likewise.
16596         (POLL_PRI): Likewise.
16597         (POLL_HUP): Likewise.
16598         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16599         Likewise.
16600         (ILL_ILLOPN): Likewise.
16601         (ILL_ILLADR): Likewise.
16602         (ILL_ILLTRP): Likewise.
16603         (ILL_PRVOPC): Likewise.
16604         (ILL_PRVREG): Likewise.
16605         (ILL_COPROC): Likewise.
16606         (ILL_BADSTK): Likewise.
16607         (ILL_BADIADDR): Likewise.
16608         (ILL_BREAK): Likewise.
16609         (FPE_INTDIV): Likewise.
16610         (FPE_INTOVF): Likewise.
16611         (FPE_FLTDIV): Likewise.
16612         (FPE_FLTOVF): Likewise.
16613         (FPE_FLTUND): Likewise.
16614         (FPE_FLTRES): Likewise.
16615         (FPE_FLTINV): Likewise.
16616         (FPE_FLTSUB): Likewise.
16617         (FPE_DECOVF): Likewise.
16618         (FPE_DECDIV): Likewise.
16619         (FPE_DECERR): Likewise.
16620         (FPE_INVASC): Likewise.
16621         (FPE_INVDEC): Likewise.
16622         (SEGV_MAPERR): Likewise.
16623         (SEGV_ACCERR): Likewise.
16624         (SEGV_PSTKOVF): Likewise.
16625         (BUS_ADRALN): Likewise.
16626         (BUS_ADRERR): Likewise.
16627         (BUS_OBJERR): Likewise.
16628         (BUS_MCEERR_AR): Likewise.
16629         (BUS_MCEERR_AO): Likewise.
16630         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16631         (TRAP_TRACE): Likewise.
16632         (TRAP_BRANCH): Likewise.
16633         (TRAP_HWBKPT): Likewise.
16634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16635         __USE_XOPEN2K8].
16636         (CLD_KILLED): Likewise.
16637         (CLD_DUMPED): Likewise.
16638         (CLD_TRAPPED): Likewise.
16639         (CLD_STOPPED): Likewise.
16640         (CLD_CONTINUED): Likewise.
16641         (POLL_IN): Likewise.
16642         (POLL_OUT): Likewise.
16643         (POLL_MSG): Likewise.
16644         (POLL_ERR): Likewise.
16645         (POLL_PRI): Likewise.
16646         (POLL_HUP): Likewise.
16647         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16648         (ILL_ILLOPN): Likewise.
16649         (ILL_ILLADR): Likewise.
16650         (ILL_ILLTRP): Likewise.
16651         (ILL_PRVOPC): Likewise.
16652         (ILL_PRVREG): Likewise.
16653         (ILL_COPROC): Likewise.
16654         (ILL_BADSTK): Likewise.
16655         (FPE_INTDIV): Likewise.
16656         (FPE_INTOVF): Likewise.
16657         (FPE_FLTDIV): Likewise.
16658         (FPE_FLTOVF): Likewise.
16659         (FPE_FLTUND): Likewise.
16660         (FPE_FLTRES): Likewise.
16661         (FPE_FLTINV): Likewise.
16662         (FPE_FLTSUB): Likewise.
16663         (SEGV_MAPERR): Likewise.
16664         (SEGV_ACCERR): 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         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16673         __USE_XOPEN2K8].
16674         (CLD_KILLED): Likewise.
16675         (CLD_DUMPED): Likewise.
16676         (CLD_TRAPPED): Likewise.
16677         (CLD_STOPPED): Likewise.
16678         (CLD_CONTINUED): Likewise.
16679         (POLL_IN): Likewise.
16680         (POLL_OUT): Likewise.
16681         (POLL_MSG): Likewise.
16682         (POLL_ERR): Likewise.
16683         (POLL_PRI): Likewise.
16684         (POLL_HUP): Likewise.
16685         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16686         (ILL_ILLOPN): Likewise.
16687         (ILL_ILLADR): Likewise.
16688         (ILL_ILLTRP): Likewise.
16689         (ILL_PRVOPC): Likewise.
16690         (ILL_PRVREG): Likewise.
16691         (ILL_COPROC): Likewise.
16692         (ILL_BADSTK): Likewise.
16693         (FPE_INTDIV): Likewise.
16694         (FPE_INTOVF): Likewise.
16695         (FPE_FLTDIV): Likewise.
16696         (FPE_FLTOVF): Likewise.
16697         (FPE_FLTUND): Likewise.
16698         (FPE_FLTRES): Likewise.
16699         (FPE_FLTINV): Likewise.
16700         (FPE_FLTSUB): Likewise.
16701         (SEGV_MAPERR): Likewise.
16702         (SEGV_ACCERR): Likewise.
16703         (BUS_ADRALN): Likewise.
16704         (BUS_ADRERR): Likewise.
16705         (BUS_OBJERR): Likewise.
16706         (BUS_MCEERR_AR): Likewise.
16707         (BUS_MCEERR_AO): Likewise.
16708         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16709         (TRAP_TRACE): Likewise.
16710         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16711         __USE_XOPEN2K8].
16712         (CLD_KILLED): Likewise.
16713         (CLD_DUMPED): Likewise.
16714         (CLD_TRAPPED): Likewise.
16715         (CLD_STOPPED): Likewise.
16716         (CLD_CONTINUED): Likewise.
16717         (POLL_IN): Likewise.
16718         (POLL_OUT): Likewise.
16719         (POLL_MSG): Likewise.
16720         (POLL_ERR): Likewise.
16721         (POLL_PRI): Likewise.
16722         (POLL_HUP): Likewise.
16723         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16724         (ILL_ILLOPN): Likewise.
16725         (ILL_ILLADR): Likewise.
16726         (ILL_ILLTRP): Likewise.
16727         (ILL_PRVOPC): Likewise.
16728         (ILL_PRVREG): Likewise.
16729         (ILL_COPROC): Likewise.
16730         (ILL_BADSTK): Likewise.
16731         (FPE_INTDIV): Likewise.
16732         (FPE_INTOVF): Likewise.
16733         (FPE_FLTDIV): Likewise.
16734         (FPE_FLTOVF): Likewise.
16735         (FPE_FLTUND): Likewise.
16736         (FPE_FLTRES): Likewise.
16737         (FPE_FLTINV): Likewise.
16738         (FPE_FLTSUB): Likewise.
16739         (SEGV_MAPERR): Likewise.
16740         (SEGV_ACCERR): Likewise.
16741         (BUS_ADRALN): Likewise.
16742         (BUS_ADRERR): Likewise.
16743         (BUS_OBJERR): Likewise.
16744         (BUS_MCEERR_AR): Likewise.
16745         (BUS_MCEERR_AO): Likewise.
16746         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16747         (TRAP_TRACE): Likewise.
16748         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16749         __USE_XOPEN2K8].
16750         (CLD_KILLED): Likewise.
16751         (CLD_DUMPED): Likewise.
16752         (CLD_TRAPPED): Likewise.
16753         (CLD_STOPPED): Likewise.
16754         (CLD_CONTINUED): Likewise.
16755         (POLL_IN): Likewise.
16756         (POLL_OUT): Likewise.
16757         (POLL_MSG): Likewise.
16758         (POLL_ERR): Likewise.
16759         (POLL_PRI): Likewise.
16760         (POLL_HUP): Likewise.
16761         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16762         (ILL_ILLOPN): Likewise.
16763         (ILL_ILLADR): Likewise.
16764         (ILL_ILLTRP): Likewise.
16765         (ILL_PRVOPC): Likewise.
16766         (ILL_PRVREG): Likewise.
16767         (ILL_COPROC): Likewise.
16768         (ILL_BADSTK): Likewise.
16769         (ILL_DBLFLT): Likewise.
16770         (ILL_HARDWALL): 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/x86/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         (FPE_INTDIV): Likewise.
16810         (FPE_INTOVF): Likewise.
16811         (FPE_FLTDIV): Likewise.
16812         (FPE_FLTOVF): Likewise.
16813         (FPE_FLTUND): Likewise.
16814         (FPE_FLTRES): Likewise.
16815         (FPE_FLTINV): Likewise.
16816         (FPE_FLTSUB): Likewise.
16817         (SEGV_MAPERR): Likewise.
16818         (SEGV_ACCERR): Likewise.
16819         (BUS_ADRALN): Likewise.
16820         (BUS_ADRERR): Likewise.
16821         (BUS_OBJERR): Likewise.
16822         (BUS_MCEERR_AR): Likewise.
16823         (BUS_MCEERR_AO): Likewise.
16824         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16825         (TRAP_TRACE): Likewise.
16826         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16827         __USE_XOPEN2K8].
16828         (CLD_KILLED): Likewise.
16829         (CLD_DUMPED): Likewise.
16830         (CLD_TRAPPED): Likewise.
16831         (CLD_STOPPED): Likewise.
16832         (CLD_CONTINUED): Likewise.
16833         (POLL_IN): Likewise.
16834         (POLL_OUT): Likewise.
16835         (POLL_MSG): Likewise.
16836         (POLL_ERR): Likewise.
16837         (POLL_PRI): Likewise.
16838         (POLL_HUP): Likewise.
16839         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16840         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16842         [BZ #16670]
16843         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16844         before #include of <time.h>.
16845         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16846         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16847         (test-xfail-UNIX98/sched.h/conform): Likewise.
16849 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16851         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16852         error absence of trapping exception support.
16853         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16855 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16857         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16858         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16859         * timezone/Makefile (testdata): Move definition above include of
16860         Rules.
16861         (test-zones): New variable.
16862         (tests-special): Add zone files.
16863         (build-testdata): Use $(evaluate-test).
16865         * elf/Makefile (tests-special): Rename tests to end with .out.
16866         ($(objpfx)noload-mem): Likewise.
16867         ($(objpfx)tst-leaks1-mem): Likewise.
16868         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16869         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16870         $(objpfx)test-iconvconfig.out.
16871         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16872         set -e inside subshell and redirect output to file.
16873         * iconvdata/Makefile (generated): Rename tests to end with .out.
16874         Correct type.
16875         (tests-special): Rename tests to end with .out.
16876         ($(objpfx)mtrace-tst-loading): Likewise.
16877         * intl/Makefile (generated): Likewise.
16878         (tests-special): Likewise.
16879         ($(objpfx)mtrace-tst-gettext): Likewise.
16880         * misc/Makefile (generated): Likewise.
16881         (tests-special): Likewise.
16882         ($(objpfx)tst-error1-mem): Likewise.
16883         * nptl/Makefile (tests-special): Likewise.
16884         ($(objpfx)tst-stack3-mem): Likewise.
16885         (generated): Likewise.
16886         * posix/Makefile (generated): Likewise.
16887         (tests-special): Likewise.
16888         (xtests-special): Likewise.
16889         ($(objpfx)tst-fnmatch-mem): Likewise.
16890         ($(objpfx)bug-regex2-mem): Likewise.
16891         ($(objpfx)bug-regex14-mem): Likewise.
16892         ($(objpfx)bug-regex21-mem): Likewise.
16893         ($(objpfx)bug-regex31-mem): Likewise.
16894         ($(objpfx)tst-vfork3-mem): Likewise.
16895         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16896         ($(objpfx)tst-pcre-mem): Likewise.
16897         ($(objpfx)tst-boost-mem): Likewise.
16898         ($(objpfx)bug-ga2-mem): Likewise.
16899         ($(objpfx)bug-glob2-mem): Likewise.
16900         * resolv/Makefile (generate): Likewise.
16901         (tests-special): Likewise.
16902         (xtests-special): Likewise.
16903         (generated): Likewise.
16904         ($(objpfx)mtrace-tst-leaks): Likewise.
16905         ($(objpfx)mtrace-tst-leaks2): Likewise.
16907         * scripts/merge-test-results.sh: New file.
16908         * Makefile (tests-special-notdir): New variable.
16909         (tests): Run merge-test-results.sh.
16910         (xtests): Likewise.
16911         * Rules (tests-special-notdir): New variable.
16912         (xtests-special-notdir): Likewise.
16913         (tests): Run merge-test-results.sh
16914         (xtests): Likewise.
16916         * Makeconfig (test-xfail-name): New variable.
16917         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16918         compute variable name for expected failures.
16919         * conform/Makefile (conformtest-headers-data): New variable.
16920         (conformtest-standards): Likewise.
16921         (conformtest-headers-ISO): Likewise.
16922         (conformtest-headers-ISO99): Likewise.
16923         (conformtest-headers-ISO11): Likewise.
16924         (conformtest-headers-POSIX): Likewise.
16925         (conformtest-headers-XPG3): Likewise.
16926         (conformtest-headers-XPG4): Likewise.
16927         (conformtest-headers-UNIX98): Likewise.
16928         (conformtest-headers-XOPEN2K): Likewise.
16929         (conformtest-headers-POSIX2008): Likewise.
16930         (conformtest-headers-XOPEN2K8): Likewise.
16931         (conformtest-header-list-base): Likewise.
16932         (conformtest-header-list-tests): Likewise.
16933         (conformtest-header-base): Likewise.
16934         (conformtest-header-tests): Likewise.
16935         (tests-special): Add $(conformtest-header-list-tests).  If
16936         [$(fast-check) && !$(cross-compiling)], add
16937         $(conformtest-header-tests) instead of
16938         $(objpfx)run-conformtest.out.
16939         (generated): Add $(conformtest-header-list-base).  If
16940         [$(fast-check) && !$(cross-compiling)], add
16941         $(conformtest-header-base).  Remove previous setting.
16942         ($(conformtest-header-list-tests)): New target.
16943         (test-xfail-run-conformtest): Remove variable.
16944         ($(objpfx)run-conformtest.out): Remove target.
16945         (test-xfail-ISO11/complex.h/conform): New variable.
16946         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16947         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16948         (test-xfail-XPG3/varargs.h/conform): Likewise.
16949         (test-xfail-XPG4/varargs.h/conform): Likewise.
16950         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16951         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16952         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16953         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16954         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16955         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16956         (test-xfail-XPG3/ftw.h/conform): Likewise.
16957         (test-xfail-XPG3/grp.h/conform): Likewise.
16958         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16959         (test-xfail-XPG3/limits.h/conform): Likewise.
16960         (test-xfail-XPG3/pwd.h/conform): Likewise.
16961         (test-xfail-XPG3/search.h/conform): Likewise.
16962         (test-xfail-XPG3/signal.h/conform): Likewise.
16963         (test-xfail-XPG3/stdio.h/conform): Likewise.
16964         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16965         (test-xfail-XPG3/string.h/conform): Likewise.
16966         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16967         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16968         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16969         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16970         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16971         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16972         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16973         (test-xfail-XPG3/termios.h/conform): Likewise.
16974         (test-xfail-XPG3/time.h/conform): Likewise.
16975         (test-xfail-XPG3/unistd.h/conform): Likewise.
16976         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16977         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16978         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16979         (test-xfail-XPG4/netdb.h/conform): Likewise.
16980         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16981         (test-xfail-XPG4/signal.h/conform): Likewise.
16982         (test-xfail-XPG4/stdio.h/conform): Likewise.
16983         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16984         (test-xfail-XPG4/stropts.h/conform): Likewise.
16985         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16986         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16987         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16988         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16989         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16990         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16991         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16992         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16993         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16994         (test-xfail-XPG4/termios.h/conform): Likewise.
16995         (test-xfail-XPG4/ucontext.h/conform): Likewise.
16996         (test-xfail-XPG4/unistd.h/conform): Likewise.
16997         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16998         (test-xfail-POSIX/sched.h/conform): Likewise.
16999         (test-xfail-POSIX/signal.h/conform): Likewise.
17000         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17001         (test-xfail-POSIX/tar.h/conform): Likewise.
17002         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17003         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17004         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17005         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17006         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17007         (test-xfail-UNIX98/sched.h/conform): Likewise.
17008         (test-xfail-UNIX98/signal.h/conform): Likewise.
17009         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17010         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17011         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17012         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17013         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17014         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17015         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17016         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17017         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17018         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17019         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17020         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17021         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17022         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17023         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17024         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17025         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17026         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17027         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17028         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17029         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17030         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17031         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17032         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17033         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17034         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17035         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17036         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17037         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17038         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17039         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17040         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17041         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17042         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17043         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17044         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17045         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17046         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17047         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17048         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17049         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17050         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17051         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17052         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17053         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17054         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17055         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17056         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17057         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17058         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17059         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17060         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17061         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17062         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17063         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17064         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17065         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17066         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17067         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17068         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17069         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17070         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17071         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17072         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17073         (conformtest-cc-flags): Likewise.
17074         ($(conformtest-header-tests): New target.
17075         * conform/check-header-lists.sh: New file.
17076         * conform/run-conformtest.sh: Remove.
17078         * conform/conformtest.pl: Allow ' and \ in values given for
17079         constants.
17080         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17081         inclusion.
17082         [POSIX] (sys/types.h): Likewise.
17083         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17084         inclusion.
17085         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17086         inclusion.
17087         * conform/data/signal.h-data (SIGIO): Remove expectation.
17088         [XPG3] (SIGBUS): Do not expect.
17089         [POSIX || XPG3] (SIGPOLL): Likewise.
17090         [POSIX || XPG3] (SIGPROF): Likewise.
17091         [POSIX || XPG3] (SIGSYS): Likewise.
17092         [XPG3] (SIGTRAP): Likewise.
17093         [POSIX || XPG3] (SIGURG): Likewise.
17094         [POSIX || XPG3] (SIGVTALRM): Likewise.
17095         [POSIX || XPG3] (SIGXCPU): Likewise.
17096         [POSIX || XPG3] (SIGXFSZ): Likewise.
17097         [POSIX] (SA_SIGINFO): Expect.
17098         [XPG3] (siginfo_t): Do not expect type or contents.
17099         [POSIX] (si_pid): Do not expect element.
17100         [POSIX] (si_uid): Likewise.
17101         [POSIX] (si_addr): Likewise.
17102         [POSIX] (si_status): Likewise.
17103         [POSIX] (si_band): Likewise.
17104         [XPG4] (si_value): Likewise.
17105         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17106         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17107         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17108         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17109         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17110         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17111         [POSIX || XPG3] (ILL_COPROC): Likewise.
17112         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17113         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17114         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17115         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17116         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17117         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17118         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17119         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17120         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17121         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17122         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17123         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17124         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17125         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17126         [POSIX || XPG3] (CLD_EXITED): Likewise.
17127         [POSIX || XPG3] (CLD_KILLED): Likewise.
17128         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17129         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17130         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17131         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17132         [POSIX || XPG3] (POLL_IN): Likewise.
17133         [POSIX || XPG3] (POLL_OUT): Likewise.
17134         [POSIX || XPG3] (POLL_MSG): Likewise.
17135         [POSIX || XPG3] (POLL_ERR): Likewise.
17136         [POSIX || XPG3] (POLL_PRI): Likewise.
17137         [POSIX || XPG3] (POLL_HUP): Likewise.
17138         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17139         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17140         (SIG*): Do not allow.
17141         [XPG3] (si_*): Likewise.
17142         [XPG3] (SI_*): Likewise.
17143         [XPG3 || XPG4] (sigev_*): Likewise.
17144         [XPG3 || XPG4] (SIGEV_*): Likewise.
17145         [XPG3 || XPG4] (sival_*): Likewise.
17146         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17147         [POSIX || XPG3] (BUS_*): Likewise.
17148         [POSIX || XPG3] (CLD_*): Likewise.
17149         [POSIX || XPG3] (FPE_*): Likewise.
17150         [POSIX || XPG3] (ILL_*): Likewise.
17151         [POSIX || XPG3] (POLL_*): Likewise.
17152         [POSIX || XPG3] (SEGV_*): Likewise.
17153         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17154         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17155         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17156         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17157         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17158         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17159         Specify type and value.
17160         (TVERSLEN): Likewise.
17161         (REGTYPE): Likewise.
17162         (AREGTYPE): Likewise.
17163         (LNKTYPE): Likewise.
17164         (SYMTYPE): Likewise.
17165         (CHRTYPE): Likewise.
17166         (BLKTYPE): Likewise.
17167         (DIRTYPE): Likewise.
17168         (FIFOTYPE): Likewise.
17169         (CONTTYPE): Likewise.
17170         (TSUID): Likewise.
17171         (TSGID): Likewise.
17172         (TSVTX): Likewise.
17173         (TUREAD): Likewise.
17174         (TUWRITE): Likewise.
17175         (TUEXEC): Likewise.
17176         (TGREAD): Likewise.
17177         (TGWRITE): Likewise.
17178         (TGEXEC): Likewise.
17179         (TOREAD): Likewise.
17180         (TOWRITE): Likewise.
17181         (TOEXEC): Likewise.
17182         [POSIX] (TSVTX): Expect constant.
17184 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17186         * Makefile (tests): Change dependencies to ....
17187         (tests-special): ... additions to this variable.
17188         (tests): Depend on $(tests-special).
17189         * Makerules (check-abi-list): New variable.
17190         (check-abi): Depend on $(check-abi-list).
17191         [$(subdir) = elf] (tests-special): Add
17192         $(objpfx)check-abi-libc.out.
17193         [$(build-shared) = yes && subdir] (tests-special): Add
17194         $(check-abi-list).
17195         [$(build-shared) = yes && subdir] (tests): Do not depend on
17196         check-abi.
17197         * Rules (tests): Depend on $(tests-special).
17198         (xtests): Depend on $(xtests-special).
17199         * catgets/Makefile (tests): Change dependencies to ....
17200         (tests-special): ... additions to this variable.
17201         * conform/Makefile (tests): Change dependencies to ....
17202         (tests-special): ... additions to this variable.
17203         * elf/Makefile (tests): Change dependencies to ....
17204         (tests-special): ... additions to this variable.
17205         * grp/Makefile (tests): Change dependencies to ....
17206         (tests-special): ... additions to this variable.
17207         * iconv/Makefile (xtests): Change dependencies to ....
17208         (xtests-special): ... additions to this variable.
17209         * iconvdata/Makefile (tests): Change dependencies to ....
17210         (tests-special): ... additions to this variable.
17211         * intl/Makefile (tests): Change dependencies to ....
17212         (tests-special): ... additions to this variable.  Also add
17213         $(objpfx)tst-gettext.out.
17214         * io/Makefile (tests): Change dependencies to ....
17215         (tests-special): ... additions to this variable.
17216         * libio/Makefile (tests): Change dependencies to ....
17217         (tests-special): ... additions to this variable.
17218         * malloc/Makefile (tests): Change dependencies to ....
17219         (tests-special): ... additions to this variable.
17220         * misc/Makefile (tests): Change dependencies to ....
17221         (tests-special): ... additions to this variable.
17222         * nptl/Makefile (tests): Change dependencies to ....
17223         (tests-special): ... additions to this variable.
17224         * nptl_db/Makefile (tests): Change dependencies to ....
17225         (tests-special): ... additions to this variable.
17226         * posix/Makefile (tests): Change dependencies to ....
17227         (tests-special): ... additions to this variable.
17228         (xtests): Change dependencies to ....
17229         (xtests-special): ... additions to this variable.
17230         * resolv/Makefile (tests): Change dependencies to ....
17231         (tests-special): ... additions to this variable.
17232         (xtests): Change dependencies to ....
17233         (xtests-special): ... additions to this variable.
17234         * stdio-common/Makefile (tests): Change dependencies to ....
17235         (tests-special): ... additions to this variable.
17236         (do-tst-unbputc): Remove target.
17237         (do-tst-printf): Likewise.
17238         * stdlib/Makefile (tests): Change dependencies to ....
17239         (tests-special): ... additions to this variable.
17240         * string/Makefile (tests): Change dependencies to ....
17241         (tests-special): ... additions to this variable.
17242         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17243         (tests-special): ... additions to this variable.
17245         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17246         whole file.
17247         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17248         whole file.
17249         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17250         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17252         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17253         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17254         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17255         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17256         * conform/data/libgen.h-data [XPG3]: Likewise.
17257         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17258         * conform/data/ndbm.h-data [XPG3]: Likewise.
17259         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17260         * conform/data/netdb.h-data [XPG3]: Likewise.
17261         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17262         * conform/data/poll.h-data [XPG3]: Likewise.
17263         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17264         * conform/data/strings.h-data [XPG3]: Likewise.
17265         * conform/data/stropts.h-data [XPG3]: Likewise.
17266         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17267         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17268         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17269         Likewise.
17270         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17271         * conform/data/sys/time.h-data [XPG3]: Likewise.
17272         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17273         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17274         * conform/data/sys/un.h-data [XPG3]: Likewise.
17275         * conform/data/syslog.h-data [XPG3]: Likewise.
17276         * conform/data/ucontext.h-data [XPG3]: Likewise.
17277         * conform/data/utmpx.h-data [XPG3]: Likewise.
17278         * conform/data/varargs.h-data [UNIX98]: Enable file.
17280         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17282         * math/libm-test.inc (struct test_f_f_data): Move expected results
17283         into structure for each rounding mode.
17284         (struct test_ff_f_data): Likewise.
17285         (struct test_ff_f_data_nexttoward): Likewise.
17286         (struct test_fi_f_data): Likewise.
17287         (struct test_fl_f_data): Likewise.
17288         (struct test_if_f_data): Likewise.
17289         (struct test_fff_f_data): Likewise.
17290         (struct test_c_f_data): Likewise.
17291         (struct test_f_f1_data): Likewise.
17292         (struct test_fF_f1_data): Likewise.
17293         (struct test_ffI_f1_data): Likewise.
17294         (struct test_c_c_data): Likewise.
17295         (struct test_cc_c_data): Likewise.
17296         (struct test_f_i_data): Likewise.
17297         (struct test_ff_i_data): Likewise.
17298         (struct test_f_l_data): Likewise.
17299         (struct test_f_L_data): Likewise.
17300         (struct test_fFF_11_data): Likewise.
17301         (RM_): New macro.
17302         (RM_FE_DOWNWARD): Likewise.
17303         (RM_FE_TONEAREST): Likewise.
17304         (RM_FE_TOWARDZERO): Likewise.
17305         (RM_FE_UPWARD): Likewise.
17306         (RUN_TEST_LOOP_f_f): Update references to expected results.
17307         (RUN_TEST_LOOP_2_f): Likewise.
17308         (RUN_TEST_LOOP_fff_f): Likewise.
17309         (RUN_TEST_LOOP_c_f): Likewise.
17310         (RUN_TEST_LOOP_f_f1): Likewise.
17311         (RUN_TEST_LOOP_fF_f1): Likewise.
17312         (RUN_TEST_LOOP_fI_f1): Likewise.
17313         (RUN_TEST_LOOP_ffI_f1): Likewise.
17314         (RUN_TEST_LOOP_c_c): Likewise.
17315         (RUN_TEST_LOOP_cc_c): Likewise.
17316         (RUN_TEST_LOOP_f_i): Likewise.
17317         (RUN_TEST_LOOP_f_i_tg): Likewise.
17318         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17319         (RUN_TEST_LOOP_f_b): Likewise.
17320         (RUN_TEST_LOOP_f_b_tg): Likewise.
17321         (RUN_TEST_LOOP_f_l): Likewise.
17322         (RUN_TEST_LOOP_f_L): Likewise.
17323         (RUN_TEST_LOOP_fFF_11): Likewise.
17324         * math/gen-libm-test.pl (parse_args): Output four copies of
17325         expected results for each test.
17327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17328         (__ASSUME_UTIMES): Remove.
17329         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17330         (__ASSUME_UTIMES): Likewise.
17332         * math/gen-auto-libm-tests.c: Update comment on output format.
17333         (output_for_one_input_case): Generate before-rounding and
17334         after-rounding information as conditions on output flags not
17335         floating-point format.
17336         * math/auto-libm-test-out: Regenerated.
17337         * math/gen-libm-test.pl (cond_value): New function.
17338         (or_cond_value): Use cond_value.
17339         (generate_testfile): Handle conditional exceptions.
17341 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17343         * math/libm-test.inc (max_valid_error): New variable.
17344         (init_max_error): Take new argument specifying whether function
17345         results are exactly determined.  Set max_valid_error and bound
17346         other variables for errors based on this argument.
17347         (set_max_error): Do not record results above max_valid_error.
17348         (check_float_internal): Only accept errors of up to 0.5ulps if
17349         also at most max_valid_error.
17350         (START): Take new argument EXACT and pass it to init_max_error.
17351         (acos_test): Update call to START.
17352         (acos_test_tonearest): Likewise.
17353         (acos_test_towardzero): Likewise.
17354         (acos_test_downward): Likewise.
17355         (acos_test_upward): Likewise.
17356         (acosh_test): Likewise.
17357         (asin_test): Likewise.
17358         (asin_test_tonearest): Likewise.
17359         (asin_test_towardzero): Likewise.
17360         (asin_test_downward): Likewise.
17361         (asin_test_upward): Likewise.
17362         (asinh_test): Likewise.
17363         (atan_test): Likewise.
17364         (atanh_test): Likewise.
17365         (atan2_test): Likewise.
17366         (cabs_test): Likewise.
17367         (cacos_test): Likewise.
17368         (cacosh_test): Likewise.
17369         (carg_test): Likewise.
17370         (casin_test): Likewise.
17371         (casinh_test): Likewise.
17372         (catan_test): Likewise.
17373         (catanh_test): Likewise.
17374         (cbrt_test): Likewise.
17375         (ccos_test): Likewise.
17376         (ccosh_test): Likewise.
17377         (ceil_test): Likewise.
17378         (cexp_test): Likewise.
17379         (cimag_test): Likewise.
17380         (clog_test): Likewise.
17381         (clog10_test): Likewise.
17382         (conj_test): Likewise.
17383         (copysign_test): Likewise.
17384         (cos_test): Likewise.
17385         (cos_test_tonearest): Likewise.
17386         (cos_test_towardzero): Likewise.
17387         (cos_test_downward): Likewise.
17388         (cos_test_upward): Likewise.
17389         (cosh_test): Likewise.
17390         (cosh_test_tonearest): Likewise.
17391         (cosh_test_towardzero): Likewise.
17392         (cosh_test_downward): Likewise.
17393         (cosh_test_upward): Likewise.
17394         (cpow_test): Likewise.
17395         (cproj_test): Likewise.
17396         (creal_test): Likewise.
17397         (csin_test): Likewise.
17398         (csinh_test): Likewise.
17399         (csqrt_test): Likewise.
17400         (ctan_test): Likewise.
17401         (ctan_test_tonearest): Likewise.
17402         (ctan_test_towardzero): Likewise.
17403         (ctan_test_downward): Likewise.
17404         (ctan_test_upward): Likewise.
17405         (ctanh_test): Likewise.
17406         (ctanh_test_tonearest): Likewise.
17407         (ctanh_test_towardzero): Likewise.
17408         (ctanh_test_downward): Likewise.
17409         (ctanh_test_upward): Likewise.
17410         (erf_test): Likewise.
17411         (erfc_test): Likewise.
17412         (exp_test): Likewise.
17413         (exp_test_tonearest): Likewise.
17414         (exp_test_towardzero): Likewise.
17415         (exp_test_downward): Likewise.
17416         (exp_test_upward): Likewise.
17417         (exp10_test): Likewise.
17418         (exp10_test_tonearest): Likewise.
17419         (exp10_test_towardzero): Likewise.
17420         (exp10_test_downward): Likewise.
17421         (exp10_test_upward): Likewise.
17422         (pow10_test): Likewise.
17423         (exp2_test): Likewise.
17424         (expm1_test): Likewise.
17425         (expm1_test_tonearest): Likewise.
17426         (expm1_test_towardzero): Likewise.
17427         (expm1_test_downward): Likewise.
17428         (expm1_test_upward): Likewise.
17429         (fabs_test): Likewise.
17430         (fdim_test): Likewise.
17431         (floor_test): Likewise.
17432         (fma_test): Likewise.
17433         (fma_test_towardzero): Likewise.
17434         (fma_test_downward): Likewise.
17435         (fma_test_upward): Likewise.
17436         (fmax_test): Likewise.
17437         (fmin_test): Likewise.
17438         (fmod_test): Likewise.
17439         (fpclassify_test): Likewise.
17440         (frexp_test): Likewise.
17441         (hypot_test): Likewise.
17442         (ilogb_test): Likewise.
17443         (isfinite_test): Likewise.
17444         (finite_test): Likewise.
17445         (isgreater_test): Likewise.
17446         (isgreaterequal_test): Likewise.
17447         (isinf_test): Likewise.
17448         (isless_test): Likewise.
17449         (islessequal_test): Likewise.
17450         (islessgreater_test): Likewise.
17451         (isnan_test): Likewise.
17452         (isnormal_test): Likewise.
17453         (issignaling_test): Likewise.
17454         (isunordered_test): Likewise.
17455         (j0_test): Likewise.
17456         (j1_test): Likewise.
17457         (jn_test): Likewise.
17458         (ldexp_test): Likewise.
17459         (lgamma_test): Likewise.
17460         (gamma_test): Likewise.
17461         (lrint_test): Likewise.
17462         (lrint_test_tonearest): Likewise.
17463         (lrint_test_towardzero): Likewise.
17464         (lrint_test_downward): Likewise.
17465         (lrint_test_upward): Likewise.
17466         (llrint_test): Likewise.
17467         (llrint_test_tonearest): Likewise.
17468         (llrint_test_towardzero): Likewise.
17469         (llrint_test_downward): Likewise.
17470         (llrint_test_upward): Likewise.
17471         (log_test): Likewise.
17472         (log10_test): Likewise.
17473         (log1p_test): Likewise.
17474         (log2_test): Likewise.
17475         (logb_test): Likewise.
17476         (logb_test_downward): Likewise.
17477         (lround_test): Likewise.
17478         (llround_test): Likewise.
17479         (modf_test): Likewise.
17480         (nearbyint_test): Likewise.
17481         (nextafter_test): Likewise.
17482         (nexttoward_test): Likewise.
17483         (pow_test): Likewise.
17484         (pow_test_tonearest): Likewise.
17485         (pow_test_towardzero): Likewise.
17486         (pow_test_downward): Likewise.
17487         (pow_test_upward): Likewise.
17488         (remainder_test): Likewise.
17489         (drem_test): Likewise.
17490         (remainder_test_tonearest): Likewise.
17491         (drem_test_tonearest): Likewise.
17492         (remainder_test_towardzero): Likewise.
17493         (drem_test_towardzero): Likewise.
17494         (remainder_test_downward): Likewise.
17495         (drem_test_downward): Likewise.
17496         (remainder_test_upward): Likewise.
17497         (drem_test_upward): Likewise.
17498         (remquo_test): Likewise.
17499         (rint_test): Likewise.
17500         (rint_test_tonearest): Likewise.
17501         (rint_test_towardzero): Likewise.
17502         (rint_test_downward): Likewise.
17503         (rint_test_upward): Likewise.
17504         (round_test): Likewise.
17505         (scalb_test): Likewise.
17506         (scalbn_test): Likewise.
17507         (scalbln_test): Likewise.
17508         (signbit_test): Likewise.
17509         (sin_test): Likewise.
17510         (sin_test_tonearest): Likewise.
17511         (sin_test_towardzero): Likewise.
17512         (sin_test_downward): Likewise.
17513         (sin_test_upward): Likewise.
17514         (sincos_test): Likewise.
17515         (sinh_test): Likewise.
17516         (sinh_test_tonearest): Likewise.
17517         (sinh_test_towardzero): Likewise.
17518         (sinh_test_downward): Likewise.
17519         (sinh_test_upward): Likewise.
17520         (sqrt_test): Likewise.
17521         (sqrt_test_tonearest): Likewise.
17522         (sqrt_test_towardzero): Likewise.
17523         (sqrt_test_downward): Likewise.
17524         (sqrt_test_upward): Likewise.
17525         (tan_test): Likewise.
17526         (tan_test_tonearest): Likewise.
17527         (tan_test_towardzero): Likewise.
17528         (tan_test_downward): Likewise.
17529         (tan_test_upward): Likewise.
17530         (tanh_test): Likewise.
17531         (tgamma_test): Likewise.
17532         (trunc_test): Likewise.
17533         (y0_test): Likewise.
17534         (y1_test): Likewise.
17535         (yn_test): Likewise.
17536         (significand_test): Likewise.
17538         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17539         individual tests in comment.
17540         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17541         (prev_max_error): New variable.
17542         (prev_real_max_error): Likewise.
17543         (prev_imag_max_error): Likewise.
17544         (compare_ulp_data): Don't refer to test names in comment.
17545         (find_test_ulps): Remove function.
17546         (find_function_ulps): Likewise.
17547         (find_complex_function_ulps): Likewise.
17548         (init_max_error): Take function name as argument.  Look up ulps
17549         for that function.
17550         (print_ulps): Remove function.
17551         (print_max_error): Use prev_max_error instead of calling
17552         find_function_ulps.
17553         (print_complex_max_error): Use prev_real_max_error and
17554         prev_imag_max_error instead of calling find_complex_function_ulps.
17555         (check_float_internal): Take max_ulp parameter instead of calling
17556         find_test_ulps.  Don't call print_ulps.
17557         (check_float): Update call to check_float_internal.
17558         (check_complex): Update calls to check_float_internal.
17559         (START): Pass argument to init_max_error.
17560         * math/gen-libm-test.pl (%results): Don't include "kind"
17561         information.
17562         (parse_ulps): Don't handle ulps of individual tests.
17563         (print_ulps_file): Likewise.
17564         (output_ulps): Likewise.
17565         * math/README.libm-test: Update.
17566         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17567         individual tests.
17568         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17569         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17570         * sysdeps/arm/libm-test-ulps: Likewise.
17571         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17572         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17573         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17574         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17575         * sysdeps/microblaze/libm-test-ulps: Likewise.
17576         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17577         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17578         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17579         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17580         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17581         * sysdeps/sh/libm-test-ulps: Likewise.
17582         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17583         * sysdeps/tile/libm-test-ulps: Likewise.
17584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17586 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17588         * math/libm-test.inc (print_complex_max_error): Check separately
17589         whether real and imaginary errors are within allowed range and
17590         pass 0 to print_complex_function_ulps instead of value within
17591         allowed range.
17593 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17595         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17596         formatting.
17597         (get_handles_fopen): Likewise.
17598         (do_write_test): Likewise.
17600         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17602         * libio/fileops.c (do_ftell): Use cached offset when
17603         available.
17604         * libio/iofwide.c (do_ftell_wide): Likewise.
17605         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17606         _IO_file_attach.
17607         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17609         [BZ #16532]
17610         * libio/libioP.h (get_file_offset): New function.
17611         * libio/fileops.c (get_file_offset): Likewise.
17612         (do_ftell): Likewise.
17613         (_IO_new_file_seekoff): Split out ftell logic.
17614         * libio/wfileops.c (do_ftell_wide): Likewise.
17615         (_IO_wfile_seekoff): Split out ftell logic.
17616         * libio/tst-ftell-active-handler.c: New test case.
17617         * libio/Makefile (tests): Add it.
17619 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17621         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17622         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17624 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17626         [BZ #16639]
17627         * nscd/connections.c (nscd_init): Call do_exit.
17628         (start_threads): Call do_exit and notify_parent.
17629         (begin_drop_privileges): Call do_exit.
17630         (finish_drop_privileges): Likewise.
17631         * nscd/selinux.c (preserve_capabilities): Likewise.
17632         (install_real_capabilities): Likewise.
17633         (nscd_selinux_enabled): Likewise.
17634         (avc_create_thread): Likewise.
17635         (avc_alloc_lock): Likewise.
17636         (nscd_avc_init): Likewise.
17637         * nscd/nscd.c (parent_fd): New static variable.
17638         (main): Create a pipe between parent and child processes.
17639         Skip closing parent_fd.
17640         (monitor_child): New function.
17641         (do_exit): Likewise.
17642         (notify_parent): Likewise.
17643         * nscd/nscd.h (notify_parent): Likewise.
17644         (do_exit): Likewise.
17646 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17648         * malloc/malloc.c (__libc_calloc): Revert last change.
17650 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17654 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17656         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17658         implementation.
17659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17660         (__libc_ifunc_impl_list): Likewise.
17661         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17662         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17663         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17664         * string/strrchr.c: Define STRRCHR.
17666 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17668         * benchtest/bench-strtok.c (simple_strtok): Delete.
17669         (strtok_string): Use as benchmark.
17670         * string/strtok (STRTOK): New macro.
17672 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17674         * manual/threads.texi: Add header and standard comments to all
17675         functions.
17677         * elf/dl-lookup.c (check_match): New function.
17678         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17679         (do_lookup_x): Remove nested function check_match. Use non-nested
17680         function check_match.
17682 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17684         * csu/Makefile (generated, before-compile): Use += rather than =.
17685         * catgets/Makefile (generated, generated-dirs): Likewise.
17686         * debug/Makefile (generated): Likewise.
17687         * dlfcn/Makefile (generated): Likewise.
17688         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17689         * iconvdata/Makefile (before-compile, generated): Likewise.
17690         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17691         * libio/Makefile (generated): Likewise.
17692         * malloc/Makefile (generated): Likewise.
17693         * manual/Makefile (generated, generated-dirs): Likewise.
17694         * misc/Makefile (generated): Likewise.
17695         * posix/Makefile (generated): Likewise.
17696         * resolv/Makefile (generated): Likewise.
17697         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17698         * timezone/Makefile (generated, generated-dirs): Likewise.
17700         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17702 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17704         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17705         power8 implementation.
17706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17707         file: POWER8 llround ifunc implementation.
17708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17709         (__lllround): Add POWER8 implementation.
17710         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17711         POWER8 llround implementation.
17713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17714         power8 implementation.
17715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17716         file: POWER8 llrint ifunc implementation.
17717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17718         Add POWER8 implementation.
17719         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17720         POWER8 llrint implementation.
17722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17723         power8 implementation.
17724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17725         file: POWER8 finite ifunc implementation.
17726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17727         Add POWER8 implementation.
17728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17729         Likewise.
17730         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17731         POWER8 finite implementation.
17732         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17735         power8 implementation.
17736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17737         file: POWER8 isinf ifunc implementation.
17738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17739         POWER8 implementation.
17740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17741         Likewise.
17742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17743         isinf implementation.
17744         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17746         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17747         (INIT_ARCH): Add hwcap2 initialization.
17748         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17749         power8 implementation.
17750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17751         file: POWER8 isnan ifunc implementation.
17752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17753         POWER8 implementation.
17754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17755         Likewise.
17756         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17757         isnan implementation.
17758         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17760 2014-02-27  Joey Ye  <joey.ye@arm.com>
17762         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17763         (_FP_NANFRAC_Q): Set to zero.
17765 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17767         [BZ #16623]
17768         * math/auto-libm-test-in: New test inputs.
17769         * math/auto-libm-test-out: Regenerate.
17770         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17771         and DA.
17772         (__cos): Likewise.
17773         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17775 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17777         * scripts/evaluate-test.sh: Take new argument indicating whether
17778         failure is expected.
17779         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17780         indicating whether failure is expected.
17781         * conform/Makefile (test-xfail-run-conformtest): New variable.
17782         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17783         level.
17784         * posix/Makefile (test-xfail-annexc): New variable.
17785         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17787 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17789         * argp/Makefile: Include Makeconfig immediately after defining
17790         subdir.
17791         * assert/Makefile: Likewise.
17792         * benchtests/Makefile: Likewise.
17793         * catgets/Makefile: Likewise.
17794         * conform/Makefile: Likewise.
17795         * crypt/Makefile: Likewise.
17796         * csu/Makefile: Likewise.
17797         (all): Remove target.
17798         * ctype/Makefile: Include Makeconfig immediately after defining
17799         subdir.
17800         * debug/Makefile: Likewise.
17801         * dirent/Makefile: Likewise.
17802         * dlfcn/Makefile: Likewise.
17803         * gmon/Makefile: Likewise.
17804         * gnulib/Makefile: Likewise.
17805         * grp/Makefile: Likewise.
17806         * gshadow/Makefile: Likewise.
17807         * hesiod/Makefile: Likewise.
17808         * hurd/Makefile: Likewise.
17809         (all): Remove target.
17810         * iconvdata/Makefile: Include Makeconfig immediately after
17811         defining subdir.
17812         * inet/Makefile: Likewise.
17813         * intl/Makefile: Likewise.
17814         * io/Makefile: Likewise.
17815         * libio/Makefile: Likewise.
17816         (all): Remove target.
17817         * locale/Makefile: Include Makeconfig immediately after defining
17818         subdir.
17819         * login/Makefile: Likewise.
17820         * mach/Makefile: Likewise.
17821         (all): Remove target.
17822         * malloc/Makefile: Include Makeconfig immediately after defining
17823         subdir.
17824         (all): Remove target.
17825         * manual/Makefile: Include Makeconfig immediately after defining
17826         subdir.
17827         * math/Makefile: Likewise.
17828         * misc/Makefile: Likewise.
17829         * nis/Makefile: Likewise.
17830         * nss/Makefile: Likewise.
17831         * po/Makefile: Likewise.
17832         (all): Remove target.
17833         * posix/Makefile: Include Makeconfig immediately after defining
17834         subdir.
17835         * pwd/Makefile: Likewise.
17836         * resolv/Makefile: Likewise.
17837         * resource/Makefile: Likewise.
17838         * rt/Makefile: Likewise.
17839         * setjmp/Makefile: Likewise.
17840         * shadow/Makefile: Likewise.
17841         * signal/Makefile: Likewise.
17842         * socket/Makefile: Likewise.
17843         * soft-fp/Makefile: Likewise.
17844         * stdio-common/Makefile: Likewise.
17845         * stdlib/Makefile: Likewise.
17846         * streams/Makefile: Likewise.
17847         * string/Makefile: Likewise.
17848         * sunrpc/Makefile: Likewise.
17849         (all): Remove target.
17850         * sysvipc/Makefile: Include Makeconfig immediately after defining
17851         subdir.
17852         * termios/Makefile: Likewise.
17853         * time/Makefile: Likewise.
17854         * timezone/Makefile: Likewise.
17855         (all): Remove target.
17856         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17857         subdir.
17858         * wctype/Makefile: Likewise.
17860 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17862         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17863         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17864         (libc_feholdexcept_setround_mips): Ditto.
17865         (libc_feholdsetround): New.
17866         (libc_feholdsetroundf): New.
17867         (libc_feholdsetroundl): New.
17868         (libc_feupdateenv_test_mips): New.
17869         (libc_feupdateenv_test): New.
17870         (libc_feupdateenv_testf): New.
17871         (libc_feupdateenv_testl): New.
17872         (libc_feresetround): New.
17873         (libc_feresetroundf): New.
17874         (libc_feresetroundl): New.
17875         (libc_fetestexcept_mips): New.
17876         (libc_fetestexcept): New.
17877         (libc_fetestexceptf): New.
17878         (libc_fetestexceptl): New.
17879         (HAVE_RM_CTX): New.
17880         (libc_feholdexcept_setround_mips_ctx): New.
17881         (libc_feholdexcept_setround_ctx): New.
17882         (libc_feholdexcept_setroundf_ctx): New.
17883         (libc_feholdexcept_setroundl_ctx): New.
17884         (libc_fesetenv_mips_ctx): New.
17885         (libc_fesetenv_ctx): New.
17886         (libc_fesetenv_ctxf): New.
17887         (libc_fesetenv_ctxl): New.
17888         (libc_feupdateenv_mips_ctx): New.
17889         (libc_feupdateenv_ctx): New.
17890         (libc_feupdateenvf_ctx): New.
17891         (libc_feupdateenvl_ctx): New.
17892         (libc_feholdsetround_mips_ctx): New.
17893         (libc_feholdsetround_ctx): New.
17894         (libc_feholdsetroundf_ctx): New.
17895         (libc_feholdsetroundl_ctx): New.
17896         (libc_feresetround_mips_ctx): New.
17897         (libc_feresetround_ctx): New.
17898         (libc_feresetroundf_ctx): New.
17899         (libc_feresetroundl_ctx): New.
17901 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17903         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17905         * manual/ipc.texi: New file.
17906         * manual/Makefile (chapters): Add ipc.
17907         * manual/job.texi: Add "Inter-Process Communication" to next.
17908         * manual/process.texi: Add "Inter-Process Communication" to prev.
17910 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17914 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17916         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17918         * manual/arith.texi: Fix spaces after sentences.
17919         * manual/charset.texi: Likewise.
17920         * manual/errno.texi: Likewise.
17921         * manual/install.texi: Likewise.
17922         * manual/llio.texi: Likewise.
17923         * manual/locale.texi: Likewise.
17924         * manual/maint.texi: Likewise.
17925         * manual/math.texi: Likewise.
17926         * manual/memory.texi: Likewise.
17927         * manual/message.texi: Likewise.
17928         * manual/probes.texi: Likewise.
17929         * manual/resource.texi: Likewise.
17930         * manual/signal.texi: Likewise.
17931         * manual/socket.texi: Likewise.
17932         * manual/stdio.texi: Likewise.
17933         * manual/string.texi: Likewise.
17934         * manual/time.texi: Likewise.
17935         * manual/users.texi: Likewise.
17937 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17939         [BZ #16632]
17940         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17941         _DEFAULT_SOURCE is defined.
17943 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17944             Carlos O'Donell  <carlos@redhat.com>
17946         [BZ #16613]
17947         * elf/dl-tls.c (_dl_count_modids): New function.
17948         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17949         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17950         audit library and increment generation counter.
17951         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17952         * elf/tst-audit9.c: New file.
17953         * elf/tst-auditmod9a.c: New file.
17954         * elf/tst-auditmod9b.c: New file.
17955         * elf/Makefile: Add rules to build and run tst-audit9.
17957 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17959         [BZ #15347]
17960         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17962 2014-02-25  Will Newton  <will.newton@linaro.org>
17964         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17965         (__longjmp): Restore sp and lr before restoring callee
17966         saved registers.  Add longjmp and longjmp_target
17967         SystemTap probe point.
17968         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17969         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17970         Define to zero to match jmpbuf layout.
17971         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17972         (__sigsetjmp): Save sp and lr before saving callee
17973         saved registers.  Add setjmp SystemTap probe point.
17975 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17977         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17979 2014-02-24  Andreas Schwab  <schwab@suse.de>
17981         [BZ #15804]
17982         * elf/pldd.c (wait_for_ptrace_stop): New function.
17983         (main): Call it after attaching.
17985 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17987         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17988         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17989         Versions files is now verboten.
17990         * hurd/Versions (libc: GLIBC_2.0):
17991         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17992         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17993         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17994         * mach/Versions: Likewise.
17996         * csu/Versions: Remove unused %include.
17997         * resolv/Versions: Likewise.
17999 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18001         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18002         ($(objpfx)check-local-headers.out): Likewise.
18003         ($(objpfx)begin-end-check.out): Likewise.
18004         * Makerules (check-abi-%.out): Likewise.
18005         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18006         ($(objpfx)test2.cat): Likewise.
18007         ($(objpfx)de/libc.cat): Likewise.
18008         ($(objpfx)test-gencat.out): Likewise.
18009         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18010         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18011         ($(objpfx)noload-mem): Likewise.
18012         ($(objpfx)tst-pathopt.out): Likewise.
18013         ($(objpfx)tst-rtld-load-self.out): Likewise.
18014         ($(objpfx)tst-array1-cmp.out): Likewise.
18015         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18016         ($(objpfx)tst-array2-cmp.out): Likewise.
18017         ($(objpfx)tst-array3-cmp.out): Likewise.
18018         ($(objpfx)tst-array4-cmp.out): Likewise.
18019         ($(objpfx)tst-array5-cmp.out): Likewise.
18020         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18021         ($(objpfx)check-textrel.out): Likewise.
18022         ($(objpfx)check-execstack.out): Likewise.
18023         ($(objpfx)check-localplt.out): Likewise.
18024         ($(objpfx)order2-cmp.out): Likewise.
18025         ($(objpfx)tst-leaks1-mem): Likewise.
18026         ($(objpfx)tst-leaks1-static-mem): Likewise.
18027         ($(objpfx)tst-initorder-cmp.out): Likewise.
18028         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18029         ($(objpfx)tst-unused-dep.out): Likewise.
18030         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18031         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18032         * iconv/Makefile (test-iconvconfig): Likewise.
18033         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18034         ($(objpfx)iconv-test.out): Likewise.
18035         ($(objpfx)tst-tables.out): Likewise.
18036         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18037         ($(objpfx)tst-gettext.out): Likewise.
18038         ($(objpfx)tst-translit.out): Likewise.
18039         ($(objpfx)tst-gettext2.out): Likewise.
18040         ($(objpfx)tst-gettext4.out): Likewise.
18041         ($(objpfx)tst-gettext6.out): Likewise.
18042         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18043         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18044         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18045         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18046         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18047         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18048         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18049         ($(objpfx)wordexp-tst.out): Likewise.
18050         ($(objpfx)annexc.out): Likewise.
18051         ($(objpfx)tst-fnmatch-mem): Likewise.
18052         ($(objpfx)bug-regex2-mem): Likewise.
18053         ($(objpfx)bug-regex14-mem): Likewise.
18054         ($(objpfx)bug-regex21-mem): Likewise.
18055         ($(objpfx)bug-regex31-mem): Likewise.
18056         ($(objpfx)tst-vfork3-mem): Likewise.
18057         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18058         ($(objpfx)tst-pcre-mem): Likewise.
18059         ($(objpfx)tst-boost-mem): Likewise.
18060         ($(objpfx)tst-getconf.out): Likewise.
18061         ($(objpfx)bug-ga2-mem): Likewise.
18062         ($(objpfx)bug-glob2-mem): Likewise.
18063         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18064         ($(objpfx)mtrace-tst-leaks2): Likewise.
18065         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18066         ($(objpfx)tst-printf.out): Likewise.
18067         ($(objpfx)tst-setvbuf1.out): Likewise.
18068         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18069         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18070         ($(objpfx)tst-fmtmsg.out): Likewise.
18071         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18072         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18074         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18075         * bits/sigaction.h [__USE_MISC]: Likewise.
18076         * bits/waitstatus.h: Update #endif comments.
18077         * ctype/ctype.h: Likewise.
18078         * dirent/dirent.h: Likewise.
18079         [__USE_MISC]: Remove redundant conditionals.
18080         * grp/grp.h: Update #endif comments.
18081         [__USE_GNU]: Remove redundant conditionals.
18082         [__USE_MISC]: Likewise.
18083         * inet/netinet/in.h [__USE_GNU]: Likewise.
18084         * io/sys/stat.h [__USE_MISC]: Likewise.
18085         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18086         * libio/bits/stdio.h: Update #endif comments.
18087         [__USE_MISC]: Remove redundant conditionals.
18088         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18089         * libio/stdio.h: Update #endif comments.
18090         [__USE_MISC]: Remove redundant conditionals.
18091         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18092         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18093         * math/math.h: Update #else and #endif comments.
18094         [__USE_MISC]: Remove redundant conditionals.
18095         * misc/sys/uio.h: Update #endif comments.
18096         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18097         * posix/glob.h [__USE_MISC]: Likewise.
18098         * posix/sys/types.h: Update #endif comments.
18099         [__USE_MISC]: Remove redundant conditionals.
18100         * posix/sys/wait.h: Update #endif comments.
18101         [__USE_MISC]: Remove redundant conditionals.
18102         * posix/unistd.h: Update #endif comments.
18103         [__USE_MISC]: Remove redundant conditionals.
18104         * pwd/pwd.h [__USE_GNU]: Likewise.
18105         [__USE_MISC]: Likewise.
18106         * resolv/netdb.h [__USE_GNU]: Likewise.
18107         * signal/signal.h: Update #endif comments.
18108         [__USE_MISC]: Remove redundant conditionals.
18109         * stdlib/stdlib.h: Update #else and #endif comments.
18110         [__USE_MISC]: Remove redundant conditionals.
18111         [__USE_GNU]: Likewise.
18112         * string/bits/string2.h [__USE_MISC]: Likewise.
18113         * string/string.h: Update #endif comments.
18114         [__USE_MISC]: Remove redundant conditionals.
18115         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18116         Likewise.
18117         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18118         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18119         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18120         Likewise.
18121         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18122         Likewise.
18123         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18124         comments.
18125         [__USE_MISC]: Remove redundant conditionals.
18126         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18127         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18128         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18129         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18130         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18131         Likewise.
18132         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18133         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18134         Likewise.
18135         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18136         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18137         Likewise.
18138         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18139         Likewise.
18140         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18141         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18142         Likewise.
18143         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18144         Likewise.
18145         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18146         * sysdeps/x86/bits/string.h: Update #endif comments.
18147         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18148         conditionals.
18149         * time/sys/time.h: Update #endif comments.
18150         * time/time.h: Likewise.
18151         [__USE_MISC]: Remove redundant conditionals.
18153 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18155         [BZ #16600]
18156         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18158 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18160         * Versions.def (librt): Add GLIBC_2.17.
18162 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18164         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18165         synonym for _SYS_AUXV_H to allow direct inclusion.
18166         * sysdeps/sparc/bits/hwcap.h: Likewise.
18167         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18168         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18169         * sysdeps/sparc/sysdep.h: Likewise.
18171 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18173         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18175 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18177         * benchtests/bench-strrchr.c: Print length instead of position.
18179 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18181         [BZ #16611]
18182         * sysdeps/unix/sysv/linux/kernel-features.h
18183         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18184         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18185         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18186         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18187         Likewise.
18188         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18189         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18190         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18191         (__ASSUME_SENDMMSG): Define instead of using previous
18192         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18193         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18194         (__ASSUME_SENDMMSG_SYSCALL): Define.
18195         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18196         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18197         Likewise.
18198         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18199         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18200         Likewise.
18201         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18202         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18203         Likewise.
18204         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18205         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18206         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18207         [__ASSUME_SENDMMSG]: Change conditionals to
18208         [__ASSUME_SENDMMSG_SOCKETCALL].
18209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18210         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18211         Define.
18212         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18213         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18214         Likewise.
18215         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18216         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18217         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18218         [!__ASSUME_SENDMMSG]: Change conditional to
18219         [!__ASSUME_SENDMMSG_SOCKETCALL].
18220         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18221         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18222         Define.
18224         [BZ #16610]
18225         * sysdeps/unix/sysv/linux/kernel-features.h
18226         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18227         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18228         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18229         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18230         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18231         [__i386__ || __sparc__]
18232         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18233         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18234         (__ASSUME_RECVMMSG): Define instead of using previous
18235         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18236         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18237         (__ASSUME_RECVMMSG_SYSCALL): Define.
18238         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18240         Likewise.
18241         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18242         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18243         Likewise.
18244         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18246         Likewise.
18247         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18248         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18249         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18250         [__ASSUME_RECVMMSG]: Change condition to
18251         [__ASSUME_RECVMMSG_SOCKETCALL].
18252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18253         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18254         Define.
18255         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18256         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18257         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18258         Likewise.
18259         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18260         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18261         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18262         [!__ASSUME_RECVMMSG]: Change condition to
18263         [!__ASSUME_RECVMMSG_SOCKETCALL].
18264         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18265         (__ASSUME_RECVMMSG_SYSCALL): Define.
18267         [BZ #16609]
18268         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18269         __powerpc__ || __s390__ || __sh__ || __sparc__]
18270         (__ASSUME_SOCKETCALL): Define.
18271         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18272         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18273         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18274         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18275         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18276         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18277         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18278         (__ASSUME_ACCEPT4): Define instead of using previous
18279         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18280         __powerpc__ || __sparc__ || __s390__)] condition.
18281         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18282         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18283         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18284         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18285         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18286         [!__ASSUME_ACCEPT4]: Change condition to
18287         [!__ASSUME_ACCEPT4_SOCKETCALL].
18288         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18289         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18290         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18291         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18292         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18293         __ASSUME_ACCEPT4_SYSCALL.
18294         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18295         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18296         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18297         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18298         __ASSUME_ACCEPT4_SYSCALL.
18299         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18300         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18301         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18302         [__ASSUME_ACCEPT4]: Change condition to
18303         [__ASSUME_ACCEPT4_SOCKETCALL].
18304         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18305         (__ASSUME_SOCKETCALL): Define.
18306         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18307         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18308         (__ASSUME_SOCKETCALL): Define.
18309         (__ASSUME_ACCEPT4): Remove.
18310         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18311         Define.
18312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18313         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18314         Likewise.
18315         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18316         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18318         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18319         macro.
18320         (HWCAP_ARM_LPAE): Likewise.
18321         (HWCAP_ARM_EVTSTRM): Likewise.
18322         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18323         Add vpfd32, lpae and evtstrm.
18324         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18325         Increase to 22.
18327 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18329         * math/auto-libm-test-in: Add tests of clog10.
18330         * math/auto-libm-test-out: Regenerated.
18331         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18332         * sysdeps/i386/fpu/libm-test-ulps: Update.
18333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18335 2014-02-18  Andreas Schwab  <schwab@suse.de>
18337         [BZ #16574]
18338         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18339         Store non-zero if the second buffer was newly allocated.
18340         (send_dg): Likewise.
18341         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18342         to send_vc and send_dg.
18343         (res_nsend): Pass NULL for ansp2_malloced.
18344         * resolv/res_query.c (__libc_res_nquery): Add parameter
18345         answerp2_malloced and pass it down to __libc_res_nsend.
18346         (res_nquery): Pass additional NULL to __libc_res_nquery.
18347         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18348         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18349         second answer buffer if answerp2_malloced was set.
18350         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18351         (__libc_res_nquerydomain): Add parameter
18352         answerp2_malloced and pass it down to __libc_res_nquery.
18353         (res_nquerydomain): Pass additional NULL to
18354         __libc_res_nquerydomain.
18355         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18356         additional NULL to __libc_res_nsend and __libc_res_nquery.
18357         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18358         additional NULL to __libc_res_nsearch.
18359         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18360         parameter of __libc_res_nsearch to check for separately allocated
18361         second buffer.
18362         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18363         __libc_res_nquery.
18364         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18365         additional NULL to __libc_res_nquery.
18366         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18367         __libc_res_nsearch.
18368         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18369         * include/resolv.h: Update prototypes of __libc_res_nquery,
18370         __libc_res_nsearch, __libc_res_nsend.
18372 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18374         * math/auto-libm-test-in: Add tests of fma.
18375         * math/auto-libm-test-out: Regenerated.
18376         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18377         (fma_towardzero_test_data): Likewise.
18378         (fma_downward_test_data): Likewise.
18379         (fma_upward_test_data): Likewise.
18380         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18381         mpc_mode.
18382         (rounding_modes): Add values for new field.
18383         (func_calc_method): Add value mpfr_fff_f.
18384         (func_calc_desc): Add mpfr_fff_f union field.
18385         (test_function): Add field exact_args.
18386         (FUNC): Add macro argument EXACT_ARGS.
18387         (FUNC_mpfr_f_f): Update call to FUNC.
18388         (FUNC_mpfr_f_f): Likewise.
18389         (FUNC_mpfr_ff_f): Likewise.
18390         (FUNC_mpfr_if_f): Likewise.
18391         (FUNC_mpc_c_f): Likewise.
18392         (FUNC_mpc_c_c): Likewise.
18393         (test_functions): Add fma.  Update calls to FUNC.
18394         (handle_input_arg): Add argument exact_args.
18395         (add_test): Update call to handle_input_arg.
18396         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18397         (output_for_one_input_case): Update call to calc_generic_results.
18398         Recalculate exact zero results in each rounding mode.
18400         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18401         non-negative before setting low bit.
18402         * math/auto-libm-test-in: Mark one asin test possibly having
18403         spurious underflow.
18404         * math/auto-libm-test-out: Regenerated.
18405         * sysdeps/i386/fpu/libm-test-ulps: Update.
18406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18408 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18410         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18411         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18412         ports/sysdeps/unix/sysv/linux/microblaze.
18413         * README: Add missing listing for microblaze*-*-linux-gnu.
18415 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18417         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18418         duplicate code
18420 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18422         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18423         * sysdeps/unix/sysv/linux/ia64: Move directory from
18424         ports/sysdeps/unix/sysv/linux/ia64.
18425         * README: Update listing for ia64-*-linux-gnu.
18427 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18428             Joseph Myers  <joseph@codesourcery.com>
18430         * Makeconfig (test-name): New variable.
18431         (evaluate-test): Likewise.
18432         * Makerules (do-test-clean): Remove .test-result files.
18433         (common-mostlyclean): Likewise.
18434         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18435         * scripts/evaluate-test.sh: New file.
18437 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18439         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18440         separate $(objpfx)tst-fopenloc-cmp.out and
18441         $(objpfx)tst-fopenloc-mem.out targets.
18442         (tests): Update dependencies.
18443         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18444         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18445         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18446         (tst-rxspencer-no-utf8-ARGS): New variable.
18447         (tst-rxspencer-no-utf8-ENV): Likewise.
18448         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18449         instead of $(objpfx)tst-rxspencer-mem.
18450         ($(objpfx)tst-rxspencer-mem): Change target to
18451         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18452         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18453         * posix/tst-rxspencer-no-utf8.c: New file.
18455         * elf/Makefile ($(objpfx)order.out): Remove rule.
18456         [$(run-built-tests) = yes] (tests): Depend on
18457         $(objpfx)order-cmp.out.
18458         ($(objpfx)order-cmp.out): New rule.
18459         [$(run-built-tests) = yes] (tests): Depend on
18460         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18461         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18462         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18463         $(objpfx)tst-array5-static-cmp.out.
18464         ($(objpfx)tst-array1.out): Remove rule.
18465         ($(objpfx)tst-array1-cmp.out): New rule.
18466         ($(objpfx)tst-array1-static.out): Remove rule.
18467         ($(objpfx)tst-array1-static-cmp.out): New rule.
18468         ($(objpfx)tst-array2.out): Remove rule.
18469         ($(objpfx)tst-array2-cmp.out): New rule.
18470         ($(objpfx)tst-array3.out): Remove rule.
18471         ($(objpfx)tst-array3-cmp.out): New rule.
18472         ($(objpfx)tst-array4.out): Remove rule.
18473         ($(objpfx)tst-array4-cmp.out): New rule.
18474         ($(objpfx)tst-array5.out): Remove rule.
18475         ($(objpfx)tst-array5-cmp.out): New rule.
18476         ($(objpfx)tst-array5-static.out): Remove rule.
18477         ($(objpfx)tst-array5-static-cmp.out): New rule.
18478         [$(run-built-tests) = yes] (tests): Depend on
18479         $(objpfx)order2-cmp.out.
18480         ($(objpfx)order2.out): Remove rule.
18481         ($(objpfx)order2-cmp.out): New rule.
18482         ($(objpfx)tst-initorder.out): Remove rule.
18483         [$(run-built-tests) = yes] (tests): Depend on
18484         $(objpfx)tst-initorder-cmp.out.
18485         ($(objpfx)tst-initorder-cmp.out): New rule.
18486         ($(objpfx)tst-initorder2.out): Remove rule.
18487         [$(run-built-tests) = yes] (tests): Depend on
18488         $(objpfx)tst-initorder2-cmp.out.
18489         ($(objpfx)tst-initorder2-cmp.out): New rule.
18490         [$(run-built-tests) = yes] (tests): Depend on
18491         $(objpfx)tst-unused-dep-cmp.out.
18492         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18493         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18494         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18495         on $(objpfx)tst-setvbuf1-cmp.out.
18496         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18497         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18498         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18499         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18500         ($(objpfx)tst-svc.out): Remove rule.
18501         ($(objpfx)tst-svc-cmp.out): New rule.
18503 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18505         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18506         * ctype/ctype.h [__USE_MISC]: Likewise.
18507         * dirent/dirent.h [__USE_MISC]: Likewise.
18508         * grp/grp.h [__USE_MISC]: Likewise.
18509         * io/fcntl.h [__USE_MISC]: Likewise.
18510         * io/sys/stat.h [__USE_MISC]: Likewise.
18511         * libio/stdio.h [__USE_MISC]: Likewise.
18512         * posix/unistd.h [__USE_MISC]: Likewise.
18513         * pwd/pwd.h [__USE_MISC]: Likewise.
18514         * stdlib.h [__USE_MISC]: Likewise.
18515         * string/bits/string2.h [__USE_MISC]: Likewise.
18516         * string/string.h [__USE_MISC]: Likewise.
18517         * time/time.h [__USE_MISC]: Likewise.
18519 2014-02-13  Andreas Schwab  <schwab@suse.de>
18521         [BZ #16574]
18522         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18523         second answer buffer if it was separately allocated.
18525 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18527         * sysdeps/mips/math-tests.h: Include <features.h>.
18528         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18529         (ROUNDING_TESTS_long_double): Do not define.
18530         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18531         (EXCEPTION_TESTS_long_double): Likewise.
18532         * sysdeps/mips/mips64/libm-test-ulps: Update.
18534         * include/features.h (__USE_BSD): Remove macro definitions.
18535         (__USE_SVID): Likewise.
18536         (_BSD_SOURCE): Likewise.
18537         (_SVID_SOURCE): Likewise.
18538         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18539         from definition of _DEFAULT_SOURCE.
18540         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18541         [_DEFAULT_SOURCE].
18542         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18543         * bits/mman.h [__USE_BSD]: Likewise.
18544         * bits/termios.h [__USE_BSD]: Likewise.
18545         * bits/waitstatus.h [__USE_BSD]: Likewise.
18546         * ctype/ctype.h [__USE_SVID]: Likewise.
18547         * dirent/dirent.h [__USE_BSD]: Likewise.
18548         * grp/grp.h [__USE_SVID]: Likewise.
18549         [__USE_BSD]: Likewise.
18550         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18551         * io/fcntl.h [__USE_BSD]: Likewise.
18552         * io/ftw.h [__USE_BSD]: Likewise.
18553         * io/sys/stat.h [__USE_BSD]: Likewise.
18554         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18555         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18556         * libio/stdio.h [__USE_SVID]: Likewise.
18557         [__USE_BSD]: Likewise.
18558         * math/math.h [__USE_SVID]: Likewise.
18559         [__USE_BSD]: Likewise.
18560         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18561         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18562         * misc/search.h [__USE_SVID]: Likewise.
18563         * misc/sys/mman.h [__USE_BSD]: Likewise.
18564         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18565         * misc/sys/uio.h [__USE_BSD]: Likewise.
18566         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18567         * posix/glob.h [__USE_BSD]: Likewise.
18568         * posix/regex.h [__USE_BSD]: Likewise.
18569         * posix/sys/types.h [__USE_BSD]: Likewise.
18570         [__USE_SVID]: Likewise.
18571         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18572         * posix/sys/wait.h [__USE_BSD]: Likewise.
18573         [__USE_SVID]: Likewise.
18574         * posix/unistd.h [__USE_BSD]: Likewise.
18575         [__USE_SVID]: Likewise.
18576         * pwd/pwd.h [__USE_SVID]: Likewise.
18577         * resolv/netdb.h [__USE_BSD]: Likewise.
18578         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18579         * signal/signal.h [__USE_BSD]: Likewise.
18580         [__USE_SVID]: Likewise.
18581         * socket/sys/socket.h [__USE_BSD]: Likewise.
18582         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18583         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18584         [__USE_SVID]: Likewise.
18585         * string/bits/string2.h [__USE_BSD]: Likewise.
18586         [__USE_SVID]: Likewise.
18587         * string/bits/string3.h [__USE_BSD]: Likewise.
18588         * string/endian.h [__USE_BSD]: Likewise.
18589         * string/string.h [__USE_SVID]: Likewise.
18590         [__USE_BSD]: Likewise.
18591         * string/strings.h [__USE_BSD]: Likewise.
18592         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18593         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18594         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18595         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18596         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18597         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18598         Likewise.
18599         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18600         Likewise.
18601         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18602         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18603         Likewise.
18604         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18605         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18606         Likewise.
18607         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18608         Likewise.
18609         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18610         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18611         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18612         Likewise.
18613         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18614         Likewise.
18615         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18616         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18617         * termios/termios.h [__USE_BSD]: Likewise.
18618         * time/sys/time.h [__USE_BSD]: Likewise.
18619         * time/time.h [__USE_BSD]: Likewise.
18620         [__USE_SVID]: Likewise.
18622         * Makefile (subdir_targets): Remove subdir_lint.out.
18624         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18625         (do-tst-printf): Likewise.
18626         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18627         $(objpfx)tst-printf.out.
18629         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18631         * Makerules (check-abi-%): Change target to
18632         $(objpfx)check-abi-%.out.
18633         (check-abi target): Update dependencies.
18634         (check-abi-pattern variable): Redirect output of diff to $@.
18635         (check-abi variable): Likewise.
18636         * elf/Makefile (check-abi): Update dependencies.
18638         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18639         unused.
18640         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18641         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18642         subnormal range.
18643         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18644         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18645         value has largest subnormal exponent.
18646         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18647         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18648         * sysdeps/aarch64/soft-fp/sfp-machine.h
18649         (_FP_TININESS_AFTER_ROUNDING): New macro.
18650         * sysdeps/alpha/soft-fp/sfp-machine.h
18651         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18652         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18653         Likewise.
18654         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18655         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18656         * sysdeps/mips/soft-fp/sfp-machine.h
18657         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18658         * sysdeps/powerpc/soft-fp/sfp-machine.h
18659         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18660         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18661         Likewise.
18662         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18663         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18664         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18665         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18666         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18667         Likewise.
18669 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18671         [BZ #16545]
18672         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18673         model 1.
18675 2014-02-12  Richard Henderson  <rth@redhat.com>
18677         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18678         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18679         * sysdeps/unix/sysv/linux/alpha: Move directory from
18680         ports/sysdeps/unix/sysv/linux/alpha.
18681         * README: Update listing for alpha-*-linux-gnu.
18683 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18685         * include/features.h: Update comment documenting feature test
18686         macros.
18687         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18688         _DEFAULT_SOURCE.
18689         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18690         (_SVID_SOURCE): Likewise.
18691         (_DEFAULT_SOURCE): Update description of default features.
18692         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18693         with _GNU_SOURCE.
18694         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18695         (S_ISVTX): Likewise.
18696         * manual/math.texi (Mathematical Constants): Likewise.
18697         * manual/signal.texi (Interrupted Primitives): Likewise.
18698         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18699         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18700         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18701         Don't refer to _SVID_SOURCE in warning text.
18703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18705         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18706         already defined.
18707         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18708         * sysdeps/mips/dl-lookup.c: Remove.
18709         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18711 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18713         [BZ #16447]
18714         * math/auto-libm-test-in: Add testcase for expl.
18715         * math/auto-libm-test-out: Regenerate.
18716         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18717         calculation of unsafe.
18718         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18720 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18722         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18723         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18724         ports/sysdeps/unix/sysv/linux/aarch64.
18725         * README: Update listing for aarch64*-*-linux-gnu.
18727 2014-02-11  Will Newton  <will.newton@linaro.org>
18729         * manual/probes.texi (Mathematical Function Probes): Use
18730         "triggered" instead of "hit".
18732         * manual/probes.texi (Internal Probes): Add documentation
18733         of setjmp, longjmp and longjmp_target probes.
18735         * include/stap-probe.h: Add comment about probe argument
18736         format.
18738         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18739         definition.  (tr_where, tr_freehook, tr_mallochook,
18740         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18742 2014-02-11  David S. Miller  <davem@davemloft.net>
18744         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18745         processing int_tests.
18747 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18749         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18750         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18751         * sysdeps/unix/sysv/linux/mips: Move directory from
18752         ports/sysdeps/unix/sysv/linux/mips.
18753         * README: Update listing for mips-*-linux-gnu and
18754         mips64-*-linux-gnu.
18756 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18758         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18759         * sysdeps/unix/sysv/linux/m68k: Move directory from
18760         ports/sysdeps/unix/sysv/linux/m68k.
18761         * README: Update listing for m68k-*-linux-gnu.
18763 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18765         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18766         * sysdeps/unix/sysv/linux/generic: Move directory from
18767         ports/sysdeps/unix/sysv/linux/generic.
18768         * sysdeps/unix/sysv/linux/tile: Move directory from
18769         ports/sysdeps/unix/sysv/linux/tile.
18770         * README: Update listing for tile*-*-linux-gnu.
18772 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18774         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18775         __builtin_expect.
18776         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18777         * catgets/open_catalog.c (__open_catalog): Likewise.
18778         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18779         * debug/confstr_chk.c: Likewise.
18780         * debug/fread_chk.c (__fread_chk): Likewise.
18781         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18782         * debug/getgroups_chk.c: Likewise.
18783         * debug/mbsnrtowcs_chk.c: Likewise.
18784         * debug/mbsrtowcs_chk.c: Likewise.
18785         * debug/mbstowcs_chk.c: Likewise.
18786         * debug/memcpy_chk.c: Likewise.
18787         * debug/memmove_chk.c: Likewise.
18788         * debug/mempcpy_chk.c: Likewise.
18789         * debug/memset_chk.c: Likewise.
18790         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18791         * debug/strcat_chk.c (__strcat_chk): Likewise.
18792         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18793         * debug/strncat_chk.c (__strncat_chk): Likewise.
18794         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18795         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18796         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18797         * debug/wcpncpy_chk.c: Likewise.
18798         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18799         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18800         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18801         * debug/wcsncpy_chk.c: Likewise.
18802         * debug/wcsnrtombs_chk.c: Likewise.
18803         * debug/wcsrtombs_chk.c: Likewise.
18804         * debug/wcstombs_chk.c: Likewise.
18805         * debug/wmemcpy_chk.c: Likewise.
18806         * debug/wmemmove_chk.c: Likewise.
18807         * debug/wmempcpy_chk.c: Likewise.
18808         * debug/wmemset_chk.c: Likewise.
18809         * dirent/scandirat.c (SCANDIRAT): Likewise.
18810         * dlfcn/dladdr1.c (dladdr1): Likewise.
18811         * dlfcn/dladdr.c (dladdr): Likewise.
18812         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18813         * dlfcn/dlerror.c (__dlerror): Likewise.
18814         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18815         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18816         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18817         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18818         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18819         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18820         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18821         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18822         Likewise.
18823         * elf/dl-conflict.c: Likewise.
18824         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18825         * elf/dl-dst.h: Likewise.
18826         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18827         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18828         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18829         * elf/dl-init.c (call_init, _dl_init): Likewise.
18830         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18831         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18832         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18833         Likewise.
18834         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18835         Likewise.
18836         * elf/dl-minimal.c (__libc_memalign): Likewise.
18837         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18838         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18839         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18840         * elf/dl-sym.c (do_sym): Likewise.
18841         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18842         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18843         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18844         * elf/dl-writev.h (_dl_writev): Likewise.
18845         * elf/ldconfig.c (search_dir): Likewise.
18846         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18847         (dl_main): Likewise.
18848         * elf/setup-vdso.h (setup_vdso): Likewise.
18849         * grp/compat-initgroups.c (compat_call): Likewise.
18850         * grp/fgetgrent.c (fgetgrent): Likewise.
18851         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18852         * grp/putgrent.c (putgrent): Likewise.
18853         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18854         Likewise.
18855         * hurd/hurdinit.c: Likewise.
18856         * iconvdata/8bit-gap.c (struct): Likewise.
18857         * iconvdata/ansi_x3.110.c : Likewise.
18858         * iconvdata/big5.c : Likewise.
18859         * iconvdata/big5hkscs.c : Likewise.
18860         * iconvdata/cp1255.c: Likewise.
18861         * iconvdata/cp1258.c : Likewise.
18862         * iconvdata/cp932.c : Likewise.
18863         * iconvdata/euc-cn.c: Likewise.
18864         * iconvdata/euc-jisx0213.c : Likewise.
18865         * iconvdata/euc-jp.c: Likewise.
18866         * iconvdata/euc-jp-ms.c : Likewise.
18867         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18868         * iconvdata/gb18030.c : Likewise.
18869         * iconvdata/gbbig5.c (const): Likewise.
18870         * iconvdata/gbgbk.c: Likewise.
18871         * iconvdata/gbk.c : Likewise.
18872         * iconvdata/ibm1364.c : Likewise.
18873         * iconvdata/ibm930.c : Likewise.
18874         * iconvdata/ibm932.c: Likewise.
18875         * iconvdata/ibm933.c : Likewise.
18876         * iconvdata/ibm935.c : Likewise.
18877         * iconvdata/ibm937.c : Likewise.
18878         * iconvdata/ibm939.c : Likewise.
18879         * iconvdata/ibm943.c: Likewise.
18880         * iconvdata/iso_11548-1.c: Likewise.
18881         * iconvdata/iso-2022-cn.c : Likewise.
18882         * iconvdata/iso-2022-cn-ext.c : Likewise.
18883         * iconvdata/iso-2022-jp-3.c: Likewise.
18884         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18885         * iconvdata/iso-2022-kr.c : Likewise.
18886         * iconvdata/iso646.c (gconv_end): Likewise.
18887         * iconvdata/iso_6937-2.c : Likewise.
18888         * iconvdata/iso_6937.c : Likewise.
18889         * iconvdata/iso8859-1.c: Likewise.
18890         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18891         * iconvdata/shift_jisx0213.c : Likewise.
18892         * iconvdata/sjis.c : Likewise.
18893         * iconvdata/t.61.c : Likewise.
18894         * iconvdata/tcvn5712-1.c : Likewise.
18895         * iconvdata/tscii.c: Likewise.
18896         * iconvdata/uhc.c : Likewise.
18897         * iconvdata/unicode.c (gconv_end): Likewise.
18898         * iconvdata/utf-16.c (gconv_end): Likewise.
18899         * iconvdata/utf-32.c (gconv_end): Likewise.
18900         * iconvdata/utf-7.c (base64): Likewise.
18901         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18902         * iconv/gconv_close.c (__gconv_close): Likewise.
18903         * iconv/gconv_open.c (__gconv_open): Likewise.
18904         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18905         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18906         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18907         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18908         (ucs4le_internal_loop_single): Likewise.
18909         * iconv/iconv.c (iconv): Likewise.
18910         * iconv/iconv_close.c: Likewise.
18911         * iconv/loop.c (SINGLE): Likewise.
18912         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18913         * include/atomic.h: Likewise.
18914         * inet/inet6_option.c (option_alloc): Likewise.
18915         * intl/bindtextdom.c (set_binding_values): Likewise.
18916         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18917         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18918         * intl/localealias.c (read_alias_file): Likewise.
18919         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18920         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18921         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18922         * libio/fmemopen.c (fmemopen): Likewise.
18923         * libio/iofgets.c (_IO_fgets): Likewise.
18924         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18925         * libio/iofgetws.c (fgetws): Likewise.
18926         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18927         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18928         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18929         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18930         * locale/findlocale.c (_nl_find_locale): Likewise.
18931         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18932         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18933         Likewise.
18934         * locale/setlocale.c (setlocale): Likewise.
18935         * login/programs/pt_chown.c (main): Likewise.
18936         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18937         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18938         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18939         (mmap, mmap64, mremap, munmap): Likewise.
18940         * math/e_exp2l.c: Likewise.
18941         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18942         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18943         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18944         * math/s_catan.c (__catan): Likewise.
18945         * math/s_catanf.c (__catanf): Likewise.
18946         * math/s_catanh.c (__catanh): Likewise.
18947         * math/s_catanhf.c (__catanhf): Likewise.
18948         * math/s_catanhl.c (__catanhl): Likewise.
18949         * math/s_catanl.c (__catanl): Likewise.
18950         * math/s_ccosh.c (__ccosh): Likewise.
18951         * math/s_ccoshf.c (__ccoshf): Likewise.
18952         * math/s_ccoshl.c (__ccoshl): Likewise.
18953         * math/s_cexp.c (__cexp): Likewise.
18954         * math/s_cexpf.c (__cexpf): Likewise.
18955         * math/s_cexpl.c (__cexpl): Likewise.
18956         * math/s_clog10.c (__clog10): Likewise.
18957         * math/s_clog10f.c (__clog10f): Likewise.
18958         * math/s_clog10l.c (__clog10l): Likewise.
18959         * math/s_clog.c (__clog): Likewise.
18960         * math/s_clogf.c (__clogf): Likewise.
18961         * math/s_clogl.c (__clogl): Likewise.
18962         * math/s_csin.c (__csin): Likewise.
18963         * math/s_csinf.c (__csinf): Likewise.
18964         * math/s_csinh.c (__csinh): Likewise.
18965         * math/s_csinhf.c (__csinhf): Likewise.
18966         * math/s_csinhl.c (__csinhl): Likewise.
18967         * math/s_csinl.c (__csinl): Likewise.
18968         * math/s_csqrt.c (__csqrt): Likewise.
18969         * math/s_csqrtf.c (__csqrtf): Likewise.
18970         * math/s_csqrtl.c (__csqrtl): Likewise.
18971         * math/s_ctan.c (__ctan): Likewise.
18972         * math/s_ctanf.c (__ctanf): Likewise.
18973         * math/s_ctanh.c (__ctanh): Likewise.
18974         * math/s_ctanhf.c (__ctanhf): Likewise.
18975         * math/s_ctanhl.c (__ctanhl): Likewise.
18976         * math/s_ctanl.c (__ctanl): Likewise.
18977         * math/w_pow.c: Likewise.
18978         * math/w_powf.c: Likewise.
18979         * math/w_powl.c: Likewise.
18980         * math/w_scalb.c (sysv_scalb): Likewise.
18981         * math/w_scalbf.c (sysv_scalbf): Likewise.
18982         * math/w_scalbl.c (sysv_scalbl): Likewise.
18983         * misc/error.c (error_tail): Likewise.
18984         * misc/pselect.c (__pselect): Likewise.
18985         * nis/nis_callback.c (__nis_create_callback): Likewise.
18986         * nis/nis_call.c (__nisfind_server): Likewise.
18987         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18988         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18989         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18990         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18991         * nis/nis_lookup.c (nis_lookup): Likewise.
18992         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18993         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18994         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18995         * nis/nis_xdr.c (xdr_endpoint): Likewise.
18996         * nis/nss_compat/compat-grp.c (getgrent_next_file)
18997         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18998         * nis/nss_compat/compat-initgroups.c (add_group)
18999         (internal_getgrent_r): Likewise.
19000         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19001         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19002         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19003         (internal_getspnam_r): Likewise.
19004         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19005         (_nss_nis_getaliasbyname_r): Likewise.
19006         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19007         (_nss_nis_getntohost_r): Likewise.
19008         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19009         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19010         (_nss_nis_getgrgid_r): Likewise.
19011         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19012         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19013         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19014         (_nss_nis_gethostbyname4_r): Likewise.
19015         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19016         (initgroups_netid): Likewise.
19017         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19018         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19019         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19020         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19021         (_nss_nis_getprotobynumber_r): Likewise.
19022         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19023         (_nss_nis_getsecretkey): Likewise.
19024         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19025         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19026         (_nss_nis_getpwuid_r): Likewise.
19027         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19028         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19029         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19030         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19031         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19032         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19033         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19034         Likewise.
19035         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19036         (_nss_nisplus_getntohost_r): Likewise.
19037         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19038         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19039         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19040         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19041         Likewise.
19042         * nis/nss_nisplus/nisplus-initgroups.c
19043         (_nss_nisplus_initgroups_dyn): Likewise.
19044         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19045         (_nss_nisplus_getnetbyaddr_r): Likewise.
19046         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19047         (_nss_nisplus_getprotobynumber_r): Likewise.
19048         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19049         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19050         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19051         Likewise.
19052         * nis/nss_nisplus/nisplus-service.c
19053         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19054         (_nss_nisplus_getservbyport_r): Likewise.
19055         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19056         (_nss_nisplus_getspnam_r): Likewise.
19057         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19058         Likewise.
19059         * nscd/aicache.c (addhstaiX): Likewise.
19060         * nscd/cache.c (cache_search, prune_cache): Likewise.
19061         * nscd/connections.c (register_traced_file, send_ro_fd)
19062         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19063         (main_loop_epoll): Likewise.
19064         * nscd/grpcache.c (addgrbyX): Likewise.
19065         * nscd/hstcache.c (addhstbyX): Likewise.
19066         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19067         * nscd/mem.c (gc, mempool_alloc): Likewise.
19068         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19069         (addinnetgrX): Likewise.
19070         * nscd/nscd-client.h (__nscd_acquire_maplock)
19071         (__nscd_drop_map_ref): Likewise.
19072         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19073         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19074         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19075         Likewise.
19076         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19077         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19078         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19079         (__nscd_get_map_ref): Likewise.
19080         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19081         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19082         Likewise.
19083         * nscd/pwdcache.c (addpwbyX): Likewise.
19084         * nscd/selinux.c (preserve_capabilities): Likewise.
19085         * nscd/servicescache.c (addservbyX): Likewise.
19086         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19087         * posix/fnmatch.c (fnmatch): Likewise.
19088         * posix/getopt.c (_getopt_internal_r): Likewise.
19089         * posix/glob.c (glob, glob_in_dir): Likewise.
19090         * posix/wordexp.c (exec_comm_child): Likewise.
19091         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19092         (getanswer_r, gaih_getanswer_slice): Likewise.
19093         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19094         * resolv/res_init.c: Likewise.
19095         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19096         * resolv/res_query.c (__libc_res_nquery): Likewise.
19097         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19098         Likewise.
19099         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19100         * stdio-common/perror.c (perror): Likewise.
19101         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19102         * stdio-common/tmpnam.c (tmpnam): Likewise.
19103         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19104         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19105         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19106         Likewise.
19107         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19108         * stdlib/putenv.c (putenv): Likewise.
19109         * stdlib/setenv.c (__add_to_environ): Likewise.
19110         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19111         * stdlib/strtol_l.c (INTERNAL): Likewise.
19112         * string/memmem.c (memmem): Likewise.
19113         * string/strerror.c (strerror): Likewise.
19114         * string/strnlen.c (__strnlen): Likewise.
19115         * string/test-memmem.c (simple_memmem): Likewise.
19116         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19117         * sunrpc/pm_getport.c (__get_socket): Likewise.
19118         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19119         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19120         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19121         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19122         Likewise.
19123         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19124         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19125         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19126         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19127         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19128         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19129         Likewise.
19130         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19131         Likewise.
19132         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19133         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19134         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19135         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19136         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19137         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19138         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19139         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19140         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19141         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19142         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19143         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19144         Likewise.
19145         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19146         Likewise.
19147         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19148         Likewise.
19149         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19150         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19151         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19152         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19153         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19154         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19155         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19156         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19158         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19159         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19160         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19161         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19162         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19163         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19164         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19165         Likewise.
19166         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19167         Likewise.
19168         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19169         Likewise.
19170         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19171         Likewise.
19172         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19173         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19174         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19175         Likewise.
19176         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19177         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19178         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19179         * sysdeps/posix/sleep.c: Likewise.
19180         * sysdeps/posix/tempname.c: Likewise.
19181         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19182         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19183         Likewise.
19184         * sysdeps/powerpc/powerpc32/dl-machine.h
19185         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19186         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19187         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19188         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19189         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19190         Likewise.
19191         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19192         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19193         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19194         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19195         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19196         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19197         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19198         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19199         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19200         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19201         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19202         (elf_machine_lazy_rel): Likewise.
19203         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19205         (elf_machine_lazy_rel): Likewise.
19206         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19207         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19208         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19209         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19210         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19211         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19212         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19213         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19214         Likewise.
19215         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19216         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19217         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19218         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19219         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19220         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19221         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19222         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19223         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19224         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19225         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19226         Likewise.
19227         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19228         (__posix_fallocate64_l64): Likewise.
19229         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19230         (posix_fallocate): Likewise.
19231         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19232         Likewise.
19233         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19234         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19235         (getifaddrs_internal): Likewise.
19236         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19237         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19238         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19239         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19240         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19241         (__posix_fallocate64_l64): Likewise.
19242         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19243         Likewise.
19244         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19245         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19246         (__get_clockfreq): Likewise.
19247         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19248         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19249         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19252         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19253         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19254         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19255         Likewise.
19256         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19257         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19258         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19259         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19260         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19261         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19262         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19263         Likewise.
19264         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19265         (posix_fallocate): Likewise.
19266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19267         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19268         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19269         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19270         (elf_machine_rela, elf_machine_rela_relative)
19271         (elf_machine_lazy_rel): Likewise.
19272         * time/asctime.c (asctime_internal): Likewise.
19273         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19274         * time/tzset.c (__tzset_parse_tz): Likewise.
19275         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19276         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19277         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19278         * wcsmbs/wcsmbsload.h: Likewise.
19280         [BZ #15894]
19281         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19283         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19284         (arena_get2): Remove THREAD_STATS conditionals.
19285         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19286         (__malloc_stats, int): Likewise.
19288 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19290         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19291         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19293         * manual/setjmp.texi: Fix typos/grammar errors.
19295         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19296         Only return early when n is <= 0.  Delete unused return statement.
19298         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19299         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19300         * debug/tst-longjmp_chk3.c: New file.
19302         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19303         (test_main): Replace code with set_fortify_handler call.
19304         * debug/test-strcpy_chk.c: Likewise.
19305         * debug/tst-chk1.c: Likewise.
19306         * debug/tst-longjmp_chk.c: Likewise.
19307         * test-skeleton.c: Include fcntl.h & paths.h
19308         (set_fortify_handler): Define.
19310         * debug/tst-longjmp_chk.c: Add header comment and include
19311         ../test-skeleton.c.
19312         (do_test): Mark static.
19313         (TEST_FUNCTION): Define.
19315         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19316         (IP_PMTUDISC_INTERFACE): Likewise.
19317         (IP_MULTICAST_IF): Likewise.
19318         (IP_MULTICAST_TTL): Likewise.
19319         (IP_MULTICAST_LOOP): Likewise.
19320         (IP_ADD_MEMBERSHIP): Likewise.
19321         (IP_DROP_MEMBERSHIP): Likewise.
19322         (IP_UNBLOCK_SOURCE): Likewise.
19323         (IP_BLOCK_SOURCE): Likewise.
19324         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19325         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19326         (IP_MSFILTER): Likewise.
19327         (MCAST_JOIN_GROUP): Likewise.
19328         (MCAST_BLOCK_SOURCE): Likewise.
19329         (MCAST_UNBLOCK_SOURCE): Likewise.
19330         (MCAST_LEAVE_GROUP): Likewise.
19331         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19332         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19333         (MCAST_MSFILTER): Likewise.
19334         (IP_MULTICAST_ALL): Likewise.
19335         (IP_UNICAST_IF): Likewise.
19337         * timezone/Makefile: Delete $(have-ksh) check.
19338         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19339         * timezone/tzselect.ksh: Add +x mode bits.
19341         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19342         (ANON_INODE_FS_MAGIC): Likewise.
19343         (BDEVFS_MAGIC): Likewise.
19344         (BINFMTFS_MAGIC): Likewise.
19345         (BTRFS_TEST_MAGIC): Likewise.
19346         (CRAMFS_MAGIC_WEND): Likewise.
19347         (DEBUGFS_MAGIC): Likewise.
19348         (ECRYPTFS_SUPER_MAGIC): Likewise.
19349         (EXT3_SUPER_MAGIC): Likewise.
19350         (EXT4_SUPER_MAGIC): Likewise.
19351         (FUTEXFS_SUPER_MAGIC): Likewise.
19352         (HOSTFS_SUPER_MAGIC): Likewise.
19353         (HUGETLBFS_MAGIC): Likewise.
19354         (MINIX3_SUPER_MAGIC): Likewise.
19355         (MTD_INODE_FS_MAGIC): Likewise.
19356         (NILFS_SUPER_MAGIC): Likewise.
19357         (OPENPROM_SUPER_MAGIC): Likewise.
19358         (PIPEFS_MAGIC): Likewise.
19359         (PSTOREFS_MAGIC): Likewise.
19360         (QNX6_SUPER_MAGIC): Likewise.
19361         (RAMFS_MAGIC): Likewise.
19362         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19363         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19364         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19365         (SECURITYFS_MAGIC): Likewise.
19366         (SELINUX_MAGIC): Likewise.
19367         (SMACK_MAGIC): Likewise.
19368         (SOCKFS_MAGIC): Likewise.
19369         (SQUASHFS_MAGIC): Likewise.
19370         (STACK_END_MAGIC): Likewise.
19371         (TMPFS_MAGIC): Likewise.
19372         (USBDEVICE_SUPER_MAGIC): Likewise.
19373         (V9FS_MAGIC): Likewise.
19374         (XENFS_SUPER_MAGIC): Likewise.
19375         (CRAMFS_MAGIC): Fix typo in comment.
19376         (EXT2_SUPER_MAGIC): Update comment.
19377         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19379 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19381         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19382         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19383         * sysdeps/unix/sysv/linux/arm: Move directory from
19384         ports/sysdeps/unix/sysv/linux/arm.
19385         * README: Update listing for arm-*-linux-gnueabi.
19387         * README: Remove mention of am33.
19389 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19391         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19392         than the comma operator, to avoid "rhs of comma has no effect"
19393         compiler warnings.
19394         (__sigfillset, __sigandset, __sigorset): Likewise.
19395         * include/signal.h (__sigemptyset): Likewise.
19396         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19398 2014-02-07  Allan McRae  <allan@archlinux.org>
19400         * version.h (RELEASE): Set to "development".
19401         (VERSION): Set to "2.19.90"
19402         * NEWS: Add 2.20 section.
19404 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19406         [BZ #16529]
19407         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19409 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19411         * manual/contrib.texi: Update entry for Carlos O'Donell,
19412         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19414 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19416         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19418         * sysdeps/unix/sysv/linux/kernel-features.h
19419         [__LINUX_KERNEL_VERSION >= 0x020621]
19420         (__ASSUME_PROC_PID_TASK_COMM): Define.
19422 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19424         [BZ #16398]
19425         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19426         conversion when destination buffer does not have enough space.
19427         * libio/tst-ftell-partial-wide.c: New test case.
19428         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19430         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19431         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19432         Leonard and Allan McRae.
19434 2014-02-04  David S. Miller  <davem@davemloft.net>
19436         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19437         32-bit.
19439 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19442         New file
19443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19444         New file
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19446         New file.
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19448         New file.
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19450         New file.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19452         New file.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19454         New file.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19456         New file.
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19458         New file.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19460         New file.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19462         New file.
19463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19464         New file.
19465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19466         New file.
19468 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19470         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19471         * shlib-versions: Likewise.
19473 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19474             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19476         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19477         (abilist-pattern): New variable, set to %-le.abilist.
19479         * Makerules (abilist-pattern): New variable.
19480         (vpath): Use $(abilist-pattern) in place of %.abilist.
19481         (check-abi-% pattern rule): Likewise.
19482         (check-abi, update-abi): Likewise.
19484 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19488 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19490         * manual/startup.texi: Add next, previous, and top entries for
19491         the `Program Arguments' and `Environment Variables' nodes.
19493 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19495         * manual/macros.texi: Add comments before MTASC-safety macros.
19497         * manual/users.texi: Document MTASC-safety properties.
19499         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19500         (pthread_getspecific, pthread_setspecific): Format with
19501         @deftypefun, and add @safety note.
19502         * manual/signal.texi: Move comments that analyze the above
19503         functions to their home place.
19505 2014-02-03  Allan McRae  <allan@archlinux.org>
19507         * po/sl.po: Update Slovenian translation from translation project.
19509 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19511         * manual/time.texi (timegm): Add missing blank after @c.
19512         Reported by Joseph Myers <joseph@codesourcery.com>.
19514 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19516         * manual/check-safety.sh: New.
19517         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19519         * manual/terminal.texi: Document MTASC-safety properties.
19521         * manual/filesys.texi: Document MTASC-safety properties.
19523         * manual/errno.texi: Document MTASC-safety properties.
19525         * manual/intro.texi: Document safety identifiers and
19526         conditionals.
19528         * manual/string.texi (wcstok): Fix prototype.
19529         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19531         * manual/time.texi: Document MTASC-safety properties.
19533         * manual/string.texi: Document MTASC-safety properties.
19535         * manual/threads.texi: Document MTASC-safety properties.
19537         * manual/stdio.texi: Document MTASC-safety properties.
19539         * manual/syslog.texi: Document MTASC-safety properties.
19541         * manual/sysinfo.texi: Document MTASC-safety properties.
19543         * manual/startup.texi: Document MTASC-safety properties.
19545         * manual/socket.texi: Document MTASC-safety properties.
19547         * manual/signal.texi: Document MTASC-safety properties.
19549 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19551         * manual/setjmp.texi: Document MTASC-safety properties.
19553         * manual/search.texi: Document MTASC-safety properties.
19555         * manual/resource.texi: Document MTASC-safety properties.
19557         * manual/process.texi: Document MTASC-safety properties.
19559         * manual/platform.texi: Document MTASC-safety properties.
19561         * manual/pipe.texi: Document MTASC-safety properties.
19563         * manual/pattern.texi: Document MTASC-safety properties.
19565         * manual/message.texi: Document MTASC-safety properties.
19567         [BZ #12751]
19568         * manual/memory.texi: Document MTASC-safety properties.
19570         * manual/math.texi: Document MTASC-safety properties.
19572         * manual/locale.texi: Document MTASC-safety properties.
19574         * manual/llio.texi: Document MTASC-safety properties.
19576         * manual/libdl.texi: New.
19578         * manual/lang.texi: Document MTASC-safety properties.
19580         * manual/job.texi: Document MTASC-safety properties.
19582         * manual/getopt.texi: Document MTASC-safety properties.
19584         * manual/ctype.texi: Document MTASC-safety properties.
19586 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19588         [BZ #16046]
19589         * csu/libc-tls.c (static_map): Remove variable.
19590         (__libc_setup_tls): Use main executable's link map for TLS data.
19591         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19592         casing for LM_ID_BASE and GL(dl_nns).
19593         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19594         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19595         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19596         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19597         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19598         member.
19599         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19600         l_phnum members.
19602 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19604         * manual/debug.texi: Document MTASC-safety properties.
19606 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19608         [BZ #16510]
19609         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19610         of __x86_64__ when disabling x87 inline functions.
19612 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19614         * manual/charset.texi: Document MTASC-safety properties.
19616         * manual/crypt.texi: Document MTASC-safety properties.
19618         * manual/conf.texi: Document MTASC-safety properties.
19620         * manual/arith.texi: Document MTASC-safety properties.
19622         * manual/argp.texi: Document MTASC-safety properties.
19624         * manual/macros.texi: Introduce macros to document multi
19625         thread, asynchronous signal and asynchronous cancellation
19626         safety properties.
19627         * manual/intro.texi: Introduce the properties themselves.
19629 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19631         * sysdeps/sh/sh4/Makefile: New file.
19633 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19635         * math/gen-libm-test.pl ($srcdir): New variable.
19636         ($auto_input): Use it.
19638 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19640         [BZ #16506]
19641         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19642         access beyond array bounds when parsing netgroups file.
19644         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19645         the old buffer before realloc.
19647 2014-01-27  Allan McRae  <allan@archlinux.org>
19649         * po/fr.po: Update French translation from translation project.
19651 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19653         * sysdeps/sh/libm-test-ulps: Regenerate.
19655 2014-01-24  David S. Miller  <davem@davemloft.net>
19657         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19659 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19661         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19662         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19664 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19666         [BZ #16474]
19667         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19668         string pointers after reallocation.
19670 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19672         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19673         __SH4A__ instead of __SH_FPU_ANY__.
19675 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19677         * sysdeps/sh/fpu_control.h: New file.
19678         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19679         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19680         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19681         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19682         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19683         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19684         * sysdeps/sh/sys/ucontext.h: Remove.
19685         * sysdeps/sh/sys: Remove directory.
19687 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19689         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19690         s390/sys/ucontext.h.
19691         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19692         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19694 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19696         [BZ #15605]
19697         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19699 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19701         [BZ#16431]
19702         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19703         Adjust the vDSO correctly for internal calls.
19704         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19706 2014-01-20  Allan McRae  <allan@archlinux.org>
19708         * po/ca.po: Update Catalan translation from translation project.
19710 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19712         * sysdeps/s390/sotruss-lib.c: New file.
19714 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19716         [BZ#16430]
19717         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19718         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19719         local calls issues by not having a PLT stub required for IFUNC calls.
19720         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19722 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19724         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19725         * math/test-fpucw-static.c: Likewise.
19727 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19729         [BZ #16453]
19730         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19732 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19734         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19735         implementation for powerpc.
19737 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19739         [BZ #14782]
19740         * sysdeps/posix/system.c (__libc_system): Do not enable
19741         asynchronous cancellation.
19743 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19745         [BZ #16427]
19746         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19747         handling only for numbers special also in the IEEE case.
19749 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19751         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19753 2014-01-11  Allan McRae  <allan@archlinux.org>
19755         * po/bg.po: Update Bulgarian translation from translation project.
19757         * po/de.po: Update German translation from translation project.
19759 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19761         * sysdeps/generic/gcc-compat.h: New file.
19763 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19765         * benchtests/asin-inputs: Correct slow inputs.
19766         * benchtests/acos-inputs: Likewise.
19768 2014-01-10  Allan McRae  <allan@archlinux.org>
19770         * po:sv.po: Update Swedish translation from translation project.
19772         * po/vi.po: Update Vietnamese translation from translation project.
19774         * po/eo.po: Update Esperanto translation from translation project.
19776         * po/cs.po: Update Czech translation from translation project.
19778         * po/nl.po: Update Dutch translation from translation project.
19780         * po/pl.po: Update Polish translation from translation project.
19782         * po/ru.po: Update Russian translation from translation project.
19784         * po/uk.po: Update Ukrainian translation from translation project.
19786 2014-01-08  Brooks Moses  <bmoses@google.com>
19788         * elf/dl-load.c: Fix comment typo.
19790 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19792         * po/header.pot: Rename to...
19793         * po/pot.header: ... this.
19794         * po/Makefile: Use pot.header.
19796 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19797             Maxim Kuvyrkov  <maxim@kugelworks.com>
19799         [BZ #16394]
19800         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19801         SRC and DEST against LEN.
19803 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19805         [BZ #16414]
19806         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19807         implementation.
19808         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19810 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19814 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19816         [BZ #16408]
19817         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19818         for large positive arguments.
19820 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19822         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19824         * math/auto-libm-test-in: Mark various tests with
19825         xfail-rounding:ldbl-128ibm.
19826         * math/auto-libm-test-out: Regenerated.
19828         [BZ #16407]
19829         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19830         Increase overflow threshold.
19832 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19834         [BZ #14286]
19835         * stdio-common/vfprintf.c: Check for integer overflow.
19837 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19839         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19840         the first argument and return value of __tls_get_addr_internal.
19842 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19844         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19845         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19847 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19849         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19850         * sysdeps/s390/rtld-global-offsets.sym: New file.
19851         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19852         GLIBC_2.19 symbol.
19853         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19854         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19855         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19856         ... this.
19857         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19858         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19859         ... this.
19860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19861         Regenerate.
19862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19863         Regenerate.
19864         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19865         halfs of GPRs for high_gprs contexts.
19866         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19867         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19868         field.
19869         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19870         uc_flags field.
19871         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19872         64 bit versions:
19873         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19874         for high GPRs (uc_high_gprs) and for future extensions
19875         (__reserved).
19876         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19877         for future extensions (__reserved).
19878         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19879         64 bit versions:
19880         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19881         SC_HIGHGPRS offset definition.
19882         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19883         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19885         * Versions.def: Add GLIBC_2.19 for libpthread.
19886         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19887         siglongjmp for libpthread with GLIBC_2.19 symver.
19888         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19889         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19890         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19891         * sysdeps/s390/__longjmp.c: New file.
19892         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19893         * sysdeps/s390/longjmp.c: New file.
19894         * sysdeps/s390/setjmp.S: New file.
19895         * sysdeps/s390/sigjmp.S: New file.
19896         * sysdeps/s390/v1-longjmp.c: New file.
19897         * sysdeps/s390/v1-setjmp.h: New file.
19898         * sysdeps/s390/v1-sigjmp.c: New file.
19899         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19900         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19901         GLIBC_2.19 version.
19902         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19903         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19904         versioned symbols for ____longjmp_chk.
19905         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19906         Likewise.
19907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19908         Regenerate.
19909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19910         Regenerate.
19911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19912         Regenerate.
19913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19914         Regenerate.
19915         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19916         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19917         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19918         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19919         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19920         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19921         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19922         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19923         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19924         * sysdeps/s390/rtld-__longjmp.c: New file.
19925         * sysdeps/s390/rtld-setjmp.S: New file.
19927 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19929         [BZ #16400]
19930         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19931         Return -__logl (x) for small positive arguments without evaluating
19932         a polynomial.
19934 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19936         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19937         Rename to ...
19938         (__ptrace_peeksiginfo_args): ... this.
19939         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19940         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19941         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19943 2014-01-06  Allan McRae  <allan@archlinux.org>
19945         * inet/netinet/in.h: Fix typo in comment.
19947 2014-01-05  Andreas Jaeger  <aj@suse.de>
19949         * sysdeps/i386/fpu/libm-test-ulps: Update.
19951 2014-01-05  Allan McRae  <allan@archlinux.org>
19953         * po/libc.pot: Regenerated.
19955         * malloc/memusagestat.c: Fix gettext call formatting.
19957 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19959         * nscd/nscd.c: Improve usage() output.
19961 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19963         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19964         * sysdeps/unix/sysv/linux/configure: Regenerated.
19965         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19966         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19968 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19970         [BZ #16390]
19971         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19972         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19974 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19976         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19977         extra tokens at end of #undef directive.
19978         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19979         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19980         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19982 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19984         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19986         * math/auto-libm-test-in: Mark various tests with
19987         xfail-rounding:ldbl-128ibm.
19988         * math/auto-libm-test-out: Regenerated.
19990 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19992         [BZ #16386]
19993         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19994         numbers with subnormal high part when calculating exponent.
19996         [BZ #16385]
19997         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19998         fabs.
20000         [BZ #16384]
20001         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20002         M_LN2l.
20003         (__ieee754_acoshl): Use __log1pl not __log1p.
20005 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20007         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20008         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20009         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20010         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20011         (reused_arena, arena_get2): Convert to GNU style.
20012         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20013         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20014         (memalign_check, __malloc_set_state): Likewise.
20015         * malloc/mallocbug.c (main): Likewise.
20016         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20017         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20018         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20019         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20020         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20021         (__posix_memalign, malloc_info): Likewise.
20022         * malloc/malloc.h: Likewise.
20023         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20024         (mallochook, memalignhook, reallochook, mabort): Likewise.
20025         * malloc/mcheck.h: Likewise.
20026         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20027         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20028         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20029         * malloc/morecore.c (__default_morecore): Likewise.
20030         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20031         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20032         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20033         (print_and_abort): Likewise.
20034         * malloc/obstack.h: Likewise.
20035         * malloc/set-freeres.c (__libc_freeres): Likewise.
20036         * malloc/tst-mallocstate.c (main): Likewise.
20037         * malloc/tst-mtrace.c (main): Likewise.
20038         * malloc/tst-realloc.c (do_test): Likewise.
20040 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20042         [BZ #16366]
20043         * nscd/netgroupcache.c (do_notfound): New function.
20044         (addgetnetgrentX): Use it.
20046         [BZ # 16365]
20047         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20048         NSS_STATUS_NOTFOUND.
20050 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20052         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20055 2014-01-01  Allan McRae  <allan@archlinux.org>
20057         * scripts/update-copyrights: Update configure input file suffix.
20059         * NEWS: Update copyright year.
20060         * catgets/gencat.c: Likewise.
20061         * csu/version.c: Likewise.
20062         * debug/catchsegv.sh: Likewise.
20063         * debug/pcprofiledump.c: Likewise.
20064         * debug/xtrace.sh: Likewise.
20065         * elf/ldconfig.c: Likewise.
20066         * elf/ldd.bash.in: Likewise.
20067         * elf/pldd.c: Likewise.
20068         * elf/sotruss.ksh: Likewise.
20069         * elf/sprof.c: Likewise.
20070         * iconv/iconv_prog.c: Likewise.
20071         * iconv/iconvconfig.c: Likewise.
20072         * locale/programs/locale.c: Likewise.
20073         * locale/programs/localedef.c: Likewise.
20074         * login/programs/pt_chown.c: Likewise.
20075         * malloc/memusage.sh: Likewise.
20076         * malloc/memusagestat.c: Likewise.
20077         * malloc/mtrace.pl: Likewise.
20078         * manual/libc.texinfo: Likewise.
20079         * nscd/nscd.c: Likewise.
20080         * nss/getent.c: Likewise.
20081         * nss/makedb.c: Likewise.
20082         * posix/getconf.c: Likewise.
20083         * scripts/test-installation.pl: Likewise.
20085         * All files with FSF copyright notices: Update copyright dates
20086         using scripts/update-copyrights.
20087         * intl/plural.c: Regenerated.
20088         * locale/programs/charmap-kw.h: Likewise.
20089         * locale/programs/locfile-kw.h: Likewise.
20091 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20093         * sysdeps/unix/sysv/linux/configure: Regenerated.
20094         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20095         the linux/fanotify.h header.
20096         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20097         HAVE_LINUX_FANOTIFY_H is defined.
20099 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20101         * benchtests/cos-inputs: New inputs.
20102         * benchtests/sin-inputs: Likewise.
20104         * benchtests/atan-inputs: New inputs. Fix name of multiple
20105         precision fallback inputs.
20107         * benchtests/atanh-inputs: New inputs.
20108         * benchtests/tanh-inputs: Likewise.
20110         * benchtests/acosh-inputs: New inputs.
20111         * benchtests/asinh-inputs: Likewise.
20113         * benchtests/cosh-inputs: New inputs.
20114         * benchtests/sinh-inputs: Likewise.
20116         * benchtests/acos-inputs: Add more inputs.
20117         * benchtests/asin-inputs: Likewise.
20119 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20121         [BZ #16375]
20122         * manual/arith.texi: Fix spelling.
20123         * manual/charset.texi: Likewise.
20124         * manual/errno.texi: Likewise.
20125         * manual/filesys.texi: Likewise.
20126         * manual/lang.texi: Likewise.
20127         * manual/llio.texi: Likewise.
20128         * manual/locale.texi: Likewise.
20129         * manual/message.texi: Likewise.
20130         * manual/resource.texi: Likewise.
20131         * manual/search.texi: Likewise.
20132         * manual/setjmp.texi: Likewise.
20133         * manual/stdio.texi: Likewise.
20134         * manual/string.texi: Likewise.
20135         * manual/sysinfo.texi: Likewise.
20136         * manual/time.texi: Likewise.
20138 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20140         * po/sl.po: New file.
20142 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20144         * .gitignore: Add core/.gdbinit/.gdb_history.
20146 2013-12-27  Allan McRae  <allan@archlinux.org>
20148         [BZ #16369]
20149         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20150         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20152 2013-12-24  Brooks Moses  <bmoses@google.com>
20154         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20155         all compilers that claim C++98 compliance, not just GCC.
20156         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20157         Likewise.
20159 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20161         * NEWS: Restore accidentally deleted bug-fix entries.
20163 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20164             Ondřej Bílka  <neleai@seznam.cz>
20166         [BZ #15073]
20167         * malloc/malloc.c (_int_free): Perform sanity check only if we
20168         have_lock.
20170 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20172         [BZ #12986]
20173         * manual/stdio.texi (String Input Conversions): Clarify that character
20174         classes are not supported.
20176 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20180 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20182         [BZ #16337]
20183         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20184         Calculate results for small negative arguments directly rather
20185         than using reflection formula with special underflow handling.
20187         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20188         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20189         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20190         (fchflags): Likewise.
20191         (revoke): Likewise.
20192         (setlogin): Likewise.
20193         (sigaltstack): Likewise.
20194         (wait4): Likewise.
20195         (sigblock): Remove.
20196         (sigsetmask): Likewise.
20197         (wait3): Likewise.
20198         (waitpid): Likewise.
20199         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20200         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20201         file.
20202         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20203         * sysdeps/unix/bsd/Makefile: ... here.
20204         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20205         * sysdeps/unix/bsd/Versions: ... here.
20206         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20207         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20208         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20209         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20210         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20211         * sysdeps/unix/bsd/sigblock.c: ... here.
20212         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20213         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20214         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20215         * sysdeps/unix/bsd/sigvec.c: ... here.
20216         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20217         * sysdeps/unix/bsd/tcdrain.c: ... here.
20218         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20219         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20220         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20221         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20222         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20223         * sysdeps/unix/bsd/wait.c: ... here.
20224         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20225         * sysdeps/unix/bsd/wait3.c: ... here.
20226         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20227         * sysdeps/unix/bsd/waitpid.c: ... here.
20229 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20231         [BZ #16356]
20232         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20233         round-to-nearest for [!USE_AS_EXPM1L].
20234         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20235         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20236         more tests of exp and exp10.  Expect some exp10 tests to miss
20237         exceptions or fail in directed rounding modes.
20238         * math/auto-libm-test-out: Regenerated.
20239         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20240         (exp10_test_tonearest): New function.
20241         (exp10_towardzero_test_data): New array.
20242         (exp10_test_towardzero): New function.
20243         (exp10_downward_test_data): New array.
20244         (exp10_test_downward): New function.
20245         (exp10_upward_test_data): New array.
20246         (exp10_test_upward): New function.
20247         (main): Call the new functions.
20248         * sysdeps/i386/fpu/libm-test-ulps: Update.
20249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20253         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20254         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20255         * math/auto-libm-test-out: Regenerated.
20256         * math/libm-test.inc (acosh_test_data): Add more tests.
20257         (atanh_test_data): Likewise.
20258         (ceil_test_data): Likewise.
20259         (copysign_test_data): Likewise.
20260         * sysdeps/i386/fpu/libm-test-ulps: Update.
20261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20263         * timezone/checktab.awk: Update from tzcode 2013i.
20264         * timezone/private.h: Likewise.
20265         * timezone/scheck.c: Likewise.
20266         * timezone/tzfile.h: Likewise.
20267         * timezone/tzselect.ksh: Likewise.
20268         * timezone/zdump.c: Likewise.
20269         * timezone/zic.c: Likewise.
20271         * math/auto-libm-test-in: Add tests of cpow.
20272         * math/auto-libm-test-out: Regenerated.
20273         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20275         mpc_cc_c.
20276         (func_calc_desc): Add mpc_cc_c union field.
20277         (test_functions): Add cpow.
20278         (special_fill_2pi): New function.
20279         (special_real_inputs): Add 2pi.
20280         (calc_generic_results): Handle mpc_cc_c.
20281         * sysdeps/i386/fpu/libm-test-ulps: Update.
20282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20284         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20285         csqrt, ctan and ctanh.
20286         * math/auto-libm-test-out: Regenerated.
20287         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20288         (TEST_COND_x86): Likewise.
20289         (ccos_test_data): Use AUTO_TESTS_c_c.
20290         (ccosh_test_data): Likewise.
20291         (cexp_test_data): Likewise.
20292         (clog_test_data): Likewise.
20293         (csqrt_test_data): Likewise.
20294         (ctan_test_data): Likewise.
20295         (ctan_tonearest_test_data): Likewise.
20296         (ctan_towardzero_test_data): Likewise.
20297         (ctan_downward_test_data): Likewise.
20298         (ctan_upward_test_data): Likewise.
20299         (ctanh_test_data): Likewise.
20300         (ctanh_tonearest_test_data): Likewise.
20301         (ctanh_towardzero_test_data): Likewise.
20302         (ctanh_downward_test_data): Likewise.
20303         (ctanh_upward_test_data): Likewise.
20304         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20305         mpc_c_c.
20306         (func_calc_desc): Add mpc_c_c union field.
20307         (FUNC_mpc_c_c): New macro.
20308         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20309         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20310         ctanh.
20311         (special_fill_min_subnorm_p120): New function.
20312         (special_real_inputs): Add min_subnorm_p120.
20313         (calc_generic_results): Handle mpc_c_c.
20314         * sysdeps/i386/fpu/libm-test-ulps: Update.
20315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20317 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20319         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20320         (do_sin_slow): New functions.
20321         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20322         (cslow2, csloww1, csloww2): Use the new functions.
20324         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20325         Use M to change sign of result instead of X.  Assume X is
20326         positive.
20327         (csloww1): Likewise.
20328         (__sin): Adjust.
20329         (__cos): Adjust.
20331         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20332         arguments A and DA.
20333         (__sin): Adjust.
20334         (__cos): Likewise.
20336         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20337         (__cos): Likewise.
20338         (sloww1): Don't adjust sign of DX.
20339         (csloww1): Likewise.
20340         (sloww2): Use X directly and don't adjust sign of DX.
20341         (csloww2): Likewise.
20343 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20345         * math/auto-libm-test-in: Add tests of cabs and carg.
20346         * math/auto-libm-test-out: Regenerated.
20347         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20348         (carg_test_data): Likewise.
20349         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20350         mpc_c_f.
20351         (func_calc_desc): Add mpc_c_f union field.
20352         (test_functions): Add cabs and carg.
20353         (calc_generic_results): Handle mpc_c_f.
20355         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20356         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20357         as a macro and a compat symbol.
20358         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20359         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20360         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20361         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20362         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20363         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20364         not use .hidden.
20365         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20366         Likewise.
20367         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20368         Likewise.
20369         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20370         Likewise.
20371         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20372         Likewise.
20373         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20374         Likewise.
20375         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20376         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20377         from GLIBC_2.3.2.
20379 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20383 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20385         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20386         trailing whitespace removed.
20387         * scripts/config.guess: Update to version 2013-11-29.
20388         * scripts/config.sub: Update to version 2013-10-01.
20390         * math/auto-libm-test-in: Add tests of sincos.
20391         * math/auto-libm-test-out: Regenerated.
20392         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20393         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20394         mpfr_f_11.
20395         (func_calc_desc): Add mpfr_f_11 union field.
20396         (test_functions): Add sincos.
20397         (calc_generic_results): Handle mpfr_f_11.
20398         * sysdeps/i386/fpu/libm-test-ulps: Update.
20399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20401 2013-12-19  Andreas Schwab  <schwab@suse.de>
20403         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20404         CALL_MCOUNT.
20405         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20406         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20407         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20409 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20411         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20412         * sysdeps/i386/fpu/libm-test-ulps: Update.
20413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20415         [BZ #16293]
20416         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20417         round-to-nearest mode when using frndint.
20418         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20419         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20420         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20421         Likewise.
20422         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20423         sinh test to fail.
20424         * math/auto-libm-test-out: Regenerated.
20425         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20426         (TEST_COND_x86): Likewise.
20427         (expm1_tonearest_test_data): New array.
20428         (expm1_test_tonearest): New function.
20429         (expm1_towardzero_test_data): New array.
20430         (expm1_test_towardzero): New function.
20431         (expm1_downward_test_data): New array.
20432         (expm1_test_downward): New function.
20433         (expm1_upward_test_data): New array.
20434         (expm1_test_upward): New function.
20435         (main): Run the new test functions.
20436         * sysdeps/i386/fpu/libm-test-ulps: Update.
20437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20439         * include/features.h: Update comment documenting feature test
20440         macros.  Mention _DEFAULT_SOURCE in comment.
20441         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20442         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20443         _BSD_SOURCE and _SVID_SOURCE.
20444         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20445         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20446         !_SVID_SOURCE]: Likewise.
20447         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20448         (__USE_POSIX_IMPLICITLY): Define.
20449         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20450         (_POSIX_SOURCE): Undefine and redefine.
20451         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20452         (_POSIX_C_SOURCE): Likewise.
20453         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20454         (Feature Test Macros): Update documentation of default features.
20456 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20458         * benchtests/Makefile: Add bench-strtok.
20459         * benchtests/bench-strtok.c: New file: strtok benchtest.
20461 2013-12-19  Allan McRae  <allan@archlinux.org>
20463         * manual/install.texi: Suppress menu for plain text output.
20464         * INSTALL: Regenerated.
20466 2013-12-18  Brooks Moses  <bmoses@google.com>
20468         [BZ #15846]
20469         * misc/getauxval.c: Include errno.h.
20470         (__getauxval): Set errno to ENOENT if the requested type is not
20471         found.
20472         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20473         don't declare with __attribute_const__.
20474         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20475         * manual/startup.texi: Document that getauxval sets errno.
20477 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20479         * math/auto-libm-test-in: Add tests of jn and yn.
20480         * math/auto-libm-test-out: Regenerated.
20481         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20482         (yn_test_data): Likewise.
20483         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20484         mpfr_if_f.
20485         (func_calc_desc): Add mpfr_if_f union field.
20486         (FUNC_mpfr_if_f): New macro.
20487         (test_functions): Add jn and yn.
20488         (calc_generic_results): Assert type of second input for
20489         mpfr_ff_f.  Handle mpfr_if_f.
20490         (output_for_one_input_case): Disable all checking for arguments
20491         fitting floating-point types in case of an integer argument.
20492         * sysdeps/i386/fpu/libm-test-ulps: Update.
20493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20496         Don't expect fegetround reference in libm.so.
20498 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20500         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20501         $(config-cflags-nofma).
20503 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20505         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20506         * math/auto-libm-test-out: Regenerated.
20508         [BZ #16338]
20509         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20510         to determine exponent and adjust argument to have exponent of -1.
20511         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20512         log2.
20513         * math/auto-libm-test-out: Regenerated.
20514         * sysdeps/i386/fpu/libm-test-ulps: Update.
20515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20517 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20519         * manual/probes.texi: Remove cases when per-thread arenas are
20520         disabled.
20522 2013-12-18  Andreas Schwab  <schwab@suse.de>
20524         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20525         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20526         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20527         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20528         * sysdeps/i386/i686/multiarch/Makefile: Update.
20529         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20531 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20533         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20534         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20536 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20538         [BZ #15968]
20539         Support TZ transition times < 00:00:00.
20540         This is needed for version-3 tz-format files; it supports time
20541         stamps past 2037 for America/Godthab (the only entry in the tz
20542         database for which this change is relevant).
20543         * manual/time.texi (TZ Variable): Document transition times
20544         from -167:59:59 through -00:00:01.
20545         * time/tzset.c (tz_rule): Time of day is now signed.
20546         (__tzset_parse_tz): Parse negative time of day.
20548         Document TZ transition times >= 25:00:00.
20549         * manual/time.texi (TZ Variable): Document transition times from
20550         25:00:00 through 167:59:59.  These are already supported, and this
20551         support will help with version-3 tz-format files.
20553         * manual/time.texi (TZ Variable): Modernize North America example
20554         to reflect current (i.e., 2007-and-later) daylight saving rules.
20556         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20558 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20560         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20561         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20564         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20565         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20566         * sysdeps/unix/bsd/clock.c: Likewise.
20567         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20568         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20569         * sysdeps/unix/bsd/init-posix.c: Likewise.
20570         * sysdeps/unix/bsd/poll.c: Likewise.
20571         * sysdeps/unix/bsd/ptsname.c: Likewise.
20572         * sysdeps/unix/bsd/seekdir.c: Likewise.
20573         * sysdeps/unix/bsd/setegid.c: Likewise.
20574         * sysdeps/unix/bsd/seteuid.c: Likewise.
20575         * sysdeps/unix/bsd/setgid.c: Likewise.
20576         * sysdeps/unix/bsd/setrgid.c: Likewise.
20577         * sysdeps/unix/bsd/setruid.c: Likewise.
20578         * sysdeps/unix/bsd/setsid.c: Likewise.
20579         * sysdeps/unix/bsd/setuid.c: Likewise.
20580         * sysdeps/unix/bsd/sigaction.c: Likewise.
20581         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20582         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20583         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20584         * sysdeps/unix/bsd/telldir.c: Likewise.
20585         * sysdeps/unix/bsd/times.c: Likewise.
20586         * sysdeps/unix/bsd/usleep.c: Likewise.
20588         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20589         ($(objpfx)libbsd-compat.a): Remove rule.
20591         * include/features.h (__FAVOR_BSD): Do not define.
20592         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20593         features conflicting with POSIX.
20594         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20595         (_BSD_SOURCE): Remove description of not being a subset of other
20596         feature test macros.
20597         * manual/job.texi (getpgrp): Do not document BSD version.
20598         (getpgid): Do not document by reference to BSD getpgrp.
20599         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20600         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20601         * signal/signal.h [__FAVOR_BSD]: Likewise.
20602         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20603         instead of making contents conditional on [__FAVOR_BSD].
20604         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20606 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20610 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20612         [BZ #16314]
20613         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20614         values below 2**-450, not 2**-500.
20615         * math/auto-libm-test-in: Don't allow spurious underflow from
20616         hypot.
20617         * math/auto-libm-test-out: Regenerated.
20619         [BZ #16316]
20620         [BZ #16330]
20621         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20622         values of ha and hb and sort them after adjusting subnormal
20623         arguments.
20624         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20625         Likewise.
20626         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20627         values of ea and eb and sort them after adjusting subnormal
20628         arguments.
20629         * math/auto-libm-test-in: Do not expect some hypot tests of
20630         subnormals to fail.  Add more hypot tests.
20631         * math/auto-libm-test-out: Regenerated.
20633 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20635         [BZ #13304]
20636         * sysdeps/sh/s_fma.c: New file.
20637         * sysdeps/sh/s_fmaf.c: New file.
20638         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20639         version.
20640         * sysdeps/sh/Implies: Add sh/soft-fp.
20642 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20644         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20645         level of indirection to members `objname', `errstring', `malloced'.
20646         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20647         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20648         it as the __longjmp argument (just pass 1 instead).
20649         (_dl_catch_error): Initialize C with argument pointers and address of
20650         volatile local ERRCODE rather than copying values out of C at return.
20652 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20654         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20655         * math/auto-libm-test-out: Regenerated.
20656         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20657         (hypot_test_data): Likewise.
20658         (pow_test_data): Likewise.
20659         (pow_tonearest_test_data): Likewise.
20660         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20661         mpfr_ff_f.
20662         (func_calc_desc): Add mpfr_ff_f union field.
20663         (FUNC_mpfr_ff_f): New macro.
20664         (test_functions): Add atan2, hypot and pow.
20665         (special_fill_min): New function.
20666         (special_fill_minus_min): Likewise.
20667         (special_fill_min_subnorm): Likewise.
20668         (special_fill_minus_min_subnorm): Likewise.
20669         (special_real_inputs): Add min, -min, min_subnorm and
20670         -min_subnorm.
20671         (calc_generic_results): Handle mpfr_ff_f.
20672         * sysdeps/i386/fpu/libm-test-ulps: Update.
20673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20675 2013-12-16  Will Newton  <will.newton@linaro.org>
20677         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20678         (Aligned Memory Blocks): Add documentation for aligned_alloc
20679         and suggest it as an alternative to posix_memalign.
20680         (Hooks for Malloc): Document __memalign_hook is also called
20681         for aligned_alloc.  (Summary of Malloc): Add summary for
20682         aligned alloc.  Document __memalign_hook is also called
20683         for aligned_alloc.
20685 2013-12-16  Will Newton  <will.newton@linaro.org>
20687         * manual/memory.texi (Malloc Examples): Clarify default
20688         alignment documentation.  Suggest posix_memalign rather
20689         than memalign or valloc.
20690         (Aligned Memory Blocks): Remove suggestion to use memalign
20691         or valloc.  Remove obsolete comment about BSD.
20692         Document memalign errno values and mark the function obsolete.
20693         Document posix_memalign returned error codes.  Mark valloc
20694         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20695         called for posix_memalign and valloc.
20696         (Summary of Malloc): Add posix_memalign to function summary.
20697         __memalign_hook is also called for posix_memalign and valloc.
20699 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20702         TAYLOR_SIN.
20703         (__sin): Adjust.
20704         (__cos): Likewise.
20705         (sloww): Use mynumber union.  Expand ternary operator into
20706         if-else statements.
20707         (cslow): use mynumber union.
20709 2013-12-16  Allan McRae  <allan@archlinux.org>
20711         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20712         * configure: Regenerated.
20714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20716         [BZ #14120]
20717         * configure.ac: Added --enable-maintainer-mode. Check for
20718         autoconf when enabled.
20719         * configure: Regenerated.
20721         * nscd/nscd.service: New file.
20722         * nscd/nscd.tmpfiles: New file.
20724 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20726         [BZ #12100]
20727         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20728         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20729         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20730         (strstr): Add __strstr_sse2_unaligned ifunc.
20731         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20732         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20733         (strcasestr): Remove __strcasestr_sse42 ifunc.
20734         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20735         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20738 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20740         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20741         * sysdeps/sh/bits/fenv.h: ... here.
20742         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20744 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20746         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20748         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20749         hypotf multiarch implementations.
20750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20751         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20752         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20753         multiarch hypot for PPC64.
20754         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20755         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20757         multiarch hypotf for PPC64.
20759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20760         modff multiarch implementations.
20761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20764         multiarch modf for PPC64.
20765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20768         multiarch modff for PPC64.
20770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20771         and logl multiarch implementations.
20772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20775         multiarch logb for PPC64.
20776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20779         multiarch logb for PPC64.
20780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20783         multiarch logb for PPC64.
20785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20786         isinff multiarch implementation.
20787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20788         file.
20789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20791         multiarch isinf for PPC64.
20792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20793         file.
20794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20795         multiarch isinff for PPC64.
20797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20798         finitef multiarch implementation.
20799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20800         file.
20801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20803         multiarch finite for PPC64.
20804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20805         file.
20806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20807         multiarch finitef for PPC64.
20809         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20810         lrint multiarch implementation.
20811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20812         file.
20813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20815         multiarch llrint for PPC64.
20816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20817         multiarch lrint for PPC64.
20819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20820         copysignf multiarch implementation.
20821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20822         file.
20823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20824         file.
20825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20826         multiarch copysign for PPC64.
20827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20828         multiarch copysignf for PPC64.
20830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20831         multiarch implementation.
20832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20833         file.
20834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20835         file.
20836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20837         file.
20838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20839         file.
20840         multiarch llround for PPC64.
20841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20842         multiarch trunc for PPC64.
20843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20844         multiarch truncf for PPC64.
20846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20847         multiarch implementation.
20848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20849         file.
20850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20851         file.
20852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20853         file.
20854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20855         file.
20856         multiarch llround for PPC64.
20857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20858         multiarch round for PPC64.
20859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20860         multiarch roundf for PPC64.
20862         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20863         multiarch implementation.
20864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20865         file.
20866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20867         file.
20868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20869         file.
20870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20871         file.
20872         multiarch llround for PPC64.
20873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20874         multiarch floor for PPC64.
20875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20876         multiarch floorf for PPC64.
20878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20879         multiarch implementation.
20880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20881         file.
20882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20883         file.
20884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20885         file.
20886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20887         file.
20888         multiarch llround for PPC64.
20889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20890         multiarch ceil for PPC64.
20891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20892         multiarch ceilf for PPC64.
20894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20895         multiarch implementation.
20896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20897         file.
20898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20899         file.
20900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20901         file.
20902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20903         multiarch llround for PPC64.
20904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20905         multiarch lround for PPC64.
20907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20908         multiarch implementation.
20909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20912         file.
20913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20916         multiarch isnan for PPC64.
20917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20918         multiarch isnanf for PPC64.
20920         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20921         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20922         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20923         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20924         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20927         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20928         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20929         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20930         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20933         multiarch implementations.
20934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20935         (__libc_ifunc_impl_list): Likewise.
20936         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20937         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20938         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20939         multiarch stpcpy for PPC64.
20941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20942         multiarch implementations.
20943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20944         (__libc_ifunc_impl_list): Likewise.
20945         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20946         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20947         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20948         multiarch strcpy for PPC64.
20950         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20951         redefine function name.
20952         (_wordcopy_fwd_dest_aligned): Likewise.
20953         (_wordcopy_bwd_aligned): Likewise.
20954         (_wordcopy_bwd_dest_aligned): Likewise.
20955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20956         multiarch implementations.
20957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20958         (__libc_ifunc_impl_list): Likewise.
20959         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20960         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20961         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20962         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20963         multiarch wcscpy for PPC64.
20965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20966         multiarch implementations.
20967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20968         (__libc_ifunc_impl_list): Likewise.
20969         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20970         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20971         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20972         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20973         multiarch wcscpy for PPC64.
20975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20976         multiarch implementations.
20977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20978         (__libc_ifunc_impl_list): Likewise.
20979         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20980         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20981         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20982         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20983         multiarch wcsrchr for PPC64.
20985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20986         multiarch implementations.
20987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20988         (__libc_ifunc_impl_list): Likewise.
20989         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20990         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20991         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20992         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20993         multiarch wcschr for PPC64.
20995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20996         multiarch implementations.
20997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20998         (__libc_ifunc_impl_list): Likewise.
20999         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21000         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21001         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21002         multiarch strchrnul for PPC64.
21004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21005         implementations.
21006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21007         (__libc_ifunc_impl_list): Likewise.
21008         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21009         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21010         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21011         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21012         strchr for PPC64.
21014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21015         implementations.
21016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21017         (__libc_ifunc_impl_list): Likewise.
21018         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21019         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21020         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21021         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21022         strncmp for PPC64.
21024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21025         multiarch implementations.
21026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21027         (__libc_ifunc_impl_list): Likewise.
21028         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21029         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21030         strncasecmp for PPC64.
21031         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21032         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21033         multiarch strncasecmp_l for PPC64.
21035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21036         multiarch implementations.
21037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21038         (__libc_ifunc_impl_list): Likewise.
21039         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21040         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21041         multiarch strcasecmp for PPC64.
21042         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21043         file.
21044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21045         multiarch strcasecmp_l for PPC64.
21047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21048         implementations.
21049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21050         (__libc_ifunc_impl_list): Likewise.
21051         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21052         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21053         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21054         strnlen for PPC64.
21056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21057         implementations.
21058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21059         (__libc_ifunc_impl_list): Likewise.
21060         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21061         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21062         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21063         strlen for PPC64.
21065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21066         implementations.
21067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21068         (__libc_ifunc_impl_list): Likewise.
21069         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21070         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21071         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21072         rawmemrchr for PPC64.
21074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21075         implementation.
21076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21077         (__libc_ifunc_impl_list): Likewise.
21078         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21079         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21080         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21081         memrchr for PPC64.
21083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21084         implementation.
21085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21086         (__libc_ifunc_impl_list): Likewise.
21087         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21088         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21089         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21090         memchr for PPC64.
21092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21093         implementation.
21094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21095         (__libc_ifunc_impl_list): Likewise.
21096         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21097         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21098         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21099         mempcpy for PPC64.
21101         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21102         avoid cretion of __bzero symbol.
21103         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21104         Likewise.
21105         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21106         Likewise.
21107         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21108         Likewise.
21109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21110         multiarch implementations.
21111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21112         (__libc_ifunc_impl_list): Likewise.
21113         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21114         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21115         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21116         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21117         bzero for PPC32.
21118         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21119         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21120         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21121         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21122         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21123         memset for PPC64.
21124         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21126         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21128         implementations.
21129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21130         (__libc_ifunc_impl_list): Likewise.
21131         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21132         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21133         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21134         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21135         memcmp for PPC64.
21137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21138         multiarch for POWER/PPC64.
21139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21140         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21141         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21142         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21143         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21144         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21147         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21148         memcpy for PPC64.
21150         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21151         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21152         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21153         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21154         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21155         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21156         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21157         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21158         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21159         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21160         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21161         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21162         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21163         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21164         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21173 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21175         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21177 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21179         * benchtests/Makefile (bench): Add exp2 and log2.
21180         (LDLIBS-bench-exp2): Add -lm.
21181         (LDLIBS-bench-log2): Likewise.
21182         * benchtests/exp2-inputs: New inputs file.
21183         * benchtests/log2-inputs: New inputs file.
21184         * benchtests/log-inputs: Add new inputs.
21185         * benchtests/tan-inputs: Likewise.
21187 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21189         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21190         definition...
21191         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21192         (csloww2): ... from here.
21194         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21195         instead of structures.
21196         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21197         (POLYNOMIAL): Likewise.
21198         (TAYLOR_SLOW): Likewise.
21199         (__sin): Likewise.
21200         (__cos): Likewise.
21201         (slow1): Likewise.
21202         (slow2): Likewise.
21203         (sloww): Likewise.
21204         (sloww1); Likewise.
21205         (sloww2): Likewise.
21206         (bsloww1): Likewise.
21207         (bsloww2): Likewise.
21208         (cslow2): Likewise.
21209         (csloww): Likewise.
21210         (csloww1): Likewise.
21211         (csloww2): Likewise.
21213 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21215         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21216         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21217         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21218         * malloc/hooks.c (realloc_check): Likewise.
21220         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21221         * malloc/arena.c: Remove PER_THREAD conditional.
21222         [!PER_THREAD]: Remove code.
21223         (ptmalloc_unlock_all2): Likewise.
21224         (ptmalloc_init): Likewise.
21225         (_int_new_arena): Likewise.
21226         (arena_get2): Likewise.
21227         * malloc/hooks.c (__malloc_get_state): Likewise.
21228         (__malloc_set_state): Likewise.
21229         * malloc/malloc.c: Likewise.
21230         (struct malloc_state): Likewise.
21231         (struct malloc_par): Likewise.
21232         (__libc_realloc): Likewise.
21233         (__libc_mallopt): Likewise.
21235 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21237         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21239 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21241         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21242         macro to a function.  Check for zero perturb_byte.
21243         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21245         * malloc/malloc.c: (force_reg): Remove.
21246         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21247         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21248         force_reg by atomic_forced_read.
21249         * malloc/arena.c (ptmalloc_init): Likewise.
21250         * malloc/hooks.c (top_check): Likewise.
21252 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21256 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21260 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21262         * math/auto-libm-test-in: Add tests of lgamma.
21263         * math/auto-libm-test-out: Regenerated.
21264         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21265         (M_LOG_2_SQRT_PIl): Likewise.
21266         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21267         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21268         mpfr_f_f1.
21269         (func_calc_desc): Add mpfr_f_f1 union field.
21270         (ARGS1): New macro.
21271         (ARGS2): Likewise.
21272         (ARGS3): Likewise.
21273         (ARGS4): Likewise.
21274         (RET1): Likewise.
21275         (RET2): Likewise.
21276         (CALC): Likewise.
21277         (FUNC): Likewise.
21278         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21279         (test_functions): Add lgamma.
21280         (calc_generic_results): Handle mpfr_f_f1.
21281         * sysdeps/i386/fpu/libm-test-ulps: Update.
21282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21284 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21286         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21287         __mpn_add_n for PowerPC64/POWER7.
21288         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21289         __mpn_sub_n for PowerPC64/POWER7.
21291         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21292         __mpn_addmul_1 for PowerPC64.
21293         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21294         __mpn_submul_1 for PowerPC64.
21295         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21296         for PowerPC64.
21297         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21298         for PowerPC64.
21300 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21302         [BZ #15089]
21303         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21305 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21307         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21309         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21310         add multiarch folders.
21311         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21312         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21313         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21314         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21315         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21316         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21317         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21318         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21319         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21320         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21321         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21330         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21332         New file.
21333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21334         New file.
21335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21336         multiarch __ieee754_hypot for PowerPC32.
21337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21338         New file.
21339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21340         New file.
21341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21342         multiarch __ieee754_hypotf for PowerPC32.
21344         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21345         long_double_symbol only if __logbl is defined.
21346         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21347         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21348         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21349         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21350         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21351         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21352         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21353         path for implementation.
21354         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21355         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21357         logb, and logbl multiarch implementations for PowerPC32.
21358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21359         file.
21360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21361         file.
21362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21363         multiarch logb for PowerPC32.
21364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21365         file.
21366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21367         file.
21368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21369         multiarch logbf for PowerPC32.
21370         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21372         file.
21373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21374         multiarch logbl implementation for PowerPC32.
21376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21377         and modff multiarch implementations.
21378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21379         New file.
21380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21381         New file.
21382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21383         multiarch modf for PowerPC32.
21384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21385         New file.
21386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21387         New file.
21388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21389         multiarch modff for PowerPC32.
21391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21392         and lrintf multiarch implementations.
21393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21394         New file.
21395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21396         New file.
21397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21398         multiarch lrint for PowerPC32.
21399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21400         file: multiarch lrintf for PowerPC32.
21402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21403         and lroundf multiarch implementations.
21404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21405         New file.
21406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21407         New file.
21408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21409         New file.
21410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21411         multiarch lround for PowerPC32.
21412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21413         file: multiarch lroundf for PowerPC32.
21415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21416         copysign and copysignf multiarch implementations.
21417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21418         New file.
21419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21420         New file.
21421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21422         file: multiarch copysign for PowerPC32.
21423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21424         file: multiarch copysignf for PowerPC32.
21426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21427         and truncf multiarch implementations.
21428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21429         New file.
21430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21431         file.
21432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21433         multiarch trunc for PowerPC32.
21434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21435         New file.
21436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21437         New file.
21438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21439         multiarch truncf for PowerPC32.
21441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21442         and roundf multiarch implementations.
21443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21444         New file.
21445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21446         file.
21447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21448         multiarch round for PowerPC32.
21449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21450         New file.
21451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21452         New file.
21453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21454         multiarch roundf for PowerPC32.
21456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21457         and floorf multiarch implementations.
21458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21459         New file.
21460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21461         file.
21462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21463         multiarch floor for PowerPC32.
21464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21465         New file.
21466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21467         New file.
21468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21469         multiarch floorf for PowerPC32.
21471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21472         and ceilf multiarch implementations.
21473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21474         New file.
21475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21476         file.
21477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21478         multiarch ceil for PowerPC32.
21479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21480         New file.
21481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21482         file.
21483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21484         multiarch ceilf for PowerPC32.
21486         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21487         is defined.
21488         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21489         FINITEF is defined.
21490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21491         and finitef multiarch implementations.
21492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21493         New file.
21494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21495         file.
21496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21497         multiarch finite for PowerPC32.
21498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21499         New file.
21500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21501         file: multiarch finitef for PowerPC32.
21503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21504         and isinff multiarch implementations.
21505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21506         file.
21507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21508         file.
21509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21510         multiarch isinf for PowerPC32.
21511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21512         New file.
21513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21514         multiarch isinff for PowerPC32.
21516         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21517         alias when __isnan is defined.
21518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21519         and isnanf multiarch implementations.
21520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21521         file.
21522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21523         file.
21524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21525         file.
21526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21527         file.
21528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21529         multiarch isnan for PowerPC32.
21530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21531         New file.
21532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21533         New file.
21534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21535         multiarch isnanf for PowerPC32.
21537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21538         and sqrtf multiarch implementations.
21539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21540         file.
21541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21542         file.
21543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21544         multiarch sqrt for PowerPC32.
21545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21546         file.
21547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21548         file.
21549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21550         multiarch sqrtf for PowerPC32.
21552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21553         and llroundf multiarch implementations.
21554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21555         New file.
21556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21557         New file.
21558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21559         New file.
21560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21561         file: multiarch llround for PowerPC32.
21562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21563         file: multiarch llroundf for PowerPC32.
21565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21566         multiarch PowerPC32 fpu implementations.
21567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21568         New file.
21569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21570         New file.
21571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21572         multiarch llrint for PowerPC32.
21573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21574         New file.
21575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21576         New file.
21577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21578         file.
21580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21582         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21583         file.
21584         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21585         file.
21586         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21587         file.
21588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21589         multiarch wordcopy for PPC32.
21590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21591         wordcopy objects.
21592         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21593         (__libc_ifunc_impl_list): Likewise.
21594         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21595         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21596         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21597         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21598         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21599         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21601         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21603         file.
21604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21605         file.
21606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21607         file.
21608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21609         multiarch wcscpy for PPC32.
21610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21611         multiarch objects.
21612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21613         (__libc_ifunc_impl_list): Likewise.
21614         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21615         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21616         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21617         sysdeps/powerpc/power6/wcscpy.c.
21619         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21621         file.
21622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21623         file.
21624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21625         file.
21626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21627         multiarch wcsrchr for PPC32.
21628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21629         multiarch objects.
21630         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21631         (__libc_ifunc_impl_list): Likewise.
21632         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21633         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21634         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21635         sysdeps/powerpc/power6/wcsrchr.c.
21637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21638         file.
21639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21640         file.
21641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21643         multiarch wcschr for PPc32.
21644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21645         multiarch objects.
21646         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21647         (__libc_ifunc_impl_list): Likewise.
21648         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21649         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21650         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21651         sysdeps/powerpc/power6/wcschr.c.
21653         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21654         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21655         file.
21656         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21657         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21658         file: multiarch strchr for PPC32.
21659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21660         multiarch objects.
21661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21662         (__libc_ifunc_impl_list): Likewise.
21664         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21665         name.
21666         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21667         file.
21668         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21669         file.
21670         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21671         multiarch strchrnul for PPC32.
21672         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21673         multiarch objects.
21674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21675         (__libc_ifunc_impl_list): Likewise.
21677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21678         file.
21679         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21680         multiarch strncasecmp for PPC32.
21681         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21682         file.
21683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21684         multiarch strncasecmp_l for PPC32.
21685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21686         strncasecmp multiarch objects.
21687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21688         (__libc_ifunc_impl_list): Likewise.
21690         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21691         file.
21692         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21693         multiarch strncasecmp for PPC32.
21694         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21695         New file.
21696         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21697         multiarch strcasecmp_l for PPC32.
21698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21699         multiarch objects.
21700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21701         (__libc_ifunc_impl_list): Likewise.
21703         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21704         file.
21705         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21706         file.
21707         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21708         multiarch strncmp for PPC32.
21709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21710         multiarch objects.
21711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21712         (__libc_ifunc_impl_list): Likewise.
21714         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21715         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21716         file.
21717         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21718         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21720         multiarch objects.
21721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21722         (__libc_ifunc_impl_list): Likewise.
21724         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21725         file.
21726         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21727         file.
21728         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21730         multiarch objects.
21731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21732         (__libc_ifunc_impl_list): Likewise.
21734         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21735         file.
21736         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21737         file.
21738         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21739         multiarch rawmemchr for PPC32.
21740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21741         multiarch objects.
21742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21743         (__libc_ifunc_impl_list): Likewise.
21745         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21746         file.
21747         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21748         file.
21749         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21750         file: memrchr multiarch for PPC32.
21751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21752         multiarch objects.
21753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21754         (__libc_ifunc_impl_list): Likewise.
21756         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21757         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21758         file.
21759         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21760         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21761         multiarch memchr for PPC32.
21762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21763         multiarch objects.
21764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21765         (__libc_ifunc_impl_list): Likewise.
21767         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21768         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21769         file.
21770         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21771         file.
21772         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21773         file: multiarch mempcpy for PPC32.
21774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21775         multiarch objects.
21776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21777         (__libc_ifunc_impl_list): Likewise.
21779         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21780         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21781         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21782         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21783         multiarch bzero for PPC32.
21784         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21785         file.
21786         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21787         file.
21788         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21789         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21790         file: multiarch memset for PPC32.
21791         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21793         memset multiarch objects.
21794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21795         (__libc_ifunc_impl_list): Likewise.
21797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21798         file.
21799         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21800         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21801         memcmp for PPC32.
21802         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21804         multiarch objects.
21805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21806         (__libc_ifunc_impl_list): Likewise.
21808         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21809         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21810         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21811         file.
21812         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21813         file.
21814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21815         file.
21816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21817         multiarch memcpy for PPC32.
21818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21819         multiarch objects.
21820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21821         (__libc_ifunc_impl_list): Likewise.
21823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21824         support multiarch for POWER/PPC32.
21825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21826         Likewise.
21827         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21829         Implies file to make multiarch folder appers before the fpu and
21830         default folder for power4 configuration.
21832 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21834         * scripts/bench.pl: Append volatile keyword to type.
21836 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21838         * sysdeps/sh/sotruss-lib.c: New file.
21839         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21841 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21845 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21847         [BZ #6810]
21848         * math/w_tgamma.c: Include <errno.h>.
21849         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21850         * math/w_tgammaf.c: Include <errno.h>.
21851         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21852         * math/w_tgammal.c: Include <errno.h>.
21853         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21854         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21855         underflow.  Add more tgamma tests.
21856         * math/auto-libm-test-out: Regenerated.
21857         * sysdeps/i386/fpu/libm-test-ulps: Update.
21858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21860         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21861         sin, sinh, tan, tanh, tgamma, y0 and y1.
21862         * math/auto-libm-test-out: Regenerated.
21863         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21864         (TEST_COND_x86): Likewise.
21865         (M_E2l): Remove macro.
21866         (M_E3l): Likewise.
21867         (M_2_SQRT_PIl): Likewise.
21868         (M_SQRT_PIl): Likewise.
21869         (M_1_DIV_El): Likewise.
21870         (log_test_data): Use AUTO_TESTS_f_f.
21871         (log10_test_data): Likewise.
21872         (log1p_test_data): Likewise.
21873         (log2_test_data): Likewise.
21874         (sin_test_data): Likewise.
21875         (sin_tonearest_test_data): Likewise.
21876         (sin_towardzero_test_data): Likewise.
21877         (sin_downward_test_data): Likewise.
21878         (sin_upward_test_data): Likewise.
21879         (sinh_test_data): Likewise.
21880         (sinh_tonearest_test_data): Likewise.
21881         (sinh_towardzero_test_data): Likewise.
21882         (sinh_downward_test_data): Likewise.
21883         (sinh_upward_test_data): Likewise.
21884         (tan_test_data): Likewise.
21885         (tan_tonearest_test_data): Likewise.
21886         (tan_towardzero_test_data): Likewise.
21887         (tan_downward_test_data): Likewise.
21888         (tan_upward_test_data): Likewise.
21889         (tanh_test_data): Likewise.
21890         (tgamma_test_data): Likewise.
21891         (y0_test_data): Likewise.
21892         (y1_test_data): Likewise.
21893         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21894         (special_real_inputs): Add pi/4.
21895         * sysdeps/i386/fpu/libm-test-ulps: Update.
21896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21898 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21900         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21901         "longjmp_target" static probes.
21902         (__longjmp): Rename to __longjmp_symbol.
21903         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21904         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21905         on which longjmp to generate.
21906         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21907         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21908         probe.
21909         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21910         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21911         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21912         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21913         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21914         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21916         __longjmp_symbol based on which __longjmp to generate.
21917         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21918         probe.
21919         (setjmp): Rename to setjmp_symbol.
21920         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21921         (_setjmp): Rename to _setjmp_symbol.
21922         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21923         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21924         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21925         which setjmp to generate.
21926         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21927         "longjmp_target" static probes.
21929 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21931         * benchtests/README: Add note about output arguments.
21932         * benchtests/bench-sincos.c: Remove file.
21933         * benchtests/sincos-inputs: New file.
21934         * scripts/bench.pl: Identify output arguments and define
21935         static variables for them.
21937         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21939         [BZ #15941]
21940         * Makefile (INSTALL): Add install-plain.texi as the primary
21941         dependency.
21942         * manual/install-plain.texi: New file.
21943         * manual/install.texi: Include node directive only for
21944         non-plaintext output.
21946 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21948         * stdlib/longlong.h: Update from GCC.
21950         [BZ #6807]
21951         [BZ #15901]
21952         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21953         * math/w_j0f.c (y0f): Likewise.
21954         * math/w_j0l.c (__y0l): Likewise.
21955         * math/w_j1.c (y1): Likewise.
21956         * math/w_j1f.c (y1f): Likewise.
21957         * math/w_j1l.c (__y1l): Likewise
21958         * math/w_jn.c (yn): Likewise.
21959         * math/w_jnf.c (ynf): Likewise.
21960         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21961         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21962         value for Bessel function domain errors outside _SVID_ mode.
21963         Adjust sign of return value for yn (negative integer, 0).
21964         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21965         by zero in return for negative x and set sign appropriately for
21966         negative n.
21967         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21968         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21969         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21970         expectations in error cases.
21971         (y1_test_data): Likewise.
21972         (yn_test_data): Likewise.
21973         * sysdeps/i386/fpu/libm-test-ulps: Update.
21974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21976 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21978         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21979         "64" to "64-v1".  Add "64-v2".
21980         (abi-64-options): Rename to ...
21981         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21982         (abi-64-condition): Rename to ...
21983         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21984         (abi-64-ld-soname): Rename to ...
21985         (abi-64-v1-ld-soname): ... this.
21986         (abi-64-v2-options): Define.
21987         (abi-64-v2-condition): Likewise.
21988         (abi-64-v2-ld-soname): Likewise.
21989         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21990         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21995 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21996             Alan Modra  <amodra@gmail.com>
21998         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21999         New versions for use with the ELFv2 ABI.
22000         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22001         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22002         declaration.
22003         (struct La_ppc64v2_retval): Likewise.
22004         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22005         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22006         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22007         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22008         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22009         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22010         Do not save or restore CR.
22011         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22012         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22013         return values for ELFv2 ABI.  Fix location of FPR return registers.
22014         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22015         updated values for _CALL_ELF == 2.
22016         (La_regs, La_retval, int_retval): Likewise.
22018 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22020         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22021         (FRAME_MIN_SIZE_PARM): Likewise.
22022         (FRAME_BACKCHAIN): Likewise.
22023         (FRAME_CR_SAVE): Likewise.
22024         (FRAME_LR_SAVE): Likewise.
22025         (FRAME_TOC_SAVE): Likewise.
22026         (FRAME_PARM_SAVE): Likewise.
22027         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22028         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22029         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22030         (call_mcount_parm_offset): New macro.
22031         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22032         (PROF): Use symbolic stack frame offsets.
22033         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22034         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22035         Redefine in terms of FRAME_MIN_SIZE.
22036         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22037         (_dl_profile_resolve): Likewise.  Update comment.
22038         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22039         symbols stack frame offsets.
22040         (__sigsetjmp): Likewise.
22041         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22042         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22043         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22044         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22047         (FRAME_BACKCHAIN): Remove.
22048         (FRAME_CR_SAVE): Likewise.
22049         (FRAME_LR_SAVE): Likewise.
22050         (FRAME_COMPILER_DW): Likewise.
22051         (FRAME_LINKER_DW): Likewise.
22052         (FRAME_TOC_SAVE): Likewise.
22053         (FRAME_PARM_SAVE): Likewise.
22054         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22055         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22056         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22058         (CHECK_SP): Use symbolic stack frame offsets.
22059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22060         zone" instead of caller's parameter save area for temp storage.
22061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22062         Likewise.  Also, use symbolic stack frame offsets.
22063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22064         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22065         our own stack frame instead of the caller's.
22066         (__socket): Use symbolic stack frame offsets.
22068 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22069             Alan Modra  <amodra@gmail.com>
22071         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22072         Define.
22073         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22074         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22075         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22076         New function.
22077         (elf_machine_fixup_plt): Call it.
22078         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22079         reloc arguments.
22080         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22081         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22082         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22083         r2 before calling target.
22085 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22086             Alan Modra  <amodra@gmail.com>
22088         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22089         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22090         versions of macros to support ELFv2 ABI.
22091         (LOCALENTRY): New macro.
22092         (ENTRY, EALIGN): Use it.
22093         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22094         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22095         fall through into ENTRY entry point.
22096         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22097         Only define if _CALL_ELF != 2.
22099         (elf_machine_matches_host): Verify ABI version matches.
22100         (RTLD_START): Use LOCALENTRY.
22101         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22102         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22103         (PLT_ENTRY_WORDS): New macro.
22104         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22105         (elf_machine_runtime_setup): Support ELFv2 ABI.
22106         (elf_machine_fixup_plt): Likewise.
22107         (elf_machine_plt_conflict): Likewise.
22108         (resolve_ifunc): Likewise.
22109         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22110         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22111         Likewise.
22112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22113         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22115         (makecontext): Support ELFv2 ABI.
22116         * elf/elf.h (EF_PPC64_ABI): Define.
22118 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22120         * sysdeps/powerpc/powerpc64/sysdep.h
22121         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22122         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22123         (ENTRY) [ASSEMBLER]: ... but instead here ...
22124         (EALIGN) [ASSEMBLER]: ... and here.
22125         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22126         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22127         (ENTRY_2) [!ASSEMBLER]: Use it.
22128         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22129         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22130         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22131         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22132         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22134         Use PPC64_LOAD_FUNCPTR.
22136         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22138 2013-12-04  Alan Modra  <amodra@gmail.com>
22140         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22141         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22142         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22143         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22145         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22146         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22147         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22148         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22149         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22150         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22152 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22155         (__makecontext): Fix incorrect CFI when backtracing out of
22156         context created via makecontext.
22157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22158         (__setcontext): Fix incorrect CFI during switch to new context.
22159         (__novec_setcontext): Likewise.
22161 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22163         [BZ #4772]
22164         * time/strptime_l.c (__strptime_internal): Allow modifiers
22165         in strptime.
22166         * time/tst-strptime.c (day_tests): Add testcase.
22168 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22170         * scripts/bench.pl: Skip over blank lines.
22172 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22174         [BZ #926]
22175         * manual/time.texi (Calendar Time): Clarify what timezone functions
22176         use.
22178 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22182 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22184         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22185         implementation.
22186         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22187         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22188         * debug/memset_chk.c (__memset_chk): Likewise.
22189         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22190         * debug/strncpy_chk.c: Likewise.
22192 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22194         [BZ #15268]
22195         [BZ #15425]
22196         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22197         (__ieee754_exp): For possibly underflowing results, check size of
22198         result and force underflow exception if required.
22199         * math/auto-libm-test-in: Add more tests of exp.
22200         * math/auto-libm-test-out: Regenerated.
22201         * sysdeps/i386/fpu/libm-test-ulps: Update.
22202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22204         [BZ #16283]
22205         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22206         * math/w_exp2f.c (__exp2f): Likewise.
22207         * math/w_exp2l.c (__exp2l): Likewise.
22208         * math/auto-libm-test-in: Do not allow missing errno on exp2
22209         underflow.
22210         * math/auto-libm-test-out: Regenerated.
22212 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22214         [BZ #16274]
22215         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22216         handle filename validation.
22217         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22218         (do_open): Delete.
22220 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22222         [BZ #6786]
22223         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22224         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22225         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22226         <float.h>.
22227         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22228         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22229         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22230         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22231         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22232         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22233         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22234         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22235         Add more erfc tests.
22236         * math/auto-libm-test-out: Regenerated.
22237         * sysdeps/i386/fpu/libm-test-ulps: Update.
22238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22240         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22241         exp2, expm1, j0 and j1.
22242         * math/auto-libm-test-out: Regenerated.
22243         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22244         (erfc_test_data): Likewise.
22245         (exp_test_data): Likewise.
22246         (exp_tonearest_test_data): Likewise.
22247         (exp_towardzero_test_data): Likewise.
22248         (exp_downward_test_data): Likewise.
22249         (exp_upward_test_data): Likewise.
22250         (exp10_test_data): Likewise.
22251         (exp2_test_data): Likewise.
22252         (expm1_test_data): Likewise.
22253         (j0_test_data): Likewise.
22254         (j1_test_data): Likewise.
22255         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22256         (input_flag_type): Add flag_xfail_rounding.
22257         (input_flags): Add xfail-rounding.
22258         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22259         (output_for_one_input_case): Handle flag_xfail_rounding.
22260         * sysdeps/i386/fpu/libm-test-ulps: Update.
22261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22263 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22265         [BZ #16289]
22266         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22267         division by 0.
22269 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22271         [BZ #16195]
22272         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22273         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22274         (STAP_PROBE0): New macro.
22275         (STAP_PROBE1): Likewise.
22276         (STAP_PROBE2): Likewise.
22277         (STAP_PROBE3): Likewise.
22278         (STAP_PROBE4): Likewise.
22280 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22282         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22284 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22286         * benchtests/Makefile (bench): Add sqrt.
22287         (LDLIBS-bench-sqrt): New.
22288         * benchtests/sqrt-input: New.
22290 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22292         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22293         (GAIH_EAI): Likewise.
22294         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22295         (gaih_inet): Likewise.
22296         (getaddrinfo): Don't use GAIH_EAI.
22298         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22299         (struct gaih): Remove definition.
22301 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22303         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22304         Use HERRNOP directly.
22306 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22310 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22312         * math/gen-auto-libm-tests.c (test_functions): Add more
22313         single-argument functions.
22314         (special_fill_pi_2): New function.
22315         (special_fill_minus_pi_2): Likewise.
22316         (special_fill_pi_6): Likewise.
22317         (special_fill_minus_pi_6): Likewise.
22318         (special_fill_pi_3): Likewise.
22319         (special_fill_2pi_3): Likewise.
22320         (special_fill_e): Likewise.
22321         (special_fill_1_e): Likewise.
22322         (special_fill_e_minus_1): Likewise.
22323         (special_real_inputs): Add more special inputs.
22324         (output_for_one_input_case): Do not require ERANGE on underflow to
22325         zero if round-to-nearest result does not underflow to zero, unless
22326         exact results required.
22327         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22328         atan, atanh, cbrt, cos and cosh.
22329         * math/auto-libm-test-out: Regenerated.
22330         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22331         (acos_tonearest_test_data): Likewise.
22332         (acos_towardzero_test_data): Likewise.
22333         (acos_downward_test_data): Likewise.
22334         (acos_upward_test_data): Likewise.
22335         (acosh_test_data): Likewise.
22336         (asin_test_data): Likewise.
22337         (asin_tonearest_test_data): Likewise.
22338         (asin_towardzero_test_data): Likewise.
22339         (asin_upward_test_data): Likewise.
22340         (asinh_test_data): Likewise.
22341         (atan_test_data): Likewise.
22342         (atanh_test_data): Likewise.
22343         (cbrt_test_data): Likewise.
22344         (cos_test_data): Likewise.
22345         (cos_tonearest_test_data): Likewise.
22346         (cos_towardzero_test_data): Likewise.
22347         (cos_downward_test_data): Likewise.
22348         (cos_upward_test_data): Likewise.
22349         (cosh_test_data): Likewise.
22350         (cosh_tonearest_test_data): Likewise.
22351         (cosh_towardzero_test_data): Likewise.
22352         (cosh_downward_test_data): Likewise.
22353         (cosh_upward_test_data): Likewise.
22354         * sysdeps/i386/fpu/libm-test-ulps: Update.
22355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22357 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22359         [BZ #6787]
22360         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22361         * math/w_exp10f.c (__exp10f): Likewise.
22362         * math/w_exp10l.c (__exp10l): Likewise.
22363         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22364         errno settings in existing tests.
22366         [BZ #14032]
22367         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22368         precision control set to double precision.
22369         * sysdeps/i386/fpu/w_sqrt.c: New file.
22370         * math/auto-libm-test-in: Add more tests.
22371         * math/auto-libm-test-out: Update.
22373         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22374         (sqrt_test_tonearest): New function.
22375         (sqrt_towardzero_test_data): New variable.
22376         (sqrt_test_towardzero): New function.
22377         (sqrt_downward_test_data): New variable.
22378         (sqrt_test_downward): New function.
22379         (sqrt_upward_test_data): New variable.
22380         (sqrt_test_upward): New function.
22381         (main): Call the new functions.
22383         * math/gen-auto-libm-tests.c: New file.
22384         * math/auto-libm-test-in: Likewise.
22385         * math/auto-libm-test-out: New generated file.
22386         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22387         variables.
22388         (%beautify): Add generated representations of zero.
22389         (top level): Set $auto_input and call parse_auto_input.
22390         (beautify): Remove trailing "f" from hex float constants.
22391         (parse_args): Handle XFAIL_TEST.
22392         (convert_condition): New function.
22393         (or_value): Likewise.
22394         (or_cond_value): Likewise.
22395         (generate_testfile): Handle AUTO_TESTS_* lines.
22396         (parse_auto_input): New function.
22397         * math/libm-test.inc (XFAIL_TEST): New macro.
22398         (ERRNO_UNCHANGED): Update value.
22399         (ERRNO_EDOM): Likewise.
22400         (ERRNO_ERANGE): Likewise.
22401         (IGNORE_RESULT): Likewise.
22402         (TEST_COND_flt_32): New macro.
22403         (TEST_COND_dbl_64): Likewise.
22404         (TEST_COND_ldbl_96_intel): Likewise.
22405         (TEST_COND_ldbl_96_m68k): Likewise.
22406         (TEST_COND_ldbl_128): Likewise.
22407         (TEST_COND_ldbl_128ibm): Likewise.
22408         (TEST_COND_long32): Likewise.
22409         (TEST_COND_long64): Likewise.
22410         (TEST_COND_before_rounding): Likewise.
22411         (TEST_COND_after_rounding): Likewise.
22412         (enable_test): Handle XFAIL_TEST flag.
22413         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22414         with finite results.
22415         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22416         auto-libm-test-out.
22418 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22419             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22421         [BZ #16214]
22422         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22423         __tls_get_addr_internal instead of __tls_get_offset in order to
22424         avoid GOT pointer dependency.  Make rtld export
22425         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22426         __tls_get_addr since we are a __tls_get_offset platform.
22427         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22428         GOT pointer being set up before.
22429         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22431 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22433         * manual/math.texi (Errors in Math Functions): Document accuracy
22434         goals.
22436         [BZ #15004]
22437         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22438         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22439         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22440         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22441         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22442         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22443         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22444         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22445         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22446         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22447         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22448         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22449         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22450         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22451         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22452         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22454         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22455         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22456         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22457         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22458         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22459         Likewise.
22460         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22461         Likewise.
22462         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22463         Likewise.
22464         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22465         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22466         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22467         atomic-feupdateenv and flt-rounds.
22468         * sysdeps/powerpc/nofpu/Versions (libc): Add
22469         __atomic_feholdexcept, __atomic_feclearexcept,
22470         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22471         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22472         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22473         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22474         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22475         here.
22476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22477         Update.
22479         * manual/arith.texi (FP Exceptions): Document that exceptions may
22480         not be raised when matherr is used.
22481         (Math Error Reporting): Document overflow in directed rounding
22482         modes.  Document that errno may not be set when finite values are
22483         returned on overflow.  Document intent to set errno on underflow
22484         only for underflow to zero.
22486         [BZ #16271]
22487         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22488         round-to-nearest then adjust result for other rounding modes.
22489         * include/fenv.h (fegetround): Use libm_hidden_proto.
22490         * math/fegetround.c (fegetround): Use libm_hidden_def.
22491         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22492         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22493         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22494         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22495         Likewise.
22496         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22497         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22498         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22499         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22501 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22503         [BZ #16077]
22504         * nss/Versions (libnss_files): Add
22505         _nss_files_gethostbyname3_r.
22506         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22507         New function.
22508         (HOST_DB_LOOKUP): Remove macro.
22509         (_nss_files_gethostbyname_r): Implement function without the
22510         HOST_DB_LOOKUP macro.
22511         (_nss_files_gethostbyname2_r): Likewise.
22513 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22515         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22517 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22519         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22520         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22521         warning.
22523 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22525         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22526         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22527         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22528         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22529         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22530         __fe_nomask_env_priv and attribute_hidden.
22531         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22532         (libc_feupdateenv_test_ppc): Likewise.
22533         (libc_feresetround_ppc): Likewise.
22534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22535         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22536         compat_symbol macro.
22537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22538         (__fe_nomask_env): Likewise.
22539         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22541 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22543         * string/Makefile: Remove ifunc tests.
22544         * string/test-string.h: Define TEST_IFUNC.
22545         * string/test-bcopy-ifunc.c: Remove.
22546         * string/test-bzero-ifunc.c: Likewise.
22547         * string/test-memccpy-ifunc.c: Likewise.
22548         * string/test-memchr-ifunc.c: Likewise.
22549         * string/test-memcmp-ifunc.c: Likewise.
22550         * string/test-memcpy-ifunc.c: Likewise.
22551         * string/test-memmem-ifunc.c: Likewise.
22552         * string/test-memmove-ifunc.c: Likewise.
22553         * string/test-mempcpy-ifunc.c: Likewise.
22554         * string/test-memrchr-ifunc.c: Likewise.
22555         * string/test-memset-ifunc.c: Likewise.
22556         * string/test-rawmemchr-ifunc.c: Likewise.
22557         * string/test-stpcpy-ifunc.c: Likewise.
22558         * string/test-stpncpy-ifunc.c: Likewise.
22559         * string/test-strcasecmp-ifunc.c: Likewise.
22560         * string/test-strcasestr-ifunc.c: Likewise.
22561         * string/test-strcat-ifunc.c: Likewise.
22562         * string/test-strchr-ifunc.c: Likewise.
22563         * string/test-strchrnul-ifunc.c: Likewise.
22564         * string/test-strcmp-ifunc.c: Likewise.
22565         * string/test-strcpy-ifunc.c: Likewise.
22566         * string/test-strcspn-ifunc.c: Likewise.
22567         * string/test-strlen-ifunc.c: Likewise.
22568         * string/test-strncasecmp-ifunc.c: Likewise.
22569         * string/test-strncat-ifunc.c: Likewise.
22570         * string/test-strncmp-ifunc.c: Likewise.
22571         * string/test-strncpy-ifunc.c: Likewise.
22572         * string/test-strnlen-ifunc.c: Likewise.
22573         * string/test-strpbrk-ifunc.c: Likewise.
22574         * string/test-strrchr-ifunc.c: Likewise.
22575         * string/test-strspn-ifunc.c: Likewise.
22576         * string/test-strstr-ifunc.c: Likewise.
22578 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22580         * benchtests/Makefile: Remove ifunc tests.
22581         * benchtests/bench-string.h: Define TEST_IFUNC.
22582         * benchtests/bench-bcopy-ifunc.c: Remove.
22583         * benchtests/bench-bzero-ifunc.c: Likewise.
22584         * benchtests/bench-memccpy-ifunc.c: Likewise.
22585         * benchtests/bench-memchr-ifunc.c: Likewise.
22586         * benchtests/bench-memcmp-ifunc.c: Likewise.
22587         * benchtests/bench-memcpy-ifunc.c: Likewise.
22588         * benchtests/bench-memmem-ifunc.c: Likewise.
22589         * benchtests/bench-memmove-ifunc.c: Likewise.
22590         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22591         * benchtests/bench-memrchr-ifunc.c: Likewise.
22592         * benchtests/bench-memset-ifunc.c: Likewise.
22593         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22594         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22595         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22596         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22597         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22598         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22599         * benchtests/bench-strcat-ifunc.c: Likewise.
22600         * benchtests/bench-strchr-ifunc.c: Likewise.
22601         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22602         * benchtests/bench-strcmp-ifunc.c: Likewise.
22603         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22604         * benchtests/bench-strcpy-ifunc.c: Likewise.
22605         * benchtests/bench-strcspn-ifunc.c: Likewise.
22606         * benchtests/bench-strlen-ifunc.c: Likewise.
22607         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22608         * benchtests/bench-strncat-ifunc.c: Likewise.
22609         * benchtests/bench-strncmp-ifunc.c: Likewise.
22610         * benchtests/bench-strncpy-ifunc.c: Likewise.
22611         * benchtests/bench-strnlen-ifunc.c: Likewise.
22612         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22613         * benchtests/bench-strrchr-ifunc.c: Likewise.
22614         * benchtests/bench-strsep-ifunc.c: Likewise.
22615         * benchtests/bench-strspn-ifunc.c: Likewise.
22616         * benchtests/bench-strstr-ifunc.c: Likewise.
22618 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22620         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22622 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22624         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22625         * rt/aio.h: Likewise.
22626         * sysdeps/gnu/bits/utmp.h: Likewise.
22627         * sysdeps/gnu/bits/utmpx.h: Likewise.
22628         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22629         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22630         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22631         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22632         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22633         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22634         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22635         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22636         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22637         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22638         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22639         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22640         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22642         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22643         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22644         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22645         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22646         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22647         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22648         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22649         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22650         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22651         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22652         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22654         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22655         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22656         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22657         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22658         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22659         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22660         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22661         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22662         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22663         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22664         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22665         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22666         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22667         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22668         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22669         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22671 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22673         [BZ #16245]
22674         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22675         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22677 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22679         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22680         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22681         Likewise.
22683 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22685         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22686         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22687         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22688         (__fesetround): Remove define.
22689         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22690         rounding and exceptions handling.
22691         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22692         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22693         (__fe_nomask_env): Likewise.
22694         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22695         __fegetround instead of fegetround.
22696         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22697         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22699 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22701         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22702         it's there.
22704         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22706 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22708         [BZ #11157]
22709         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22710         (encrypt_r): Likewise.
22711         * malloc/obstack.h (obstack_free): Likewise.
22712         * posix/unistd.h (encrypt): Likewise.
22714 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22716         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22717         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22718         DL_CALL_DT_FINI() that call the functions directly.
22719         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22720         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22721         * elf/dl-fini.c: Likewise.
22723 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22725         * malloc/hooks.c (memalign_check): Add alignment rounding.
22726         * malloc/malloc.c (_mid_memalign): New function.
22727         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22728         Implement by calling _mid_memalign.
22729         * manual/probes.texi (Memory Allocation Probes): Remove
22730         memory_valloc_retry and memory_pvalloc_retry.
22732 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22734         * locale/programs/locarchive.c (open_archive): Add const
22735         qualifier to ARCHIVEFNAME and copy default fname to
22736         DEFAULT_FNAME.
22738         [BZ #15601]
22739         * libio/tst-widetext.input: Rename Oriya to Odia.
22740         * locale/iso-639.def: Likewise.
22742         * manual/probes.texi (Mathematical Function Probes): Add
22743         documentation for sin, cos, asin and acos probes.
22744         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22745         (__sin32): Add slowasin probe.
22746         (__cos32): Add slowacos probe.
22747         (__mpsin): Add slowsin probe.
22748         (__mpcos): Add slowcos probe.
22750 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22752         [BZ #15483]
22753         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22754         thread-local __sim_exceptions_thread and global
22755         __sim_exceptions_global.
22756         (__sim_disabled_exceptions): Change to thread-local
22757         __sim_disabled_exceptions_thread and global
22758         __sim_disabled_exceptions_global.
22759         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22760         and global __sim_round_mode_global.
22761         (__simulate_exceptions): Use thread-local floating-point state and
22762         set global state from it as needed.
22763         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22764         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22765         __sim_round_mode_thread.
22766         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22767         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22768         and global __sim_exceptions_global.
22769         (__sim_disabled_exceptions): Change to thread-local
22770         __sim_disabled_exceptions_thread and global
22771         __sim_disabled_exceptions_global.
22772         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22773         and global __sim_round_mode_global.
22774         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22775         (SIM_SET_GLOBAL): Likewise.
22776         * sysdeps/powerpc/soft-fp/sfp-machine.h
22777         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22778         __sim_round_mode_thread.
22779         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22780         __sim_disabled_exceptions_thread.
22781         (__sim_exceptions): Change to __sim_exceptions_thread.
22782         (__sim_disabled_exceptions): Change to
22783         __sim_disabled_exceptions_thread.
22784         (__sim_round_mode): Change to __sim_round_mode_thread.
22785         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22786         thread-local floating-point state and set global state from it as
22787         needed.
22788         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22789         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22790         (__sim_disabled_exceptions): Remove extern declaration.
22791         (feenableexcept): Use thread-local floating-point state and set
22792         global state from it as needed.
22793         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22794         extern declaration.
22795         (__sim_disabled_exceptions): Likewise.
22796         (__sim_round_mode): Likewise.
22797         (__fegetenv): Use thread-local floating-point state.
22798         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22799         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22800         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22801         floating-point state and set global state from it as needed.
22802         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22803         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22804         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22805         Likewise.
22806         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22807         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22808         Likewise.
22809         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22810         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22811         Use __sim_round_mode_thread.
22812         * math/test-fenv-tls.c: New file.
22813         * math/Makefile (tests): Add test-fenv-tls.
22814         ($(objpfx)test-fenv-tls): Depend on
22815         $(common-objpfx)nptl/libpthread.so.
22817 2013-11-19  Andreas Schwab  <schwab@suse.de>
22819         * locale/programs/locale.c (show_info): Decode wordarray elements.
22820         * locale/categories.def (LC_MONETARY): Add element for
22821         _NL_MONETARY_CRNCYSTR.
22822         * locale/C-monetary.c (conversion_rate): New variable.
22823         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22824         element.
22826 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22828         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22829         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22831 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22833         * elf/Makefile (tst-auxv): New test.
22834         * elf/tst-auxv.c: New
22835         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22837 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22839         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22840         (hidden_proto): Caller changed.
22841         (hidden_tls_proto): New macro.
22842         (libc_hidden_tls_proto): Likewise.
22843         (rtld_hidden_tls_proto): Likewise.
22844         (libm_hidden_tls_proto): Likewise.
22845         (libresolv_hidden_tls_proto): Likewise.
22846         (librt_hidden_tls_proto): Likewise.
22847         (libdl_hidden_tls_proto): Likewise.
22848         (libnss_files_hidden_tls_proto): Likewise.
22849         (libnsl_hidden_tls_proto): Likewise.
22850         (libnss_nisplus_hidden_tls_proto): Likewise.
22851         (libutil_hidden_tls_proto): Likewise.
22853 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22855         [BZ #10253]
22856         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22857         (decompose_rpath): Defer expansion to fillin_rpath.
22858         (_dl_init_paths): Pass linkmap to fillin_rpath.
22860 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22862         * benchtests/Makefile: Add strsep.
22863         * benchtests/bench-strsep.c: New file: strsep benchtest.
22864         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22866 2013-11-18  Andreas Schwab  <schwab@suse.de>
22868         * locale/programs/locale.c (show_info) [case byte]: Check for
22869         '\377' instead of '\177'.
22870         * locale/C-monetary.c (not_available): Always use "\377".
22871         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22872         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22873         detect unavailable sign_posn locale elements.
22874         * locale/localeconv.c (__localeconv): For grouping and
22875         mon_grouping handle "\177" and "\377" like no grouping.
22876         (INT_ELEM): New macro.  Use it to set all numeric members.
22877         * locale/programs/ld-monetary.c (monetary_read)
22878         <tok_mon_grouping>: Normalize single -1 to the empty string.
22879         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22880         Likewise.
22882 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22884         [BZ #16055]
22885         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22886         when we match (nil).
22887         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22889 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22891         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22892         (NO_TEST_INLINE): Update value.
22893         (ERRNO_UNCHANGED): Likewise.
22894         (ERRNO_EDOM): Likewise.
22895         (ERRNO_ERANGE): Likewise.
22896         (IGNORE_RESULT): Likewise.
22897         (check_float_internal): Check signs of NaN results if
22898         TEST_NAN_SIGN used.
22899         (check_complex): Pass TEST_NAN_SIGN flag through to second
22900         check_float_internal call.
22901         (copysign_test_data): Add tests with quiet NaNs as second
22902         argument.  Use TEST_NAN_SIGN.
22903         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22904         TEST_NAN_SIGN.
22905         (signbit_test_data): Add tests of quiet NaN argument.
22906         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22908         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22909         $ignore_result.
22910         (parse_args): Handle function results specified as IGNORE.
22911         * math/libm-test.inc (IGNORE_RESULT): New macro.
22912         (check_float_internal): Do not check numerical result if flag
22913         IGNORE_RESULT set.
22914         (check_complex): Pass through IGNORE_RESULT to second
22915         check_float_internal call.
22916         (check_int): Do not check numerical result if flag IGNORE_RESULT
22917         set.
22918         (check_long): Likewise.
22919         (check_bool): Likewise.
22920         (check_longlong): Likewise.
22921         (lrint_test_data): Add tests of infinite and NaN arguments.
22922         (lrint_tonearest_test_data): Likewise.
22923         (lrint_towardzero_test_data): Likewise.
22924         (lrint_downward_test_data): Likewise.
22925         (lrint_upward_test_data): Likewise.
22926         (llrint_test_data): Likewise.
22927         (llrint_tonearest_test_data): Likewise.
22928         (llrint_towardzero_test_data): Likewise.
22929         (llrint_downward_test_data): Likewise.
22930         (llrint_upward_test_data): Likewise.
22931         (lround_test_data): Likewise.
22932         (llround_test_data): Likewise.
22934         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22935         (ERRNO_UNCHANGED): Update value.
22936         (ERRNO_EDOM): Likewise.
22937         (ERRNO_ERANGE): Likewise.
22938         (NO_TEST_INLINE_FLOAT): New macro.
22939         (NO_TEST_INLINE_DOUBLE): Likewise.
22940         (enable_test): New function.
22941         (RUN_TEST_f_f): Check enable_test before running test.
22942         (RUN_TEST_2_f): Likewise.
22943         (RUN_TEST_fff_f): Likewise.
22944         (RUN_TEST_c_f): Likewise.
22945         (RUN_TEST_f_f1): Likewise.
22946         (RUN_TEST_fF_f1): Likewise.
22947         (RUN_TEST_fI_f1): Likewise.
22948         (RUN_TEST_ffI_f1): Likewise.
22949         (RUN_TEST_c_c): Likewise.
22950         (RUN_TEST_cc_c): Likewise.
22951         (RUN_TEST_f_i): Likewise.
22952         (RUN_TEST_f_i_tg): Likewise.
22953         (RUN_TEST_ff_i_tg): Likewise.
22954         (RUN_TEST_f_b): Likewise.
22955         (RUN_TEST_f_b_tg): Likewise.
22956         (RUN_TEST_f_l): Likewise.
22957         (RUN_TEST_f_L): Likewise.
22958         (RUN_TEST_fFF_11): Likewise.
22959         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22960         conditionals.
22961         (cosh_test_data): Likewise.
22962         (exp_test_data): Likewise.
22963         (expm1_test_data): Likewise.
22964         (hypot_test_data): Likewise.
22965         (pow_test_data): Likewise.
22966         (sinh_test_data): Likewise.
22967         (tanh_test_data): Likewise.
22968         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22969         flags argument.
22971         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22972         tests with quiet NaN input and output.
22973         (acosh_test_data): Likewise.
22974         (asin_test_data): Likewise.
22975         (asinh_test_data): Likewise.
22976         (atan_test_data): Likewise.
22977         (atanh_test_data): Likewise.
22978         (atan2_test_data): Likewise.
22979         (cbrt_test_data): Likewise.
22980         (cos_test_data): Likewise.
22981         (cosh_test_data): Likewise.
22982         (erf_test_data): Likewise.
22983         (erfc_test_data): Likewise.
22984         (exp_test_data): Likewise.
22985         (exp10_test_data): Likewise.
22986         (exp2_test_data): Likewise.
22987         (expm1_test_data): Likewise.
22988         (hypot_test_data): Likewise.
22989         (j0_test_data): Likewise.
22990         (j1_test_data): Likewise.
22991         (jn_test_data): Likewise.
22992         (lgamma_test_data): Likewise.
22993         (log_test_data): Likewise.
22994         (log10_test_data): Likewise.
22995         (log1p_test_data): Likewise.
22996         (log2_test_data): Likewise.
22997         (pow_test_data): Likewise.
22998         (scalb_test_data): Likewise.
22999         (sin_test_data): Likewise.
23000         (sincos_test_data): Likewise.
23001         (sinh_test_data): Likewise.
23002         (tan_test_data): Likewise.
23003         (tanh_test_data): Likewise.
23004         (tgamma_test_data): Likewise.
23005         (y0_test_data): Likewise.
23006         (y1_test_data): Likewise.
23007         (yn_test_data): Likewise.
23009         [BZ #16167]
23010         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23011         argument being NaN and avoid computations with second argument in
23012         that case.
23013         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23014         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23015         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23017 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23019         * locale/iso-639.def: Add Chitwani Tharu (the).
23021 2013-11-14  Andreas Schwab  <schwab@suse.de>
23023         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23024         word instead of empty string.
23026 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23029         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23031         (__fe_nomask_env): Likewise.
23033 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23035         * benchtests/bench-timing.h: Include time.h.
23037 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23039         [BZ #15997]
23040         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23041         to 3.4.0 for x32.
23042         * sysdeps/unix/sysv/linux/configure: Regenerated.
23044 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23046         [BZ #16151]
23047         * stdlib/strtod_l.c (round_and_return): Do not consider
23048         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23049         exponent one less than half the least subnormal exponent.
23050         * stdlib/test-strtod-round-data: Add more tests.
23051         * stdlib/tst-strtod-round.c (tests): Regenerated.
23053 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23055         [BZ #14143]
23056         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23057         (__fe_mask_env): Likewise.
23058         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23059         libm_hidden_proto and add function prototype.
23060         (__fe_mask_env): Add function prototype.
23061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23062         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23064         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23066         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23068 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23070         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23071         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23073 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23075         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23076         of htab_find_slot().
23078 2013-11-11  David S. Miller  <davem@davemloft.net>
23080         [BZ #16150]
23081         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23082         symbol in the non-vis3 case in static builds.
23083         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23084         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23085         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23086         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23088 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23090         [BZ #387]
23091         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23092         it is empty.
23094 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23096         * benchtests/Makefile: Add bench-strtod.
23097         * benchtests/bench-strtod.c: New file: strtod benchtest
23099 2013-11-11  Andreas Schwab  <schwab@suse.de>
23101         [BZ #16153]
23102         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23103         terminating NUL in key length.
23105 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23107         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23108         Add artificial ODP entry for vDSO symbol for PPC64.
23109         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23110         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23112 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23114         [BZ #15374]
23115         * nss/getent.c (services_keys): Recognize services starting with digit.
23117 2013-11-06  David S. Miller  <davem@davemloft.net>
23119         [BZ #15985]
23120         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23121         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23123 2013-11-06  Will Newton  <will.newton@linaro.org>
23125         * manual/memory.texi (Malloc Examples): Remove register
23126         keyword from examples.
23128 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23130         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23132 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23134         [BZ #6981]
23135         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23136         depending on [__GCC_IEC_559 > 0].
23137         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23138         depending on [__GCC_IEC_559_COMPLEX > 0].
23140 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23142         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23143         to iso-639.def.
23145 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23147         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23149 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23151         [BZ #16112]
23152         * malloc/malloc (malloc_info): Do not handle first bin as
23153         special case.
23155 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23157         * locale/iso-639.def: Add Central Nahuatl (nhn).
23159 2013-11-01  Bruno Haible  <bruno@clisp.org>
23161         [BZ #7003]
23162         * manual/math.texi (BSD Random): Specify range upper bound as
23163         in POSIX.
23165 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23167         * locale/iso-639.def: Add Meadow Mari (mhr).
23169 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23171         [BZ #14752], [BZ #15763]
23172         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23173         Validate name.
23174         * rt/tst_shm.c: Add test for escaping directory.
23176 2013-10-31  Andreas Schwab  <schwab@suse.de>
23178         [BZ #15917]
23179         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23180         followed by 'x' as part of digit sequence.
23181         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23183 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23185         [BZ #16037]
23186         * configure.ac: allow GNU Make 4.0 and greater.
23187         * configure: Regenerated.
23189 2013-10-30  Will Newton  <will.newton@linaro.org>
23191         [BZ #16038]
23192         * malloc/hooks.c (memalign_check): Limit alignment to the
23193         maximum representable power of two.
23194         * malloc/malloc.c (__libc_memalign): Likewise.
23195         * malloc/tst-memalign.c (do_test): Add test for very
23196         large alignment values.
23197         * malloc/tst-posix_memalign.c (do_test): Likewise.
23199 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23201         [BZ #11087]
23202         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23203         (munmap_chunk): Likewise.
23204         (mremap_chunk): Likewise.
23206 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23208         [BZ #15799]
23209         * stdlib/div.c (div): Remove obsolete code.
23210         * stdlib/ldiv.c (ldiv): Likewise.
23211         * stdlib/lldiv.c (lldiv): Likewise.
23213 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23215         [BZ #16071]
23216         * nss/nss_files/files-XXX.c (get_contents_ret): New
23217         enumerator.
23218         (get_contents): New function.
23219         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23221 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23223         * configure.in: Moved to ...
23224         * configure.ac: ... here. Change reference to configure.in
23225         to configure.ac.
23226         * sysdeps/arm/preconfigure.ac: ... here.
23227         configure.in to configure.ac.
23228         * sysdeps/gnu/configure.in: Moved to ...
23229         * sysdeps/gnu/configure.ac: ... here.
23230         * sysdeps/i386/configure.in: Moved to ...
23231         * sysdeps/i386/configure.ac: ... here.
23232         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23233         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23234         * sysdeps/mach/configure.in: Moved to ...
23235         * sysdeps/mach/configure.ac: ... here.
23236         * sysdeps/mach/hurd/configure.in: Moved to ...
23237         * sysdeps/mach/hurd/configure.ac: ... here.
23238         * sysdeps/powerpc/configure.in: Moved to ...
23239         * sysdeps/powerpc/configure.ac: ... here.
23240         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23241         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23242         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23243         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23244         * sysdeps/s390/s390-32/configure.in: Moved to ...
23245         * sysdeps/s390/s390-32/configure.ac: ... here.
23246         * sysdeps/s390/s390-64/configure.in: Moved to ...
23247         * sysdeps/s390/s390-64/configure.ac: ... here.
23248         * sysdeps/sh/configure.in: Moved to ...
23249         * sysdeps/sh/configure.ac: ... here.
23250         * sysdeps/sparc/configure.in: Moved to ...
23251         * sysdeps/sparc/configure.ac: ... here.
23252         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23253         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23254         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23255         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23256         * sysdeps/x86_64/configure.in: Moved to ...
23257         * sysdeps/x86_64/configure.ac: ... here.
23258         * sysdeps/x86_64/preconfigure.in: Moved to ...
23259         * sysdeps/x86_64/preconfigure.ac: ... here.
23260         * aclocal.m4: Change reference to configure.in to configure.ac.
23261         * config.h.in: Likewise.
23262         * manual/install.texi: Likewise.
23263         * manual/maint.texi: Likewise.
23264         * Makefile: Likewise.
23265         * malloc/Makefile: Likewise.
23266         * nscd/Makefile: Likewise.
23267         * Makeconfig: Change reference to configure.in and
23268         preconfigure.in to configure.ac and preconfigure.ac
23269         respectively.
23270         * INSTALL: Regenerated.
23271         * configure: Likewise.
23272         * sysdeps/gnu/configure: Likewise.
23273         * sysdeps/i386/configure: Likewise.
23274         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23275         * sysdeps/mach/configure: Likewise.
23276         * sysdeps/mach/hurd/configure: Likewise.
23277         * sysdeps/powerpc/configure: Likewise.
23278         * sysdeps/powerpc/powerpc32/configure: Likewise.
23279         * sysdeps/powerpc/powerpc64/configure: Likewise.
23280         * sysdeps/s390/s390-32/configure: Likewise.
23281         * sysdeps/s390/s390-64/configure: Likewise.
23282         * sysdeps/sh/configure: Likewise.
23283         * sysdeps/sparc/configure: Likewise.
23284         * sysdeps/unix/sysv/linux/configure: Likewise.
23285         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23286         * sysdeps/x86_64/configure: Likewise.
23287         * sysdeps/x86_64/preconfigure: Likewise.
23289 2013-10-29  Andreas Schwab  <schwab@suse.de>
23291         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23293 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23295         * benchtests/pow-inputs: Add new inputs.
23297         * benchtests/exp-inputs: Add new inputs.
23299         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23300         conditional check for return value.
23301         (__cos32): Likewise.
23303 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23305         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23306         to provide a boost for large inputs with word alignment.
23307         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23308         implementation based on optimized PPC64 strcpy.
23309         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23310         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23311         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23312         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23314 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23316         [BZ #2801]
23317         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23319 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23321         [BZ #14876]
23322         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23323         * time/tst-strptime.c (day_tests): Add testcase.
23325 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23327         [BZ #14029]
23328         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23330 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23332         [BZ #16074]
23333         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23334         MAP_FAILED on error.
23336 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23338         [BZ #16072]
23339         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23340         heap for large requests.
23342 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23344         [BZ #9954]
23345         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23346         result if the result has no associated interface.
23347         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23348         interface for all 127.X.Y.Z addresses.
23350 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23352         * locale/iso-639.def: Add Ligurian (lij)
23354 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23356         [BZ #15825]
23357         * sunrpc/rpc_main.c: Document rpcgen -5.
23359 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23361         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23363 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23365         [BZ #10278]
23366         * posix/glob.c: Match only directories when trailing slash is present.
23367         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23368         (main): Add testcase.
23370 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23372         [BZ #15670]
23373         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23375 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23377         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23378         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23379         AUTH_DES and cindex for FIPS 140-2.
23380         (DES Encryption): Add cindex FIPS 46-3.
23382         * locale/locarchive.h (struct locarhandle): Add fname.
23383         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23384         if an optional argument was specified to --list-archive,
23385         otherwise NULL.
23386         * locale/programs/locarchive.c (show_archive_content): Take new
23387         argument fname and pass it via ah.fname to open_archive.
23388         * locale/programs/localedef.h: Update decl.
23389         (open_archive): If AH->fname is non-null, open that file
23390         rather than the default file name, and don't ignore ENOENT.
23391         (create_archive): Set AH.fname to NULL.
23392         (delete_locales_from_archive): Likewise.
23393         (add_locales_to_archive): Likewise.
23394         * locale/programs/locfile.c (write_all_categories): Likewise.
23396 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23397             Aldy Hernandez  <aldyh@redhat.com>
23399         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23400         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23401         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23402         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23403         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23404         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23405         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23406         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23407         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23408         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23409         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23410         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23411         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23412         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23413         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23414         Likewise.
23415         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23416         Likewise.
23417         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23418         Likewise.
23419         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23420         Likewise.
23421         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23422         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23423         Likewise.
23424         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23425         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23426         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23427         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23428         Likewise.
23429         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23430         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23431         * sysdeps/powerpc/preconfigure: Likewise.
23432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23433         Likewise.
23434         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23435         Replace contents of file by #include of <fenv_libc.h>.
23436         * sysdeps/powerpc/soft-fp/sfp-machine.h
23437         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23438         and <sys/prctl.h>.
23439         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23440         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23442         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23443         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23446         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23448         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23449         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23452         Allow copysignl PLT reference to be missing.
23454 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23455             Joseph Myers  <joseph@codesourcery.com
23457         [BZ #15948]
23458         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23459         single character.
23460         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23462 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23464         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23465         * elf/tst-tls1.c: Likewise.
23466         * elf/tst-tls10.h: Likewise.
23467         * elf/tst-tls14.c: Likewise.
23468         * elf/tst-tls2.c: Likewise.
23469         * elf/tst-tls3.c: Likewise.
23470         * elf/tst-tls4.c: Likewise.
23471         * elf/tst-tls5.c: Likewise.
23472         * elf/tst-tls6.c: Likewise.
23473         * elf/tst-tls7.c: Likewise.
23474         * elf/tst-tls8.c: Likewise.
23475         * elf/tst-tls9.c: Likewise.
23476         * elf/tst-tlsmod1.c: Likewise.
23477         * elf/tst-tlsmod13.c: Likewise.
23478         * elf/tst-tlsmod13a.c: Likewise.
23479         * elf/tst-tlsmod14a.c: Likewise.
23480         * elf/tst-tlsmod16a.c: Likewise.
23481         * elf/tst-tlsmod16b.c: Likewise.
23482         * elf/tst-tlsmod2.c: Likewise.
23483         * elf/tst-tlsmod3.c: Likewise.
23484         * elf/tst-tlsmod4.c: Likewise.
23485         * elf/tst-tlsmod5.c: Likewise.
23486         * elf/tst-tlsmod6.c: Likewise.
23488 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23490         [BZ #12486]
23491         * malloc/malloc.c: remove checks for statistics.
23493 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23495         [BZ #15277]
23496         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23497         * inet/tst-network.c: Add testcase.
23499 2013-10-17  Andreas Schwab  <schwab@suse.de>
23501         [BZ #15218]
23502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23503         to determine canonical name.
23505 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23507         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23508         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23509         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23510         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23511         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23512         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23513         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23514         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23515         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23516         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23517         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23518         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23519         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23520         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23521         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23522         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23523         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23524         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23525         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23526         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23527         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23529         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23530         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23531         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23532         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23533         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23534         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23535         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23536         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23537         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23538         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23539         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23540         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23541         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23542         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23543         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23544         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23545         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23546         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23547         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23548         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23549         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23550         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23551         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23552         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23553         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23554         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23555         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23556         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23557         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23558         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23559         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23560         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23561         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23562         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23564         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23566 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23568         [BZ #16041]
23569         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23570         make result into a quiet NaN.
23572 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23574         * soft-fp/adddf3.c: Fix horizontal whitespace.
23575         * soft-fp/addsf3.c: Likewise.
23576         * soft-fp/addtf3.c: Likewise.
23577         * soft-fp/divdf3.c: Likewise.
23578         * soft-fp/divsf3.c: Likewise.
23579         * soft-fp/divtf3.c: Likewise.
23580         * soft-fp/double.h: Likewise.
23581         * soft-fp/eqdf2.c: Likewise.
23582         * soft-fp/eqsf2.c: Likewise.
23583         * soft-fp/eqtf2.c: Likewise.
23584         * soft-fp/extenddftf2.c: Likewise.
23585         * soft-fp/extended.h: Likewise.
23586         * soft-fp/extendsfdf2.c: Likewise.
23587         * soft-fp/extendsftf2.c: Likewise.
23588         * soft-fp/extendxftf2.c: Likewise.
23589         * soft-fp/fixdfdi.c: Likewise.
23590         * soft-fp/fixdfsi.c: Likewise.
23591         * soft-fp/fixdfti.c: Likewise.
23592         * soft-fp/fixsfdi.c: Likewise.
23593         * soft-fp/fixsfsi.c: Likewise.
23594         * soft-fp/fixsfti.c: Likewise.
23595         * soft-fp/fixtfdi.c: Likewise.
23596         * soft-fp/fixtfsi.c: Likewise.
23597         * soft-fp/fixtfti.c: Likewise.
23598         * soft-fp/fixunsdfdi.c: Likewise.
23599         * soft-fp/fixunsdfsi.c: Likewise.
23600         * soft-fp/fixunsdfti.c: Likewise.
23601         * soft-fp/fixunssfdi.c: Likewise.
23602         * soft-fp/fixunssfsi.c: Likewise.
23603         * soft-fp/fixunssfti.c: Likewise.
23604         * soft-fp/fixunstfdi.c: Likewise.
23605         * soft-fp/fixunstfsi.c: Likewise.
23606         * soft-fp/fixunstfti.c: Likewise.
23607         * soft-fp/floatdidf.c: Likewise.
23608         * soft-fp/floatdisf.c: Likewise.
23609         * soft-fp/floatditf.c: Likewise.
23610         * soft-fp/floatsidf.c: Likewise.
23611         * soft-fp/floatsisf.c: Likewise.
23612         * soft-fp/floatsitf.c: Likewise.
23613         * soft-fp/floattidf.c: Likewise.
23614         * soft-fp/floattisf.c: Likewise.
23615         * soft-fp/floattitf.c: Likewise.
23616         * soft-fp/floatundidf.c: Likewise.
23617         * soft-fp/floatundisf.c: Likewise.
23618         * soft-fp/floatunditf.c: Likewise.
23619         * soft-fp/floatunsidf.c: Likewise.
23620         * soft-fp/floatunsisf.c: Likewise.
23621         * soft-fp/floatunsitf.c: Likewise.
23622         * soft-fp/floatuntidf.c: Likewise.
23623         * soft-fp/floatuntisf.c: Likewise.
23624         * soft-fp/floatuntitf.c: Likewise.
23625         * soft-fp/fmadf4.c: Likewise.
23626         * soft-fp/fmasf4.c: Likewise.
23627         * soft-fp/fmatf4.c: Likewise.
23628         * soft-fp/gedf2.c: Likewise.
23629         * soft-fp/gesf2.c: Likewise.
23630         * soft-fp/getf2.c: Likewise.
23631         * soft-fp/ledf2.c: Likewise.
23632         * soft-fp/lesf2.c: Likewise.
23633         * soft-fp/letf2.c: Likewise.
23634         * soft-fp/muldf3.c: Likewise.
23635         * soft-fp/mulsf3.c: Likewise.
23636         * soft-fp/multf3.c: Likewise.
23637         * soft-fp/negdf2.c: Likewise.
23638         * soft-fp/negsf2.c: Likewise.
23639         * soft-fp/negtf2.c: Likewise.
23640         * soft-fp/op-1.h: Likewise.
23641         * soft-fp/op-2.h: Likewise.
23642         * soft-fp/op-4.h: Likewise.
23643         * soft-fp/op-8.h: Likewise.
23644         * soft-fp/op-common.h: Likewise.
23645         * soft-fp/quad.h: Likewise.
23646         * soft-fp/single.h: Likewise.
23647         * soft-fp/soft-fp.h: Likewise.
23648         * soft-fp/sqrtdf2.c: Likewise.
23649         * soft-fp/sqrtsf2.c: Likewise.
23650         * soft-fp/sqrttf2.c: Likewise.
23651         * soft-fp/subdf3.c: Likewise.
23652         * soft-fp/subsf3.c: Likewise.
23653         * soft-fp/subtf3.c: Likewise.
23654         * soft-fp/truncdfsf2.c: Likewise.
23655         * soft-fp/trunctfdf2.c: Likewise.
23656         * soft-fp/trunctfsf2.c: Likewise.
23657         * soft-fp/trunctfxf2.c: Likewise.
23658         * soft-fp/unorddf2.c: Likewise.
23659         * soft-fp/unordsf2.c: Likewise.
23660         * soft-fp/unordtf2.c: Likewise.
23662 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23664         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23665         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23667 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23669         * elf/dl-libc.c: Clear initfini list after freeing.
23671 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23673         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23674         * soft-fp/addsf3.c: Likewise.
23675         * soft-fp/addtf3.c: Likewise.
23676         * soft-fp/divdf3.c: Likewise.
23677         * soft-fp/divsf3.c: Likewise.
23678         * soft-fp/divtf3.c: Likewise.
23679         * soft-fp/double.h: Likewise.
23680         * soft-fp/eqdf2.c: Likewise.
23681         * soft-fp/eqsf2.c: Likewise.
23682         * soft-fp/eqtf2.c: Likewise.
23683         * soft-fp/extenddftf2.c: Likewise.
23684         * soft-fp/extended.h: Likewise.
23685         * soft-fp/extendsfdf2.c: Likewise.
23686         * soft-fp/extendsftf2.c: Likewise.
23687         * soft-fp/extendxftf2.c: Likewise.
23688         * soft-fp/fixdfdi.c: Likewise.
23689         * soft-fp/fixdfsi.c: Likewise.
23690         * soft-fp/fixdfti.c: Likewise.
23691         * soft-fp/fixsfdi.c: Likewise.
23692         * soft-fp/fixsfsi.c: Likewise.
23693         * soft-fp/fixsfti.c: Likewise.
23694         * soft-fp/fixtfdi.c: Likewise.
23695         * soft-fp/fixtfsi.c: Likewise.
23696         * soft-fp/fixtfti.c: Likewise.
23697         * soft-fp/fixunsdfdi.c: Likewise.
23698         * soft-fp/fixunsdfsi.c: Likewise.
23699         * soft-fp/fixunsdfti.c: Likewise.
23700         * soft-fp/fixunssfdi.c: Likewise.
23701         * soft-fp/fixunssfsi.c: Likewise.
23702         * soft-fp/fixunssfti.c: Likewise.
23703         * soft-fp/fixunstfdi.c: Likewise.
23704         * soft-fp/fixunstfsi.c: Likewise.
23705         * soft-fp/fixunstfti.c: Likewise.
23706         * soft-fp/floatdidf.c: Likewise.
23707         * soft-fp/floatdisf.c: Likewise.
23708         * soft-fp/floatditf.c: Likewise.
23709         * soft-fp/floatsidf.c: Likewise.
23710         * soft-fp/floatsisf.c: Likewise.
23711         * soft-fp/floatsitf.c: Likewise.
23712         * soft-fp/floattidf.c: Likewise.
23713         * soft-fp/floattisf.c: Likewise.
23714         * soft-fp/floattitf.c: Likewise.
23715         * soft-fp/floatundidf.c: Likewise.
23716         * soft-fp/floatundisf.c: Likewise.
23717         * soft-fp/floatunsidf.c: Likewise.
23718         * soft-fp/floatunsisf.c: Likewise.
23719         * soft-fp/floatuntidf.c: Likewise.
23720         * soft-fp/floatuntisf.c: Likewise.
23721         * soft-fp/floatuntitf.c: Likewise.
23722         * soft-fp/fmadf4.c: Likewise.
23723         * soft-fp/fmasf4.c: Likewise.
23724         * soft-fp/fmatf4.c: Likewise.
23725         * soft-fp/gedf2.c: Likewise.
23726         * soft-fp/gesf2.c: Likewise.
23727         * soft-fp/getf2.c: Likewise.
23728         * soft-fp/ledf2.c: Likewise.
23729         * soft-fp/lesf2.c: Likewise.
23730         * soft-fp/letf2.c: Likewise.
23731         * soft-fp/muldf3.c: Likewise.
23732         * soft-fp/mulsf3.c: Likewise.
23733         * soft-fp/multf3.c: Likewise.
23734         * soft-fp/negdf2.c: Likewise.
23735         * soft-fp/negsf2.c: Likewise.
23736         * soft-fp/negtf2.c: Likewise.
23737         * soft-fp/op-1.h: Likewise.
23738         * soft-fp/op-2.h: Likewise.
23739         * soft-fp/op-4.h: Likewise.
23740         * soft-fp/op-8.h: Likewise.
23741         * soft-fp/op-common.h: Likewise.
23742         * soft-fp/quad.h: Likewise.
23743         * soft-fp/single.h: Likewise.
23744         * soft-fp/soft-fp.h: Likewise.
23745         * soft-fp/sqrtdf2.c: Likewise.
23746         * soft-fp/sqrtsf2.c: Likewise.
23747         * soft-fp/sqrttf2.c: Likewise.
23748         * soft-fp/subdf3.c: Likewise.
23749         * soft-fp/subsf3.c: Likewise.
23750         * soft-fp/subtf3.c: Likewise.
23751         * soft-fp/truncdfsf2.c: Likewise.
23752         * soft-fp/trunctfdf2.c: Likewise.
23753         * soft-fp/trunctfsf2.c: Likewise.
23754         * soft-fp/trunctfxf2.c: Likewise.
23755         * soft-fp/unorddf2.c: Likewise.
23756         * soft-fp/unordsf2.c: Likewise.
23757         * soft-fp/unordtf2.c: Likewise.
23759 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23761         [BZ #15672]
23762         * misc/error.c (error_tail): Fix possible buffer overflow.
23764 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23766         [BZ #13028]
23767         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23768         address.
23770 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23772         [BZ #832]
23773         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23774         testing pipefail option.
23776 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23778         * soft-fp/double.h: Indent preprocessor directives inside #if.
23779         * soft-fp/extended.h: Likewise.
23780         * soft-fp/op-2.h: Likewise.
23781         * soft-fp/op-4.h: Likewise.
23782         * soft-fp/op-common.h: Likewise.
23783         * soft-fp/quad.h: Likewise.
23784         * soft-fp/single.h: Likewise.
23785         * soft-fp/soft-fp.h: Likewise.
23787 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23789         * iconv/iconv_prog.c: Fix typos.
23790         * stdio-common/psiginfo-data.h: Likewise.
23792 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23794         [BZ #15764]
23795         * locale/setlocale.c: Fix typo.
23797 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23799         [BZ #16036]
23800         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23801         signaling NaN arguments.
23802         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23803         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23805         [BZ #14910]
23806         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23807         unordered operands.
23808         * soft-fp/gesf2.c (__gesf2): Likewise.
23809         * soft-fp/getf2.c (__getf2): Likewise.
23810         * soft-fp/ledf2.c (__ledf2): Likewise.
23811         * soft-fp/lesf2.c (__lesf2): Likewise.
23812         * soft-fp/letf2.c (__letf2): Likewise.
23814         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23815         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23816         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23817         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23818         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23819         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23820         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23821         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23822         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23823         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23824         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23825         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23826         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23827         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23828         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23829         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23830         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23831         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23832         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23833         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23834         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23835         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23836         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23837         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23838         * soft-fp/floattidf.c (__floattidf): Likewise.
23839         * soft-fp/floattisf.c (__floattisf): Likewise.
23840         * soft-fp/floattitf.c (__floattitf): Likewise.
23841         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23842         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23843         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23844         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23845         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23846         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23847         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
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/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23855         Undefine and redefine.
23856         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23857         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23858         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23859         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23860         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23861         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23862         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23863         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23864         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23865         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23866         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23867         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23868         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23869         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23870         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23872         [BZ #16032]
23873         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23874         without decrementing exponent if mantissa >= that for the
23875         denominator, not >.
23876         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23877         denominator, not >.  Decrement exponent in < case instead of
23878         incrementing in >= case.
23879         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23880         without decrementing exponent if mantissa >= that for the
23881         denominator, not >.
23883         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23884         computing saturated result for unsigned overflow.
23886 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23887             Jeff Law  <law@redhat.com>
23889         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23890         (atan2Mp): Add systemtap probe marker.
23891         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23892         (__ieee754_log): Add systemtap probe marker.
23893         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23894         (atanMp): Add systemtap probe marker.
23895         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23896         (tanMp): Add systemtap probe marker.
23897         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23898         (__slowexp): Add systemtap probe marker.
23899         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23900         (__slowpow): Add systemtap probe marker.
23901         * manual/probes.texi: Document probes.
23903 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23905         [BZ #15362]
23906         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23907         written.
23908         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23909         written.
23910         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23911         written to buffer but not flushed.
23912         * libio/iofwrite_u.c:  Likewise.
23913         * libio/iopadn.c:  Return bytes returned even if EOF was
23914         encountered.
23915         * libio/iowpadn.c:  Likewise.
23916         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23917         if _IO_padn does not write the whole buffer.
23918         [!COMPILE_WPRINTF] (PAD): Likewise.
23920 2013-10-10  David S. Miller  <davem@davemloft.net>
23922         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23923         directory block.
23925 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23927         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23928         instead of FSF address.
23929         * soft-fp/fixdfti.c: Likewise.
23930         * soft-fp/fixsfti.c: Likewise.
23931         * soft-fp/fixtfti.c: Likewise.
23932         * soft-fp/fixunsdfti.c: Likewise.
23933         * soft-fp/fixunssfti.c: Likewise.
23934         * soft-fp/fixunstfti.c: Likewise.
23935         * soft-fp/floattidf.c: Likewise.
23936         * soft-fp/floattisf.c: Likewise.
23937         * soft-fp/floattitf.c: Likewise.
23938         * soft-fp/floatuntidf.c: Likewise.
23939         * soft-fp/floatuntisf.c: Likewise.
23940         * soft-fp/floatuntitf.c: Likewise.
23941         * soft-fp/trunctfxf2.c: Likewise.
23943         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23944         * soft-fp/fixdfti.c: Likewise.
23945         * soft-fp/fixsfti.c: Likewise.
23946         * soft-fp/fixtfti.c: Likewise.
23947         * soft-fp/fixunsdfti.c: Likewise.
23948         * soft-fp/fixunssfti.c: Likewise.
23949         * soft-fp/fixunstfti.c: Likewise.
23950         * soft-fp/floattidf.c: Likewise.
23951         * soft-fp/floattisf.c: Likewise.
23952         * soft-fp/floattitf.c: Likewise.
23953         * soft-fp/floatuntidf.c: Likewise.
23954         * soft-fp/floatuntisf.c: Likewise.
23955         * soft-fp/floatuntitf.c: Likewise.
23956         * soft-fp/trunctfxf2.c: Likewise.
23958 2013-10-10  David S. Miller  <davem@davemloft.net>
23960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23962 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23964         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23965         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23966         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23967         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23968         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23969         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23970         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23972         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23973         for NaNs before doing comparisons on argument.
23974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23975         Likewise.
23977 2013-10-10  Will Newton  <will.newton@linaro.org>
23979         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23980         passed to _int_memalign does not overflow.
23982 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23984         * scripts/bench.pl: Add include-sources directive.
23985         * benchtests/README: Update documentation.
23987 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23989         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23990         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23991         instead of FP_INIT_ROUNDMODE.
23992         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23993         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23995         [BZ #16034]
23996         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
23997         copy class of input value.
23998         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
23999         not handle exceptions.
24000         * soft-fp/negsf2.c (__negsf2): Likewise.
24001         * soft-fp/negtf2.c (__negtf2): Likewise.
24002         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24004 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24006         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24007         semicolon.  From Linux kernel.
24009 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24011         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24013 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24015         [BZ #156]
24016         * manual/socket.texi: Added statement about buffer
24017         for gethostbyname2_r.
24019 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24021         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24022         Use .p2align directive instead, throughout.
24023         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24024         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24025         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24026         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24027         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24028         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24029         * sysdeps/x86_64/strchr.S: Likewise.
24030         * sysdeps/x86_64/strrchr.S: Likewise.
24032 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24034         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24036         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24038         * sysdeps/generic/math_private.h (__mpsin1): Remove
24039         declaration.
24040         (__mpcos1): Likewise.
24041         (__mpsin): New argument __range_reduce.
24042         (__mpcos): Likewise.
24043         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24044         (slow): Use __mpsin and __mpcos.
24045         (slow1): Likewise.
24046         (slow2): Likewise.
24047         (sloww): Likewise.
24048         (sloww1): Likewise.
24049         (sloww2): Likewise.
24050         (bsloww): Likewise.
24051         (bsloww1): Likewise.
24052         (bsloww2): Likewise.
24053         (cslow2): Likewise.
24054         (csloww): Likewise.
24055         (csloww1): Likewise.
24056         (csloww2): Likewise.
24057         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24058         range_reduce.  Merge in __mpsin1.
24059         (__mpcos): Likewise.
24060         (__mpsin1): Remove.
24061         (__mpcos1): Likewise.
24063 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24065         * locale/loadlocale.c (_nl_intern_locale_data): Use
24066         LOCFILE_ALIGNED_P.
24067         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24068         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24069         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24070         obstack data is appropriately aligned.
24071         (obstack_int32_grow_fast): Likewise.
24072         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24073         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24074         (add_locale_uint32_array): Likewise.
24076 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24078         * benchtests/Makefile: Remove ARGLIST and RET variables.
24079         ($(objpfx)bench-%.c): Pass only function name to the script.
24080         * benchtests/README: Update documentation.
24081         * benchtests/acos-inputs: Add new directives.
24082         * benchtests/acosh-inputs: Likewise.
24083         * benchtests/asin-inputs: Likewise.
24084         * benchtests/asinh-inputs: Likewise.
24085         * benchtests/atan-inputs: Likewise.
24086         * benchtests/atanh-inputs: Likewise.
24087         * benchtests/cos-inputs: Likewise.
24088         * benchtests/cosh-inputs: Likewise.
24089         * benchtests/exp-inputs: Likewise.
24090         * benchtests/log-inputs: Likewise.
24091         * benchtests/pow-inputs: Likewise.
24092         * benchtests/rint-inputs: Likewise.
24093         * benchtests/sin-inputs: Likewise.
24094         * benchtests/sinh-inputs: Likewise.
24095         * benchtests/tan-inputs: Likewise.
24096         * benchtests/tanh-inputs: Likewise.
24097         * scripts/bench.pl: Add support for new directives.
24099 2013-10-07  Alan Modra  <amodra@gmail.com>
24101         * README: Fix careless merge.
24103 2013-10-05  Alan Modra  <amodra@gmail.com>
24105         * NEWS: Mention powerpc64le support and bugs fixed.
24106         * README: Both big-endian and little-endian powerpc64 supported.
24108 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24110         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24111         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24112         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24113         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24115 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24117         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24118         match prototype.
24120 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24122         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24123         Move -mhard-float appending from
24124         ports/sysdeps/powerpc/powerpc32/Makefile.
24125         [$(with-fp) = yes] (ASFLAGS): Likewise.
24126         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24127         * sysdeps/powerpc/nofpu: Move directory from
24128         ports/sysdeps/powerpc/nofpu.
24129         * sysdeps/powerpc/soft-fp: Move directory from
24130         ports/sysdeps/powerpc/soft-fp.
24131         * sysdeps/powerpc/powerpc32/405: Move directory from
24132         ports/sysdeps/powerpc/powerpc32/405.
24133         * sysdeps/powerpc/powerpc32/440: Move directory from
24134         ports/sysdeps/powerpc/powerpc32/440.
24135         * sysdeps/powerpc/powerpc32/464: Move directory from
24136         ports/sysdeps/powerpc/powerpc32/464.
24137         * sysdeps/powerpc/powerpc32/476: Move directory from
24138         ports/sysdeps/powerpc/powerpc32/476.
24139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24140         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24142         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24144         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24146         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24148         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24149         * README: Update for powerpc-*-linux-gnu software floating point
24150         support in libc.
24152         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24153         case to powerpc/powerpc32*.
24154         * sysdeps/unix/sysv/linux/configure: Regenerated.
24156         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24157         (_FPU_MASK_OM): Define as 0x04.
24158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24160         0x00c10080.
24161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24162         0x0000003c.
24163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24166         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24167         getcontext_e500.
24168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24169         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24170         setcontext_e500.
24171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24172         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24173         and setcontext_e500.
24175 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24177         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24179 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24181         * manual/threads.texi (Default Thread Attributes): Fix typo.
24183 2013-10-04  Will Newton  <will.newton@linaro.org>
24185         * malloc/Makefile: Add tst-memalign.
24186         * malloc/tst-memalign.c: New file.
24188         * malloc/tst-posix_memalign.c: Add comments.
24189         (do_test): Add comments and call free on all potentially
24190         allocated pointers. Add space after cast.
24192         * malloc/tst-pvalloc.c: Add comments.
24193         (do_test): Add comments and call free on all potentially
24194         allocated pointers. Remove duplicate check for NULL pointer.
24195         Add space after cast.
24197         * malloc/tst-valloc.c: Add comments.
24198         (do_test): Add comments and call free on all potentially
24199         allocated pointers. Remove duplicate check for NULL pointer.
24200         Add space after cast.
24202 2013-10-04  Alan Modra  <amodra@gmail.com>
24204         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24205         Use stdint types in rather than __attribute__((mode())).
24206         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24208 2013-10-04  Alan Modra  <amodra@gmail.com>
24210         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24211         Correct handling of unaligned relocs for little-endian.
24212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24214 2013-10-04  Alan Modra  <amodra@gmail.com>
24216         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24217         * configure: Regenerate.
24218         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24219         * shlib-versions: Likewise.
24221 2013-10-04  Alan Modra  <amodra@gmail.com>
24223         * string/tester.c (test_memrchr): Increment reported test cycle.
24225 2013-10-04  Alan Modra  <amodra@gmail.com>
24227         * string/test-memcpy.c (do_one_test): When reporting errors, print
24228         string address and don't overrun end of string.
24230 2013-10-04  Alan Modra  <amodra@gmail.com>
24232         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24233         insrdi.  Make better use of reg selection to speed exit slightly.
24234         Schedule entry path a little better.  Remove useless "are we done"
24235         checks on entry to main loop.  Handle wrapping around zero address.
24236         Correct main loop count.  Handle single left-over word from main
24237         loop inline rather than by using loop_small.  Remove extra word
24238         case in loop_small caused by wrong loop count.  Add little-endian
24239         support.
24240         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24241         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24242         cache hint.
24243         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24244         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24245         support.  Avoid rlwimi.
24246         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24248 2013-10-04  Alan Modra  <amodra@gmail.com>
24250         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24251         insrdi.  Formatting.
24252         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24253         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24254         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24255         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24256         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24257         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24259 2013-10-04  Alan Modra  <amodra@gmail.com>
24261         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24262         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24263         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24264         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24265         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24266         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24267         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24268         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24269         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24270         use of regs.  Use power7 mtocrf.  Tidy function tails.
24272 2013-10-04  Alan Modra  <amodra@gmail.com>
24274         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24275         Formatting.  Consistently use rXXX register defines or rN defines.
24276         Use early exit labels that avoid restoring unused non-volatile regs.
24277         Make cr field use more consistent with rWORDn compares.  Rename
24278         regs used as shift registers for unaligned loop, using rN defines
24279         for short lifetime/multiple use regs.
24280         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24281         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24282         addi 1,1,64 to pop stack frame.  Simplify return value code.
24283         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24285 2013-10-04  Alan Modra  <amodra@gmail.com>
24287         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24288         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24289         rather than rlwimi.
24290         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24291         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24292         little-endian support.  Correct typos.
24293         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24294         rather than rlwimi.
24295         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24296         in loop and entry code to keep "and." results.
24297         (strchr): Add little-endian support.  Comment.  Move cntlzd
24298         earlier in tail.
24299         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24301 2013-10-04  Alan Modra  <amodra@gmail.com>
24303         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24304         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24305         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24306         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24308 2013-10-04  Alan Modra  <amodra@gmail.com>
24310         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24311         (rTMP): Define as r11.
24312         (strcmp): Add little-endian support.  Optimise tail.
24313         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24314         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24315         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24316         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24317         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24318         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24319         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24321 2013-10-04  Alan Modra  <amodra@gmail.com>
24323         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24324         little-endian support.  Remove unnecessary "are we done" tests.
24325         Handle "s" wrapping around zero and extremely large "size".
24326         Correct main loop count.  Handle single left-over word from main
24327         loop inline rather than by using small_loop.  Correct comments.
24328         Delete "zero" tail, use "end_max" instead.
24329         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24331 2013-10-04  Alan Modra  <amodra@gmail.com>
24333         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24334         support.  Don't branch over align.
24335         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24336         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24337         support.  Rearrange tmp reg use to suit.  Comment.
24338         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24340 2013-10-04  Alan Modra  <amodra@gmail.com>
24342         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24344 2013-10-04  Alan Modra  <amodra@gmail.com>
24346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24347         conditional form of branch and link when obtaining pc.
24348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24350 2013-10-04  Alan Modra  <amodra@gmail.com>
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24353         HIWORD/LOWORD.
24354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24357 2013-10-04  Alan Modra  <amodra@gmail.com>
24359         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24360         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24361         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24362         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24363         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24364         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24365         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24366         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24367         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24368         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24370 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24371             Alistair Popple <alistair@ozlabs.au.ibm.com>
24372             Alan Modra <amodra@gmail.com>
24374         [BZ #15723]
24375         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24376         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24377         _dl_hwcap access for little-endian.
24378         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24379         destroy vmx regs when saving unaligned.
24380         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24381         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24382         destroy vmx regs when saving unaligned.
24384 2013-10-04  Alan Modra  <amodra@gmail.com>
24386         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24387         Don't use a union to pack hi/low value.
24389 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24391         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24392         for little-endian.
24393         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24394         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24395         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24396         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24397         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24399 2013-10-04  Alan Modra  <amodra@gmail.com>
24401         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24402         constants to usual value for .cst8 section, and remove redundant
24403         high address load.
24404         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24405         constant for 0x1p52.  Load little-endian words of double from
24406         correct stack offsets.
24408 2013-10-04  Alan Modra  <amodra@gmail.com>
24410         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24411         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24412         words of double from correct stack offsets.
24413         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24414         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24415         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24416         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24417         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24418         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24419         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24420         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24421         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24422         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24423         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24424         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24425         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24426         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24427         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24428         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24429         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24431 2013-10-04  Alan Modra  <amodra@gmail.com>
24433         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24434         64-bit int/double union.
24435         (_FPU_SETCW): Likewise.
24436         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24437         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24439 2013-10-04  Alan Modra  <amodra@gmail.com>
24441         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24442         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24444 2013-10-04  Alan Modra  <amodra@gmail.com>
24446         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24447         use vector int constants.
24448         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24450 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24452         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24453         array with long long.
24454         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24455         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24456         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24457         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24458         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24459         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24460         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24461         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24462         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24463         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24464         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24465         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24466         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24468 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24470         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24471         (__signbit): Likewise.  Correct for little-endian.
24472         (__signbitl): Call __signbit.
24473         (lrint): Correct for little-endian.
24474         (lrintf): Call lrint.
24476 2013-10-04  Alan Modra  <amodra@gmail.com>
24478         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24479         union 32-bit int array member with 64-bit int array.
24480         (t515, tm256): Double rather than long double.
24481         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24483 2013-10-04  Alan Modra  <amodra@gmail.com>
24485         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24486         Delete.
24487         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24489         version of math_ldbl.h.
24491 2013-10-04  Alan Modra  <amodra@gmail.com>
24493         [BZ #15734], [BZ #15735]
24494         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24495         all uses of ieee875 long double macros and unions.  Simplify test
24496         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24497         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24498         normalize after ldbl_extract_mantissa, and don't add hidden bit
24499         already handled.  Don't treat low word of ieee854 mantissa like
24500         low word of IBM long double and mask off bit when testing for
24501         zero.
24502         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24503         all uses of ieee875 long double macros and unions.  Simplify tests
24504         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24505         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24506         two1022, instead use their values.  Recognise that tests for large
24507         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24508         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24509         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24510         test for 0.0L and nan.  Correct negation.
24511         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24512         ieee875 long double macros and unions.  Correct output for large
24513         magnitude x.  Correct absolute value calculation.
24514         (__erfcl): Likewise.
24515         * math/libm-test.inc: Add tests for errors discovered in IBM long
24516         double versions of fmodl, remainderl, erfl and erfcl.
24518 2013-10-04  Alan Modra  <amodra@gmail.com>
24520         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24521         all uses of ieee854 long double macros and unions.  Simplify tests
24522         for long doubles that are fully specified by the high double.
24523         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24524         Likewise.
24525         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24526         Remove dead code too.
24527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24528         (__ieee754_ynl): Likewise.
24529         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24530         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24531         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24532         Remove dead code too.
24533         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24534         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24535         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24536         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24537         Simplify.
24538         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24539         Simplify.
24540         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24541         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24542         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24543         Comment on variable precision.
24544         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24546         Likewise.
24547         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24548         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24549         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24550         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24551         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24553 2013-10-04  Alan Modra  <amodra@gmail.com>
24555         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24556         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24557         all uses of ieee854 long double macros and unions.
24558         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24559         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24560         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24561         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24562         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24564         Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24566         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24567         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24568         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24569         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24570         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24571         Simplify sign and nan test too.
24572         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24573         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24574         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24575         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24576         Likewise.
24577         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24578         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24579         Likewise.
24580         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24581         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24582         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24583         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24584         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24585         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24587 2013-10-04  Alan Modra  <amodra@gmail.com>
24589         * stdio-common/printf_size.c (__printf_size): Don't use
24590         union ieee854_long_double in fpnum union.
24591         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24592         signbit macro to retrieve sign from long double.
24593         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24594         retrieve sign from long double.
24595         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24596         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24597         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24598         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24599         * math/test-misc.c (main): Don't use union ieee854_long_double.
24601 2013-10-04  Alan Modra  <amodra@gmail.com>
24603         [BZ #15680]
24604         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24605         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24606         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24607         calculation.  Remove unnecessary test for denormal exponent.
24608         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24609         Correct handling of denormals.  Avoid undefined shift behaviour.
24610         Correct normalisation of low mantissa when low double is denormal.
24611         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24612         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24613         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24614         Correct normalisation of low mantissa.  Test for overflow of high
24615         mantissa and normalise.
24616         (ldbl_nearbyint): Use more readable constant for two52.
24617         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24618         (__mpn_construct_long_double): Fix test for overflow of high
24619         mantissa and correct normalisation.  Avoid undefined shift.
24621 2013-10-04  Alan Modra  <amodra@gmail.com>
24623         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24624         (union ibm_extended_long_double): Define as an array of ieee754_double.
24625         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24626         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24627         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24628         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24630         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24631         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24632         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24633         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24634         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24635         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24637 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24639         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24640         page size instead of calling getpagesize.
24642         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24643         (LOCFILE_ALIGN_MASK): Likewise.
24644         (LOCFILE_ALIGN_UP): Likewise.
24645         (LOCFILE_ALIGNED_P): Likewise.
24646         * locale/programs/ld-collate.c (collate_output): Use the new
24647         macros instead of __alignof__ (int32_t).
24648         * locale/weight.h (findidx): Likewise.
24650 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24652         [BZ #431]
24653         * manual/string.texi: Fix strncat and wcsncat.
24655 2013-10-03  Brooks Moses  <bmoses@google.com>
24657         [BZ #15915]
24658         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24659         * Makerules: ...here, and adjust associated comments.
24661 2013-10-02  Will Newton  <will.newton@linaro.org>
24663         * malloc/Makefile: Add tst-pvalloc.
24664         * malloc/tst-pvalloc.c: New file.
24666 2013-10-02  Will Newton  <will.newton@linaro.org>
24668         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24669         improve test coverage.
24671 2013-10-02  Will Newton  <will.newton@linaro.org>
24673         * malloc/Makefile: Add tst-posix_memalign.
24674         * malloc/tst-posix_memalign.c: New file.
24676 2013-10-01  Eric Blake  <eblake@redhat.com>
24678         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24679         Use __THROWNL rather than __THROW on static functions.
24681 2013-09-30  Petr Machata  <pmachata@redhat.com>
24683         * elf/elf.h (R_AARCH64_ABS16): New macro.
24684         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24685         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24686         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24687         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24688         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24689         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24690         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24691         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24692         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24693         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24694         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24695         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24696         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24697         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24698         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24699         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24700         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24701         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24702         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24703         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24704         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24705         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24706         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24707         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24708         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24709         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24710         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24711         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24712         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24713         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24714         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24715         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24716         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24717         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24718         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24719         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24720         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24721         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24722         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24723         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24724         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24725         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24726         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24727         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24728         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24729         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24730         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24731         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24732         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24733         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24734         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24735         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24736         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24737         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24738         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24739         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24740         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24741         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24742         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24743         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24744         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24745         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24746         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24747         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24748         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24749         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24750         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24751         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24752         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24753         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24754         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24755         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24756         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24757         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24758         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24759         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24760         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24761         (R_AARCH64_TLSDESC_LDR): Likewise.
24762         (R_AARCH64_TLSDESC_ADD): Likewise.
24763         (R_AARCH64_TLSDESC_CALL): Likewise.
24765 2013-09-30  Andreas Schwab  <schwab@suse.de>
24767         [BZ #15048]
24768         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24769         the nss database lookup.
24770         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24773 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24775         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24777 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24779         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24780         ${Bash-specific parameter/pattern/string} parameter expansion.
24781         * sysdeps/unix/make-syscalls.sh: Likewise.
24783 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24785         * sysdeps/sh/stackguard-macros.h: New file.
24787 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24791         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24792         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24793         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24794         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24796 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24798         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24799         Fix thread ID register.
24801 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24803         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24804         [POSIX || UNIX98]: Require rather than permitting all symbols from
24805         <time.h>.
24806         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24807         element of struct sched_param.
24808         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24809         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24810         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24811         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24812         constant.
24814 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24816         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24817         argument calculation.
24819 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24821         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24822         Expect macro.
24823         [POSIX] (pthread_attr_t): Do not require type.
24824         [POSIX] (pthread_cond_t): Likewise.
24825         [POSIX] (pthread_condattr_t): Likewise.
24826         [POSIX] (pthread_key_t): Likewise.
24827         [POSIX] (pthread_mutex_t): Likewise.
24828         [POSIX] (pthread_mutexattr_t): Likewise.
24829         [POSIX] (pthread_once_t): Likewise.
24830         [POSIX] (pthread_t): Likewise.
24831         [POSIX-based standards] (pthread_atfork): Expect function.
24833 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24834             Richard Sandiford  <richard@codesourcery.com>
24836         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24837         (swap_endianness_p): New extern variable.
24838         (set_big_endian): New inline function.
24839         (maybe_swap_uint32): Likewise.
24840         (maybe_swap_uint32_array): Likewise.
24841         (maybe_swap_uint32_obstack): Likewise.
24842         * locale/programs/locfile.c: Include <stdbool.h>.
24843         (swap_endianness_p): New variable.
24844         (add_locale_uint32): Call maybe_swap_uint32.
24845         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24846         (write_locale_data): Call maybe_swap_uint32_array.
24847         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24848         maybe_swap_uint32.
24849         (obstack_int32_grow_fast): Likewise.
24850         (output_weightwc): Call maybe_swap_uint32_obstack.
24851         (collate_output): Likewise.
24852         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24853         (OPT_LITTLE_ENDIAN): Likewise.
24854         (options): Add --little-endian and --big-endian options.
24855         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24856         * locale/programs/locarchive.c: Include "locfile.h".
24857         (GET): New macro.
24858         (SET): Likewise.
24859         (INC): Likewise.
24860         (create_archive): Use the new macros to access fields of
24861         structures directly mapped from or written to locale archives.
24862         (oldlocrecentcmp): Likewise.
24863         (enlarge_archive): Likewise.
24864         (insert_name): Likewise.
24865         (add_alias): Likewise.
24866         (add_locale): Likewise.
24867         (delete_locales_from_archive): Likewise.
24868         (show_archive_content): Likewise.
24869         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24870         locale data.
24872 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24874         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24875         http://www.gnu.org/doc/freemanuals.texi.
24876         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24878 2013-09-24  Will Newton  <will.newton@linaro.org>
24880         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24881         macro.
24883 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24885         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24886         unsigned char.
24888 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24890         * manual/threads.texi (POSIX Threads): Fix a typo.
24892 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24894         [BZ #14547]
24895         * string/tst-strcoll-overflow.c: New test case.
24896         * string/Makefile (xtests): Add tst-strcoll-overflow.
24897         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24898         cache if string sizes may cause integer overflow.
24900         [BZ #14547]
24901         * string/strcoll_l.c (coll_seq): New members rule, idx,
24902         save_idx and back_us.
24903         (get_next_seq_nocache): New function.
24904         (do_compare_nocache): New function.
24905         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24906         when malloc fails.
24908 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24910         [BZ #15754]
24911         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24912         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24913         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24915         [BZ #15754]
24916         * elf/Makefile (tests): Add tst-ptrguard1.
24917         (tests-static): Add tst-ptrguard1-static.
24918         (tst-ptrguard1-ARGS): Define.
24919         (tst-ptrguard1-static-ARGS): Define.
24920         * elf/tst-ptrguard1.c: New file.
24921         * elf/tst-ptrguard1-static.c: New file.
24922         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24923         * sysdeps/i386/stackguard-macros.h: Likewise.
24924         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24925         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24926         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24927         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24928         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24929         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24931 2013-09-23  Hector Marco  <hecmargi@upv.es>
24932             Ismael Ripoll  <iripoll@disca.upv.es>
24933             Carlos O'Donell  <carlos@redhat.com>
24935         [BZ #15754]
24936         * sysdeps/generic/stackguard-macros.h: Define
24937         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24938         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24939         Define __pointer_chk_guard_local.
24940         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24941         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24943 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24945         [BZ #15859]
24946         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24948 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24950         * include/string.h (__ffs): Declare as hidden.
24951         * string/ffs.c (__ffs): Define as hidden.
24952         * sysdeps/i386/ffs.c (__ffs): Likewise.
24953         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24954         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24955         * sysdeps/s390/ffs.c (__ffs): Likewise.
24956         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24958 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24960         * NEWS: Mention malloc probes.
24962         * malloc/arena.c (new_heap): New memory_heap_new probe.
24963         (grow_heap): New memory_heap_more probe.
24964         (shrink_heap): New memory_heap_less probe.
24965         (heap_trim): New memory_heap_free probe.
24966         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24967         (systrim): New memory_sbrk_less probe.
24968         * manual/probes.texi: Document them.
24970         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24971         * manual/probes.texi: Document it.
24973         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24974         (__libc_realloc): Add memory_realloc_retry probe.
24975         (__libc_memalign): Add memory_memalign_retry probe.
24976         (__libc_valloc): Add memory_valloc_retry probe.
24977         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24978         (__libc_calloc): Add memory_calloc_retry probe.
24979         * manual/probes.texi: Document them.
24981         * malloc/arena.c (get_free_list): Add probe
24982         memory_arena_reuse_free_list.
24983         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24984         and memory_arena_reuse.
24985         (arena_get2) [!PER_THREAD]: Likewise.
24986         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24987         memory_arena_reuse_realloc.
24988         * manual/probes.texi: Document them.
24990         * malloc/malloc.c (__libc_free): Add
24991         memory_mallopt_free_dyn_thresholds probe.
24992         (__libc_mallopt): Add multiple memory_mallopt probes.
24993         * manual/probes.texi: Document them.
24995         * malloc/malloc.c: Include stap-probe.h.
24996         (__libc_mallopt): Add memory_mallopt probe.
24997         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24998         * manual/probes.texi: New.
24999         * manual/Makefile (chapters): Add probes.
25000         * manual/threads.texi: Set next node.
25002 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25004         [BZ #15963, #13985]
25005         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25006         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25007         Add `Chinese' to `nan' entry name.
25009 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25011         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25012         (POLYNOMIAL): Likewise.
25013         (TAYLOR_SINCOS): Likewise.
25014         (TAYLOR_SLOW): Likewise.
25015         (__sin): Use TAYLOR_SINCOS.
25016         (__cos): Likewise.
25017         (slow): Use TAYLOR_SLOW.
25018         (sloww): Likewise.
25019         (bsloww): Likewise.
25020         (csloww): Likewise.
25022 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25024         * stdlib/strtod_l.c: Fix buffer overrun.
25026 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25028         * benchtests/Makefile (bench): Add sincos.
25029         * benchtests/bench-sincos.c: New file.
25031         * math/libm-test.inc (cos_test_data): New test inputs.
25032         (sin_test_data): Likewise.
25034         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25035         macro.
25036         (__sin): Use it.
25037         (__cos): Likewise.
25038         (slow1): Likewise.
25039         (slow2): Likewise.
25040         (sloww1): Likewise.
25041         (sloww2): Likewise.
25042         (bsloww1): Likewise.
25043         (bsloww2): Likewise.
25044         (cslow2): Likewise.
25045         (csloww1): Likewise.
25046         (csloww2): Likewise.
25048         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25049         function.
25050         (__sin): Use it.
25051         (__cos): Likewise.
25053         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25054         gotos.
25055         (__cos): Likewise.
25057 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25059         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25060         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25061         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25062         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25063         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25064         * elf/cache.c (print_entry): Handle the new cache flags.
25066 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25067             Aldy Hernandez  <aldyh@redhat.com>
25069         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25070         Change condition to [_SOFT_FLOAT].
25071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25083         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25086         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25087         declaration.
25089 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25091         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25092         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25093         (__longjmp): Use LOAD_GP to load saved GPRs.
25094         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25095         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25096         (__sigsetjmp): Use SAVE_GP to save GPRs.
25098         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25099         Do not append -msoft-float.
25100         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25102 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25104         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25106 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25108         [BZ #15966]
25109         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25110         (_FPU_GETCW): Use initial "__" on variable and field names but not
25111         on macro parameter name.
25112         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25113         parentheses around reference to macro parameter.
25115 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25117         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25118         prototype.
25119         (ctype_startup): Use uint32_t in cast and sizeof for
25120         ctype->charnames.
25122 2013-09-11  Jia Liu  <proljc@gmail.com>
25124         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25125         __daddr_t_defined.
25126         [__FreeBSD__]: Likewise.
25128 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25131         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25132         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25133         (strchr): Remove __strchr_sse42 ifunc selection.
25134         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25135         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25137 2013-09-11  Will Newton  <will.newton@linaro.org>
25139         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25140         parameter to RES. Remove hardcoded 1000 value.
25141         * benchtests/bench-skeleton.c (main): Pass RES parameter
25142         to TIMING_INIT and multiply result by 1000.
25144 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25148 2013-09-11  Andreas Schwab  <schwab@suse.de>
25150         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25151         if not defined.
25152         (O_TMPFILE) [__USE_GNU]: Define.
25153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25154         Define.
25156 2013-09-11  Will Newton  <will.newton@linaro.org>
25158         [BZ #15857]
25159         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25160         does not overflow.
25162 2013-09-11  Will Newton  <will.newton@linaro.org>
25164         [BZ #15856]
25165         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25166         does not overflow.
25168 2013-09-11  Will Newton  <will.newton@linaro.org>
25170         [BZ #15855]
25171         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25172         does not overflow.
25174 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25176         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25177         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25178         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25179         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25180         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25182 2013-09-10  Allan McRae  <allan@archlinux.org>
25184         [BZ #15748]
25185         * manual/arith.texi (Parsing of Floats): Clarify
25186         cross-reference.
25188         [BZ #15849]
25189         * manual/install.texi (Running make install): Mention
25190         --enable-pt-chown.
25191         * INSTALL: Regenerated.
25193 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25195         * csu/init-first.c (_init): Remove the !SHARED condition around
25196         FPU control word initialization.
25197         * elf/dl-support.c (_dl_fpu_control): New variable.
25198         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25199         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25200         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25201         * math/test-fpucw-static.c: New file.
25202         * math/test-fpucw-ieee.c: New file.
25203         * math/test-fpucw-ieee-static.c: New file.
25204         * math/Makefile (tests): Add `test-fpucw-ieee' and
25205         `$(tests-static)'.
25206         (tests-static): New variable.
25207         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25208         dependency to...
25209         [($(build-shared),yes)]
25210         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25211         ... this.
25212         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25213         New dependency.
25215 2013-09-09  Allan McRae  <allan@archlinux.org>
25217         [BZ #15939]
25218         * manual/string.texi (Collation Functions): Fix typo in
25219         strcoll example.
25220         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25222         [BZ #15893]
25223         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25225         [BZ #15892]
25226         * libio/memstream.c (open_memstream): Fix memory leak.
25227         * libio/wmemstream.c (open_wmemstream): Likewise.
25229         [BZ #15895]
25230         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25232 2013-09-09  Will Newton  <will.newton@linaro.org>
25234         * malloc/Makefile: Add tst-realloc to tests.
25235         * malloc/tst-realloc.c: New file.
25237 2013-09-09  Allan McRae  <allan@archlinux.org>
25239         [BZ #15844]
25240         * COPYING: Update from GNU website to fix FSF address.
25241         * COPYING.LIB: Likewise.
25243 2013-09-06  David S. Miller  <davem@davemloft.net>
25245         * po/zh_TW.po: Update Chinese (traditional) translation from
25246         translation project.
25248 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25249             Joseph Myers  <joseph@codesourcery.com>
25251         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25252         "localeinfo.h".
25253         (obstack_chunk_alloc): New macro.
25254         (obstack_chunk_free): Likewise.
25255         (record_offset): New function.
25256         (init_locale_data): Likewise.
25257         (align_locale_data): Likewise.
25258         (add_locale_empty): Likewise.
25259         (add_locale_raw_data): Likewise.
25260         (add_locale_raw_obstack): Likewise.
25261         (add_locale_string): Likewise.
25262         (add_locale_wstring): Likewise.
25263         (add_locale_uint32): Likewise.
25264         (add_locale_uint32_array): Likewise.
25265         (add_locale_char): Likewise.
25266         (start_locale_structure): Likewise.
25267         (end_locale_structure): Likewise.
25268         (start_locale_prelude): Likewise.
25269         (end_locale_prelude): Likewise.
25270         (write_locale_data): Take locale_file structure rather than an
25271         iovec.
25272         * locale/programs/locfile.h: Include "obstack.h".
25273         (struct locale_file): Change to store locale file contents instead
25274         of header.
25275         (init_locale_data): New prototype.
25276         (align_locale_data): Likewise.
25277         (add_locale_empty): Likewise.
25278         (add_locale_raw_data): Likewise.
25279         (add_locale_raw_obstack): Likewise.
25280         (add_locale_string): Likewise.
25281         (add_locale_wstring): Likewise.
25282         (add_locale_uint32): Likewise.
25283         (add_locale_uint32_array): Likewise.
25284         (add_locale_char): Likewise.
25285         (start_locale_structure): Likewise.
25286         (end_locale_structure): Likewise.
25287         (start_locale_prelude): Likewise.
25288         (end_locale_prelude): Likewise.
25289         (write_locale_data): Update prototype.
25290         * locale/programs/3level.h (struct TABLE): Remove result field.
25291         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25292         Use new locale_file interface.
25293         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25294         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25295         * locale/programs/ld-address.c (address_output): Use new
25296         locale_file interface.
25297         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25298         NO_ADD_LOCALE.
25299         (collate_finish): Don't call collseq_table_finalize.
25300         (collate_output): Use new locale_file interface.
25301         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25302         in file.
25303         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25304         (TABLE): Move defines earlier in file.
25305         (ELEMENT): Likewise.
25306         (DEFAULT): Likewise.
25307         (wctrans_table_add): Move macro and inline function earlier in
25308         file.
25309         (struct wctype_table): Move type earlier in file.
25310         (add_locale_wctype_table): New static prototype.
25311         (struct locale_ctype_t): Use logical types instead of struct iovec
25312         pointers for members.
25313         (ctype_output): Use new locale_file interface.
25314         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25315         new locale_file interface.
25316         (allocate_arrays): Update for use of new locale_file interface.
25317         * locale/programs/ld-identification.c (identification_output): Use
25318         new locale_file interface.
25319         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25320         * locale/programs/ld-messages.c (messages_output): Likewise.
25321         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25322         * locale/programs/ld-name.c (name_output): Likewise.
25323         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25324         * locale/programs/ld-paper.c (paper_output): Likewise.
25325         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25326         * locale/programs/ld-time.c (time_output): Likewise.
25328 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25330         * benchtests/Makefile: Add memrchr benchmark.
25331         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25332         benchmark as memrchr.
25333         * benchtests/bench-memrchr-ifunc.c: New file.
25334         * benchtests/bench-memrchr.c: New file.
25336 2013-09-06   Will Newton  <will.newton@linaro.org>
25338         * benchtests/Makefile (string-bench): Add memcpy.
25340 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25341             Cong Wang  <amwang@redhat.com>
25343         [BZ #15850]
25344         * sysdeps/unix/sysv/linux/bits/in.h
25345         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25346         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25347         before __USE_KERNEL_IPV6_DEFS uses.
25348         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25349         IPPROTO_BEETPH.
25350         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25351         sockaddr_in6, or ipv6_mreq.
25353 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25355         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25356         memory access for final bytes in some large inputs.
25357         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25359 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25361         * string/test-memrchr.c: New file.
25362         * string/test-memrchr-ifunc.c: New file.
25363         * string/Makefile: Add new memrchr testcase.
25365 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25367         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25368         fanotify_init returns EPERM.
25370 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25372         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25373         errors.
25374         (top level): Treat second token from macro or constant entries for
25375         allowed headers as allowed.
25376         * include/complex.h: Condition internal declarations on
25377         [!_ISOMAC].
25378         * include/fenv.h: Condition include of <stdbool.h> and internal
25379         declarations on [!_ISOMAC].
25381 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25383         [BZ #15923]
25384         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25386 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25388         * configure.in (--enable-versioning): Remove configure option.
25389         (libc_cv_asm_symver_directive): Remove configure test.
25390         (libc_cv_ld_version_script_option): Likewise.
25391         (VERSIONING): Remove variable and AC_SUBST.
25392         (DO_VERSIONING): Remove AC_DEFINE.
25393         * configure: Regenerated.
25394         * config.h.in (DO_VERSIONING): Remove macro.
25395         * Makerules [$(versioning) = yes]: Change conditionals to
25396         [$(build-shared) = yes].
25397         * config.make.in (versioning): Remove variable.
25398         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25399         [$(build-shared) = yes].
25400         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25401         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25402         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25403         [$(build-shared) = yes].
25404         * extra-lib.mk [$(versioning) = yes]: Likewise.
25405         * hurd/Makefile [$(versioning) = yes]: Likewise.
25406         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25407         [SHARED].
25408         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25409         [SHARED].
25410         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25411         [SHARED && !NO_HIDDEN].
25412         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25413         [SHARED].
25414         [SHARED && DO_VERSIONING]: Likewise..
25415         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25416         [$(build-shared) = yes].
25417         * manual/install.texi (--disable-versioning): Remove
25418         documentation.
25419         * INSTALL: Regenerated.
25420         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25421         to [SHARED].
25422         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25423         [$(build-shared) = yes].
25424         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25425         * sysdeps/i386/i686/multiarch/strstr-c.c
25426         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25427         [SHARED && !NO_HIDDEN].
25428         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25429         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25430         * sysdeps/powerpc/powerpc32/dl-machine.c
25431         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25432         * sysdeps/powerpc/powerpc32/sysdep.h
25433         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25434         to [SHARED && PIC && !NO_HIDDEN].
25435         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25436         conditional to [SHARED].
25438 2013-09-04   Will Newton  <will.newton@linaro.org>
25440         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25441         * benchtests/bench-string.h: Include bench-timing.h instead
25442         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25443         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25444         call to HP_TIMING_DIFF_INIT.
25445         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25446         instead of hp-timing.h macros.
25447         * benchtests/bench-memchr.c: Likewise.
25448         * benchtests/bench-memcmp.c: Likewise.
25449         * benchtests/bench-memcpy.c: Likewise.
25450         * benchtests/bench-memmem.c: Likewise.
25451         * benchtests/bench-memmove.c: Likewise.
25452         * benchtests/bench-memset.c: Likewise.
25453         * benchtests/bench-rawmemchr.c: Likewise.
25454         * benchtests/bench-strcasecmp.c: Likewise.
25455         * benchtests/bench-strcasestr.c: Likewise.
25456         * benchtests/bench-strcat.c: Likewise.
25457         * benchtests/bench-strchr.c: Likewise.
25458         * benchtests/bench-strcmp.c: Likewise.
25459         * benchtests/bench-strcpy.c: Likewise.
25460         * benchtests/bench-strcpy_chk.c: Likewise.
25461         * benchtests/bench-strlen.c: Likewise.
25462         * benchtests/bench-strncasecmp.c: Likewise.
25463         * benchtests/bench-strncat.c: Likewise.
25464         * benchtests/bench-strncmp.c: Likewise.
25465         * benchtests/bench-strncpy.c: Likewise.
25466         * benchtests/bench-strnlen.c: Likewise.
25467         * benchtests/bench-strpbrk.c: Likewise.
25468         * benchtests/bench-strrchr.c: Likewise.
25469         * benchtests/bench-strspn.c: Likewise.
25470         * benchtests/bench-strstr.c: Likewise.
25472 2013-09-04  Will Newton  <will.newton@linaro.org>
25474         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25476 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25478         [BZ #15427]
25479         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25480         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25481         * math/libm-test.inc (lgamma_test_data): Add more tests.
25482         * sysdeps/i386/fpu/libm-test-ulps: Update.
25483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25485 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25487         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25489         Add ifunc.
25490         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25491         Add strcmp-sse2-unaligned
25492         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25494 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25496         * Versions.def (libc): Add GLIBC_2.19.
25498 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25500         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25501         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25503 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25505         [BZ #14155]
25506         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25507         intermediate calculations in recurrence.
25508         (__ieee754_ynf): Likewise.
25509         * math/libm-test.inc (jn_test_data): Do not allow spurious
25510         underflow exception.  Add more tests.
25511         (yn_test_data): Add more tests.
25512         * sysdeps/i386/fpu/libm-test-ulps: Update.
25513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25515 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25517         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25519 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25521         * csu/init-first.c: Fix then/than typos.
25522         * locale/programs/ld-collate.c: Likewise.
25523         * locale/programs/linereader.h: Likewise.
25524         * manual/charset.texi: Likewise.
25525         * manual/filesys.texi: Likewise.
25526         * manual/stdio.texi: Likewise.
25527         * manual/string.texi: Likewise.
25528         * stdlib/fmtmsg.c: Likewise.
25529         * sysdeps/i386/stpncpy.S: Likewise.
25530         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25531         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25532         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25533         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25535 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25537         * elf/dl-open.c: Fix typos.
25538         * iconvdata/gbbig5.c: Likewise.
25539         * iconvdata/iso-2022-jp.c: Likewise.
25540         * iconv/gconv_int.h: Likewise.
25541         * iconv/loop.c: Likewise.
25542         * nis/rpcsvc/nis.h: Likewise.
25543         * resolv/ns_name.c: Likewise.
25544         * stdio-common/vfscanf.c: Likewise.
25545         * streams/stropts.h: Likewise.
25546         * sunrpc/rpc_thread.c: Likewise.
25547         * sysdeps/i386/strpbrk.S: Likewise.
25548         * sysdeps/ieee754/k_standard.c: Likewise.
25549         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25550         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25551         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25552         * sysdeps/mach/hurd/profil.c: Likewise.
25553         * sysdeps/s390/dl-procinfo.h: Likewise.
25554         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25555         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25556         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25557         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25558         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25560 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25562         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25563         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25565 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25567         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25568         aix specific files.
25569         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25570         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25571         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25572         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25573         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25574         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25575         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25576         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25578 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25579             Roland McGrath  <roland@hack.frob.com>
25581         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25582         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25584 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25586         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25587         __executable_start symbol instead of _start.
25589 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25591         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25592         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25593         Move macros to...
25594         * sysdeps/gnu/ldsodefs.h: ... this new file.
25596         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25597         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25598         instead of ELFOSABI_LINUX.
25600         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25601         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25602         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25603         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25604         Likewise.
25605         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25606         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25607         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25608         Likewise.
25609         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25610         (ibm_extended_long_double): Add ieee_nan member.
25611         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25612         (do_test): New function.
25614         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25615         TEST_TRUNC.
25616         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25617         functions, renamed from truncdfsf_test, trunctfsf_test,
25618         trunctfdf_test.
25619         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25620         functions.
25621         (do_test): Run all these.
25623 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25625         * argp/argp-help.c: Fix typos.
25626         * argp/argp-parse.c: Likewise.
25627         * debug/backtracesyms.c: Likewise.
25628         * elf/elf.h: Likewise.
25629         * malloc/malloc.c: Likewise.
25630         * nis/nis_print.c: Likewise.
25631         * resolv/res_comp.c: Likewise.
25632         * stdlib/stdlib.h: Likewise.
25633         * sunrpc/clnt_tcp.c: Likewise.
25634         * sunrpc/clnt_udp.c: Likewise.
25635         * sunrpc/clnt_unix.c: Likewise.
25636         * sysdeps/unix/bsd/ptsname.c: Likewise.
25637         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25638         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25640         Likewise.
25641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25642         Likewise.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25644         Likewise.
25645         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25647 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25649         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25652 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25654         [BZ #15897]
25655         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25656         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25657         ($(objpfx)bug-dl-leaf): New rule.
25658         ($(objpfx)bug-dl-leaf.so): Likewise.
25659         ($(objpfx)bug-dl-leaf.out): Likewise.
25660         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25661         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25662         * dlfcn/bug-dl-leaf.c: New test.
25663         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25664         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25665         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25666         (dlclose): Likewise.
25667         (dlmopen): Likewise.
25669 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25671         * include/netdb.h [!_ISOMAC]:
25672         Don't include <tls.h>.
25673         (h_errno, __libc_h_errno): Move declaration and macros out of
25674         [_LIBC_REENTRANT].
25676         * include/resolv.h [_RESOLV_H_]:
25677         Don't include <tls.h>.
25678         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25679         * resolv/res_libc.c: Don't include <tls.h>.
25680         (_res): Use __attribute__ ((nocommon)) in place of
25681         __attribute__ ((section (".bss"))).
25683         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25684         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25686         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25688         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25689         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25691         * resolv/res_mkquery.c: Include <sys/time.h>.
25693         * inet/ifreq.c: Moved to ...
25694         * sysdeps/unix/ifreq.c: ... here.
25695         * inet/ifreq.c: New file, true stub version.
25697         * socket/sa_len.c: New file.
25698         * socket/Makefile (aux): Add it.
25699         * sysdeps/unix/sysv/linux/Makefile
25700         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25701         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25702         and #include <socket/sa_len.c>.
25703         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25704         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25706         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25707         * bits/socket.h: ... here.
25709         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25710         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25711         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25713 2013-08-27  Andreas Schwab  <schwab@suse.de>
25715         [BZ #15736]
25716         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25717         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25718         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25719         * string/test-strcasecmp.c (test_main): Run tests in several
25720         locales.
25721         * string/test-strncasecmp.c (test_main): Likewise.
25723         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25724         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25725         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25726         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25727         (__strncasecmp_ssse3) [PIC]: Likewise.
25729 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25731         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25733         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25734         instead of explicitly declaring xdecrypt.
25735         * nis/nss_nis/nis-publickey.c: Likewise.
25737 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25739         [BZ #15890]
25740         * nscd/aicache.c: Include res_hconf.h.
25741         (addhstaiX): Initialize res_hconf.
25743 2013-08-26  Andreas Schwab  <schwab@suse.de>
25745         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25746         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25748 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25750         * nscd/aicache.c (addhstaiX): Fix indentation.
25752 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25754         * configure.ac: Quote $build_pt_chown test.
25755         * configure: Regenerated.
25757 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25759         [BZ #15532]
25760         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25761         * math/s_cexpf.c (__cexpf): Likewise.
25762         * math/s_cexpl.c (__cexpl): Likewise.
25763         * math/libm-test.inc (cexp_test_data): Correct expected return
25764         value for NaN + i0.  Add another test.
25766 2013-08-22  David S. Miller  <davem@davemloft.net>
25768         * po/ca.po: Update Catalan translation from translation project.
25769         * po/uk.po: Add Ukrainian translations from translation project.
25771 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25773         [BZ #15797]
25774         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25775         is infinite, not alongside NaN test.
25776         * math/s_fdimf.c (__fdimf): Likewise.
25777         * math/s_fdiml.c (__fdiml): Likewise.
25778         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25779         errno is unchanged.
25781 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25783         * argp/argp-help.c: Fix typos.
25784         * crypt/speeds.c: Likewise.
25785         * csu/check_fds.c: Likewise.
25786         * elf/dl-load.c: Likewise.
25787         * elf/dl-open.c: Likewise.
25788         * elf/reldep3.c: Likewise.
25789         * elf/reldep.c: Likewise.
25790         * elf/sprof.c: Likewise.
25791         * iconv/iconv_charmap.c: Likewise.
25792         * iconv/skeleton.c: Likewise.
25793         * iconv/strtab.c: Likewise.
25794         * io/lockf64.c: Likewise.
25795         * libio/libioP.h: Likewise.
25796         * resolv/gai_notify.c: Likewise.
25797         * resolv/ns_name.c: Likewise.
25798         * resolv/ns_samedomain.c: Likewise.
25799         * resolv/res_send.c: Likewise.
25800         * stdlib/random.c: Likewise.
25801         * sunrpc/rpc/xdr.h: Likewise.
25802         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25803         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25804         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25805         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25806         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25807         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25808         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25809         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25810         * sysdeps/mach/hurd/check_fds.c: Likewise.
25811         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25812         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25813         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25814         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25815         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25816         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25817         * sysdeps/pthread/aio_notify.c: Likewise.
25818         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25819         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25820         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25821         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25822         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25824 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25826         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25827         version if bit_Slow_SSE4_2 is set.
25828         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25829         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25831 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25833         [BZ #15867]
25834         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25835         trampoline stack frame information.
25836         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25837         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25838         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25839         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25840         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25841         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25842         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25843         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25844         sa_flags value.
25845         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25846         interrupting a syscall and set with option SA_SIGINFO.
25848 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25850         [BZ #15531]
25851         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25852         argument is infinite.
25853         * math/s_cprojf.c (__cprojf): Likewise.
25854         * math/s_cprojl.c (__cprojl): Likewise.
25855         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25856         * math/libm-test.inc (cproj_test_data): Add more tests.
25858         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25860         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25861         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25862         size.  Use __ffs to determine corresponding shift.
25864 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25865             Roland McGrath  <roland@hack.frob.com>
25867         * Makefile (INSTALL): Remove trailing blank lines from output of
25868         makeinfo.
25870 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25872         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25873         Align 32 bit compat elf_greg to 8 bytes.
25875 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25877         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25879 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25881         * string/strcoll_l.c (coll_seq): New structure.
25882         (get_next_seq_cached): New function.
25883         (get_next_seq): New function.
25884         (do_compare): New function.
25885         (STRCOLL): Use GNU style definition.  Simplify implementation
25886         by using get_next_seq, get_next_seq_cached and do_compare.
25888 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25890         [BZ #14699]
25891         CVE-2013-4237
25892         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25893         member.
25894         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25895         member.
25896         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25897         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25898         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25899         conditional.
25900         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25901         GETDENTS_64BIT_ALIGNED.
25902         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25903         * manual/filesys.texi (Reading/Closing Directory): Document
25904         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25905         strongly.
25906         * manual/conf.texi (Limits for Files): Add portability note to
25907         NAME_MAX, PATH_MAX.
25908         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25910 2013-08-13  Andreas Schwab  <schwab@suse.de>
25912         [BZ #15749]
25913         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25914         of fabs.
25915         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25916         LDBL_MAX_EXP >= 16384]: Add tests for it.
25918 2013-08-12  David S. Miller  <davem@davemloft.net>
25920         * version.h (RELEASE): Set to "development".
25921         (VERSION): Set to "2.18.90".
25922         * NEWS: Add 2.19 section.
25924 2013-08-03  David S. Miller  <davem@davemloft.net>
25926         * po/ko.po: Update Korean translation from translation project.
25928 2013-08-01  David S. Miller  <davem@davemloft.net>
25930         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25931         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25932         Bilka.
25934 2013-07-30  David S. Miller  <davem@davemloft.net>
25936         * po/fr.po: Update French translation from translation project.
25938 2013-07-28  David S. Miller  <davem@davemloft.net>
25940         * po/cs.po: Update Czech translation from translation project.
25942         * po/sv.po: Update Swedish translation from translation project.
25944 2013-07-27  David S. Miller  <davem@davemloft.net>
25946         * po/eo.po: Update Esperanto translation from translation project.
25948         * po/vi.po: Update Vietnamese translation from translation project.
25950         * po/de.po: Update German translation from translation project.
25952 2013-07-26  David S. Miller  <davem@davemloft.net>
25954         * po/bg.po: Update Bulgarian translation from translation project.
25956         * po/nl.po: Update Dutch translation from translation project.
25957         * po/pl.po: Update Polish translation from translation project.
25958         * po/ru.po: Update Russian translation from translation project.
25960 2013-07-24  David S. Miller  <davem@davemloft.net>
25962         * po/libc.pot: Update.
25964 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25966         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25967         variable page size.
25968         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25969         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25970         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25972 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25974         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25976 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25977             Andreas Schwab  <schwab@suse.de>
25978             Roland McGrath  <roland@hack.frob.com>
25979             Joseph Myers  <joseph@codesourcery.com>
25980             Carlos O'Donell  <carlos@redhat.com>
25982         [BZ #15755]
25983         * config.h.in: Define HAVE_PT_CHOWN.
25984         * config.make.in (build-pt-chown): New variable.
25985         * configure.in (--enable-pt_chown): New configure option.
25986         * configure: Regenerate.
25987         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25988         build-pt-chown is enabled.
25989         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25990         pt_chown to fix pty ownership.
25991         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25992         CLOSE_ALL_FDS.
25993         * manual/install.texi (Configuring and compiling): Mention
25994         --enable-pt_chown. Add @findex for grantpt.
25995         * INSTALL: Regenerate.
25997 2013-07-20  David S. Miller  <davem@davemloft.net>
25999         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26000         difference between 32-bit and 64-bit.
26002 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26004         [BZ #15711]
26005         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26006         Avoid system header dependency with -ffreestanding.
26007         ($(objpfx)bits/syscall%d): Likewise.
26009 2013-07-13  David S. Miller  <davem@davemloft.net>
26011         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26012         underflows from atanl/atan2l due to bug 15319.
26013         (casinh_test_data): Likewise.
26015 2013-07-07  David S. Miller  <davem@davemloft.net>
26017         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26019 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26021         * sysdeps/i386/fpu/libm-test-ulps: Update.
26022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26024 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26026         * configure.in (--enable-lock-elision): Fix message text.
26027         * INSTALL: Regenerate.
26028         * configure: Regenerate.
26030 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26034 2013-07-03  Andreas Jaeger  <aj@suse.de>
26036         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26037         define.
26038         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26039         (ptrace_peeksiginfo_args): Add.
26040         (__ptrace_peeksiginfo_flags): Add.
26041         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26042         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26043         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26045 2013-07-03  Allan McRae  <allan@archlinux.org>
26047         * sysdeps/i386/fpu/libm-test-ulps: Update.
26049 2013-07-02  David S. Miller  <davem@davemloft.net>
26051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26053 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26057 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26059         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26062 2013-07-02  Andi Kleen <ak@linux.intel.com>
26064         * config.h.in (ENABLE_LOCK_ELISION): Add.
26065         * configure.in (--enable-lock-elision): Add option.
26066         * manual/install.texi: Document --enable lock elision.
26067         * configure: Regenerate
26068         * INSTALL: Regenerate.
26070 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26072         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26073         SSE4.2 strcasecmp for libc.a.
26074         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26076 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26078         [BZ #13304]
26079         * soft-fp/op-common.h (_FP_FMA): New macro.
26080         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26081         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26082         (_FP_MUL_MEAT_1_imm): ... here.
26083         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26084         (_FP_MUL_MEAT_1_wide): ... here.
26085         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26086         (_FP_MUL_MEAT_1_hard): ... here.
26087         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26088         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26089         (_FP_MUL_MEAT_2_wide): ... here.
26090         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26091         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26092         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26093         (_FP_MUL_MEAT_2_gmp): ... here.
26094         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26095         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26096         (_FP_MUL_MEAT_4_wide): ... here.
26097         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26098         (_FP_MUL_MEAT_4_gmp): ... here.
26099         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26100         (_FP_WFRACBITS_DW_S): Likewise.
26101         (_FP_WFRACXBITS_DW_S): Likewise.
26102         (_FP_HIGHBIT_DW_S): Likewise.
26103         (FP_FMA_S): Likewise.
26104         (_FP_FRAC_HIGH_DW_S): Likewise.
26105         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26106         (_FP_WFRACBITS_DW_D): Likewise.
26107         (_FP_WFRACXBITS_DW_D): Likewise.
26108         (_FP_HIGHBIT_DW_D): Likewise.
26109         (FP_FMA_D): Likewise.
26110         (_FP_FRAC_HIGH_DW_D): Likewise.
26111         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26112         (_FP_WFRACBITS_DW_E): Likewise.
26113         (_FP_WFRACXBITS_DW_E): Likewise.
26114         (_FP_HIGHBIT_DW_E): Likewise.
26115         (FP_FMA_E): Likewise.
26116         (_FP_FRAC_HIGH_DW_E): Likewise.
26117         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26118         (_FP_WFRACBITS_DW_Q): Likewise.
26119         (_FP_WFRACXBITS_DW_Q): Likewise.
26120         (_FP_HIGHBIT_DW_Q): Likewise.
26121         (FP_FMA_Q): Likewise.
26122         (_FP_FRAC_HIGH_DW_Q): Likewise.
26123         * soft-fp/fmasf4.c: New file.
26124         * soft-fp/fmadf4.c: Likewise.
26125         * soft-fp/fmatf4.c: Likewise.
26127 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26130         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26131         Silvermont.
26132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26133         macro.
26134         (index_Slow_SSE4_2): Likewise.
26135         (index_Prefer_PMINUB_for_stringop): Likewise.
26136         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26137         bit_Slow_SSE4_2 is set.
26138         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26139         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26141 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26143         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26144         rtld_global._dl_hwcap2.
26145         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26146         POWER8.
26147         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26148         POWER8 feature descriptions defined in _dl_hwcap2.
26149         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26150         string handling for POWER8 feature bits.
26151         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26152         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26153         _dl_powerpc_cap_flags.
26154         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26155         * sysdeps/powerpc/rtld-global-offsets.sym
26156         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26157         _dl_hwcap2 in the rtld_global_ro structure.
26159 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26161         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26162         hardware capabilities in support of AT_HWCAP2.
26163         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26164         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26165         GLRO(dl_hwcap2).
26166         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26167         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26168         explicitly the unknown a_type display mechanism is used.
26169         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26170         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26171         struct member.
26172         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26173         to macro prototype for AT_HWCAP2 support.
26174         * sysdeps/i386/dl-procinfo.h: Likewise.
26175         * sysdeps/s390/dl-procinfo.h: Likewise.
26176         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26177         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26178         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26179         return -1 for unknown a_type display fallback.
26180         * sysdeps/sparc/dl-procinfo.h: Likewise.
26181         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26182         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26184 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26186         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26187         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26189 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26191         [BZ #12492]
26192         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26193         mprotect making __stack_prot writable.
26195 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26196             Joseph Myers  <joseph@codesourcery.com>
26198         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26199         as being properly aligned.
26201 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26203         * dlfcn/modstatic5.c: New file.
26204         * dlfcn/tststatic5.c: New file.
26205         * dlfcn/Makefile (tests): Add tststatic5.
26206         (tests-static): Likewise.
26207         (modules-names): Add modstatic5.
26208         (tststatic5-ENV): New variable.
26209         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26211         [BZ #15022]
26212         * elf/dl-support.c (_dl_main_map): New variable.
26213         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26214         (_dl_nns, _dl_load_adds): Set to 1.
26215         (_dl_initial_searchlist): Refer to _dl_main_map.
26216         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26217         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26218         call to _dl_get_origin.
26219         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26220         around call_map.
26221         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26222         * dlfcn/modstatic3.c: New file.
26223         * dlfcn/tststatic3.c: New file.
26224         * dlfcn/tststatic4.c: New file.
26225         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26226         (tests-static): Likewise.
26227         (modules-names): Add modstatic3.
26228         (tststatic3-ENV, tststatic4-ENV): New variables.
26229         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26230         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26232 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26234         * configure.in (CC): Require GCC version 4.4 or later.
26235         * configure: Regenerated.
26236         * manual/install.texi (Tools for Compilation): Update GCC version
26237         requirement.
26238         * INSTALL: Regenerated.
26240 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26242         [BZ #15674]
26243         * string/test-memcmp.c (check2): New.
26244         (main): Call check2.
26246         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26248 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26250         [BZ #15022]
26251         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26252         over to...
26253         (dl_open_worker) [!SHARED]: ... here.
26255 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26257         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26259 2013-06-25  Richard Henderson  <rth@redhat.com>
26261         * locale/programs/locarchive.c: Include <libc-internal.h>
26263 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26265         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26266         trailing whitespace removed.
26268 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26270         [BZ #10283]
26271         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26272         * locale/programs/locarchive.c: Include libc-mmap.h.
26273         (prepare_address_space): Take two new outputs (the mmap base and len).
26274         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26275         values.
26276         (create_archive): Declare new mmap base and len values for
26277         prepare_address_space, and store the result in ah.
26278         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26279         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26280         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26281         Declare new mmap base and len values for
26282         prepare_address_space, and store the result in new_ah.
26283         (open_archive): Declare new mmap base and len values for
26284         prepare_address_space, and store the result in ah.
26285         (close_archive): If ah->mmap_base is not NULL, use that and
26286         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26287         * sysdeps/generic/libc-mmap.h: New file.
26289 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26291         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26292         (ALIGN_UP): Likewise.
26293         (PTR_ALIGN_DOWN): Likewise.
26294         (PTR_ALIGN_UP): Likewise.
26296 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26298         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26299         entry mapped to PPC_PLATFORM_POWER8.
26300         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26301         POWER8.
26302         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26303         (_dl_string_platform): Add case for exporting platform position for
26304         POWER8.
26305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26306         search path to sysdeps/powerpc/powerpc32/power8 directory.
26307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26308         search path to sysdeps/powerpc/powerpc64/power8 directory.
26309         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26310         power7 directories.
26311         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26312         power7 directories.
26314 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26316         * INSTALL: Regenerate.
26318         * nscd/connections.c (nscd_init): Fix comment.
26320 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26322         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26324         [BZ #15667]
26325         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26326         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26328 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26330         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26331         DL_DST_REQ_STATIC.
26332         (DL_DST_REQ_STATIC): Remove macro.
26334 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26336         [BZ #7006]
26337         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26338         with a shift of 0 bits.
26340 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26342         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26343         $(tststatic-ENV).
26345 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26347         [BZ #15655]
26348         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26350 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26352         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26353         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26354         accepts -fno-tree-loop-distribute-patterns.
26355         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26356         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26357         recursive call.
26358         * string/memset.c (memset): Likewise.
26359         * string/test-memmove.c (simple_memmove): Disable loop transformation
26360         to library calls.
26361         * string/test-memset.c (simple_memset): Likewise.
26362         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26363         * benchtests/bench-memset.c (simple_memset): Likewise.
26364         * configure: Regenerated.
26366 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26368         * math/test-misc.c (main): Ignore fesetround failure when failures
26369         of subsequent rounding tests would be ignored.
26371         [BZ #15654]
26372         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26373         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26374         * math/fegetenv.c (__fegetenv): Return 0.
26375         * math/fegetexcept.c (fegetexcept): Return 0.
26376         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26377         FE_TONEAREST.
26378         * math/feholdexcpt.c (feholdexcept): Return 0.
26379         * math/fesetenv.c (__fesetenv): Return 0.
26380         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26381         argument FE_TONEAREST.
26382         * math/feupdateenv.c (__feupdateenv): Return 0.
26383         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26385 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26387         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26388         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26389         ($(objpfx)rtld-%.os rules): Use them.
26391 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26393         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26394         fields.
26396 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26398         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26399         length of target pattern, then descending length of dependency pattern.
26400         * configure.in (AWK): Require gawk 3.1.2 or newer.
26401         * manual/install.texi (Tools for Compilation): Say that we do.
26402         * configure: Regenerated.
26404         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26405         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26406         * scripts/sysd-rules.awk: ... this new script.
26407         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26408         than a glob-style pattern.
26410 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26412         * math/test-misc.c (main): Do not treat incorrectly rounded
26413         conversions as failure unless ROUNDING_TESTS passes.
26415 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26417         [BZ #15631]
26418         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26419         restore exception state around main square root computation, then
26420         check for inexactness explicitly.
26422         * math/libm-test.inc (fma_test_data): Add another test.
26424 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26426         * manual/threads.texi (Non-POSIX Extensions): New document
26427         node.  Document pthread_getattr_default_np and
26428         pthread_setattr_default_np.
26430         * Versions.def (libpthread): Add GLIBC_2.18.
26431         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26433         Likewise.
26434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26435         Likewise.
26436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26437         Likewise.
26438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26439         Likewise.
26440         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26441         Likewise.
26442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26443         Likewise.
26444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26445         Likewise.
26446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26447         Likewise.
26448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26449         Likewise.
26451 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26454         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26456 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26457             H.J. Lu  <hjl.tools@gmail.com>
26459         [BZ #15627]
26460         * sysdeps/x86_64/rtld-memset.c: Remove file.
26461         * sysdeps/x86_64/rtld-memset.S: New file.
26463 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26465         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26466         (test_in_one_mode): Take arguments for whether the rounding mode
26467         is supported for each floating-point type.
26468         (do_test): Pass new arguments to test_in_one_mode using
26469         ROUNDING_TESTS.
26471 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26473         * posix/tst-waitid.c (do_test): Distinguish different instances of
26474         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26475         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26476         before entering the kernel for waitpid.
26478 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26480         * NEWS: Fix note on clock function precision.  Text by Roland
26481         McGrath.
26483 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26485         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26486         it into place only when and if the sanity check passes.
26488 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26490         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26491         output for whether conversion result is exact.  Take argument
26492         indicating whether type is IBM long double.
26493         (round_for_all): Change need_exact field to ibm_ld.
26494         * stdlib/tst-strtod-round.c (struct exactness): New type.
26495         (struct test): Change bool ld_ok field to struct exactness exact.
26496         (TEST): Update all definitions for change to field.
26497         (tests): Regenerate array contents.
26498         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26499         field value.  Check for IBM long double here.
26500         (do_test): Update calls to test_in_one_mode.
26502 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26504         [BZ #12515]
26505         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26506         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26508 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26510         [BZ #15605]
26511         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26512         generated by the compiler on loop optimizations.
26513         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26514         general definitions.
26516 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26518         * math/bug-nextafter.c: Include <math-tests.h>.
26519         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26520         the relevant type.
26521         * math/bug-nexttoward.c: Include <math-tests.h>.
26522         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26523         the relevant type.
26524         * math/test-misc.c: Include <math-tests.h>.
26525         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26526         the relevant type.
26528 2013-06-12  Andreas Jaeger  <aj@suse.de>
26530         * po/ia.po: Update Interlingua translation from translation
26531         project.
26533 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26535         * include/fenv.h: Include stdbool.h.
26536         (struct rm_ctx): New structure.
26537         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26538         Define macro.
26539         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26540         (SET_RESTORE_ROUNDF): Likewise.
26541         (SET_RESTORE_ROUNDL): Likewise.
26542         (SET_RESTORE_ROUND_NOEX): Likewise.
26543         (SET_RESTORE_ROUND_NOEXF): Likewise.
26544         (SET_RESTORE_ROUND_NOEXL): Likewise.
26545         (SET_RESTORE_ROUND_53BIT): Likewise.
26546         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26547         (libc_feresetround_noexf_ctx): Likewise.
26548         (libc_feresetround_noexl_ctx): Likewise.
26549         (libc_feholdsetround_53bit_ctx): Likewise.
26550         (libc_feresetround_53bit_ctx): Likewise.
26551         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26552         (libc_feholdexcept_setround_sse_ctx): New function.
26553         (libc_fesetenv_sse_ctx): Likewise.
26554         (libc_feupdateenv_sse_ctx): Likewise.
26555         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26556         (libc_feholdexcept_setround_387_ctx): Likewise.
26557         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26558         (libc_feholdsetround_387_prec_ctx): Likewise.
26559         (libc_feholdsetround_387_ctx): Likewise.
26560         (libc_feholdsetround_387_53bit_ctx): Likewise.
26561         (libc_feholdsetround_sse_ctx): Likewise.
26562         (libc_feresetround_sse_ctx): Likewise.
26563         (libc_feresetround_387_ctx): Likewise.
26564         (libc_feupdateenv_387_ctx): Likewise.
26565         (libc_feholdexcept_setroundf_ctx): Define macro.
26566         (libc_fesetenvf_ctx): Likewise.
26567         (libc_feupdateenvf_ctx): Likewise.
26568         (libc_feholdsetroundf_ctx): Likewise.
26569         (libc_feresetroundf_ctx): Likewise.
26570         (libc_feholdexcept_setround_ctx): Likewise.
26571         (libc_fesetenv_ctx): Likewise.
26572         (libc_feupdateenv_ctx): Likewise.
26573         (libc_feholdsetround_ctx): Likewise.
26574         (libc_feresetround_ctx): Likewise.
26575         (libc_feholdexcept_setroundl_ctx): Likewise.
26576         (libc_feupdateenvl_ctx): Likewise.
26577         (libc_feholdsetroundl_ctx): Likewise.
26578         (libc_feresetroundl_ctx): Likewise.
26579         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26580         (libc_feresetround_53bit_ctx): Likewise.
26582 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26584         * locale/iso-639.def: Convert to UTF-8.
26586 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26588         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26589         (EXCEPTION_TESTS_double): Likewise.
26590         (EXCEPTION_TESTS_long_double): Likewise.
26591         (EXCEPTION_TESTS): Likewise.
26592         * math/libm-test.inc (test_exceptions): Only test exceptions if
26593         EXCEPTION_TESTS (FLOAT).
26595 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26597         * benchtests/Makefile (string-bench): Add strcpy_chk and
26598         stpcpy_chk.
26599         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26600         * benchtests/bench-stpcpy_chk.c: New file.
26601         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26602         * benchtests/bench-strcpy_chk.c: New file.
26603         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26604         code.
26605         (do_test): Likewise.
26607 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26609         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26610         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26611         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26612         with tabs where appropriate.
26613         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26614         dl-procinfo.h.
26615         [PPC_PLATFORM_PPC440]: Likewise.
26616         [PPC_PLATFORM_PPC464]: Likewise.
26617         [PPC_PLATFORM_PPC476]: Likewise.
26618         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26619         ppc464, and ppc476 platform strings merging from ports/
26620         dl-procinfo.h.
26622 2013-06-11  Andreas Schwab  <schwab@suse.de>
26624         [BZ #14991]
26625         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26626         (from_ucs4_idx): Regenerate.
26627         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26628         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26629         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26630         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26631         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26632         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26633         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26634         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26635         from FROM_LOOP and TO_LOOP specific macros.
26636         (BODY): Handle combining characters.
26637         * iconvdata/BIG5HKSCS.irreversible: Update.
26638         * iconvdata/BIG5HKSCS.precomposed: New file.
26639         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26640         characters.
26641         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26643 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26645         * include/sys/time.h: Fix indentation and add copyright header.
26647         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26648         (do_test): Likewise.
26649         * string/test-memchr.c (do_one_test): Likewise.
26650         (do_test): Likewise.
26651         * string/test-memcmp.c (do_one_test): Likewise.
26652         (do_test): Likewise.
26653         * string/test-memcpy.c (do_one_test): Likewise.
26654         (do_test): Likewise.
26655         * string/test-memmem.c (do_one_test): Likewise.
26656         (do_test): Likewise.
26657         (do_random_tests): Likewise.
26658         * string/test-memmove.c (do_one_test): Likewise.
26659         (do_test): Likewise.
26660         * string/test-memset.c (do_one_test): Likewise.
26661         (do_test): Likewise.
26662         * string/test-rawmemchr.c (do_one_test): Likewise.
26663         (do_test): Likewise.
26664         * string/test-strcasecmp.c (do_one_test): Likewise.
26665         (do_test): Likewise.
26666         * string/test-strcasestr.c (do_one_test): Likewise.
26667         (do_test): Likewise.
26668         * string/test-strcat.c (do_one_test): Likewise.
26669         (do_test): Likewise.
26670         * string/test-strchr.c (do_one_test): Likewise.
26671         (do_test): Likewise.
26672         * string/test-strcmp.c (do_one_test): Likewise.
26673         (do_test): Likewise.
26674         * string/test-strcpy.c (do_one_test): Likewise.
26675         (do_test): Likewise.
26676         * string/test-string.h: Likewise.
26677         (test_init): Likewise.
26678         * string/test-strlen.c (do_one_test): Likewise.
26679         (do_test): Likewise.
26680         * string/test-strncasecmp.c (do_one_test): Likewise.
26681         (do_test): Likewise.
26682         * string/test-strncat.c (do_one_test): Likewise.
26683         (do_test): Likewise.
26684         * string/test-strncmp.c (do_one_test): Likewise.
26685         (do_test_limit): Likewise.
26686         (do_test): Likewise.
26687         * string/test-strncpy.c (do_one_test): Likewise.
26688         (do_test): Likewise.
26689         * string/test-strnlen.c (do_one_test): Likewise.
26690         (do_test): Likewise.
26691         * string/test-strpbrk.c (do_one_test): Likewise.
26692         (do_test): Likewise.
26693         * string/test-strrchr.c (do_one_test): Likewise.
26694         (do_test): Likewise.
26695         * string/test-strspn.c (do_one_test): Likewise.
26696         (do_test): Likewise.
26697         * string/test-strstr.c (do_one_test): Likewise.
26698         (do_test): Likewise.
26700         * benchtests/Makefile (string-bench): Add string benchmarks.
26701         * benchtests/bench-bcopy-ifunc.c: New file.
26702         * benchtests/bench-bcopy.c: New file.
26703         * benchtests/bench-bzero-ifunc.c: New file.
26704         * benchtests/bench-bzero.c: New file.
26705         * benchtests/bench-memccpy-ifunc.c: New file.
26706         * benchtests/bench-memccpy.c: New file.
26707         * benchtests/bench-memchr-ifunc.c: New file.
26708         * benchtests/bench-memchr.c: New file.
26709         * benchtests/bench-memcmp-ifunc.c: New file.
26710         * benchtests/bench-memcmp.c: New file.
26711         * benchtests/bench-memmem-ifunc.c: New file.
26712         * benchtests/bench-memmem.c: New file.
26713         * benchtests/bench-memmove-ifunc.c: New file.
26714         * benchtests/bench-memmove.c: New file.
26715         * benchtests/bench-mempcpy-ifunc.c: New file.
26716         * benchtests/bench-mempcpy.c: New file.
26717         * benchtests/bench-memset-ifunc.c: New file.
26718         * benchtests/bench-memset.c: New file.
26719         * benchtests/bench-rawmemchr-ifunc.c: New file.
26720         * benchtests/bench-rawmemchr.c: New file.
26721         * benchtests/bench-stpcpy-ifunc.c: New file.
26722         * benchtests/bench-stpcpy.c: New file.
26723         * benchtests/bench-stpncpy-ifunc.c: New file.
26724         * benchtests/bench-stpncpy.c: New file.
26725         * benchtests/bench-strcasecmp-ifunc.c: New file.
26726         * benchtests/bench-strcasecmp.c: New file.
26727         * benchtests/bench-strcasestr-ifunc.c: New file.
26728         * benchtests/bench-strcasestr.c: New file.
26729         * benchtests/bench-strcat-ifunc.c: New file.
26730         * benchtests/bench-strcat.c: New file.
26731         * benchtests/bench-strchr-ifunc.c: New file.
26732         * benchtests/bench-strchr.c: New file.
26733         * benchtests/bench-strchrnul-ifunc.c: New file.
26734         * benchtests/bench-strchrnul.c: New file.
26735         * benchtests/bench-strcmp-ifunc.c: New file.
26736         * benchtests/bench-strcmp.c: New file.
26737         * benchtests/bench-strcpy-ifunc.c: New file.
26738         * benchtests/bench-strcpy.c: New file.
26739         * benchtests/bench-strcspn-ifunc.c: New file.
26740         * benchtests/bench-strcspn.c: New file.
26741         * benchtests/bench-strlen-ifunc.c: New file.
26742         * benchtests/bench-strlen.c: New file.
26743         * benchtests/bench-strncasecmp-ifunc.c: New file.
26744         * benchtests/bench-strncasecmp.c: New file.
26745         * benchtests/bench-strncat-ifunc.c: New file.
26746         * benchtests/bench-strncat.c: New file.
26747         * benchtests/bench-strncmp-ifunc.c: New file.
26748         * benchtests/bench-strncmp.c: New file.
26749         * benchtests/bench-strncpy-ifunc.c: New file.
26750         * benchtests/bench-strncpy.c: New file.
26751         * benchtests/bench-strnlen-ifunc.c: New file.
26752         * benchtests/bench-strnlen.c: New file.
26753         * benchtests/bench-strpbrk-ifunc.c: New file.
26754         * benchtests/bench-strpbrk.c: New file.
26755         * benchtests/bench-strrchr-ifunc.c: New file.
26756         * benchtests/bench-strrchr.c: New file.
26757         * benchtests/bench-strspn-ifunc.c: New file.
26758         * benchtests/bench-strspn.c: New file.
26759         * benchtests/bench-strstr-ifunc.c: New file.
26760         * benchtests/bench-strstr.c: New file.
26762         * benchtests/Makefile: Disable parallel execution of targets.
26763         (string-bench): Add memcpy.
26764         (benchset): New variable to store a list of benchmark sets.
26765         (bench-func): Renamed from bench.
26766         (bench-set): New target.
26767         (bench): Depend on bench-func and bench-set.
26768         * benchtests/README: Add section on benchmark sets.
26769         * benchtests/bench-memcpy-ifunc.c: New file.
26770         * benchtests/bench-memcpy.c: New file.
26771         * benchtests/bench-string.h: New file.
26773 2013-06-11  Andreas Schwab  <schwab@suse.de>
26775         [BZ #15577]
26776         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26777         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26778         values in the triple.
26779         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26780         terminator in the group key.
26782 2013-06-11  Andreas Jaeger  <aj@suse.de>
26784         * po/zh_TW.po: Update Chinese (traditional) translation from
26785         translation project.
26787 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26789         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26790         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26791         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26792         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26793         (clock_getcpuclockid): Likewise.
26794         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26795         Add weak_alias and libc_hidden_def.
26796         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26797         * rt/clock_gettime.c (clock_gettime): Rename to
26798         __clock_gettime.  Add weak_alias and libc_hidden_def.
26799         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26800         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26801         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26802         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26803         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26804         Likewise.
26805         * rt/clock_settime.c (clock_settime): Rename to
26806         __clock_settime.  Add weak_alias and libc_hidden_def.
26807         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26809 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26811         * mach/err_boot.sub: Remove trailing whitespace.
26812         * mach/err_ipc.sub: Likewise.
26813         * mach/err_mach.sub: Likewise.
26815         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26816         (ROUNDING_TESTS_double): Likewise.
26817         (ROUNDING_TESTS_long_double): Likewise.
26818         (ROUNDING_TESTS): Likewise.
26819         * math/libm-test.inc: Include <math-tests.h>.
26820         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26821         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26822         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26823         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26825 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26827         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26828         of assigning.
26830 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26832         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26833         otherwise empty TRANS lines.
26834         * sysdeps/gnu/errlist.c: Regenerated.
26836         * catgets/gencat.c (error_print): Use (void) in function
26837         definition.
26838         * crypt/crypt_util.c (__init_des): Likewise.
26839         * crypt/speeds.c (Stop): Likewise.
26840         (main): Likewise.
26841         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26842         * inet/ruserpass.c (token): Likewise.
26843         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26844         * intl/localealias.c (extend_alias_table): Likewise.
26845         * intl/plural-exp.c (init_germanic_plural): Likewise.
26846         * libio/fcloseall.c (__fcloseall): Likewise.
26847         * libio/genops.c (_IO_flush_all): Likewise.
26848         (_IO_flush_all_linebuffered): Likewise.
26849         (_IO_cleanup): Likewise.
26850         (_IO_iter_begin): Likewise.
26851         (_IO_iter_end): Likewise.
26852         (_IO_list_lock): Likewise.
26853         (_IO_list_unlock): Likewise.
26854         (_IO_list_resetlock): Likewise.
26855         * libio/getchar.c (getchar): Likewise.
26856         * libio/getchar_u.c (getchar_unlocked): Likewise.
26857         * libio/getwchar.c (getwchar): Likewise.
26858         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26859         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26860         * login/getpt.c (__getpt): Likewise.
26861         * login/tst-utmp.c (main): Likewise.
26862         * malloc/hooks.c (__malloc_check_init): Likewise.
26863         * malloc/malloc.c (__malloc_stats): Likewise.
26864         * malloc/mtrace.c (tr_break): Likewise.
26865         (mtrace): Likewise.
26866         (muntrace): Likewise.
26867         * misc/fstab.c (endfsent): Likewise.
26868         * misc/getclktck.c (__getclktck): Likewise.
26869         * misc/getdtsz.c (__getdtablesize): Likewise.
26870         * misc/gethostid.c (gethostid): Likewise.
26871         * misc/getpagesize.c (__getpagesize): Likewise.
26872         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26873         (__get_nprocs): Likewise.
26874         (__get_phys_pages): Likewise.
26875         (__get_avphys_pages): Likewise.
26876         * misc/getttyent.c (getttyent): Likewise.
26877         (setttyent): Likewise.
26878         (endttyent): Likewise.
26879         * misc/getusershell.c (getusershell): Likewise.
26880         (endusershell): Likewise.
26881         (setusershell): Likewise.
26882         (initshells): Likewise.
26883         * misc/hsearch.c (__hdestroy): Likewise.
26884         * misc/sync.c (sync): Likewise.
26885         * misc/syslog.c (closelog_internal): Likewise.
26886         (closelog): Likewise.
26887         * misc/ttyslot.c (ttyslot): Likewise.
26888         * misc/vhangup.c (vhangup): Likewise.
26889         * posix/fork.c (__fork): Likewise.
26890         * posix/getegid.c (__getegid): Likewise.
26891         * posix/geteuid.c (__geteuid): Likewise.
26892         * posix/getgid.c (__getgid): Likewise.
26893         * posix/getpid.c (__getpid): Likewise.
26894         * posix/getppid.c (__getppid): Likewise.
26895         * posix/getuid.c (__getuid): Likewise.
26896         * posix/pause.c (pause): Likewise.
26897         * posix/setpgrp.c (setpgrp): Likewise.
26898         * posix/setsid.c (__setsid): Likewise.
26899         * posix/test-vfork.c (noop): Likewise.
26900         * resolv/gethnamaddr.c (_endhtent): Likewise.
26901         (_gethtent): Likewise.
26902         (ht_endhostent): Likewise.
26903         (gethostent): Likewise.
26904         (dns_service): Likewise.
26905         * stdlib/drand48.c (drand48): Likewise.
26906         * stdlib/lrand48.c (lrand48): Likewise.
26907         * stdlib/mrand48.c (mrand48): Likewise.
26908         * stdlib/rand.c (rand): Likewise.
26909         * stdlib/random.c (__random): Likewise.
26910         * stdlib/setenv.c (clearenv): Likewise.
26911         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26912         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26913         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26914         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26915         (__get_nprocs): Likewise.
26916         (__get_phys_pages): Likewise.
26917         (__get_avphys_pages): Likewise.
26918         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26919         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26920         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26921         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26922         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26923         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26924         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26925         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26926         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26927         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26928         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26929         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26930         * sysdeps/posix/clock.c (clock): Likewise.
26931         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26932         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26933         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26934         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26935         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26936         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26937         (__get_nprocs_conf): Likewise.
26938         (__get_phys_pages): Likewise.
26939         (__get_avphys_pages): Likewise.
26940         * time/clock.c (clock): Likewise.
26941         * time/tzset.c (__tzname_max): Likewise.
26943 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26945         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26946         (__bswap_32): Do not use "register".
26947         * crypt/crypt.c (_ufc_doit_r): Likewise.
26948         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26949         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26950         * gmon/gmon.c (__monstartup): Likewise.
26951         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26952         * hurd/hurdmalloc.c (more_memory): Likewise.
26953         (malloc): Likewise.
26954         (free): Likewise.
26955         (realloc): Likewise.
26956         (malloc_fork_prepare): Likewise.
26957         (malloc_fork_parent): Likewise.
26958         (malloc_fork_child): Likewise.
26959         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26960         (_svcauth_des): Likewise.
26961         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26962         * inet/inet_net.c (inet_network): Likewise.
26963         * inet/inet_netof.c (inet_netof): Likewise.
26964         * inet/rcmd.c (__validuser2_sa): Likewise.
26965         * io/fts.c (fts_open): Likewise.
26966         (fts_load): Likewise.
26967         (fts_close): Likewise.
26968         (fts_read): Likewise.
26969         (fts_children): Likewise.
26970         (fts_build): Likewise.
26971         (fts_stat): Likewise.
26972         (fts_sort): Likewise.
26973         (fts_alloc): Likewise.
26974         (fts_lfree): Likewise.
26975         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26976         (_IO_file_xsgetn): Likewise.
26977         (_IO_file_xsgetn_mmap): Likewise.
26978         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26979         (_IO_cookie_write): Likewise.
26980         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26981         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26982         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26983         * malloc/obstack.c (_obstack_begin): Likewise.
26984         (_obstack_begin_1): Likewise.
26985         (_obstack_newchunk): Likewise.
26986         (_obstack_allocated_p): Likewise.
26987         (obstack_free): Likewise.
26988         (_obstack_memory_used): Likewise.
26989         * misc/getttyent.c (getttynam): Likewise.
26990         (getttyent): Likewise.
26991         (skip): Likewise.
26992         (value): Likewise.
26993         * misc/getusershell.c (initshells): Likewise.
26994         * misc/syslog.c (__vsyslog_chk): Likewise.
26995         * misc/ttyslot.c (ttyslot): Likewise.
26996         * nis/nis_hash.c (__nis_hash): Likewise.
26997         * posix/fnmatch_loop.c (FCT): Likewise.
26998         * posix/getconf.c (print_all): Likewise.
26999         (main): Likewise.
27000         * posix/getopt.c (exchange): Likewise.
27001         * posix/glob.c (globfree): Likewise.
27002         (prefix_array): Likewise.
27003         (__glob_pattern_type): Likewise.
27004         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27005         (NS_GET32): Likewise.
27006         (NS_PUT16): Likewise.
27007         (NS_PUT32): Likewise.
27008         * resolv/gethnamaddr.c (getanswer): Likewise.
27009         (gethostbyname2): Likewise.
27010         (gethostbyaddr): Likewise.
27011         (_gethtent): Likewise.
27012         (_gethtbyname2): Likewise.
27013         (_gethtbyaddr): Likewise.
27014         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27015         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27016         * resolv/res_init.c (__res_vinit): Likewise.
27017         (net_mask): Likewise.
27018         * resolv/res_mkquery.c (outchar): Likewise.
27019         (PRINT): Likewise.
27020         * stdio-common/printf_fp.c (outchar): Likewise.
27021         (PRINT): Likewise.
27022         * stdio-common/printf_fphex.c (outchar): Likewise.
27023         (PRINT): Likewise.
27024         * stdio-common/printf_size.c (outchar): Likewise.
27025         (PRINT): Likewise.
27026         * stdio-common/test_rdwr.c (main): Likewise.
27027         * stdio-common/tfformat.c (matches): Likewise.
27028         * stdio-common/vfprintf.c (outchar): Likewise.
27029         (printf_unknown): Likewise.
27030         (buffered_vfprintf): Likewise.
27031         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27032         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27033         (ReadFile): Likewise.
27034         * stdlib/qsort.c (SWAP): Likewise.
27035         (_quicksort): Likewise.
27036         * stdlib/setenv.c (__add_to_environ): Likewise.
27037         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27038         * stdlib/strtol_l.c (__strtol_l): Likewise.
27039         * stdlib/tst-strtod.c (main): Likewise.
27040         * stdlib/tst-strtol.c (main): Likewise.
27041         * stdlib/tst-strtoll.c (main): Likewise.
27042         * string/bits/string2.h (__strcmp_cc): Likewise.
27043         (__strcmp_cg): Likewise.
27044         (__strcspn_c1): Likewise.
27045         (__strcspn_c2): Likewise.
27046         (__strcspn_c3): Likewise.
27047         (__strspn_c1): Likewise.
27048         (__strspn_c2): Likewise.
27049         (__strspn_c3): Likewise.
27050         (__strsep_1c): Likewise.
27051         (__strsep_2c): Likewise.
27052         (__strsep_3c): Likewise.
27053         * string/memccpy.c (__memccpy): Likewise.
27054         * string/stpcpy.c (__stpcpy): Likewise.
27055         * string/strcmp.c (strcmp): Likewise.
27056         * string/strrchr.c (strrchr): Likewise.
27057         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27058         Likewise.
27059         * sysdeps/mach/hurd/getcwd.c
27060         (_hurd_canonicalize_directory_name_internal): Likewise.
27061         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27062         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27063         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27064         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27065         Likewise, in both definitions.
27066         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27067         definitions.
27068         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27069         64] (__bswap_64): Likewise.
27070         * time/test_time.c (main): Likewise.
27071         * time/tzfile.c (__tzfile_read): Likewise.
27072         (__tzfile_compute): Likewise.
27073         * time/tzset.c (__tzset_parse_tz): Likewise.
27074         (tzset_internal): Likewise.
27075         (compute_change): Likewise.
27076         * wcsmbs/wcscat.c (__wcscat): Likewise.
27077         * wcsmbs/wcschr.c (wcschr): Likewise.
27078         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27079         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27080         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27081         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27082         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27083         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27084         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27085         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27086         * wcsmbs/wmemset.c (wmemset): Likewise.
27088 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27090         * scripts/config.guess: Update to version 2013-05-16.
27091         * scripts/config.sub: Update to version 2013-04-24.
27092         * scripts/install-sh: Update to version 2011-11-20.07.
27093         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27094         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27096 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27098         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27099         * elf/sln.c: Likewise.
27100         * hurd/hurd/ioctl.h: Likewise.
27101         * hurd/hurdmalloc.c: Likewise.
27102         * hurd/xattr.c: Likewise.
27103         * include/shlib-compat.h: Likewise.
27104         * inet/ruserpass.c: Likewise.
27105         * libio/iofgets_u.c: Likewise.
27106         * libio/iofgetws_u.c: Likewise.
27107         * locale/programs/ld-identification.c: Likewise.
27108         * locale/programs/ld-time.c: Likewise.
27109         * mach/msg-destroy.c: Likewise.
27110         * nss/nss_files/files-netgrp.c: Likewise.
27111         * resolv/res_data.c: Likewise.
27112         * soft-fp/op-1.h: Likewise.
27113         * soft-fp/op-2.h: Likewise.
27114         * soft-fp/op-4.h: Likewise.
27115         * soft-fp/op-common.h: Likewise.
27116         * stdio-common/printf_fphex.c: Likewise.
27117         * stdlib/strtod_l.c: Likewise.
27118         * sunrpc/rpc/clnt.h: Likewise.
27119         * sysdeps/generic/framestate.c: Likewise.
27120         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27121         * sysdeps/i386/bsd-setjmp.S: Likewise.
27122         * sysdeps/i386/__longjmp.S: Likewise.
27123         * sysdeps/i386/setjmp.S: Likewise.
27124         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27125         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27126         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27127         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27128         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27129         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27130         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27131         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27132         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27133         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27134         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27135         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27136         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27137         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27138         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27139         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27140         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27141         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27142         * sysdeps/ieee754/support.c: Likewise.
27143         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27144         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27145         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27146         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27147         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27148         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27149         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27150         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27151         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27152         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27153         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27154         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27155         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27156         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27157         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27158         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27159         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27162 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27164         * posix/transbug.c: Remove executable mode.
27166 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27168         * crypt/speeds.c: Remove trailing whitespace.
27169         * dlfcn/default.c: Likewise.
27170         * elf/ifuncdep2.c: Likewise.
27171         * elf/ifuncmain1.c: Likewise.
27172         * elf/ifuncmain1vis.c: Likewise.
27173         * elf/testobj.h: Likewise.
27174         * elf/tst-stackguard1.c: Likewise.
27175         * gmon/sys/gmon.h: Likewise.
27176         * hurd/hurdmsg.c: Likewise.
27177         * hurd/new-fd.c: Likewise.
27178         * hurd/ports-get.c: Likewise.
27179         * iconvdata/ibm1008_420.c: Likewise.
27180         * inet/tst-getni1.c: Likewise.
27181         * inet/tst-getni2.c: Likewise.
27182         * libio/ioungetc.c: Likewise.
27183         * libio/wfiledoalloc.c: Likewise.
27184         * manual/libm-err-tab.pl: Likewise.
27185         * math/w_dremf.c: Likewise.
27186         * misc/ftruncate.c: Likewise.
27187         * posix/bug-glob2.c: Likewise.
27188         * posix/tst-pcre.c: Likewise.
27189         * posix/wait4.c: Likewise.
27190         * resolv/README: Likewise.
27191         * resolv/res_debug.h: Likewise.
27192         * resolv/tst-inet_ntop.c: Likewise.
27193         * setjmp/bug269-setjmp.c: Likewise.
27194         * soft-fp/extended.h: Likewise.
27195         * soft-fp/op-1.h: Likewise.
27196         * soft-fp/op-2.h: Likewise.
27197         * soft-fp/op-4.h: Likewise.
27198         * soft-fp/op-8.h: Likewise.
27199         * soft-fp/testit.c: Likewise.
27200         * stdio-common/bug16.c: Likewise.
27201         * stdlib/random.c: Likewise.
27202         * sunrpc/rpcsvc/rquota.x: Likewise.
27203         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27204         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27205         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27206         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27207         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27208         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27209         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27210         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27211         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27212         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27213         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27214         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27215         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27216         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27217         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27218         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27219         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27220         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27221         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27223         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27224         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27225         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27226         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27227         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27228         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27230         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27231         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27232         * sysdeps/ieee754/s_lib_version.c: Likewise.
27233         * sysdeps/mach/hurd/check_fds.c: Likewise.
27234         * sysdeps/mach/hurd/getsockname.c: Likewise.
27235         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27236         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27237         * sysdeps/powerpc/bits/link.h: Likewise.
27238         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27239         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27240         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27241         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27242         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27243         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27244         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27245         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27246         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27247         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27248         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27249         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27250         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27251         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27252         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27253         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27254         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27255         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27256         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27258         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27259         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27260         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27261         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27262         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27263         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27264         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27265         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27266         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27267         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27268         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27269         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27270         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27271         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27272         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27273         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27274         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27275         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27276         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27277         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27278         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27279         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27280         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27281         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27282         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27283         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27284         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27285         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27286         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27287         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27288         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27289         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27290         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27291         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27292         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27293         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27294         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27295         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27296         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27297         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27298         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27299         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27300         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27301         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27302         * sysdeps/powerpc/sysdep.h: Likewise.
27303         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27304         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27305         * sysdeps/sh/dl-trampoline.S: Likewise.
27306         * sysdeps/sh/memset.S: Likewise.
27307         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27308         * sysdeps/sh/strlen.S: Likewise.
27309         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27310         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27311         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27312         * sysdeps/sparc/sparc32/rem.S: Likewise.
27313         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27314         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27315         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27316         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27317         * sysdeps/sparc/sparc32/urem.S: Likewise.
27318         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27319         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27320         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27321         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27322         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27323         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27324         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27325         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27326         * sysdeps/unix/bsd/times.c: Likewise.
27327         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27328         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27332         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27333         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27334         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27335         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27336         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27337         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27338         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27339         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27340         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27341         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27342         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27343         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27344         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27345         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27346         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27347         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27348         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27349         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27350         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27351         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27352         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27353         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27354         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27355         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27356         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27357         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27358         * sysdeps/x86_64/strcspn.S: Likewise.
27360 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27362         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27363         generated file.  Regenerate properly from gen-translit.pl.
27364         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27365         locale/C-translit.h.
27367 2013-06-05  Andreas Schwab  <schwab@suse.de>
27369         [BZ #15100]
27370         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27371         week as 6 instead of -1.
27372         * time/tst-strptime.c (day_tests): Add test case.
27374 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27376         * sysdeps/generic/math_private.h
27377         (libc_feholdexcept_setround_53bit): Replace with
27378         libc_feholdsetround_53bit.
27379         (libc_feupdateenv_53bit): Replace with
27380         libc_feresetround_53bit.
27381         (SET_RESTORE_ROUND_53BIT): Adjust.
27383 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27385         * string/test-strchrnul.c: Add copyright header.
27387         * posix/tst-getaddrinfo4.c: Increase test timeout.
27389 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27391         [BZ #15536]
27392         * math/libm-test.inc (MAX_EXP): Remove
27393         (MIN_EXP): Define.
27394         (ulp): Use MIN_EXP - MANT_DIG.
27395         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27397 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27399         * po/be.po: Revert last change.
27400         * po/zh_CN.po: Likewise.
27401         * po/header.pot: Likewise.
27403 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27405         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27406         link-libc-deps to empty as target-specific variable.
27407         * Makerules (link-libc-args): New variable.
27408         (libc-for-link): Likewise.
27409         (link-libc-deps): Likewise.
27410         (lib%.so): Depend on $(link-libc-deps).  Link with
27411         $(link-libc-args).
27412         (build-module): Link with $(link-libc-args).
27413         (build-module-asneeded): Likewise.
27414         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27415         list of objects.
27416         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27417         target-specific variable.
27418         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27419         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27420         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27421         libc.
27422         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27423         libc and ld.so.
27424         ($(objpfx)libpcprofile.so): Likewise.
27425         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27426         libc_nonshared.a.
27427         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27428         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27429         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27430         $(link-libc-deps).
27431         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27432         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27433         * login/Makefile ($(objpfx)libutil.so): Likewise.
27434         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27435         * math/Makefile ($(objpfx)libm.so): Likewise.
27436         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27437         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27438         variable instead of depending directly on libc.
27439         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27440         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27441         $(link-libc-deps).
27442         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27443         libc.
27444         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27445         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27446         ($(objpfx)libanl.so): Likewise.
27447         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27448         ld.so.
27449         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27450         $(link-libc-deps).
27451         * sysdeps/i386/fpu/Makefile: Remove file.
27452         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27453         ($(objpfx)libm.so): Remove dependency on ld.so.
27455 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27457         [BZ # 15553]
27458         * nis/yp_xdr.c (XDRMAXNAME): Define.
27459         (XDRMAXRECORD): Define.
27460         (xdr_domainname): Use XDRMAXNAME.
27461         (xdr_mapname): Likewise.
27462         (xdr_peername): Likewise.
27463         (xdr_keydat): Use XDRMAXRECORD.
27464         (xdr_valdat): Likewise.
27466 2013-05-30  Jeff Law  <law@redhat.com>
27468         [BZ #14256]
27469         * manual/errno.texi (ESTALE): Update to account for more than
27470         just NFS file systems.
27471         * sysdeps/gnu/errlist.c: Regenerated.
27473 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27475         [BZ #15465]
27476         * elf/Makefile (tests): Add tst-null-argv.
27477         (modules-names):  Add tst-null-argv-lib.
27478         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27479         (tst-null-argv-ENV): Set environment for tst-null-argv.
27480         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27481         (RTLD_PROGNAME): New macro.
27482         * elf/tst-null-argv.c: New test case.
27483         * elf/tst-null-argv-lib.c: Library for test case.
27484         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27485         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27486         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27487         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27488         * elf/dl-init.c (call_init): Likewise.
27489         (_dl_init): Likewise.
27490         * elf/dl-load.c (print_search_path): Likewise.
27491         (_dl_map_object): Likewise.
27492         * elf/dl-lookup.c (do_lookup_x): Likewise.
27493         (add_dependency): Likewise.
27494         (_dl_lookup_symbol_x): Likewise.
27495         (_dl_debug_bindings): Likewise.
27496         * elf/dl-open.c (_dl_show_scope): Likewise.
27497         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27498         * elf/dl-version.c (match_symbol): Likewise.
27499         (_dl_check_map_versions): Likewise.
27500         * elf/rtld.c (dl_main): Likewise.
27501         (print_unresolved): Use RTLD_PROGNAME.
27502         (print_missing_version): Likewise.
27503         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27504         (elf_machine_rela): Likewise.
27505         * sysdeps/powerpc/powerpc32/dl-machine.c
27506         (__process_machine_rela): Likewise.
27507         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27508         Likewise.
27509         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27510         Likewise.
27511         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27512         Likewise.
27513         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27515         Likewise.
27516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27517         Likewise.
27518         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27520 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27522         * po/be.po: Add descriptive title.
27523         * po/zh_CN.po: Likewise.
27524         * po/header.pot: Likewise.
27526 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27528         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27529         error message.
27530         (enlarge_archive): Likewise.
27532 2013-05-28  Ben North  <ben@redfrontdoor.org>
27534         * manual/arith.texi (frexp): It is the magnitude of the return
27535         value which lies in [0.5, 1), not the return value itself.
27537 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27541 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27543         * stdio-common/bug26.c (main): Correct fscanf template.
27545         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27546         declare _dl_skip_args.
27548         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27549         Don't declare.
27551         * manual/platform.texi: Add missing @end deftypefun.
27553 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27555         [BZ #15529]
27556         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27557         bit of mantissa of 2^16382.
27558         * math/libm-test.inc (hypot_test_data): Add more tests.
27560         * math/libm-test.inc: Add drem and pow10 to list of tested
27561         functions.
27562         (pow10_test): New function.
27563         (drem_test): Likewise.
27564         (drem_test_tonearest): Likewise.
27565         (drem_test_towardzero): Likewise.
27566         (drem_test_downward): Likewise.
27567         (drem_test_upward): Likewise.
27568         (main): Call the new functions.
27570         * math/libm-test.inc (finite_test_data): Remove.
27571         (finite_test): Run tests from isfinite_test_data.
27572         (gamma_test_data): Remove.
27573         (gamma_test): Run tests from lgamma_test_data.
27574         * sysdeps/i386/fpu/libm-test-ulps: Update.
27575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27577 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27579         * manual/platform.texi: Add PowerPC PPR function set documentation.
27580         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27581         implementation.
27583 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27585         * math/libm-test.inc (MAX_EXP): Define.
27586         (ULPDIFF): Define.
27587         (ulp): New function.
27588         (check_float_internal): Use ULPDIFF.
27589         (cpow_test): Disable failing test.
27590         (check_ulp): Test ulp() implemetnation.
27591         (main): Call check_ulp before starting tests.
27593 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27595         * math/gen-libm-test.pl (generate_testfile): Do not handle
27596         START_DATA and END_DATA.
27597         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27598         END_DATA.
27599         (acos_tonearest_test_data): Likewise.
27600         (acos_towardzero_test_data): Likewise.
27601         (acos_downward_test_data): Likewise.
27602         (acos_upward_test_data): Likewise.
27603         (acosh_test_data): Likewise.
27604         (asin_test_data): Likewise.
27605         (asin_tonearest_test_data): Likewise.
27606         (asin_towardzero_test_data): Likewise.
27607         (asin_downward_test_data): Likewise.
27608         (asin_upward_test_data): Likewise.
27609         (asinh_test_data): Likewise.
27610         (atan_test_data): Likewise.
27611         (atanh_test_data): Likewise.
27612         (atan2_test_data): Likewise.
27613         (cabs_test_data): Likewise.
27614         (cacos_test_data): Likewise.
27615         (cacosh_test_data): Likewise.
27616         (carg_test_data): Likewise.
27617         (casin_test_data): Likewise.
27618         (casinh_test_data): Likewise.
27619         (catan_test_data): Likewise.
27620         (catanh_test_data): Likewise.
27621         (cbrt_test_data): Likewise.
27622         (ccos_test_data): Likewise.
27623         (ccosh_test_data): Likewise.
27624         (ceil_test_data): Likewise.
27625         (cexp_test_data): Likewise.
27626         (cimag_test_data): Likewise.
27627         (clog_test_data): Likewise.
27628         (clog10_test_data): Likewise.
27629         (conj_test_data): Likewise.
27630         (copysign_test_data): Likewise.
27631         (cos_test_data): Likewise.
27632         (cos_tonearest_test_data): Likewise.
27633         (cos_towardzero_test_data): Likewise.
27634         (cos_downward_test_data): Likewise.
27635         (cos_upward_test_data): Likewise.
27636         (cosh_test_data): Likewise.
27637         (cosh_tonearest_test_data): Likewise.
27638         (cosh_towardzero_test_data): Likewise.
27639         (cosh_downward_test_data): Likewise.
27640         (cosh_upward_test_data): Likewise.
27641         (cpow_test_data): Likewise.
27642         (cproj_test_data): Likewise.
27643         (creal_test_data): Likewise.
27644         (csin_test_data): Likewise.
27645         (csinh_test_data): Likewise.
27646         (csqrt_test_data): Likewise.
27647         (ctan_test_data): Likewise.
27648         (ctan_tonearest_test_data): Likewise.
27649         (ctan_towardzero_test_data): Likewise.
27650         (ctan_downward_test_data): Likewise.
27651         (ctan_upward_test_data): Likewise.
27652         (ctanh_test_data): Likewise.
27653         (ctanh_tonearest_test_data): Likewise.
27654         (ctanh_towardzero_test_data): Likewise.
27655         (ctanh_downward_test_data): Likewise.
27656         (ctanh_upward_test_data): Likewise.
27657         (erf_test_data): Likewise.
27658         (erfc_test_data): Likewise.
27659         (exp_test_data): Likewise.
27660         (exp_tonearest_test_data): Likewise.
27661         (exp_towardzero_test_data): Likewise.
27662         (exp_downward_test_data): Likewise.
27663         (exp_upward_test_data): Likewise.
27664         (exp10_test_data): Likewise.
27665         (exp2_test_data): Likewise.
27666         (expm1_test_data): Likewise.
27667         (fabs_test_data): Likewise.
27668         (fdim_test_data): Likewise.
27669         (finite_test_data): Likewise.
27670         (floor_test_data): Likewise.
27671         (fma_test_data): Likewise.
27672         (fma_towardzero_test_data): Likewise.
27673         (fma_downward_test_data): Likewise.
27674         (fma_upward_test_data): Likewise.
27675         (fmax_test_data): Likewise.
27676         (fmin_test_data): Likewise.
27677         (fmod_test_data): Likewise.
27678         (fpclassify_test_data): Likewise.
27679         (frexp_test_data): Likewise.
27680         (gamma_test_data): Likewise.
27681         (hypot_test_data): Likewise.
27682         (ilogb_test_data): Likewise.
27683         (isfinite_test_data): Likewise.
27684         (isgreater_test_data): Likewise.
27685         (isgreaterequal_test_data): Likewise.
27686         (isinf_test_data): Likewise.
27687         (isless_test_data): Likewise.
27688         (islessequal_test_data): Likewise.
27689         (islessgreater_test_data): Likewise.
27690         (isnan_test_data): Likewise.
27691         (isnormal_test_data): Likewise.
27692         (issignaling_test_data): Likewise.
27693         (isunordered_test_data): Likewise.
27694         (j0_test_data): Likewise.
27695         (j1_test_data): Likewise.
27696         (jn_test_data): Likewise.
27697         (ldexp_test_data): Likewise.
27698         (lgamma_test_data): Likewise.
27699         (lrint_test_data): Likewise.
27700         (lrint_tonearest_test_data): Likewise.
27701         (lrint_towardzero_test_data): Likewise.
27702         (lrint_downward_test_data): Likewise.
27703         (lrint_upward_test_data): Likewise.
27704         (llrint_test_data): Likewise.
27705         (llrint_tonearest_test_data): Likewise.
27706         (llrint_towardzero_test_data): Likewise.
27707         (llrint_downward_test_data): Likewise.
27708         (llrint_upward_test_data): Likewise.
27709         (log_test_data): Likewise.
27710         (log10_test_data): Likewise.
27711         (log1p_test_data): Likewise.
27712         (log2_test_data): Likewise.
27713         (logb_test_data): Likewise.
27714         (logb_downward_test_data): Likewise.
27715         (lround_test_data): Likewise.
27716         (llround_test_data): Likewise.
27717         (modf_test_data): Likewise.
27718         (nearbyint_test_data): Likewise.
27719         (nextafter_test_data): Likewise.
27720         (nexttoward_test_data): Likewise.
27721         (pow_test_data): Likewise.
27722         (pow_tonearest_test_data): Likewise.
27723         (pow_towardzero_test_data): Likewise.
27724         (pow_downward_test_data): Likewise.
27725         (pow_upward_test_data): Likewise.
27726         (remainder_test_data): Likewise.
27727         (remainder_tonearest_test_data): Likewise.
27728         (remainder_towardzero_test_data): Likewise.
27729         (remainder_downward_test_data): Likewise.
27730         (remainder_upward_test_data): Likewise.
27731         (remquo_test_data): Likewise.
27732         (rint_test_data): Likewise.
27733         (rint_tonearest_test_data): Likewise.
27734         (rint_towardzero_test_data): Likewise.
27735         (rint_downward_test_data): Likewise.
27736         (rint_upward_test_data): Likewise.
27737         (round_test_data): Likewise.
27738         (scalb_test_data): Likewise.
27739         (scalbn_test_data): Likewise.
27740         (scalbln_test_data): Likewise.
27741         (signbit_test_data): Likewise.
27742         (sin_test_data): Likewise.
27743         (sin_tonearest_test_data): Likewise.
27744         (sin_towardzero_test_data): Likewise.
27745         (sin_downward_test_data): Likewise.
27746         (sin_upward_test_data): Likewise.
27747         (sincos_test_data): Likewise.
27748         (sinh_test_data): Likewise.
27749         (sinh_tonearest_test_data): Likewise.
27750         (sinh_towardzero_test_data): Likewise.
27751         (sinh_downward_test_data): Likewise.
27752         (sinh_upward_test_data): Likewise.
27753         (sqrt_test_data): Likewise.
27754         (tan_test_data): Likewise.
27755         (tan_tonearest_test_data): Likewise.
27756         (tan_towardzero_test_data): Likewise.
27757         (tan_downward_test_data): Likewise.
27758         (tan_upward_test_data): Likewise.
27759         (tanh_test_data): Likewise.
27760         (tgamma_test_data): Likewise.
27761         (trunc_test_data): Likewise.
27762         (y0_test_data): Likewise.
27763         (y1_test_data): Likewise.
27764         (yn_test_data): Likewise.
27765         (significand_test_data): Likewise.
27767         * math/gen-libm-test.pl (@functions): Remove variable.
27768         (generate_testfile): Don't handle START and END lines.
27769         * math/libm-test.inc (START): New macro.
27770         (END): Likewise.
27771         (END_COMPLEX): Likewise.
27772         (acos_test): Use END macro without arguments.
27773         (acos_test_tonearest): Likewise.
27774         (acos_test_towardzero): Likewise.
27775         (acos_test_downward): Likewise.
27776         (acos_test_upward): Likewise.
27777         (acosh_test): Likewise.
27778         (asin_test): Likewise.
27779         (asin_test_tonearest): Likewise.
27780         (asin_test_towardzero): Likewise.
27781         (asin_test_downward): Likewise.
27782         (asin_test_upward): Likewise.
27783         (asinh_test): Likewise.
27784         (atan_test): Likewise.
27785         (atanh_test): Likewise.
27786         (atan2_test): Likewise.
27787         (cabs_test): Likewise.
27788         (cacos_test): Use END_COMPLEX macro without arguments.
27789         (cacosh_test): Likewise.
27790         (carg_test): Use END macro without arguments.
27791         (casin_test): Use END_COMPLEX macro without arguments.
27792         (casinh_test): Likewise.
27793         (catan_test): Likewise.
27794         (catanh_test): Likewise.
27795         (cbrt_test): Use END macro without arguments.
27796         (ccos_test): Use END_COMPLEX macro without arguments.
27797         (ccosh_test): Likewise.
27798         (ceil_test): Use END macro without arguments.
27799         (cexp_test): Use END_COMPLEX macro without arguments.
27800         (cimag_test): Use END macro without arguments.
27801         (clog_test): Use END_COMPLEX macro without arguments.
27802         (clog10_test): Likewise.
27803         (conj_test): Likewise.
27804         (copysign_test): Use END macro without arguments.
27805         (cos_test): Likewise.
27806         (cos_test_tonearest): Likewise.
27807         (cos_test_towardzero): Likewise.
27808         (cos_test_downward): Likewise.
27809         (cos_test_upward): Likewise.
27810         (cosh_test): Likewise.
27811         (cosh_test_tonearest): Likewise.
27812         (cosh_test_towardzero): Likewise.
27813         (cosh_test_downward): Likewise.
27814         (cosh_test_upward): Likewise.
27815         (cpow_test): Use END_COMPLEX macro without arguments.
27816         (cproj_test): Likewise.
27817         (creal_test): Use END macro without arguments.
27818         (csin_test): Use END_COMPLEX macro without arguments.
27819         (csinh_test): Likewise.
27820         (csqrt_test): Likewise.
27821         (ctan_test): Likewise.
27822         (ctan_test_tonearest): Likewise.
27823         (ctan_test_towardzero): Likewise.
27824         (ctan_test_downward): Likewise.
27825         (ctan_test_upward): Likewise.
27826         (ctanh_test): Likewise.
27827         (ctanh_test_tonearest): Likewise.
27828         (ctanh_test_towardzero): Likewise.
27829         (ctanh_test_downward): Likewise.
27830         (ctanh_test_upward): Likewise.
27831         (erf_test): Use END macro without arguments.
27832         (erfc_test): Likewise.
27833         (exp_test): Likewise.
27834         (exp_test_tonearest): Likewise.
27835         (exp_test_towardzero): Likewise.
27836         (exp_test_downward): Likewise.
27837         (exp_test_upward): Likewise.
27838         (exp10_test): Likewise.
27839         (exp2_test): Likewise.
27840         (expm1_test): Likewise.
27841         (fabs_test): Likewise.
27842         (fdim_test): Likewise.
27843         (finite_test): Likewise.
27844         (floor_test): Likewise.
27845         (fma_test): Likewise.
27846         (fma_test_towardzero): Likewise.
27847         (fma_test_downward): Likewise.
27848         (fma_test_upward): Likewise.
27849         (fmax_test): Likewise.
27850         (fmin_test): Likewise.
27851         (fmod_test): Likewise.
27852         (fpclassify_test): Likewise.
27853         (frexp_test): Likewise.
27854         (gamma_test): Likewise.
27855         (hypot_test): Likewise.
27856         (ilogb_test): Likewise.
27857         (isfinite_test): Likewise.
27858         (isgreater_test): Likewise.
27859         (isgreaterequal_test): Likewise.
27860         (isinf_test): Likewise.
27861         (isless_test): Likewise.
27862         (islessequal_test): Likewise.
27863         (islessgreater_test): Likewise.
27864         (isnan_test): Likewise.
27865         (isnormal_test): Likewise.
27866         (issignaling_test): Likewise.
27867         (isunordered_test): Likewise.
27868         (j0_test): Likewise.
27869         (j1_test): Likewise.
27870         (jn_test): Likewise.
27871         (ldexp_test): Likewise.
27872         (lgamma_test): Likewise.
27873         (lrint_test): Likewise.
27874         (lrint_test_tonearest): Likewise.
27875         (lrint_test_towardzero): Likewise.
27876         (lrint_test_downward): Likewise.
27877         (lrint_test_upward): Likewise.
27878         (llrint_test): Likewise.
27879         (llrint_test_tonearest): Likewise.
27880         (llrint_test_towardzero): Likewise.
27881         (llrint_test_downward): Likewise.
27882         (llrint_test_upward): Likewise.
27883         (log_test): Likewise.
27884         (log10_test): Likewise.
27885         (log1p_test): Likewise.
27886         (log2_test): Likewise.
27887         (logb_test): Likewise.
27888         (logb_test_downward): Likewise.
27889         (lround_test): Likewise.
27890         (llround_test): Likewise.
27891         (modf_test): Likewise.
27892         (nearbyint_test): Likewise.
27893         (nextafter_test): Likewise.
27894         (nexttoward_test): Likewise.
27895         (pow_test): Likewise.
27896         (pow_test_tonearest): Likewise.
27897         (pow_test_towardzero): Likewise.
27898         (pow_test_downward): Likewise.
27899         (pow_test_upward): Likewise.
27900         (remainder_test): Likewise.
27901         (remainder_test_tonearest): Likewise.
27902         (remainder_test_towardzero): Likewise.
27903         (remainder_test_downward): Likewise.
27904         (remainder_test_upward): Likewise.
27905         (remquo_test): Likewise.
27906         (rint_test): Likewise.
27907         (rint_test_tonearest): Likewise.
27908         (rint_test_towardzero): Likewise.
27909         (rint_test_downward): Likewise.
27910         (rint_test_upward): Likewise.
27911         (round_test): Likewise.
27912         (scalb_test): Likewise.
27913         (scalbn_test): Likewise.
27914         (scalbln_test): Likewise.
27915         (signbit_test): Likewise.
27916         (sin_test): Likewise.
27917         (sin_test_tonearest): Likewise.
27918         (sin_test_towardzero): Likewise.
27919         (sin_test_downward): Likewise.
27920         (sin_test_upward): Likewise.
27921         (sincos_test): Likewise.
27922         (sinh_test): Likewise.
27923         (sinh_test_tonearest): Likewise.
27924         (sinh_test_towardzero): Likewise.
27925         (sinh_test_downward): Likewise.
27926         (sinh_test_upward): Likewise.
27927         (sqrt_test): Likewise.
27928         (tan_test): Likewise.
27929         (tan_test_tonearest): Likewise.
27930         (tan_test_towardzero): Likewise.
27931         (tan_test_downward): Likewise.
27932         (tan_test_upward): Likewise.
27933         (tanh_test): Likewise.
27934         (tgamma_test): Likewise.
27935         (trunc_test): Likewise.
27936         (y0_test): Likewise.
27937         (y1_test): Likewise.
27938         (yn_test): Likewise.
27939         (significand_test): Likewise.
27941 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27943         [BZ #15381]
27944         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27946 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27948         [BZ #14894]
27949         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27950         __ppc_mdoio and __ppc_mdoom.
27951         * manual/platform.texi: Document new functions __ppc_yield,
27952         __ppc_mdoio and __ppc_mdoom.
27954 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27956         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27957         (main): Mention "tls" pseudo-hwcap is legacy.
27958         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27960 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27962         * math/gen-libm-test.pl (parse_args): Output only string of
27963         arguments as text for test name, not full call or descriptions of
27964         tests for extra outputs.
27965         (generate_testfile): Do not pass function name to parse_args.
27966         Generate this_func variable from START.
27967         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27968         field to arg_str.
27969         (struct test_ff_f_data): Likewise.
27970         (test_ff_f_data_nexttoward): Likewise.
27971         (struct test_fi_f_data): Likewise.
27972         (struct test_fl_f_data): Likewise.
27973         (struct test_if_f_data): Likewise.
27974         (struct test_fff_f_data): Likewise.
27975         (struct test_c_f_data): Likewise.
27976         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27977         (struct test_fF_f1_data): Likewise.
27978         (struct test_ffI_f1_data): Likewise.
27979         (struct test_c_c_data): Rename test_name field to arg_str.
27980         (struct test_cc_c_data): Likewise.
27981         (struct test_f_i_data): Likewise.
27982         (struct test_ff_i_data): Likewise.
27983         (struct test_f_l_data): Likewise.
27984         (struct test_f_L_data): Likewise.
27985         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27986         and extra2_name.
27987         (COMMON_TEST_SETUP): New macro.
27988         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27989         (COMMON_TEST_CLEANUP): Likewise.
27990         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27991         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27992         macros.
27993         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27994         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27995         macros.
27996         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27997         (RUN_TEST_fff_f): Take argument string.  Call new setup and
27998         cleanup macros.
27999         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28000         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28001         macros.
28002         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28003         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28004         macros.
28005         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28006         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28007         cleanup macros.
28008         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28009         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28010         cleanup macros.
28011         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28012         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28013         cleanup macros.
28014         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28015         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28016         macros.
28017         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28018         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28019         macros.
28020         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28021         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28022         macros.
28023         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28024         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28025         cleanup macros.
28026         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28027         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28028         cleanup macros.
28029         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28030         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28031         macros.
28032         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28033         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28034         cleanup macros.
28035         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28036         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28037         macros.
28038         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28039         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28040         macros.
28041         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28042         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28043         cleanup macros.
28044         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28046 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28048         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28049         to _sifields.sigfault.
28050         (si_addr_lsb): Define new macro.
28051         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28052         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28053         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28055 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28057         [BZ #15441]
28058         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28059         returns -1.
28060         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28061         null return -1.
28062         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28063         loading the domain.
28065 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28067         * math/gen-libm-test.pl (parse_args): Do not include expected
28068         result in test name.
28069         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28070         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28071         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28072         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28073         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28076 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28078         * benchtests/Makefile: Sort function entries.
28080         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28081         tanh, asinh, acosh, atanh.
28082         * benchtests/acos-inputs: New file.
28083         * benchtests/acosh-inputs: New file.
28084         * benchtests/asin-inputs: New file.
28085         * benchtests/asinh-inputs: New file.
28086         * benchtests/atanh-inputs: New file.
28087         * benchtests/cosh-inputs: New file.
28088         * benchtests/log-inputs: New file.
28089         * benchtests/sinh-inputs: New file.
28090         * benchtests/tanh-inputs: New file.
28092 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28094         [BZ #15339]
28095         * posix/tst-getaddrinfo4.c: New test.
28096         * posix/Makefile (tests): Add it.
28098 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28100         [BZ #15339]
28101         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28102         when no services were used.
28103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28104         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28106 2013-05-21  Andreas Schwab  <schwab@suse.de>
28108         [BZ #15014]
28109         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28110         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28111         successful.
28112         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28113         redundant variable declarations and reallocation of buffer when
28114         parsing as IPv6 address.  Always set NSS status when called from
28115         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28116         buffer too small.  Correct computation of needed size.
28117         * nss/Makefile (tests): Add test-digits-dots.
28118         * nss/test-digits-dots.c: New test.
28120 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28122         * benchtests/Makefile: Remove instructions for adding
28123         benchmark tests.
28124         * benchtests/README: New file to explain how to execute and
28125         enhance the benchmark tests.
28127 2013-05-21  Andreas Schwab  <schwab@suse.de>
28129         [BZ #15493]
28130         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28131         * setjmp/tst-sigsetjmp.c: New test.
28133 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28135         * sysdeps/x86_64/memset.S (memset): New implementation.
28136         (__bzero): Likewise.
28137         (__memset_tail): New function.
28139 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28141         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28142         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28143         __memcpy_sse2_unaligned ifunc selection.
28144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28145         Add memcpy-sse2-unaligned.S.
28146         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28147         Add: __memcpy_sse2_unaligned.
28149 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28151         [BZ #15490]
28152         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28153         math_force_eval before restoring floating-point envrionment.
28154         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28155         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28156         Likewise.
28157         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28158         <math_private.h>.
28159         (__nearbyintl): Use math_force_eval before restoring
28160         floating-point environment.
28161         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28163         * math/gen-libm-test.pl (special_functions): Remove.
28164         (parse_args): Don't handle TEST_extra.  Handle functions with no
28165         return value.
28166         * math/libm-test.inc (struct test_sincos_data): Replace with
28167         struct test_fFF_11_data.
28168         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28169         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28170         (sincos_test_data): Change element type to struct
28171         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28172         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28173         RUN_TEST_LOOP_sincos.
28174         * math/README.libm-test: Don't mention special handling of
28175         individual functions.
28176         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28177         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28178         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28179         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28180         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28183         * math/gen-libm-test.pl (get_variable): Remove function.
28184         (parse_args): Don't show pointer parameters to call in test
28185         names.  Use "extra output N" in test names for extra outputs
28186         rather than naming variables.
28188 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28190         [BZ #15488]
28191         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28192         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28193         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28194         double tests.
28195         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28196         disable.
28197         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28198         check_long_double.
28200         * math/gen-libm-test.pl (@tests): Remove variable.
28201         ($count): Likewise.
28202         (new_test): Remove function.
28203         (show_exceptions): New function.
28204         (special_functions): Use show_exceptions instead of new_test.
28205         (parse_args): Likewise.
28206         (generate_testfile): Pass only function name in generated call to
28207         print_max_error or print_complex_max_error.
28208         (get_ulps): Do not handle complex tests specially.
28209         (output_test): Rename to ...
28210         (get_all_ulps_for_test): ... this.  Return a string rather than
28211         printing to a file.  Require ulps to be present.
28212         (output_ulps): Generate arrays rather than #defines.
28213         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28214         (struct ulp_data): New type.
28215         (BUILD_COMPLEX_ULP): Remove macro.
28216         (compare_ulp_data): New function.
28217         (find_ulps): Likewise.
28218         (find_test_ulps): Likewise.
28219         (find_function_ulps): Likewise.
28220         (find_complex_function_ulps): Likewise.
28221         (print_max_error): Determine allowed ulps using
28222         find_function_ulps.
28223         (print_complex_max_error): Determine allowed ulps using
28224         find_complex_function_ulps.
28225         (check_float_internal): Determine max ulps using find_test_ulps.
28226         (check_float): Do not take max_ulp parameter.  Update call to
28227         check_float_internal.
28228         (check_complex): Likewise.
28229         (check_int): Do not take max_ulp parameter.
28230         (check_long): Likewise.
28231         (check_bool): Likewise.
28232         (check_longlong): Likewise.
28233         (struct test_f_f_data): Remove max_ulp field.
28234         (struct test_ff_f_data): Likewise.
28235         (struct test_ff_f_data_nexttoward): Likewise.
28236         (struct test_fi_f_data): Likewise.
28237         (struct test_fl_f_data): Likewise.
28238         (struct test_if_f_data): Likewise.
28239         (struct test_fff_f_data): Likewise.
28240         (struct test_c_f_data): Likewise.
28241         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28242         (struct test_fF_f1_data): Likewise.
28243         (struct test_ffI_f1_data): Likewise.
28244         (struct test_c_c_data): Remove max_ulp field.
28245         (struct test_cc_c_data): Likewise.
28246         (struct test_f_i_data): Likewise.
28247         (struct test_ff_i_data): Likewise.
28248         (struct test_f_l_data): Likewise.
28249         (struct test_f_L_data): Likewise.
28250         (struct test_sincos_data): Likewise.
28251         (RUN_TEST_f_f): Do not handle ulps.
28252         (RUN_TEST_LOOP_f_f): Likewise.
28253         (RUN_TEST_2_f): Likewise.
28254         (RUN_TEST_LOOP_2_f): Likewise.
28255         (RUN_TEST_fff_f): Likewise.
28256         (RUN_TEST_LOOP_fff_f): Likewise.
28257         (RUN_TEST_c_f): Likewise.
28258         (RUN_TEST_LOOP_c_f): Likewise.
28259         (RUN_TEST_f_f1): Likewise.
28260         (RUN_TEST_LOOP_f_f1): Likewise.
28261         (RUN_TEST_fF_f1): Likewise.
28262         (RUN_TEST_LOOP_fF_f1): Likewise.
28263         (RUN_TEST_fI_f1): Likewise.
28264         (RUN_TEST_LOOP_fI_f1): Likewise.
28265         (RUN_TEST_ffI_f1): Likewise.
28266         (RUN_TEST_LOOP_ffI_f1): Likewise.
28267         (RUN_TEST_c_c): Likewise.
28268         (RUN_TEST_LOOP_c_c): Likewise.
28269         (RUN_TEST_cc_c): Likewise.
28270         (RUN_TEST_LOOP_cc_c): Likewise.
28271         (RUN_TEST_f_i): Likewise.
28272         (RUN_TEST_LOOP_f_i): Likewise.
28273         (RUN_TEST_f_i_tg): Likewise.
28274         (RUN_TEST_LOOP_f_i_tg): Likewise.
28275         (RUN_TEST_ff_i_tg): Likewise.
28276         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28277         (RUN_TEST_f_b): Likewise.
28278         (RUN_TEST_LOOP_f_b): Likewise.
28279         (RUN_TEST_f_b_tg): Likewise.
28280         (RUN_TEST_LOOP_f_b_tg): Likewise.
28281         (RUN_TEST_f_l): Likewise.
28282         (RUN_TEST_LOOP_f_l): Likewise.
28283         (RUN_TEST_f_L): Likewise.
28284         (RUN_TEST_LOOP_f_L): Likewise.
28285         (RUN_TEST_sincos): Likewise.
28286         (RUN_TEST_LOOP_sincos): Likewise.
28288 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28290         [BZ #15480]
28291         [BZ #15485]
28292         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28293         main case of finite arguments, set rounding mode to FE_TONEAREST
28294         and discard exceptions.
28295         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28296         exceptions.
28297         (remainder_tonearest_test_data): New variable.
28298         (remainder_test_tonearest): New function.
28299         (remainder_towardzero_test_data): New variable.
28300         (remainder_test_towardzero): New function.
28301         (remainder_downward_test_data): New variable.
28302         (remainder_test_downward): New function.
28303         (remainder_upward_test_data): New variable.
28304         (remainder_test_upward): New function.
28305         (main): Call the new test functions.
28307         * math/libm-test.inc (struct test_f_f1_data): Remove field
28308         extra_init.
28309         (struct test_fF_f1_data): Likewise.
28310         (struct test_ffI_f1_data): Likewise.
28311         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28312         based on value of EXTRA_EXPECTED.
28313         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28314         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28315         EXTRA_VAR based on value of EXTRA_EXPECTED.
28316         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28317         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28318         EXTRA_VAR based on value of EXTRA_EXPECTED.
28319         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28320         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28321         EXTRA_VAR based on value of EXTRA_EXPECTED.
28322         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28323         * math/gen-libm-test.pl (parse_args): Don't output initializers
28324         for extra output values.
28326         * math/libm-test.inc (check_int): Expect result to be exactly
28327         equal to expected value and do not handle ulps.
28328         (check_long): Likewise.
28329         (check_longlong): Likewise.
28331         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28332         exceptions.
28333         (cimag_test_data): Likewise.
28334         (conj_test_data): Likewise.
28335         (copysign_test_data): Likewise.
28336         (cproj_test_data): Likewise.
28337         (creal_test_data): Likewise.
28338         (fabs_test_data): Likewise.
28339         (fdim_test_data): Likewise.
28340         (finite_test_data): Likewise.
28341         (floor_test_data): Likewise.
28342         (fmax_test_data): Likewise.
28343         (fmin_test_data): Likewise.
28344         (fmod_test_data): Likewise.
28345         (fpclassify_test_data): Likewise.
28346         (frexp_test_data): Likewise.
28347         (ilogb_test_data): Likewise.
28348         (isfinite_test_data): Likewise.
28349         (isgreater_test_data): Likewise.
28350         (isgreaterequal_test_data): Likewise.
28351         (isinf_test_data): Likewise.
28352         (isless_test_data): Likewise.
28353         (islessequal_test_data): Likewise.
28354         (islessgreater_test_data): Likewise.
28355         (isnan_test_data): Likewise.
28356         (isnormal_test_data): Likewise.
28357         (issignaling_test_data): Likewise.
28358         (isunordered_test_data): Likewise.
28359         (ldexp_test_data): Likewise.
28360         (lrint_test_data): Likewise.
28361         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28362         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28363         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28364         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28365         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28366         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28367         test input.
28368         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28369         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28370         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28371         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28372         that test input.
28373         (lrint_downward_test_data): Test for "inexact" exceptions.
28374         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28375         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28376         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28377         test input.
28378         (lrint_upward_test_data): Test for "inexact" exceptions.
28379         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28380         test input.
28381         (llrint_test_data): Test for "inexact" exceptions.
28382         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28383         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28384         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28385         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28386         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28387         (llrint_downward_test_data): Test for "inexact" exceptions.
28388         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28389         (llrint_upward_test_data): Test for "inexact" exceptions.
28390         (logb_test_data): Likewise.
28391         (logb_downward_test_data): Likewise.
28392         (nextafter_test_data): Likewise.
28393         (nexttoward_test_data): Likewise.
28394         (remainder_test_data): Likewise.
28395         (remquo_test_data): Likewise.
28396         (scalbn_test_data): Likewise.
28397         (scalbln_test_data): Likewise.
28398         (signbit_test_data): Likewise.
28399         (sqrt_test_data): Likewise.
28400         (significand_test_data): Likewise.
28402 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28404         [BZ #15424]
28405         * benchtests/bench-modf.c (struct args): Mark arg0 as
28406         volatile.
28407         * scripts/bench.pl: Mark members of struct args as volatile.
28409 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28411         [BZ # 15497]
28412         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28413         negative infinity on POWER6 or lower.
28414         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28416 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28418         [BZ #15442]
28419         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28420         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28421         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28422         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28423         (_FP_SETQNAN): New macro.
28424         (_FP_SETQNAN_SEMIRAW): Likewise.
28425         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28426         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28427         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28428         (FP_EXTEND): Use _FP_FRAC_SNANP.
28429         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28430         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28431         into account.
28432         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28433         New macro.
28434         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28435         Likewise.
28437 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28439         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28440         with DIVIDE_BY_ZERO_EXCEPTION.
28441         (gamma_test_data): Likewise.
28442         (lgamma_test_data): Likewise.
28443         (log_test_data): Likewise.
28444         (log10_test_data): Likewise.
28445         (log2_test_data): Likewise.
28446         (tgamma_test_data): Likewise.
28448         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28449         (acos_test_tonearest): Likewise.
28450         (acos_test_towardzero): Likewise.
28451         (acos_test_downward): Likewise.
28452         (acos_test_upward): Likewise.
28453         (acosh_test): Likewise.
28454         (asin_test): Likewise.
28455         (asin_test_tonearest): Likewise.
28456         (asin_test_towardzero): Likewise.
28457         (asin_test_downward): Likewise.
28458         (asin_test_upward): Likewise.
28459         (asinh_test): Likewise.
28460         (atan_test): Likewise.
28461         (atanh_test): Likewise.
28462         (atan2_test): Likewise.
28463         (cabs_test): Likewise.
28464         (cacos_test): Likewise.
28465         (cacosh_test): Likewise.
28466         (casin_test): Likewise.
28467         (casinh_test): Likewise.
28468         (catan_test): Likewise.
28469         (catanh_test): Likewise.
28470         (cbrt_test): Likewise.
28471         (ccos_test): Likewise.
28472         (ccosh_test): Likewise.
28473         (cexp_test): Likewise.
28474         (clog_test): Likewise.
28475         (clog10_test): Likewise.
28476         (cos_test): Likewise.
28477         (cos_test_tonearest): Likewise.
28478         (cos_test_towardzero): Likewise.
28479         (cos_test_downward): Likewise.
28480         (cos_test_upward): Likewise.
28481         (cosh_test): Likewise.
28482         (cosh_test_tonearest): Likewise.
28483         (cosh_test_towardzero): Likewise.
28484         (cosh_test_downward): Likewise.
28485         (cosh_test_upward): Likewise.
28486         (cpow_test): Likewise.
28487         (csin_test): Likewise.
28488         (csinh_test): Likewise.
28489         (csqrt_test): Likewise.
28490         (ctan_test): Likewise.
28491         (ctan_test_tonearest): Likewise.
28492         (ctan_test_towardzero): Likewise.
28493         (ctan_test_downward): Likewise.
28494         (ctan_test_upward): Likewise.
28495         (ctanh_test): Likewise.
28496         (ctanh_test_tonearest): Likewise.
28497         (ctanh_test_towardzero): Likewise.
28498         (ctanh_test_downward): Likewise.
28499         (ctanh_test_upward): Likewise.
28500         (erf_test): Likewise.
28501         (erfc_test): Likewise.
28502         (exp_test): Likewise.
28503         (exp_test_tonearest): Likewise.
28504         (exp_test_towardzero): Likewise.
28505         (exp_test_downward): Likewise.
28506         (exp_test_upward): Likewise.
28507         (exp10_test): Likewise.
28508         (exp2_test): Likewise.
28509         (expm1_test): Likewise.
28510         (fmod_test): Likewise.
28511         (gamma_test): Likewise.
28512         (hypot_test): Likewise.
28513         (j0_test): Likewise.
28514         (j1_test): Likewise.
28515         (jn_test): Likewise.
28516         (lgamma_test): Likewise.
28517         (log_test): Likewise.
28518         (log10_test): Likewise.
28519         (log1p_test): Likewise.
28520         (log2_test): Likewise.
28521         (logb_test_downward): Likewise.
28522         (pow_test): Likewise.
28523         (pow_test_tonearest): Likewise.
28524         (pow_test_towardzero): Likewise.
28525         (pow_test_downward): Likewise.
28526         (pow_test_upward): Likewise.
28527         (remainder_test): Likewise.
28528         (remquo_test): Likewise.
28529         (sin_test): Likewise.
28530         (sin_test_tonearest): Likewise.
28531         (sin_test_towardzero): Likewise.
28532         (sin_test_downward): Likewise.
28533         (sin_test_upward): Likewise.
28534         (sincos_test): Likewise.
28535         (sinh_test): Likewise.
28536         (sinh_test_tonearest): Likewise.
28537         (sinh_test_towardzero): Likewise.
28538         (sinh_test_downward): Likewise.
28539         (sinh_test_upward): Likewise.
28540         (sqrt_test): Likewise.
28541         (tan_test): Likewise.
28542         (tan_test_tonearest): Likewise.
28543         (tan_test_towardzero): Likewise.
28544         (tan_test_downward): Likewise.
28545         (tan_test_upward): Likewise.
28546         (tanh_test): Likewise.
28547         (tgamma_test): Likewise.
28548         (y0_test): Likewise.
28549         (y1_test): Likewise.
28550         (yn_test): Likewise.
28552         * math/gen-libm-test.pl (adjust_arg): Remove function.
28553         (special_function): Remove argument $in_func.  Only handle
28554         generating output for tables of tests, not inside functions.
28555         (parse_args): Likewise.
28556         (generate_testfile): Remove variable $in_func.  Update call to
28557         parse_args.
28558         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28559         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28560         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28561         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28562         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28563         (MAX_VALUE_INIT): Rename macro to max_value.
28564         (MIN_VALUE_INIT): Rename macro to min_value.
28565         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28566         (plus_zero): Remove variable.
28567         (minus_zero): Likewise.
28568         (plus_infty): Likewise.
28569         (minus_infty): Likewise.
28570         (qnan_value): Likewise.
28571         (max_value): Likewise.
28572         (min_value): Likewise.
28573         (min_subnorm_value): Likewise.
28575 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28577         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28578         uint64_t or uint32_t usage.
28579         * crypt/sha256-block.c: Likewise.
28580         * crypt/sha256-crypt.c: Likewise.
28581         * crypt/sha256.c: Likewise.
28582         * crypt/sha512-block.c: Likewise.
28583         * crypt/sha512-crypt.c: Likewise.
28584         * crypt/sha512.c: Likewise.
28585         * debug/backtrace-tst.c: Likewise.
28586         * debug/pcprofiledump.c: Likewise.
28587         * elf/cache.c: Likewise.
28588         * elf/dl-cache.c: Likewise.
28589         * elf/dl-misc.c: Likewise.
28590         * elf/dl-profile.c: Likewise.
28591         * elf/dl-support.c: Likewise.
28592         * elf/ldconfig.c: Likewise.
28593         * elf/sprof.c: Likewise.
28594         * iconv/dummy-repertoire.c: Likewise.
28595         * iconv/iconv_charmap.c: Likewise.
28596         * iconv/skeleton.c: Likewise.
28597         * iconvdata/8bit-generic.c: Likewise.
28598         * iconvdata/cp737.h: Likewise.
28599         * iconvdata/cp775.h: Likewise.
28600         * iconvdata/ibm1008.h: Likewise.
28601         * iconvdata/ibm1025.h: Likewise.
28602         * iconvdata/ibm1046.h: Likewise.
28603         * iconvdata/ibm1097.h: Likewise.
28604         * iconvdata/ibm1112.h: Likewise.
28605         * iconvdata/ibm1122.h: Likewise.
28606         * iconvdata/ibm1123.h: Likewise.
28607         * iconvdata/ibm1124.h: Likewise.
28608         * iconvdata/ibm1129.h: Likewise.
28609         * iconvdata/ibm1130.h: Likewise.
28610         * iconvdata/ibm1132.h: Likewise.
28611         * iconvdata/ibm1133.h: Likewise.
28612         * iconvdata/ibm1137.h: Likewise.
28613         * iconvdata/ibm1140.h: Likewise.
28614         * iconvdata/ibm1141.h: Likewise.
28615         * iconvdata/ibm1142.h: Likewise.
28616         * iconvdata/ibm1143.h: Likewise.
28617         * iconvdata/ibm1144.h: Likewise.
28618         * iconvdata/ibm1145.h: Likewise.
28619         * iconvdata/ibm1146.h: Likewise.
28620         * iconvdata/ibm1147.h: Likewise.
28621         * iconvdata/ibm1148.h: Likewise.
28622         * iconvdata/ibm1149.h: Likewise.
28623         * iconvdata/ibm1153.h: Likewise.
28624         * iconvdata/ibm1154.h: Likewise.
28625         * iconvdata/ibm1155.h: Likewise.
28626         * iconvdata/ibm1156.h: Likewise.
28627         * iconvdata/ibm1157.h: Likewise.
28628         * iconvdata/ibm1158.h: Likewise.
28629         * iconvdata/ibm1160.h: Likewise.
28630         * iconvdata/ibm1161.h: Likewise.
28631         * iconvdata/ibm1162.h: Likewise.
28632         * iconvdata/ibm1163.h: Likewise.
28633         * iconvdata/ibm1164.h: Likewise.
28634         * iconvdata/ibm1166.h: Likewise.
28635         * iconvdata/ibm1167.h: Likewise.
28636         * iconvdata/ibm12712.h: Likewise.
28637         * iconvdata/ibm1390.h: Likewise.
28638         * iconvdata/ibm1399.h: Likewise.
28639         * iconvdata/ibm16804.h: Likewise.
28640         * iconvdata/ibm4517.h: Likewise.
28641         * iconvdata/ibm4899.h: Likewise.
28642         * iconvdata/ibm4909.h: Likewise.
28643         * iconvdata/ibm4971.h: Likewise.
28644         * iconvdata/ibm5347.h: Likewise.
28645         * iconvdata/ibm803.h: Likewise.
28646         * iconvdata/ibm856.h: Likewise.
28647         * iconvdata/ibm901.h: Likewise.
28648         * iconvdata/ibm902.h: Likewise.
28649         * iconvdata/ibm9030.h: Likewise.
28650         * iconvdata/ibm9066.h: Likewise.
28651         * iconvdata/ibm921.h: Likewise.
28652         * iconvdata/ibm922.h: Likewise.
28653         * iconvdata/ibm9448.h: Likewise.
28654         * iconvdata/isiri-3342.h: Likewise.
28655         * iconvdata/jis0201.h: Likewise.
28656         * include/link.h: Likewise.
28657         * include/netdb.h: Likewise.
28658         * inet/check_native.c: Likewise.
28659         * inet/check_pf.c: Likewise.
28660         * inet/getipv4sourcefilter.c: Likewise.
28661         * inet/getnameinfo.c: Likewise.
28662         * inet/getsourcefilter.c: Likewise.
28663         * inet/htonl.c: Likewise.
28664         * inet/setipv4sourcefilter.c: Likewise.
28665         * inet/setsourcefilter.c: Likewise.
28666         * inet/test-inet6_opt.c: Likewise.
28667         * inet/tst-network.c: Likewise.
28668         * locale/C-collate.c: Likewise.
28669         * locale/C-ctype.c: Likewise.
28670         * locale/C-time.c: Likewise.
28671         * locale/C-translit.h: Likewise.
28672         * locale/loadarchive.c: Likewise.
28673         * locale/programs/3level.h: Likewise.
28674         * locale/programs/charmap.c: Likewise.
28675         * locale/programs/charmap.h: Likewise.
28676         * locale/programs/ld-address.c: Likewise.
28677         * locale/programs/ld-collate.c: Likewise.
28678         * locale/programs/ld-ctype.c: Likewise.
28679         * locale/programs/ld-identification.c: Likewise.
28680         * locale/programs/ld-measurement.c: Likewise.
28681         * locale/programs/ld-messages.c: Likewise.
28682         * locale/programs/ld-monetary.c: Likewise.
28683         * locale/programs/ld-name.c: Likewise.
28684         * locale/programs/ld-numeric.c: Likewise.
28685         * locale/programs/ld-paper.c: Likewise.
28686         * locale/programs/ld-telephone.c: Likewise.
28687         * locale/programs/ld-time.c: Likewise.
28688         * locale/programs/linereader.c: Likewise.
28689         * locale/programs/locale.c: Likewise.
28690         * locale/programs/locarchive.c: Likewise.
28691         * locale/programs/locfile.h: Likewise.
28692         * locale/programs/repertoire.c: Likewise.
28693         * locale/programs/simple-hash.c: Likewise.
28694         * locale/programs/simple-hash.h: Likewise.
28695         * malloc/memusage.c: Likewise.
28696         * malloc/memusagestat.c: Likewise.
28697         * nis/nis_defaults.c: Likewise.
28698         * nis/nis_hash.c: Likewise.
28699         * nis/nis_print.c: Likewise.
28700         * nis/nis_xdr.c: Likewise.
28701         * nscd/connections.c: Likewise.
28702         * nscd/hstcache.c: Likewise.
28703         * nscd/nscd_gethst_r.c: Likewise.
28704         * nscd/nscd_getserv_r.c: Likewise.
28705         * nscd/nscd_helper.c: Likewise.
28706         * nscd/servicescache.c: Likewise.
28707         * nss/makedb.c: Likewise.
28708         * nss/nss_db/db-XXX.c: Likewise.
28709         * nss/nss_db/db-initgroups.c: Likewise.
28710         * nss/nss_db/db-netgrp.c: Likewise.
28711         * nss/nss_files/files-network.c: Likewise.
28712         * nss/nss_files/files-parse.c: Likewise.
28713         * posix/bug-regex5.c: Likewise.
28714         * posix/fnmatch_loop.c: Likewise.
28715         * posix/regcomp.c: Likewise.
28716         * posix/regexec.c: Likewise.
28717         * posix/tst-rfc3484-2.c: Likewise.
28718         * posix/tst-rfc3484-3.c: Likewise.
28719         * posix/tst-rfc3484.c: Likewise.
28720         * resolv/nss_dns/dns-canon.c: Likewise.
28721         * resolv/nss_dns/dns-network.c: Likewise.
28722         * resolv/res_init.c: Likewise.
28723         * resolv/res_mkquery.c: Likewise.
28724         * resolv/tst-aton.c: Likewise.
28725         * stdlib/cxa_atexit.c: Likewise.
28726         * stdlib/cxa_finalize.c: Likewise.
28727         * stdlib/gen-fpioconst.c: Likewise.
28728         * stdlib/strtol_l.c: Likewise.
28729         * string/tst-endian.c: Likewise.
28730         * sunrpc/auth_des.c: Likewise.
28731         * sunrpc/clnt_udp.c: Likewise.
28732         * sunrpc/rtime.c: Likewise.
28733         * sunrpc/svcauth_des.c: Likewise.
28734         * sunrpc/xdr.c: Likewise.
28735         * sunrpc/xdr_intXX_t.c: Likewise.
28736         * sunrpc/xdr_rec.c: Likewise.
28737         * sysdeps/generic/ldconfig.h: Likewise.
28738         * sysdeps/generic/ldsodefs.h: Likewise.
28739         * sysdeps/generic/memusage.h: Likewise.
28740         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28741         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28742         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28743         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28744         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28745         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28746         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28747         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28748         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28749         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28750         * sysdeps/posix/getaddrinfo.c: Likewise.
28751         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28752         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28753         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28754         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28755         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28756         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28757         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28758         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28759         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28760         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28761         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28762         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28763         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28764         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28765         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28766         * sysdeps/x86_64/dl-tls.h: Likewise.
28767         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28768         * time/alt_digit.c: Likewise.
28769         * time/era.c: Likewise.
28770         * wcsmbs/tst-c16c32-1.c: Likewise.
28772 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28774         * math/libm-test.inc (struct test_sincos_data): New type.
28775         (RUN_TEST_LOOP_sincos): New macro.
28776         (sincos_test_data): New variable.
28777         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28779 2013-05-16  Richard Henderson  <rth@redhat.com>
28781         * math/atest-exp2.c (LIMB64): New macro.
28782         (CONSTSZ): New macro.
28783         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28784         (hexdig): Move ...
28785         (print_mpn_fp): ... to function scope.
28786         (read_mpn_hex): Remove.
28787         (get_log2): Remove.
28788         (exp2_mpn): Use mp_log2.
28789         (main): Use mp_exp1.
28791 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28793         * math/libm-test.inc: Remove comment about not testing "inexact"
28794         exceptions.
28795         (INEXACT_EXCEPTION): New macro.
28796         (NO_INEXACT_EXCEPTION): Likewise.
28797         (INVALID_EXCEPTION_OK): Update value.
28798         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28799         (OVERFLOW_EXCEPTION_OK): Likewise.
28800         (UNDERFLOW_EXCEPTION_OK): Likewise.
28801         (IGNORE_ZERO_INF_SIGN): Likewise.
28802         (ERRNO_UNCHANGED): Likewise.
28803         (ERRNO_EDOM): Likewise.
28804         (ERRNO_ERANGE): Likewise.
28805         (test_exceptions): Handle testing "inexact" exceptions.
28806         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28807         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28808         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28809         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28810         INEXACT_EXCEPTION.
28811         (rint_towardzero_test_data): Likewise.
28812         (rint_downward_test_data): Likewise.
28813         (rint_upward_test_data): Likewise.
28815         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28816         with OVERFLOW_EXCEPTION.
28817         (exp10_test_data): Likewise.
28818         (exp2_test_data): Likewise.
28819         (expm1_test_data): Likewise.
28820         (lgamma_test_data): Likewise.
28821         (pow_test_data): Likewise.
28822         (tgamma_test_data): Likewise.
28823         (yn_test_data): Remove duplicate test of overflow.
28825         * math/libm-test.inc (struct test_cc_c_data): New type.
28826         (RUN_TEST_LOOP_cc_c): New macro.
28827         (cpow_test_data): New variable.
28828         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28830         * math/libm-test.inc (struct test_f_L_data): New type.
28831         (RUN_TEST_LOOP_f_L): New macro.
28832         (llrint_test_data): New variable.
28833         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28834         (llrint_tonearest_test_data): New variable.
28835         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28836         (llrint_towardzero_test_data): New variable.
28837         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28838         (llrint_downward_test_data): New variable.
28839         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28840         (llrint_upward_test_data): New variable.
28841         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28842         (llround_test_data): New variable.
28843         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28845 2013-05-13  Peter Collingbourne  <pcc@google.com>
28847         * math/atest-exp2.c (get_log2): Remove const attribute.
28849 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28851         * math/libm-test.inc (struct test_f_l_data): New type.
28852         (RUN_TEST_LOOP_f_l): New macro.
28853         (lrint_test_data): New variable.
28854         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28855         (lrint_tonearest_test_data): New variable.
28856         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28857         (lrint_towardzero_test_data): New variable.
28858         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28859         (lrint_downward_test_data): New variable.
28860         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28861         (lrint_upward_test_data): New variable.
28862         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28863         (lround_test_data): New variable.
28864         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28866 2013-05-15  Peter Collingbourne  <pcc@google.com>
28868         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28869         (EXTRACT_WORDS64) Use where appropriate.
28870         (INSERT_WORDS64) Likewise.
28872         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28873         constraints with x constraints.
28874         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28876         * malloc/obstack.c (_obstack_compat): Add initializer.
28878 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28880         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28881         si_trapno and add si_addr_lsb to _sifields.sigfault.
28882         (si_trapno): Remove macro.
28883         (si_addr_lsb): Define new macro.
28884         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28886 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28888         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28889         instead of TEST_f_l.
28890         (llrint_test_tonearest): Likewise.
28891         (llrint_test_towardzero): Likewise.
28892         (llrint_test_downward): Likewise.
28893         (llrint_test_upward): Likewise.
28894         (llround_test): Likewise.
28896         * math/libm-test.inc (struct test_f_i_data): Add comment.
28897         (RUN_TEST_LOOP_f_b): New macro.
28898         (RUN_TEST_LOOP_f_b_tg): Likewise.
28899         (finite_test_data): New variable.
28900         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28901         (isfinite_test_data): New variable.
28902         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28903         (isinf_test_data): New variable.
28904         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28905         (isnan_test_data): New variable.
28906         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28907         (isnormal_test_data): New variable.
28908         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28909         (issignaling_test_data): New variable.
28910         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28911         (signbit_test_data): New variable.
28912         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28914         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28915         with INVALID_EXCEPTION.
28916         (acosh_test_data): Likewise.
28917         (asin_test_data): Likewise.
28918         (atanh_test_data): Likewise.
28919         (fmod_test_data): Likewise.
28920         (log_test_data): Likewise.
28921         (log10_test_data): Likewise.
28922         (log2_test_data): Likewise.
28923         (pow_test_data): Likewise.
28924         (sqrt_test_data): Likewise.
28925         (y0_test_data): Likewise.
28926         (y1_test_data): Likewise.
28927         (yn_test_data): Likewise.
28929         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28930         function contents.
28932         * math/libm-test.inc (struct test_ff_i_data): New type.
28933         (RUN_TEST_LOOP_ff_i_tg): New macro.
28934         (isgreater_test_data): New variable.
28935         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28936         (isgreaterequal_test_data): New variable.
28937         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28938         (isless_test_data): New variable.
28939         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28940         (islessequal_test_data): New variable.
28941         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28942         (islessgreater_test_data): New variable.
28943         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28944         (isunordered_test_data): New variable.
28945         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28947 2013-05-14  David S. Miller  <davem@davemloft.net>
28949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28951 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28953         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28955         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28956         extra_test to int.
28957         (struct test_f_i_data): Change type of max_ulp to int.
28959         * math/libm-test.inc (test_ffI_f1_data): New type.
28960         (RUN_TEST_LOOP_ffI_f1): New macro.
28961         (remquo_test_data): New variable.
28962         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28964         * setjmp/tst-setjmp-fp.c: New file.
28965         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28966         (link-libm): New variable.
28967         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28969         * math/libm-test.inc (struct test_f_i_data): New type.
28970         (RUN_TEST_LOOP_f_i): New macro.
28971         (RUN_TEST_LOOP_f_i_tg): Likewise.
28972         (fpclassify_test_data): New variable.
28973         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28974         (ilogb_test_data): New variable.
28975         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28977         * math/libm-test.inc (scalbln_test): Correct function name in END
28978         call.
28980         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28981         (RUN_TEST_LOOP_fI_f1): New macro.
28982         (frexp_test_data): New variable.
28983         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28985         * math/libm-test.inc (struct test_fF_f1_data): New type.
28986         (RUN_TEST_LOOP_fF_f1): New macro.
28987         (modf_test_data): New variable.
28988         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28990         * math/libm-test.inc (struct test_f_f1_data): New type.
28991         (RUN_TEST_LOOP_f_f1): New macro.
28992         (gamma_test_data): New variable.
28993         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28994         (lgamma_test_data): New variable.
28995         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28997 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
28999         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29000         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29001         (main): Comment "tls" pseudo-hwcap.
29003 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29005         * math/libm-test.inc (struct test_fl_f_data): New type.
29006         (RUN_TEST_LOOP_fl_f): New variable.
29007         (scalbln_test_data): New variable.
29008         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29010         * math/libm-test.inc (struct test_fi_f_data): New type.
29011         (RUN_TEST_LOOP_fi_f): New macro.
29012         (ldexp_test_data): New variable.
29013         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29014         (scalbn_test_data): New variable.
29015         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29017         * math/libm-test.inc (struct test_c_f_data): New type.
29018         (RUN_TEST_LOOP_c_f): New macro.
29019         (cabs_test_data): New variable.
29020         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29021         (carg_test_data): New variable.
29022         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29023         (cimag_test_data): New variable.
29024         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29025         (creal_test_data): New variable.
29026         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29028         * math/libm-test.inc (struct test_if_f_data): New type.
29029         (RUN_TEST_LOOP_if_f): New macro.
29030         (jn_test_data): New variable.
29031         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29032         (yn_test_data): New variable.
29033         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29035         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29037 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29039         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29040         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29042 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29044         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29045         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29046         (bench-deps): Add bench-timing.h.
29047         * benchtests-bench-skeleton.c: Include bench-timing.h.
29048         (main): Use TIMING_* macros instead of clock_gettime.
29049         * benchtests/bench-timing.h: New file.
29051         [BZ #14582]
29052         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29053         Renamed from _LIB_VERSION.
29054         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29056 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29058         * math/libm-test.inc (struct test_fff_f_data): New type.
29059         (RUN_TEST_LOOP_fff_f): New macro.
29060         (fma_test_data): New variable.
29061         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29062         (fma_towardzero_test_data): New variable.
29063         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29064         (fma_downward_test_data): New variable.
29065         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29066         (fma_upward_test_data): New variable.
29067         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29069         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29070         (struct test_c_c_data): New type.
29071         (RUN_TEST_LOOP_c_c): New macro.
29072         (cacos_test_data): New variable.
29073         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29074         (cacosh_test_data): New variable.
29075         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29076         (casin_test_data): New variable.
29077         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29078         (casinh_test_data): New variable.
29079         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29080         (catan_test_data): New variable.
29081         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29082         (catanh_test_data): New variable.
29083         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29084         (ccos_test_data): New variable.
29085         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29086         (ccosh_test_data): New variable.
29087         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29088         (cexp_test_data): New variable.
29089         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29090         (clog_test_data): New variable.
29091         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29092         (clog10_test_data): New variable.
29093         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29094         (conj_test_data): New variable.
29095         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29096         (cproj_test_data): New variable.
29097         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29098         (csin_test_data): New variable.
29099         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29100         (csinh_test_data): New variable.
29101         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29102         (csqrt_test_data): New variable.
29103         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29104         (ctan_test_data): New variable.
29105         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29106         (ctan_tonearest_test_data): New variable.
29107         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29108         (ctan_towardzero_test_data): New variable.
29109         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29110         (ctan_downward_test_data): New variable.
29111         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29112         (ctan_upward_test_data): New variable.
29113         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29114         (ctanh_test_data): New variable.
29115         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29116         (ctanh_tonearest_test_data): New variable.
29117         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29118         (ctanh_towardzero_test_data): New variable.
29119         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29120         (ctanh_downward_test_data): New variable.
29121         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29122         (ctanh_upward_test_data): New variable.
29123         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29124         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29125         of BUILD_COMPLEX.
29127         * math/libm-test.inc (struct test_ff_f_data): New type.
29128         (struct test_ff_f_data_nexttoward): Likewise.
29129         (RUN_TEST_LOOP_2_f): New macro.
29130         (RUN_TEST_LOOP_ff_f): Likewise.
29131         (atan2_test_data): New variable.
29132         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29133         (copysign_test_data): New variable.
29134         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29135         (fdim_test_data): New variable.
29136         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29137         (fmax_test_data): New variable.
29138         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29139         (fmin_test_data): New variable.
29140         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29141         (fmod_test_data): New variable.
29142         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29143         (hypot_test_data): New variable.
29144         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29145         (nextafter_test_data): New variable.
29146         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29147         (nexttoward_test_data): New variable.
29148         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29149         (pow_test_data): New variable.
29150         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29151         (pow_tonearest_test_data): New variable.
29152         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29153         (pow_towardzero_test_data): New variable.
29154         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29155         (pow_downward_test_data): New variable.
29156         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29157         (pow_upward_test_data): New variable.
29158         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29159         (remainder_test_data): New variable.
29160         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29161         (scalb_test_data): New variable.
29162         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29163         * sysdeps/i386/fpu/libm-test-ulps: Update.
29165 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29167         * math/libm-test.inc (fma_test): Use max_value instead of local
29168         variable fltmax.
29169         (nextafter_test): Likewise.
29171         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29172         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29173         (acos_downward_test_data): New variable.
29174         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29175         (acos_upward_test_data): New variable.
29176         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29177         (acosh_test_data): New variable.
29178         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29179         (asin_test_data): New variable.
29180         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29181         (asin_tonearest_test_data): New variable.
29182         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29183         (asin_towardzero_test_data): New variable.
29184         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29185         (asin_downward_test_data): New variable.
29186         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29187         (asin_upward_test_data): New variable.
29188         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29189         (asinh_test_data): New variable.
29190         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29191         (atan_test_data): New variable.
29192         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29193         (atanh_test_data): New variable.
29194         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29195         (cbrt_test_data): New variable.
29196         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29197         (ceil_test_data): New variable.
29198         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29199         (cos_test_data): New variable.
29200         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29201         (cos_tonearest_test_data): New variable.
29202         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29203         (cos_towardzero_test_data): New variable.
29204         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29205         (cos_downward_test_data): New variable.
29206         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29207         (cos_upward_test_data): New variable.
29208         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29209         (cosh_test_data): New variable.
29210         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29211         (cosh_tonearest_test_data): New variable.
29212         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29213         (cosh_towardzero_test_data): New variable.
29214         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29215         (cosh_downward_test_data): New variable.
29216         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29217         (cosh_upward_test_data): New variable.
29218         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29219         (erf_test_data): New variable.
29220         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29221         (erfc_test_data): New variable.
29222         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29223         (exp_test_data): New variable.
29224         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29225         (exp_tonearest_test_data): New variable.
29226         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29227         (exp_towardzero_test_data): New variable.
29228         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29229         (exp_downward_test_data): New variable.
29230         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29231         (exp_upward_test_data): New variable.
29232         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29233         (exp10_test_data): New variable.
29234         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29235         (exp2_test_data): New variable.
29236         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29237         (expm1_test_data): New variable.
29238         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29239         (fabs_test_data): New variable.
29240         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29241         (floor_test_data): New variable.
29242         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29243         (j0_test_data): New variable.
29244         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29245         (j1_test_data): New variable.
29246         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29247         (log_test_data): New variable.
29248         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29249         (log10_test_data): New variable.
29250         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29251         (log1p_test_data): New variable.
29252         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29253         (log2_test_data): New variable.
29254         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29255         (logb_test_data): New variable.
29256         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29257         (logb_downward_test_data): New variable.
29258         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29259         (nearbyint_test_data): New variable.
29260         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29261         (rint_test_data): New variable.
29262         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29263         (rint_tonearest_test_data): New variable.
29264         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29265         (rint_towardzero_test_data): New variable.
29266         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29267         (rint_downward_test_data): New variable.
29268         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29269         (rint_upward_test_data): New variable.
29270         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29271         (round_test_data): New variable.
29272         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29273         (sin_test_data): New variable.
29274         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29275         (sin_tonearest_test_data): New variable.
29276         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29277         (sin_towardzero_test_data): New variable.
29278         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29279         (sin_downward_test_data): New variable.
29280         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29281         (sin_upward_test_data): New variable.
29282         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29283         (sinh_test_data): New variable.
29284         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29285         (sinh_tonearest_test_data): New variable.
29286         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29287         (sinh_towardzero_test_data): New variable.
29288         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29289         (sinh_downward_test_data): New variable.
29290         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29291         (sinh_upward_test_data): New variable.
29292         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29293         (sqrt_test_data): New variable.
29294         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29295         (tan_test_data): New variable.
29296         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29297         (tan_tonearest_test_data): New variable.
29298         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29299         (tan_towardzero_test_data): New variable.
29300         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29301         (tan_downward_test_data): New variable.
29302         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29303         (tan_upward_test_data): New variable.
29304         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29305         (tanh_test_data): New variable.
29306         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29307         (tgamma_test_data): New variable.
29308         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29309         (trunc_test_data): New variable.
29310         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29311         (y0_test_data): New variable.
29312         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29313         (y1_test_data): New variable.
29314         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29315         (significand_test_data): New variable.
29316         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29318 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29320         [BZ #12387]
29321         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29323 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29325         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29327 2013-05-10  Andreas Jaeger  <aj@suse.de>
29329         [BZ #15448]
29330         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29331         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29333 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29335         * math/gen-libm-test.pl (adjust_arg): New function.
29336         (special_functions): Handle generating output in both functions
29337         and arrays.
29338         (parse_args): Likewise.
29339         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29340         $in_func argument to parse_args.
29341         * math/libm-test.inc (struct test_f_f_data): New type.
29342         (IF_ROUND_INIT_): New macro.
29343         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29344         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29345         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29346         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29347         (ROUND_RESTORE_): Likewise.
29348         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29349         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29350         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29351         (ROUND_RESTORE_FE_UPWARD): Likewise.
29352         (RUN_TEST_LOOP_f_f): New macro.
29353         (acos_test_data): New variable.
29354         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29355         (acos_tonearest_test_data): New variable.
29356         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29358 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29360         * benchtests/bench-skeleton.c (startup): Fix coding style.
29362 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29364         [BZ #6809]
29365         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29366         negative infinity argument.
29367         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29368         negative infinity argument.
29369         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29370         negative infinity argument.
29371         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29372         domain errors.
29374 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29376         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29377         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29378         * iconv/iconv_prog.c (main): Likewise.
29379         * locale/programs/charmap-dir.c (charmap_readdir)
29380         (fopen_uncompressed): Likewise.
29381         * locale/programs/locfile.c (siblings_uncached)
29382         (write_locale_data): Use lstat64 instead of lstat.
29383         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29384         stat.
29386 2013-05-10  Andreas Jaeger  <aj@suse.de>
29388         [BZ #15395]
29389         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29390         localization.
29391         Include <locale.h>.
29393 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29395         * elf/dl-close.c (_dl_close_worker): Add comments.
29397 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29399         [BZ #15359]
29400         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29401         high part of pi/2.
29402         (__ieee754_rem_pio2l): Update comments.
29404         [BZ #15429]
29405         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29406         high part of pi/2.
29407         (__ieee754_rem_pio2l): Update comments.
29409         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29410         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29412         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29413         M_PI_4l.
29415         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29416         (M_PI_34_LOG10El): Likewise.
29417         (M_PI2_LOG10El): Likewise.
29418         (M_PI4_LOG10El): Likewise.
29419         (M_PI_LOG10El): Likewise.
29421 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29425 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29427         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29428         (MINUS_ZERO_INIT): Likewise.
29429         (PLUS_INFTY_INIT): Likewise.
29430         (MINUS_INFTY_INIT): Likewise.
29431         (QNAN_VALUE_INIT): Likewise.
29432         (MAX_VALUE_INIT): Likewise.
29433         (MIN_VALUE_INIT): Likewise.
29434         (MIN_SUBNORM_VALUE_INIT): Likewise.
29435         (plus_zero): Initialize with PLUS_ZERO_INIT.
29436         (minus_zero): Initialize with MINUS_ZERO_INIT.
29437         (plus_infty): Initialize with PLUS_INFTY_INIT.
29438         (minus_infty): Initialize with MINUS_INFTY_INIT.
29439         (qnan_value): Initialize with QNAN_VALUE_INIT.
29440         (max_value): Initialize with MAX_VALUE_INIT.
29441         (min_value): Initialize with MIN_VALUE_INIT.
29442         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29444         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29445         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29446         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29447         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29449         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29450         (RUN_TEST_2_f): Likewise.
29451         (RUN_TEST_ff_f): Likewise.
29452         (RUN_TEST_fi_f): Likewise.
29453         (RUN_TEST_fl_f): Likewise.
29454         (RUN_TEST_fff_f): Likewise.
29455         (RUN_TEST_c_f): Likewise.
29456         (RUN_TEST_f_f1): Likewise.
29457         (RUN_TEST_fF_f1): Likewise.
29458         (RUN_TEST_fI_f1): Likewise.
29459         (RUN_TEST_ffI_f1): Likewise.
29460         (RUN_TEST_c_c): Likewise.
29461         (RUN_TEST_cc_c): Likewise.
29462         (RUN_TEST_f_i): Likewise.
29463         (RUN_TEST_f_i_tg): Likewise.
29464         (RUN_TEST_ff_i_tg): Likewise.
29465         (RUN_TEST_f_b): Likewise.
29466         (RUN_TEST_f_b_tg): Likewise.
29467         (RUN_TEST_f_l): Likewise.
29468         (RUN_TEST_f_L): Likewise.
29469         (RUN_TEST_sincos): Likewise.
29470         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29471         whether to show exceptions.  Do not include ");\n" in return
29472         value.
29473         (special_functions): Output call to RUN_TEST_sincos instead of
29474         check_float calls.  Update calls to new_test.
29475         (parse_args): Output call to single RUN_TEST_* macro instead of
29476         check_* calls and other assignments.  Update calls to new_test.
29478         [BZ #2546]
29479         [BZ #2560]
29480         [BZ #5159]
29481         [BZ #15426]
29482         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29483         input to result for tgamma overflow.
29484         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29485         (gamma_coeff): New variable.
29486         (NCOEFF): New macro.
29487         (gamma_positive): New function.
29488         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29489         underflow here.  Use gamma_positive instead of exp (lgamma) for
29490         other arguments.
29491         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29492         (gamma_coeff): New variable.
29493         (NCOEFF): New macro.
29494         (gammaf_positive): New function.
29495         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29496         underflow here.  Use gamma_positive instead of exp (lgamma) for
29497         other arguments.
29498         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29499         (gamma_coeff): New variable.
29500         (NCOEFF): New macro.
29501         (gammal_positive): New function.
29502         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29503         underflow here.  Use gamma_positive instead of exp (lgamma) for
29504         other arguments.
29505         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29506         (gamma_coeff): New variable.
29507         (NCOEFF): New macro.
29508         (gammal_positive): New function.
29509         (__ieee754_gammal_r): Handle positive infinity, overflow and
29510         underflow here.  Handle NaN the same as positive infinity.  Remove
29511         check x < 0xffffffff for negative integers.  Use gamma_positive
29512         instead of exp (lgamma) for other arguments.
29513         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29514         (gamma_coeff): New variable.
29515         (NCOEFF): New macro.
29516         (gammal_positive): New function.
29517         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29518         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29519         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29520         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29521         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29522         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29523         * sysdeps/generic/math_private.h (__gamma_productf): New
29524         prototype.
29525         (__gamma_product): Likewise.
29526         (__gamma_productl): Likewise.
29527         * math/Makefile (libm-calls): Add gamma_product.
29528         * math/libm-test.inc (tgamma_test): Add more tests.
29529         * sysdeps/i386/fpu/libm-test-ulps: Update.
29530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29532 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29534         * benchtests/bench-skeleton.c (main): Preheat CPU.
29536 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29538         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29540 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29542         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29543         and _dl_skip_args_internal.
29545 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29547         * manual/message.texi (Message Translation): Talk about users.
29548         Message to key mapping impacts design.
29550 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29552         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29554         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29556         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29557         * sysdeps/wordsize-64/glob64.c: ... here.
29559         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29560         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29561         New macros.
29563         * debug/getlogin_r_chk.c: Moved to ...
29564         * login/getlogin_r_chk.c: ... here.
29565         * debug/Makefile (routines): Move getlogin_r_chk to ...
29566         * login/Makefile (routines): ... here.
29567         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29568         * login/Versions (libc: GLIBC_2.4): ... here.
29570         * io/poll.c (__poll): Renamed from poll.
29571         Add libc_hidden_def.
29572         (poll): Define as weak alias.
29574         * debug/ptsname_r_chk.c: Moved to ...
29575         * login/ptsname_r_chk.c: ... here.
29576         * debug/Makefile (routines): Move ptsname_r_chk to ...
29577         * login/Makefile (routines): ... here.
29578         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29579         * login/Versions (libc: GLIBC_2.4): ... here.
29581         * posix/getlogin.c: Moved to ...
29582         * login/getlogin.c: ... here.
29583         * posix/getlogin_r.c: Moved to ...
29584         * login/getlogin_r.c: ... here.
29585         * posix/getlogin_r.c: Moved to ...
29586         * login/getlogin_r.c: ... here.
29587         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29588         * login/Makefile (routines): ... here.
29589         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29590         * login/Versions (libc: GLIBC_2.0): ... here.
29592         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29593         (setrlimit): Define as weak alias.
29595         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29596         Call __ names for open, ftruncate, and close.
29597         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29598         (truncate): Define as weak alias.
29600 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29602         * math/gen-libm-test.pl (parse_args): Initialize x before each
29603         test of frexp, modf and remquo.
29605         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29606         test signgam value.
29608 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29610         [BZ #15418]
29611         [BZ #15419]
29612         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29613         internal tests.
29614         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29616 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29618         * elf/dl-writev.h: New file.
29619         * elf/dl-misc.c: Include it.
29620         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29621         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29623 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29625         * math/libm-test.inc (noXFails): Remove variable.
29626         (noXPasses): Likewise.
29627         (BUILD_COMPLEX_INT): Remove macro.
29628         (print_screen): Remove xfail argument.
29629         (print_screen_max_error): Likewise.
29630         (update_stats): Likewise.
29631         (print_max_error): Likewise.  Update calls to other affected
29632         functions.
29633         (print_complex_max_error): Likewise.
29634         (test_single_exception): Update calls to print_screen.
29635         (test_single_errno): Likewise.
29636         (check_float_internal): Remove xfail argument.  Update calls to
29637         other affected functions.
29638         (check_float): Likewise.
29639         (check_complex): Likewise.
29640         (check_int): Likewise.
29641         (check_long): Likewise.
29642         (check_bool): Likewise.
29643         (check_longlong): Likewise.
29644         (main): Don't print noXFails and noXPasses.
29645         * math/gen-libm-test.pl (top level): Don't mention expected
29646         failure handling in comment.
29647         (new_test): Don't handle expected failures.
29648         (parse_args): Don't mention expected failure handling in comment.
29649         (generate_testfile): Don't handle expected failures.
29650         (parse_ulps): Likewise.
29651         (print_ulps_file): Likewise.
29652         (get_failure): Remove function.
29653         (output_test): Don't handle expected failures.
29654         * make/README.libm-test: Don't mention expected failure handling.
29656         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29657         (minus_zero): Likewise.
29658         (plus_infty): Likewise.
29659         (minus_infty): Likewise.
29660         (qnan_value): Likewise.
29661         (max_value): Likewise.
29662         (min_value): Likewise.
29663         (min_subnorm_value): Likewise.
29664         (initialize): Do not initialize those variables dynamically.
29666 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29668         * io/open.c (__open_2): Moved to ...
29669         * io/open_2.c: ... this new file.
29670         * io/open64.c (__open64_2): Moved to ...
29671         * io/open64_2.c: ... this new file.
29672         * io/openat.c (__openat_2): Moved to ...
29673         * io/openat_2.c: ... this new file.
29674         * io/openat64.c (__openat64_2): Moved to ...
29675         * io/openat64_2.c: ... this new file.
29676         * io/Makefile (routines): Add them.
29677         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29678         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29679         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29680         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29681         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29682         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29683         (__openat64): Add hidden_ver.
29684         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29685         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29687         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29688         Separately conditionalize setting of GLRO(dl_sysinfo) so
29689         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29690         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29692 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29694         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29695         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29696         definition.
29697         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29698         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29699         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29700         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29701         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29703 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29705         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29706         test signgam value.
29708         * math/libm-test.inc (hypot_test): Do not use
29709         IGNORE_ZERO_INF_SIGN.
29711 2013-05-03  Andreas Jaeger  <aj@suse.de>
29713         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29714         Linux 3.9.
29715         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29716         (PF_MAX): Adjust for VSOCK change.
29718 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29722 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29724         [BZ #15264]
29725         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29726         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29727         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29729 2013-05-02  David S. Miller  <davem@davemloft.net>
29731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29733 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29735         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29737 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29739         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29741 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29743         [BZ #14952]
29744         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29745         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29746         Use __attribute__ ((__gnu_inline__)).
29747         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29748         Don't use __attribute__ ((__gnu_inline__)).
29750 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29752         [BZ #15423]
29753         * math/s_catan.c (__catan): Handle small real or imaginary part of
29754         input specially to avoid spurious underflow.
29755         * math/s_catanf.c (__catanf): Likewise.
29756         * math/s_catanh.c (__catanh): Likewise.
29757         * math/s_catanhf.c (__catanhf): Likewise.
29758         * math/s_catanhl.c (__catanhl): Likewise.
29759         * math/s_catanl.c (__catanl): Likewise.
29760         * math/libm-test.inc (catan_test): Add more tests.
29761         (catanh_test): Likewise.
29762         * sysdeps/i386/fpu/libm-test-ulps: Update.
29763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29765 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29769 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29771         [BZ #15416]
29772         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29773         accurately for denominator in atan2.
29774         * math/s_catanf.c (__catanf): Likewise.
29775         * math/s_catanh.c (__catanh): Likewise.
29776         * math/s_catanhf.c (__catanhf): Likewise.
29777         * math/s_catanhl.c (__catanhl): Likewise.
29778         * math/s_catanl.c (__catanl): Likewise.
29779         * math/libm-test.inc (catan_test): Add more tests.
29780         (catanh_test): Likewise.
29781         * sysdeps/i386/fpu/libm-test-ulps: Update.
29782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29784 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29786         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29788         * benchtests/Makefile (bench): Remove slow benchmarks.
29789         * benchtests/atan-inputs: Add slow benchmark inputs.
29790         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29791         (BENCH_FUNC): Accept variant offset.
29792         (VARIANT): Define.
29793         * benchtests/bench-skeleton.c (main): Run benchmark for each
29794         variant.
29795         * benchtests/cos-inputs: Add slow benchmark inputs.
29796         * benchtests/exp-inputs: Likewise.
29797         * benchtests/pow-inputs: Likewise.
29798         * benchtests/sin-inputs: Likewise.
29799         * benchtests/slowatan-inputs: Remove.
29800         * benchtests/slowatan.c: Remove.
29801         * benchtests/slowcos-inputs: Remove.
29802         * benchtests/slowcos.c: Remove.
29803         * benchtests/slowexp-inputs: Remove.
29804         * benchtests/slowexp.c: Remove.
29805         * benchtests/slowpow-inputs: Remove.
29806         * benchtests/slowpow.c: Remove.
29807         * benchtests/slowsin-inputs: Remove.
29808         * benchtests/slowsin.c: Remove.
29809         * benchtests/slowtan-inputs: Remove.
29810         * benchtests/slowtan.c: Remove.
29811         * benchtests/tan-inputs: Add slow benchmark inputs.
29812         * scripts/bench.pl: Parse comments and directives.
29814         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29815         in CPPFLAGS.
29816         ($(objpfx)bench-%.c): Remove *-ITER.
29817         * benchtests/bench-modf.c: Remove definition of ITER.
29818         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29819         (main): Loop for DURATION seconds instead of fixed number of
29820         iterations.
29821         * scripts/bench.pl: Don't expect iterations in parameters.
29823 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29825         * io/fchdir.c (__fchdir): Renamed from fchdir.
29826         (fchdir): Define as weak alias.
29828 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29830         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29831         (ERRNO_EDOM): Likewise.
29832         (ERRNO_ERANGE): Likewise.
29833         (noErrnoTests): New variable.
29834         (init_max_error): Set errno to 0.
29835         (test_single_errno): New function.
29836         (test_errno): Likewise.
29837         (check_float_internal): Call test_errno.  Set errno to 0.
29838         (check_complex): Refer to errno tests in comment.
29839         (check_int): Call test_errno.  Set errno to 0.
29840         (check_long): Likewise.
29841         (check_bool): Likewise.
29842         (check_longlong): Likewise.
29843         (cos_test): Use ERRNO_* flags for errno tests instead of
29844         check_int.
29845         (expm1_test): Likewise.
29846         (fmod_test): Likewise.
29847         (ilogb_test): Likewise.
29848         (lgamma_test): Likewise.
29849         (pow_test): Likewise.
29850         (remainder_test): Likewise.
29851         (sin_test): Likewise.
29852         (tan_test): Likewise.
29853         (yn_test): Likewise.
29854         (initialize): Set errno to 0.
29855         (main): Print number of errno tests.
29856         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29858 2013-04-29  Andreas Jaeger  <aj@suse.de>
29860         [BZ #15084]
29861         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29862         and RES_USEVC.
29864         [BZ #15085]
29865         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29866         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29867         unimplemented.
29869         [BZ #15380]
29870         * stdlib/random.c (__initstate): Return NULL if
29871         __initstate fails.
29873         [BZ #15086]
29874         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29875         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29876         RES_SNGLKUPREOP.
29878 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29882 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29884         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29885         of individual tests.
29886         (casin_test): Likewise.
29887         (casinh_test): Likewise.
29889 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29891         [BZ #15409]
29892         * math/s_catan.c (__catan): Handle arguments with large real or
29893         imaginary part separately without squaring.
29894         * math/s_catanf.c (__catanf): Likewise.
29895         * math/s_catanh.c (__catanh): Likewise.
29896         * math/s_catanhf.c (__catanhf): Likewise.
29897         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29898         and redefine.
29899         (__catanhl): Handle arguments with large real or imaginary part
29900         separately without squaring.
29901         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29902         and redefine.
29903         (__catanl): Handle arguments with large real or imaginary part
29904         separately without squaring.
29905         * math/libm-test.inc (catan_test): Add more tests.
29906         (catanh_test): Likewise.
29907         * sysdeps/i386/fpu/libm-test-ulps: Update.
29908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29910 2013-04-27  Andreas Jaeger  <aj@suse.de>
29912         [BZ #15007]
29913         * stdlib/stdlib.h: Update guards for qecvt.
29914         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29915         <stdlib.h>.
29917 2013-04-27  Allan McRae  <allan@archlinux.org>
29919         * sysdeps/i386/fpu/libm-test-ulps: Update.
29921 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29923         [BZ #15406]
29924         * math/s_catan.c: Include <float.h>.
29925         (__catan): Ensure underflow exception occurs for underflowed
29926         result.
29927         * math/s_catanf.c: Include <float.h>.
29928         (__catanf): Ensure underflow exception occurs for underflowed
29929         result.
29930         * math/s_catanh.c: Include <float.h>.
29931         (__catanh): Ensure underflow exception occurs for underflowed
29932         result.
29933         * math/s_catanhf.c: Include <float.h>.
29934         (__catanhf): Ensure underflow exception occurs for underflowed
29935         result.
29936         * math/s_catanhl.c: Include <float.h>.
29937         (__catanhl): Ensure underflow exception occurs for underflowed
29938         result.
29939         * math/s_catanl.c: Include <float.h>.
29940         (__catanl): Ensure underflow exception occurs for underflowed
29941         result.
29942         * math/libm-test.inc (catan_test): Add more tests.
29943         (catanh_test): Likewise.
29945         [BZ #15405]
29946         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29947         underflowed result.
29948         * math/s_ccoshf.c (__ccoshf): Likewise.
29949         * math/s_ccoshl.c (__ccoshl): Likewise.
29950         * math/s_csin.c (__csin): Likewise.
29951         * math/s_csinf.c (__csinf): Likewise.
29952         * math/s_csinh.c (__csinh): Likewise.
29953         * math/s_csinhf.c (__csinhf): Likewise.
29954         * math/s_csinhl.c (__csinhl): Likewise.
29955         * math/s_csinl.c (__csinl): Likewise.
29956         * math/libm-test.inc (ccos_test): Add more tests.
29957         (ccosh_test): Likewise.
29958         (csin_test): Likewise.
29959         (csinh_test): Likewise.
29961 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29963         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29964         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29965         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29966         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29967         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29968         powerpc/power5+/fpu folders.
29969         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29972 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29976 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29978         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29979         additions to variable.
29980         [$(config-machine) = x86_64] (modules-names): Likewise.
29981         ($(objpfx)tst-audit3): Remove dependency.
29982         ($(objpfx)tst-audit3.out): Likewise.
29983         ($(objpfx)tst-audit4): Likewise.
29984         ($(objpfx)tst-audit4.out): Likewise.
29985         ($(objpfx)tst-audit5): Likewise.
29986         ($(objpfx)tst-audit5.out): Likewise.
29987         ($(objpfx)tst-audit6): Likewise.
29988         ($(objpfx)tst-audit6.out): Likewise.
29989         ($(objpfx)tst-audit7): Likewise.
29990         ($(objpfx)tst-audit7.out): Likewise.
29991         (tst-audit3-ENV): Remove variable.
29992         (tst-audit4-ENV): Likewise.
29993         (tst-audit5-ENV): Likewise.
29994         (tst-audit6-ENV): Likewise.
29995         (tst-audit7-ENV): Likewise.
29996         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29997         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29998         addition to variable.
29999         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30000         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30001         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30002         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30003         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30004         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30005         tst-audit3, tst-audit4 and tst-audit5.
30006         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30007         tst-audit6 and tst-audit7.
30008         [$(subdir) = elf] (modules-names): Add audit modules for those
30009         tests.
30010         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30011         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30012         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30013         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30014         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30015         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30016         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30017         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30018         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30019         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30020         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30021         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30022         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30023         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30024         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30025         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30026         Likewise.
30027         [$(subdir) = elf && $(config-cflags-avx) = yes]
30028         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30029         [$(subdir) = elf && $(config-cflags-avx) = yes]
30030         (CFLAGS-tst-auditmod4a.c): Likewise.
30031         [$(subdir) = elf && $(config-cflags-avx) = yes]
30032         (CFLAGS-tst-auditmod4b.c): Likewise.
30033         [$(subdir) = elf && $(config-cflags-avx) = yes]
30034         (CFLAGS-tst-auditmod6b.c): Likewise.
30035         [$(subdir) = elf && $(config-cflags-avx) = yes]
30036         (CFLAGS-tst-auditmod6c.c): Likewise.
30037         [$(subdir) = elf && $(config-cflags-avx) = yes]
30038         (CFLAGS-tst-auditmod7b.c): Likewise.
30039         * elf/tst-audit3.c: Move to ...
30040         * sysdeps/x86_64/tst-audit3.c: ... here.
30041         * elf/tst-audit4.c: Move to ...
30042         * sysdeps/x86_64/tst-audit4.c: ... here.
30043         * elf/tst-audit5.c: Move to ...
30044         * sysdeps/x86_64/tst-audit5.c: ... here.
30045         * elf/tst-audit6.c: Move to ...
30046         * sysdeps/x86_64/tst-audit6.c: ... here.
30047         * elf/tst-audit7.c: Move to ...
30048         * sysdeps/x86_64/tst-audit7.c: ... here.
30049         * elf/tst-auditmod3a.c: Move to ...
30050         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30051         * elf/tst-auditmod3b.c: Move to ...
30052         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30053         * elf/tst-auditmod4a.c: Move to ...
30054         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30055         * elf/tst-auditmod4b.c: Move to ...
30056         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30057         * elf/tst-auditmod5a.c: Move to ...
30058         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30059         * elf/tst-auditmod5b.c: Move to ...
30060         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30061         * elf/tst-auditmod6a.c: Move to ...
30062         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30063         * elf/tst-auditmod6b.c: Move to ...
30064         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30065         * elf/tst-auditmod6c.c: Move to ...
30066         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30067         * elf/tst-auditmod7a.c: Move to ...
30068         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30069         * elf/tst-auditmod7b.c: Move to ...
30070         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30072 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30074         [BZ #15366]
30075         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30076         define unconditionally.
30077         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30078         define unconditionally.
30079         (INT8_C, INT16_C, etc.): Likewise.
30081 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30083         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30084         __ehdr_start with hidden visibility.
30086         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30088 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30090         * math/libm-test.inc (cos_test): Use accurate hex constants.
30091         (sincost_test): Likewise.
30093 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30095         * math/libm-test.inc (catan_test): Add more tests.
30096         (catanh_test): Likewise.
30098         * math/s_catanf.c (__catanf): Use suffixed floating-point
30099         constants.
30100         * math/s_catanhf.c (__catanhf): Likewise.
30101         * math/s_catanhl.c (__catanhl): Likewise.
30102         * math/s_catanl.c (__catanl): Likewise.
30104         [BZ #15394]
30105         * math/s_catan.c (__catan): Calculate imaginary part of result
30106         with log1p not log unless computing log of number close to 0.
30107         * math/s_catanf.c (__catanf): Likewise.
30108         * math/s_catanl.c (__catanl): Likewise.
30109         * math/s_catanh.c (__catanh): Calculate real part of result with
30110         log1p not log unless computing log of number close to 0.
30111         * math/s_catanhf.c (__catanhf): Likewise.
30112         * math/s_catanhl.c (__catanhl): Likewise.
30113         * math/libm-test.inc (catan_test): Add more tests.
30114         (catanh_test): Likewise.
30115         * sysdeps/i386/fpu/libm-test-ulps: Update.
30116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30118 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30120         * benchtests/Makefile: Mention files in which fast and slow
30121         paths of math functions are implemented.
30123 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30125         * sysdeps/posix/timespec_get.c: New file.
30127 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30129         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30130         POWER.
30131         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30132         for POWER.
30133         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30134         powerpc/power5/fpu folders.
30135         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30136         * benchtests/Makefile: Add modf testcase.
30137         * benchtests/bench-modf.c: New file: Benchmark test for mo
30139 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30141         [BZ #14888]
30142         * time/Makefile (tests): Add tst-strptime-whitespace.
30143         * time/strptime_l.c (get_number): Use ISSPACE.
30144         (__strptime_internal): Likewise.
30145         * time/tst-strptime-whitespace.c: New test case.
30147 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30149         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30150         member.
30151         (_nss_files_init): Set it here.
30153 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30155         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30156         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30157         unsigned.
30159 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30161         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30163 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30165         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30166         size just once.
30168 2013-04-21  David S. Miller  <davem@davemloft.net>
30170         * po/ru.po: Update Russion translation from translation project.
30172 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30174         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30175         and setfsgid.
30177 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30179         * configure.in: Remove i386 configure warning. Remove i386 case.
30180         * configure: Regenerate.
30181         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30182         Add example to error message.
30183         * sysdeps/i386/configure: Regenerate.
30185 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30187         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30188         slowtan.
30189         * benchtests/cos-inputs: New file.
30190         * benchtests/slowcos-inputs: New file.
30191         * benchtests/slowcos.c: New file.
30192         * benchtests/slowtan-inputs: New file.
30193         * benchtests/slowtan.c: New file.
30194         * benchtests/tan-inputs: New file.
30196 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30198         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30199         considered kosher.
30201 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30203         * benchtests/Makefile: Include cppflags-iterator.mk to add
30204         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30206         * Makefile.in (bench-clean): New target.
30207         * benchtests/Makefile (bench-clean): Likewise.
30209 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30211         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30213 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30215         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30217 2013-04-15  Andreas Schwab  <schwab@suse.de>
30219         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30220         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30221         * nscd/pwdcache.c (cache_addpw): Likewise.
30222         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30223         more than recsize.
30225 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30227         * benchtests/Makefile (bench): Write all output to
30228         bench-out.tmp together.
30230 2013-04-15  Andreas Schwab  <schwab@suse.de>
30232         * nscd/nscd.c (main): Don't fork again after closing files.
30234 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30236         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30238         * benchtests/Rules (bench-deps): Collect dependencies into a
30239         single variable.  Add Makefile to dependencies.
30240         ($(objpfx)bench-%.c): Depend on bench-deps.
30242 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30243             Xavier Roche  <roche+kml2@exalead.com>
30245         [BZ #15361]
30246         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30247         just that it's a file descriptor.
30248         * manual/llio.texi (Synchronizing AIO Operations): Update description
30249         for EBADF error from aio_fsync.
30251 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30253         * Rules (bench): Move target definition...
30254         * benchtests/Makefile: ... here.
30256 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30258         * math/libm-test.inc (cos_test): Fix PI/2 test.
30259         (sincos_test): Likewise.
30260         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30261         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30263 2013-04-11  Andreas Schwab  <schwab@suse.de>
30265         [BZ #13988]
30266         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30267         accept exponent character only when digits were seen.
30268         * stdio-common/Makefile (tests): Add bug26.
30269         * stdio-common/bug26.c: New file.
30271         [BZ #14293]
30272         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30273         non-freeable.
30275 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30277         * Makeconfig (rtld-prefix): Define built linker prefix.
30278         * Rules (run-bench): Use it.
30279         * math/Makefile (run-regen-ulps): Likewise.
30281         * Rules (bench): Remove eval.
30283 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30284             Roland McGrath  <roland@hack.frob.com>
30285             Ondrej Bilka  <neleai@seznam.cz>
30287         [BZ #15346]
30288         * time/getdate.c: Include ctype.h and alloca.h.
30289         (__getdate_r): Trim leading and trailing spaces of input.
30290         * time/tst-getdate.c (tests): Add tests with leading and
30291         trailing spaces.
30293 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30295         [BZ #14280]
30296         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30297         when computing value.
30299 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30301         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30302         Use testrun.sh to run libm tests.
30304         [BZ #15309]
30305         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30307 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30309         [BZ #15264]
30310         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30312 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30314         * Makefile.in (regen-ulps): New target.
30315         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30316         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30317         [ifneq (no,$(PERL)] (regen-ulps): New target.
30318         [ifeq (no,$(PERL)] (regen-ulps): New target.
30319         * math/libm-test.inc (ulps_file_name): Define.
30320         (output_dir): New variable.
30321         (options): Add "output-dir" option.
30322         (parse_opt): Handle 'o' case.
30323         (main): If output_dir is non-NULL use it as a prefix
30324         otherwise use "".
30325         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30327 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30329         [BZ #10060, #10062]
30330         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30331         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30332         fail configure if __sync_val_compare_and_swap is not inlined.
30333         * sysdeps/i386/configure: Regenerate.
30334         * configure.in: Build for i686 when configured for i386.
30335         * configure: Regenerate.
30336         * README: Remove i386 reference.
30338 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30340         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30341         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30343 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30345         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30346         (lmsnanval): New variables.
30347         (F): Add conversion tests.
30348         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30349         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30351         * stdio-common/tstdiomisc.c (F): Properly collect individual
30352         tests' results.
30354         [BZ #14686, #15336]
30355         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30356         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30357         Instead, use input NaN values or generate a qNaN by arithmetic
30358         operation.  Also fix bugs to comply with the standard.
30359         * math/libm-test.inc (remainder_test): Add more tests.
30361         [BZ #15335, #15342]
30362         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30364         input NaN values or generate a qNaN by arithmetic operation.
30366         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30367         unreachable code.
30369         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30370         definitions.
30372 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30374         [BZ #14478]
30375         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30376         underflowed result.
30377         * math/s_cexpf.c (__cexpf): Likewise.
30378         * math/s_cexpl.c (__cexpl): Likewise.
30379         * math/libm-test.inc (cexp_test): Add more tests.
30381 2013-04-03  Andreas Schwab  <schwab@suse.de>
30383         [BZ #15330]
30384         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30385         order arrays from heap if bigger than alloca cutoff.
30387 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30389         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30390         (SNAN_TESTS_double): Refer to GCC PR56831.
30391         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30392         GCC PR56828.
30394 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30396         * Rules (bench): Move bench.out after the run is complete.
30398         * Rules (bench): Echo currently running benchmark.
30400         * benchtests/Makefile (bench): Add atan and slowatan.
30401         * benchtests/atan-inputs: New file.
30402         * benchtests/slowatan-inputs: New file.
30403         * benchtests/slowatan.c: New file.
30405         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30406         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30407         its value.
30409         [BZ #15305]
30410         * sysdeps/unix/sysv/linux/kernel-features.h
30411         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30412         __ASSUME_XFS_RESTRICTED_CHOWN.
30413         * sysdeps/unix/sysv/linux/pathconf.c
30414         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30415         Save and restore errno.
30417 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30419         [BZ #15327]
30420         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30421         arguments using __kernel_casinh.
30422         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30423         arguments using __kernel_casinhf.
30424         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30425         arguments using __kernel_casinhl.
30426         * math/libm-test.inc (cacosh_test): Add more tests.
30427         * sysdeps/i386/fpu/libm-test-ulps: Update.
30428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30430 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30432         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30435         * bench/Makefile (bench): Add sin and slowsin.
30436         * benchtests/sin-inputs: New file.
30437         * benchtests/slowsin-inputs: New file.
30438         * benchtests/slowsin.c: New file.
30440         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30441         (bench): Add slowexp and slowpow.
30442         (exp-ITER): Increase iterations.
30443         (pow-ITER): Likewise.
30444         * benchtests/exp-inputs: Change input.
30445         * benchtests/pow-inputs: Likewise.
30446         * benchtests/slowexp-inputs: New file.
30447         * benchtests/slowexp.c: New file.
30448         * benchtests/slowpow-inputs: New file.
30449         * benchtests/slowpow.c: New file.
30451 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30453         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30454         instructions.
30455         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30456         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30457         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30458         * benchtests/Makefile: Add rint benchtest.
30459         * benchtests/rint-inputs: Input for rint benchtest.
30461 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30463         * Versions.def (libm): Add GLIBC_2.18.
30464         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30465         hidden libm prototypes.
30466         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30467         * math/Makefile (libm-calls): Add s_issignaling.
30468         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30469         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30470         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30471         declaration.
30472         * math/math.h [__USE_GNU] (issignaling): New macro.
30473         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30474         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30475         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30476         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30477         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30478         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30479         * manual/arith.texi (issignaling): New section.
30480         * manual/libm-err-tab.pl (@all_functions): Update comment.
30481         * math/gen-libm-test.pl (parse_args): Apply special handling for
30482         issignaling.
30483         * math/libm-test.inc (print_float, issignaling_test): New
30484         functions.
30485         (check_float_internal): Add issignaling checks.
30486         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30487         default definition.
30488         * sysdeps/powerpc/math-tests.h: New file.
30489         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30490         tests.
30491         * math/test-snan.c (TEST_FUNC): Likewise.
30493 2013-03-30  David S. Miller  <davem@davemloft.net>
30495         * po/de.po: Update from translation team.
30497 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30499         [BZ #10357]
30500         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30501         imaginary part less than 1.0 and real part less than 0.5
30502         specially.
30503         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30504         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30505         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30506         (cacos_test): Add more tests.
30507         (casin_test): Likewise.
30508         (casinh_test): Likewise.
30509         * sysdeps/i386/fpu/libm-test-ulps: Update.
30510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30512 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30514         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30515         ONE with its value.
30517         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30518         (__pow_mp): Replace ONE and MONE with their values.
30519         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30520         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30521         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30522         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30523         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30524         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30526         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30528         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30529         (__pow_mp): Replace ZERO and MZERO with their values.
30530         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30531         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30532         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30533         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30534         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30535         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30536         (__sqr): Likewise.
30538         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30540         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30542 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30544         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30545         Declare with __attribute__ ((weak)).
30546         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30547         Call __call_tls_dtors only if it's not NULL.
30549 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30551         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30552         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30553         magic __ehdr_start linker symbol if it's defined.
30554         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30555         them up here if it was already done.
30557         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30558         (_dl_aux_init): Use const in cast when setting it.
30559         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30560         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30561         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30563         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30564         Declare them here.
30565         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30566         * csu/libc-tls.c: Nor here.
30567         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30569         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30570         (__libc_message): Never call vsyslog.
30572 2013-03-28  Alan Modra  <amodra@gmail.com>
30574         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30575         Define as empty.
30576         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30577         Likewise.
30579 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30581         [BZ #15214]
30582         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30583         underflow.
30584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30586 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30588         [BZ #15304]
30589         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30590         Don't add gid passed as argument.
30592         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30594 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30596         [BZ #15307]
30597         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30598         imaginary part between 1.0 and 1.5 and real part less than 0.5
30599         specially.
30600         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30601         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30602         * math/libm-test.inc (cacos_test): Add more tests.
30603         (casin_test): Likewise.
30604         (casinh_test): Likewise.
30605         * sysdeps/i386/fpu/libm-test-ulps: Update.
30606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30608 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30610         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30611         constants.
30612         (norm): Likewise.
30613         (denorm): Likewise.
30614         (__dbl_mp): Likewise.
30615         (add_magnitudes): Likewise.
30616         (sub_magnitudes): Likewise.
30617         (__add): Likewise.
30618         (__sub): Likewise.
30619         (__mul): Likewise.
30620         (__sqr): Likewise.
30621         (__inv): Likewise.
30622         (__dvd): Likewise.
30624         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30625         commented code.
30626         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30627         (__dubcos): Likewise.
30628         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30629         (__ieee754_acos): Likewise.
30630         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30631         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30632         (__exp1): Likewise.
30633         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30634         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30635         (log1): Likewise.
30636         (my_log2): Likewise.
30637         (checkint): Likewise.
30638         * sysdeps/ieee754/dbl-64/e_remainder.c
30639         (__ieee754_remainder): Likewise.
30640         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30641         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30642         (bsloww): Likewise.
30643         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30645         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30646         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30647         MANTISSA_STORE_T to store computations on mantissa.  Use
30648         macros for rounding and division.
30649         (denorm): Likewise.
30650         (__dbl_mp): Likewise.
30651         (add_magnitudes): Likewise.
30652         (sub_magnitudes): Likewise.
30653         (__mul): Likewise.
30654         (__sqr): Likewise.
30655         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30656         powers of two in terms of TWOPOW macro.
30657         (mp_no): Make type of mantissa as MANTISSA_T.
30658         [!RADIXI]: Define RADIXI.
30659         [!TWO52]: Define TWO52.
30660         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30662 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30664         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30665         llroundl symbol when building for PPC32.
30667 2013-03-24  Mark H Weaver  <mhw@netris.org>
30669         * manual/arith.texi (Normalization Functions): Fix prototypes for
30670         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30672 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30674         [BZ #13889]
30675         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30676         high value to check if expl overflow.
30677         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30678         to check for underflow and overflow.
30679         * math/libm-test.inc: Add exp test.
30681 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30683         [BZ #11120]
30684         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30685         with NOT_IN_libc.
30687 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30689         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30690         symbol.
30692 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30694         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30695         wrap blocks consisting of several statements.
30697         * sysdeps/generic/math-tests.h: New file.
30698         * sysdeps/i386/fpu/math-tests.h: Likewise.
30699         * math/test-snan.c: Include it.
30700         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30702 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30704         [BZ #15285]
30705         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30706         (__ieee754_j0l): Do not improve calculations using cos of twice
30707         input for inputs above LDBL_MAX / 2.0L.
30708         (__ieee754_y0l): Likewise.
30709         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30710         (__ieee754_j1l): Do not improve calculations using cos of twice
30711         input for inputs above LDBL_MAX / 2.0L.
30712         (__ieee754_y1l): Likewise.
30713         * math/libm-test.inc (j0_test): Add another test.
30714         (j1_test): Likewise.
30715         (y0_test): Likewise.
30716         (y1_test): Likewise.
30717         * sysdeps/i386/fpu/libm-test-ulps: Update.
30719 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30721         * Rules ($(objpfx)bench-%.c): Include code from a C source
30722         file.
30724 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30726         [BZ #15287]
30727         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30728         imaginary part 1.0 and real part less than 0.5 specially.
30729         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30730         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30731         * math/libm-test.inc (cacos_test): Add more tests.
30732         (casin_test): Likewise.
30733         (casinh_test): Likewise.
30734         * sysdeps/i386/fpu/libm-test-ulps: Update.
30735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30737 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30739         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30740         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30742 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30744         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30745         * config.make.in (config-cflags-sse4): Remove variable.
30746         (config-cflags-avx): Likewise.
30747         (config-cflags-sse2avx): Likewise.
30748         (config-cflags-novzeroupper): Likewise.
30749         (config-asflags-i686): Likewise.
30750         (have-mfma4): Likewise.
30751         (have-as-vis3): Likewise.
30752         (MIG): Likewise.
30753         * configure.in (MIG): Do not AC_SUBST.
30754         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30755         (libc_cv_cc_sse4): Do not AC_SUBST.
30756         (libc_cv_cc_avx): Likewise.
30757         (libc_cv_cc_sse2avx): Likewise.
30758         (libc_cv_cc_novzeroupper): Likewise.
30759         (libc_cv_cc_fma4): Likewise.
30760         (libc_cv_as_i686): Likewise.
30761         (libc_cv_sparc_as_vis3): Likewise.
30762         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30763         LIBC_CONFIG_VAR.
30764         (config-asflags-i686): Likewise.
30765         (config-cflags-avx): Likewise.
30766         (config-cflags-sse2avx): Likewise.
30767         (have-mfma4): Likewise.
30768         (config-cflags-novzeroupper): Likewise.
30769         * sysdeps/mach/configure.in (MIG): Likewise.
30770         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30771         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30772         LIBC_CONFIG_VAR.
30773         (config-cflags-avx): Likewise.
30774         (config-cflags-sse2avx): Likewise.
30775         (have-mfma4): Likewise.
30776         (config-cflags-novzeroupper): Likewise.
30777         * configure: Regenerated.
30778         * sysdeps/i386/configure: Likewise.
30779         * sysdeps/mach/configure: Likewise.
30780         * sysdeps/sparc/configure: Likewise.
30781         * sysdeps/x86_64/configure: Likewise.
30783 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30785         [BZ #14812]
30786         * locale/programs/localedef.c (options): Put N_ translation marker
30787         on argument names, not just descriptions.
30789 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30791         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30793 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30795         [BZ #14176]
30796         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30798 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30800         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30801         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30802         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30803         [!BEFORE_ABORT] (before_abort): New function.
30804         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30805         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30806         (writev_for_fatal): New function.
30807         (WRITEV_FOR_FATAL): New macro; call that.
30808         (backtrace_and_maps): New function.
30809         (BEFORE_ABORT): New macro; call that.
30810         (struct str_list): Type removed.
30811         (__libc_message, __libc_fatal): Functions removed.
30812         Include <sysdeps/posix/libc_fatal.c> instead.
30814 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30816         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30817         constants.
30818         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30819         double constants.
30821 2013-03-19  Andreas Schwab  <schwab@suse.de>
30823         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30824         * sysdeps/gnu/configure: Regenerate.
30826         * configure.in: Substitute libc_cv_rtlddir.
30827         * configure: Regenerate.
30828         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30829         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30830         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30831         * elf/Makefile (install-others, CFLAGS-interp.c)
30832         (ldso_install, common-ldd-rewrite): Likewise.
30833         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30834         $(inst_slibdir)/$(rtld-installed-name).
30835         * scripts/rellns-sh: Add -p option.
30836         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30837         for source.
30839 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30841         * manual/nptl.texi: Renamed to ...
30842         * manual/threads.texi: ... this.
30843         * manual/Makefile (chapters): Update.
30845 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30847         [BZ #14812]
30848         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30849         on argument names, not just descriptions.
30850         * malloc/memusagestat.c (options): Likewise.
30851         * nss/getent.c (options): Likewise.
30853 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30855         [BZ #14812]
30856         * iconv/iconv_prog.c (options): Put N_ translation marker
30857         on argument names, not just descriptions.
30858         * iconv/iconvconfig.c (options): Likewise.
30860 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30862         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30863         implementation which is faster on all x86_64 architectures.
30864         Tested on AMD, Intel Nehalem, SNB, IVB.
30865         * sysdeps/x86_64/strnlen.S: Likewise.
30867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30868         Remove all multiarch strlen and strnlen versions.
30869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30870         Remove strlen and strnlen related parts.
30872         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30873         Inline strlen part.
30874         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30876         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30877         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30878         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30879         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30880         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30881         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30883 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30885         * manual/memory.texi (Malloc Tunable Parameters):
30886         Sort parameters alphabetically. Add comments for missing entries.
30888 2013-03-17  David S. Miller  <davem@davemloft.net>
30890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30892 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30894         [BZ #15283]
30895         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30896         for arguments at most half maximum finite value.
30897         * math/libm-test.inc (j0_test): Add more tests.
30898         (j1_test): Likewise.
30899         (y0_test): Likewise.
30900         (y1_test): Likewise.
30901         * sysdeps/i386/fpu/libm-test-ulps: Update.
30902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30904         [BZ #14155]
30905         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30906         1 / x and functions P and Q for arguments above 0x1p256L.
30907         (__ieee754_y0l): Likewise.
30908         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30909         (__ieee754_y1l): Likewise.
30910         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30911         (j1_test): Likewise.
30912         (y0_test): Likewise.
30913         (y1_test): Likewise.
30915 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30917         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30918         variable.
30920 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30922         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30923         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30924         zero since it's initialized to EXEC_PAGESIZE.
30926         * sysdeps/unix/sysv/linux/ldsodefs.h
30927         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30928         * sysdeps/generic/ldsodefs.h: ... here.
30930 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30932         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30934         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30935         math/test-snan.c.
30936         * math/test-snan.c: Renamed from
30937         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30938         * math/Makefile (tests): Add test-snan.
30939         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30940         test-powerpc-snan.
30942         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30943         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30944         functions.
30945         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30946         __builtin_nan family of functions.
30947         * math/libm-test.inc (initialize): Initialize qnan_value with
30948         __builtin_nan family of functions.
30949         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30950         Remove variables.
30951         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30952         Remove functions.
30953         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30954         storage class.  Initialize qNaN_var and sNaN_var with
30955         __builtin_nan and __builtin_nans families of functions,
30956         respectively.
30958         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30959         (sqrt_test): Remove duplicate test with qNaN input.
30960         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30961         (round_test, signbit_test, significand_test): Note missing +/-Inf
30962         as well as qNaN tests.
30964         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30965         qNaN_var.  Fix a few strings, too.
30966         * math/libm-test.inc (nan_value): Rename to qnan_value.
30967         * math/gen-libm-test.pl (%beautify): Adjust to that.
30968         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30969         * math/test-misc.c (main): Likewise.
30970         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30971         to __qnan_bytes, and __qnan_union, respectively.
30972         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30973         Likewise.
30974         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30975         and lqnanval, respectively.
30976         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30977         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30978         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30979         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30981         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30982         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30983         doubles.
30985         * math/test-misc.c (main): Fix copy'n'pastos.
30986         * misc/tst-efgcvt.c (special): Likewise.
30988         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30989         Remove declarations.
30991 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30993         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30994         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30995         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30996         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30998 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31000         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31001         macro to return vdso values correctly in IFUNC implementations.
31002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31003         Optimization by using IFUNC.
31005 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31006             Richard Henderson  <rth@redhat.com>
31007             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31009         * Makefile.in (bench): New target.
31010         * NEWS: Mention the benchmark framework.
31011         * Rules (bench): Likewise.
31012         (binaries-bench): Generate binaries for functions to
31013         benchmark.
31014         * benchtests/Makefile: New makefile for benchmark tests.
31015         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31016         programs.
31017         * benchtests/exp-inputs: New input file for EXP function.
31018         * benchtests/pow-inputs: New input file for POW function.
31019         * scripts/bench.pl: New script to generate source files for
31020         benchmark programs.
31022 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31024         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31025         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31026         computations on mantissa.  Use macros for rounding and
31027         division.
31028         (denorm): Likewise.
31029         (__dbl_mp): Likewise.
31030         (add_magnitudes): Likewise.
31031         (sub_magnitudes): Likewise.
31032         (__mul): Likewise.
31033         (__sqr): Likewise.
31034         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31035         powers of two in terms of TWOPOW macro.
31036         (mp_no): Make type of mantissa as MANTISSA_T.
31037         [!RADIXI]: Define RADIXI.
31038         [!TWO52]: Define TWO52.
31039         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31041         * manual/nptl.texi (cindex): Modify threads to pthreads.
31043 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31045         * sysdeps/x86_64/preconfigure: Regenerated.
31047 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31049         [BZ #14155]
31050         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31051         0x1p28 and above.
31052         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31053         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31054         0x1p28 and above.
31055         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31056         * math/libm-test.inc (j0_test): Do not allow one spurious
31057         underflow exception.
31058         (y1_test): Likewise.
31060 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31062         * manual/Makefile (chapters): Add nptl.
31063         * manual/debug.texi (Debugging Support): Add link to Threads
31064         chapter.
31065         * manual/nptl.texi: New file.
31067         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31069 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31071         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31072         for non-NULL pointer before the memory validity test. Pointed
31073         out by Holger Brunck <holger.brunck@keymile.com>.
31075 2013-03-13  Andreas Schwab  <schwab@suse.de>
31077         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31078         instead of .os.
31080 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31082         * timezone/zic.c: Update from tzcode 2013b.
31084 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31086         * manual/install.texi (Configuring and compiling):
31087         Mention i686 and i586.
31088         * INSTALL: Regenerate.
31090 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31092         * sysdeps/init_array/elf-init.c: New file.
31093         * csu/elf-init.c
31094         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31095         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31097         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31098         __gmon_start__ as global, but as static with a .preinit_array pointer.
31099         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31100         * sysdeps/init_array/crti.S: New file, empty except for comments.
31101         * sysdeps/init_array/crtn.S: Likewise.
31103 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31105         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31106         definining bcopy.
31107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31108         Remove Prefer_SSE_for_memop.
31109         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31110         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31111         HAS_PREFER_SSE_FOR_MEMOP.
31112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31113         memset-x86-64.
31114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31115         Remove bzero, memset ifunc support.
31116         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31117         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31118         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31119         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31121 2013-03-11  Andreas Schwab  <schwab@suse.de>
31123         [BZ #15234]
31124         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31125         by SHLIB_COMPAT.
31126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31127         (GLIBC_2.16): Remove pthread_atfork.
31129 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31131         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31132         (ptestcases.h): Likewise.
31134 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31136         * Makeconfig ($(common-objpfx)config.status): Depend on
31137         sysdeps/*/preconfigure{,.in} too.
31139 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31141         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31142         (__free_hook): Use void * instead of __malloc_ptr_t.
31143         (__malloc_hook): Likewise.
31144         (__realloc_hook): Likewise.
31145         (__memalign_hook): Likewise.
31146         (__after_morecore_hook): Likewise.
31147         * malloc/arena.c (save_malloc_hook): Likewise.
31148         (save_free_hook): Likewise.
31149         * malloc/hooks.c (malloc_hook_ini): Likewise.
31150         (realloc_hook_ini): Likewise.
31151         (memalign_hook_ini): Likewise.
31152         * malloc/malloc.c (malloc_hook_ini): Likewise.
31153         (realloc_hook_ini): Likewise.
31154         (memalign_hook_ini): Likewise.
31155         (__free_hook): Likewise.
31156         (__malloc_hook): Likewise.
31157         (__realloc_hook): Likewise.
31158         (__memalign_hook): Likewise.
31159         (__libc_malloc): Likewise.
31160         (__libc_free): Likewise.
31161         (__libc_realloc): Likewise.
31162         (__libc_memalign): Likewise.
31163         (__libc_valloc): Likewise.
31164         (__libc_pvalloc): Likewise.
31165         (__libc_calloc): Likewise.
31166         (__posix_memalign): Likewise.
31167         * malloc/morecore.c (__sbrk): Likewise.
31168         (__default_morecore): Likewise.
31170         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31172         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31173         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31174         __malloc_ptrdiff_t.
31176         * malloc/malloc.h (__malloc_size_t): Remove macro.
31177         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31178         __malloc_size_t.
31179         (old_memalign_hook): Likewise.
31180         (old_realloc_hook): Likewise.
31181         (struct hdr): Likewise.
31182         (flood): Likewise.
31183         (mallochook): Likewise.
31184         (memalignhook): Likewise.
31185         (reallochook): Likewise.
31186         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31187         (tr_old_realloc_hook): Likewise.
31188         (tr_old_memalign_hook): Likewise.
31189         (tr_mallochook): Likewise.
31190         (tr_reallochook): Likewise.
31191         (tr_memalignhook): Likewise.
31193 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31195         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31196         default_ldbl_pack and using as default implementation.
31197         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31198         implementation.
31199         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31200         redundant definition.
31201         (ldbl_insert_mantissa): Likewise.
31202         (ldbl_canonicalize): Likewise.
31203         (ldbl_nearbyint): Likewise.
31204         (ldbl_pack): Rename to ldbl_pack_ppc.
31205         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31206         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31207         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31209 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31212         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31213         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31214         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31215         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31216         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31217         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31218         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31220 2013-03-07  Andreas Jaeger  <aj@suse.de>
31222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31223         bits/mman-linux.h.
31225 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31227         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31228         Include mpa.h and declare __MPEXP.
31229         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31230         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31231         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31232         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31233         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31234         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31235         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31237         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31238         (__slowpow): Use long double EXPL and LOGL functions to
31239         compute POW.
31240         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31241         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31242         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31243         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31244         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31245         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31248         intermediate variable to calculate exponent.
31249         (__sqr): Likewise.
31250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31251         Likewise.
31252         (__sqr): Likewise.
31254         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31255         [!NO__SQR]: Define __sqr.
31256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31257         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31258         sysdeps/ieee754/dbl-64/mpa.c.
31259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31261         [BZ #12723]
31262         * posix/Makefile (tests): Add tst-pathconf.
31263         * posix/tst-pathconf.c: New test case.
31264         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31265         _PC_PIPE_BUF.
31266         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31268 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31270         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31272 2013-03-06  Andreas Jaeger  <aj@suse.de>
31274         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31275         definition via __MAP_ANONYMOUS.
31277         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31278         it's not part of Linux headers.
31280         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31281         (MAP_HUGE_MASK): Define.
31283         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31284         Define.
31285         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31287         Define.
31288         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31289         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31290         Define.
31291         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31292         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31293         Define.
31294         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31296         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31297         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31298         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31299         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31300         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31301         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31303         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31304         Handle f2fs.
31306         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31307         Handle f2fs and efivarfs.
31309         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31310         f2fs.
31312         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31313         (EFIVARFS_MAGIC): Add.
31314         (F2FS_LINK_MAX): Add.
31316 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31318         * stdio-common/vfprintf.c: Replace __builtin_expect with
31319         __glibc_unlikely.
31321 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31323         [BZ #13550]
31324         * sysdeps/generic/bp-sym.h: Remove file.
31325         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31326         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31327         <bp-sym.h> and <bp-asm.h>.
31328         (__longjmp): Don't use BP_SYM.
31329         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31330         and <bp-asm.h>.
31331         (memcpy): Don't use BP_SYM.
31332         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31333         <bp-sym.h> and <bp-asm.h>.
31334         (memcpy): Don't use BP_SYM.
31335         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31336         <bp-asm.h>.
31337         (memcpy): Don't use BP_SYM.
31338         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31339         <bp-asm.h>.
31340         (memset): Don't use BP_SYM.
31341         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31342         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31343         (__bzero): Don't use BP_SYM.
31344         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31345         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31346         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31347         <bp-sym.h> and <bp-asm.h>.
31348         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31349         pointers.
31350         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31351         <bp-sym.h> and <bp-asm.h>.
31352         (memcpy): Don't use BP_SYM.
31353         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31354         <bp-sym.h> and <bp-asm.h>.
31355         (memset): Don't use BP_SYM.
31356         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31357         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31358         (__bzero): Don't use BP_SYM.
31359         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31360         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31361         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31362         <bp-sym.h> and <bp-asm.h>.
31363         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31364         pointers.
31365         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31366         <bp-sym.h> and <bp-asm.h>.
31367         (memcpy): Don't use BP_SYM.
31368         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31369         <bp-sym.h> and <bp-asm.h>.
31370         (memset): Don't use BP_SYM.
31371         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31372         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31373         (__bzero): Don't use BP_SYM.
31374         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31375         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31376         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31377         <bp-sym.h> and <bp-asm.h>.
31378         (__memchr): Don't use BP_SYM.
31379         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31380         <bp-sym.h> and <bp-asm.h>.
31381         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31382         pointers.
31383         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31384         <bp-sym.h> and <bp-asm.h>.
31385         (memcpy): Don't use BP_SYM.
31386         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31387         <bp-sym.h> and <bp-asm.h>.
31388         (__mempcpy): Don't use BP_SYM.
31389         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31390         <bp-sym.h> and <bp-asm.h>.
31391         (__memrchr): Don't use BP_SYM.
31392         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31393         <bp-sym.h> and <bp-asm.h>.
31394         (memset): Don't use BP_SYM.
31395         (__bzero): Likewise.
31396         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31397         <bp-sym.h> and <bp-asm.h>.
31398         (__rawmemchr): Don't use BP_SYM.
31399         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31400         <bp-sym.h> and <bp-asm.h>.
31401         (__STRCMP): Don't use BP_SYM.
31402         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31403         <bp-sym.h> and <bp-asm.h>.
31404         (strchr): Don't use BP_SYM.
31405         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31406         <bp-sym.h> and <bp-asm.h>.
31407         (__strchrnul): Don't use BP_SYM.
31408         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31409         <bp-sym.h> and <bp-asm.h>.
31410         (strlen): Don't use BP_SYM.
31411         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31412         <bp-sym.h> and <bp-asm.h>.
31413         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31414         pointers.
31415         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31416         <bp-sym.h> and <bp-asm.h>.
31417         (__strnlen): Don't use BP_SYM.
31418         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31419         <bp-sym.h> and <bp-asm.h>.
31420         (__GI__setjmp): Don't use BP_SYM.
31421         (_setjmp): Likewise.
31422         (__sigsetjmp): Likewise.
31423         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31424         (L(start_addresses)): Don't use BP_SYM.
31425         (_start): Likewise.
31426         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31427         <bp-asm.h>.
31428         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31429         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31430         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31431         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31432         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31433         <bp-asm.h>.
31434         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31435         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31436         about bounded pointers.
31437         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31438         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31439         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31440         <bp-asm.h>.
31441         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31442         about bounded pointers.  Remove GKM FIXME comments.
31443         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31444         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31445         <bp-asm.h>.
31446         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31447         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31448         Remove GKM FIXME comments.
31449         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31450         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31451         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31452         <bp-asm.h>.
31453         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31454         about bounded pointers.  Remove GKM FIXME comment.
31455         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31456         and <bp-asm.h>.
31457         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31458         pointers.
31459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31460         <bp-sym.h> and <bp-asm.h>.
31461         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31463         <bp-sym.h> and <bp-asm.h>.
31464         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31465         comment.
31467 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31469         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31470         call free(NULL).
31472 2013-03-05  David S. Miller  <davem@davemloft.net>
31474         * po/es.po: Update from translation team.
31476 2013-03-05  Andreas Jaeger  <aj@suse.de>
31478         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31479         <bits/mman-linux.h>.
31480         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31481         is fine.
31482         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31483         <bits/mman-linux.h> to end of file.
31484         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31485         is fine.
31486         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31487         <bits/mman-linux.h> to end of file.
31488         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31489         is fine.
31490         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31491         <bits/mman-linux.h> to end of file.
31493         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31494         (MCL_CURRENT, MCL_FUTURE): Define here.
31496 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31498         [BZ #15232]
31499         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31500         attribute_hidden.
31501         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31503 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31505         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31506         fourth parameter needed for rt_sigprocmask syscall.
31507         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31508         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31509         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31510         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31511         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31512         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31514 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31516         [BZ #13550]
31517         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31518         comment about bounded pointers.
31519         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31520         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31522 2013-03-04  Andreas Jaeger  <aj@suse.de>
31524         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31525         common definitions.
31527         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31528         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31529         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31530         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31531         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31532         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31534 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31536         [BZ #15055]
31537         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31538         __ieee754_sqrl instead of __sqrl.
31540 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31542         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31543         * sysdeps/powerpc/fpu_control.h: ... here.
31544         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31545         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31546         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31547         * sysdeps/powerpc/bits/mathinline.h: ... here.
31549 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31551         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31552         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31553         to just [NEED_DL_SYSINFO_DSO].
31554         * elf/dl-support.c: Likewise.
31555         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31556         * elf/rtld.c (dl_main): Likewise.
31557         * elf/setup-vdso.h (setup_vdso): Likewise.
31558         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31559         * sysdeps/unix/sysv/linux/dl-sysdep.c
31560         (_dl_discover_osversion): Likewise.
31562 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31564         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31565         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31567 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31569         * NEWS: Mention libm performance improvements and non-x86 PI
31570         futex support.
31572         * csu/libc-start.c (__pthread_initialize_minimal): Change
31573         function arguments.
31574         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31576 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31578         [BZ #13550]
31579         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31580         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31581         <bp-sym.h> and <bp-asm.h>.
31582         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31583         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31584         and <bp-asm.h>.
31585         (memcpy): Don't use BP_SYM.
31586         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31587         <bp-asm.h>.
31588         (__mpn_add_n): Don't use BP_SYM.
31589         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31590         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31591         and <bp-asm.h>.
31592         (__mpn_addmul_1): Don't use BP_SYM.
31593         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31594         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31595         <bp-sym.h>.
31596         (_setjmp): Don't use BP_SYM.
31597         (__novmx_setjmp): Likewise.
31598         (__GI__setjmp): Likewise.
31599         (__vmx_setjmp): Likewise.
31600         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31601         <bp-sym.h>.
31602         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31603         (__bzero): Don't use BP_SYM.
31604         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31605         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31606         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31607         <bp-sym.h> and <bp-asm.h>.
31608         (memcpy): Don't use BP_SYM.
31609         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31610         <bp-sym.h> and <bp-asm.h>.
31611         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31613         <bp-sym.h> and <bp-asm.h>.
31614         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31615         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31616         <bp-asm.h>.
31617         (__mpn_lshift): Don't use BP_SYM.
31618         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31619         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31620         <bp-asm.h>.
31621         (memset): Don't use BP_SYM.
31622         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31623         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31624         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31625         <bp-asm.h>.
31626         (__mpn_mul_1): Don't use BP_SYM.
31627         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31628         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31629         <bp-sym.h> and <bp-asm.h>.
31630         (memcmp): Don't use BP_SYM.
31631         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31632         <bp-sym.h> and <bp-asm.h>.
31633         (memcpy): Don't use BP_SYM.
31634         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31635         <bp-sym.h> and <bp-asm.h>.
31636         (memset): Don't use BP_SYM.
31637         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31638         <bp-sym.h> and <bp-asm.h>.
31639         (strncmp): Don't use BP_SYM.
31640         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31641         <bp-sym.h> and <bp-asm.h>.
31642         (memcpy): Don't use BP_SYM.
31643         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31644         <bp-sym.h> and <bp-asm.h>.
31645         (memset): Don't use BP_SYM.
31646         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31647         <bp-sym.h> and <bp-asm.h>.
31648         (__memchr): Don't use BP_SYM.
31649         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31650         <bp-sym.h> and <bp-asm.h>.
31651         (memcmp): Don't use BP_SYM.
31652         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31653         <bp-sym.h> and <bp-asm.h>.
31654         (memcpy): Don't use BP_SYM.
31655         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31656         <bp-sym.h> and <bp-asm.h>.
31657         (__mempcpy): Don't use BP_SYM.
31658         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31659         <bp-sym.h> and <bp-asm.h>.
31660         (__memrchr): Don't use BP_SYM.
31661         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31662         <bp-sym.h> and <bp-asm.h>.
31663         (memset): Don't use BP_SYM.
31664         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31665         <bp-sym.h> and <bp-asm.h>.
31666         (__rawmemchr): Don't use BP_SYM.
31667         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31668         <bp-sym.h> and <bp-asm.h>.
31669         (__STRCMP): Don't use BP_SYM.
31670         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31671         <bp-sym.h> and <bp-asm.h>.
31672         (strchr): Don't use BP_SYM.
31673         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31674         <bp-sym.h> and <bp-asm.h>.
31675         (__strchrnul): Don't use BP_SYM.
31676         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31677         <bp-sym.h> and <bp-asm.h>.
31678         (strlen): Don't use BP_SYM.
31679         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31680         <bp-sym.h> and <bp-asm.h>.
31681         (strncmp): Don't use BP_SYM.
31682         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31683         <bp-sym.h> and <bp-asm.h>.
31684         (__strnlen): Don't use BP_SYM.
31685         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31686         <bp-asm.h>.
31687         (__mpn_rshift): Don't use BP_SYM.
31688         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31689         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31690         <bp-sym.h> and <bp-asm.h>.
31691         (__sigsetjmp): Don't use BP_SYM.
31692         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31693         (L(start_addresses)): Don't use BP_SYM.
31694         (_start): Likewise.
31695         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31696         <bp-asm.h>.
31697         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31698         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31699         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31700         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31701         <bp-asm.h>.
31702         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31703         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31704         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31705         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31706         <bp-asm.h>.
31707         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31708         comments.
31709         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31710         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31711         <bp-asm.h>.
31712         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31713         FIXME comments.
31714         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31715         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31716         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31717         <bp-asm.h>.
31718         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31719         comment.
31720         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31721         and <bp-asm.h>.
31722         (strncmp): Don't use BP_SYM,
31723         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31724         <bp-asm.h>.
31725         (__mpn_sub_n): Don't use BP_SYM.
31726         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31727         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31728         and <bp-asm.h>.
31729         (__mpn_submul_1): Don't use BP_SYM.
31730         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31732         <bp-sym.h> and <bp-asm.h>.
31733         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31735         <bp-sym.h> and <bp-asm.h>.
31736         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31737         comment.
31739 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31742         Use ZK to minimize writes to Z.
31743         (sub_magnitudes): Simplify code a bit.
31744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31745         Use ZK to minimize writes to Z.
31746         (sub_magnitudes): Simplify code a bit.
31748 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31750         * csu/gmon-start.c: Add special exception to license text.
31752 2013-02-27  Richard Henderson  <rth@redhat.com>
31754         * scripts/config.guess: Update from config.git.
31755         * scripts/config.sub: Likewise.
31757 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31759         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31761         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31763         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31765         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31767         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31769 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31771         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31772         [$(build-shared = yes].
31774 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31776         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31777         (__mul): Reduce iterations for calculating mantissa.
31779         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31780         MPTWO.
31781         (__mpranred): Likewise.
31783         [BZ #15160]
31784         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31785         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31787 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31789         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31790         Define __attribute__.
31792 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31794         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31795         unused.
31796         * posix/regex_internal.h (__attribute): Remove.
31797         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31798         (re_string_context_at): Likewise.
31799         (bitset_not): Use __attribute__ and mark function as possibly
31800         unused.
31801         (bitset_merge): Likewise.
31802         (bitset_mask): Likewise.
31803         (re_string_char_size_at): Likewise.
31804         (re_string_wchar_at): Likewise.
31805         (re_string_elem_size_at): Likewise.
31807 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31809         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31810         code.
31811         (cc32): Likewise.
31813         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31814         (__acr): Likewise.
31815         (__cpy): Likewise.
31816         (norm): Likewise.
31817         (denorm): Likewise.
31818         (__dbl_mp): Likewise.
31819         (add_magnitudes): Likewise.
31820         (sub_magnitudes): Likewise.
31821         (__mul): Likewise.
31822         (__inv): Likewise.
31824         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31825         style.
31827         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31828         style.
31830         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31831         code.
31833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31834         up changes with default code.
31835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31836         Likewise.
31838 2013-02-24  Allan McRae  <allan@archlinux.org>
31840         * manual/socket.texi (The Internet Namespace): Order menu items
31841         to match that in the file.
31843         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31844         node listing of the info page menu.
31846 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31848         [BZ #13550]
31849         * sysdeps/i386/bp-asm.h: Remove file.
31850         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31851         (PARMS): Do not use macros from bp-asm.h.
31852         (S1): Likewise.
31853         (S2): Likewise.
31854         (SIZE): Likewise.
31855         (__mpn_add_n): Do not use BP_SYM
31856         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31857         "bp-asm.h".
31858         (PARMS): Do not use macros from bp-asm.h.
31859         (S1): Likewise.
31860         (SIZE): Likewise.
31861         (__mpn_addmul_1): Do not use BP_SYM
31862         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31863         "bp-asm.h".
31864         (PARMS): Do not use macros from bp-asm.h.
31865         (SIGMSK): Likewise.
31866         (_setjmp): Likewise.  Do not use BP_SYM.
31867         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31868         "bp-asm.h".
31869         (PARMS): Do not use macros from bp-asm.h.
31870         (SIGMSK): Likewise.
31871         (setjmp): Likewise.  Do not use BP_SYM.
31872         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31873         "bp-asm.h".
31874         (PARMS): Do not use macros from bp-asm.h.
31875         (__frexp): Do not use BP_SYM.
31876         (frexp): Likewise.
31877         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31878         "bp-asm.h".
31879         (PARMS): Do not use macros from bp-asm.h.
31880         (__frexpf): Do not use BP_SYM.
31881         (frexpf): Likewise.
31882         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31883         "bp-asm.h".
31884         (PARMS): Do not use macros from bp-asm.h.
31885         (__frexpl): Do not use BP_SYM.
31886         (frexpl): Likewise.
31887         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31888         "bp-asm.h".
31889         (PARMS): Do not use macros from bp-asm.h.
31890         (__remquo): Do not use BP_SYM.
31891         (remquo): Likewise.
31892         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31893         "bp-asm.h".
31894         (PARMS): Do not use macros from bp-asm.h.
31895         (__remquof): Do not use BP_SYM.
31896         (remquof): Likewise.
31897         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31898         "bp-asm.h".
31899         (PARMS): Do not use macros from bp-asm.h.
31900         (__remquol): Do not use BP_SYM.
31901         (remquol): Likewise.
31902         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31903         "bp-asm.h".
31904         (PARMS): Do not use macros from bp-asm.h.
31905         (DEST): Likewise.
31906         (SRC): Likewise.
31907         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31908         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31909         "bp-asm.h".
31910         (PARMS): Do not use macros from bp-asm.h.
31911         (strlen): Do not use BP_SYM.
31912         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31913         "bp-asm.h".
31914         (PARMS): Do not use macros from bp-asm.h.
31915         (S1): Likewise.
31916         (S2): Likewise.
31917         (SIZE): Likewise.
31918         (__mpn_add_n): Do not use BP_SYM.
31919         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31920         "bp-asm.h".
31921         (PARMS): Do not use macros from bp-asm.h.
31922         (S1): Likewise.
31923         (SIZE): Likewise.
31924         (__mpn_addmul_1): Do not use BP_SYM.
31925         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31926         weak_alias.
31927         (bzero): Likewise.
31928         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31929         "bp-asm.h".
31930         (PARMS): Do not use macros from bp-asm.h.
31931         (S): Likewise.
31932         (SIZE): Likewise.
31933         (__mpn_lshift): Do not use BP_SYM.
31934         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31935         "bp-asm.h".
31936         (PARMS): Do not use macros from bp-asm.h.
31937         (DEST): Likewise.
31938         (SRC): Likewise.
31939         (LEN): Likewise.
31940         (memcpy): Likewise.  Do not use BP_SYM.
31941         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31942         libc_hidden_def and weak_alias.
31943         (mempcpy): Do not use BP_SYM in weak_alias.
31944         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31945         "bp-asm.h".
31946         (PARMS): Do not use macros from bp-asm.h.
31947         (DEST): Likewise.
31948         (LEN): Likewise.
31949         [!BZERO_P] (CHR): Likewise.
31950         (memset): Likewise.  Do not use BP_SYM.
31951         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31952         "bp-asm.h".
31953         (PARMS): Do not use macros from bp-asm.h.
31954         (S1): Likewise.
31955         (SIZE): Likewise.
31956         (__mpn_mul_1): Do not use BP_SYM.
31957         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31958         "bp-asm.h".
31959         (PARMS): Do not use macros from bp-asm.h.
31960         (S): Likewise.
31961         (SIZE): Likewise.
31962         (__mpn_rshift): Do not use BP_SYM.
31963         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31964         "bp-asm.h".
31965         (PARMS): Do not use macros from bp-asm.h.
31966         (STR): Likewise.
31967         (CHR): Likewise.
31968         (strchr): Likewise.  Do not use BP_SYM.
31969         (index): Do not use BP_SYM in weak_alias.
31970         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31971         "bp-asm.h".
31972         (PARMS): Do not use macros from bp-asm.h.
31973         (DEST): Likewise.
31974         (SRC): Likewise.
31975         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31976         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31977         "bp-asm.h".
31978         (PARMS): Do not use macros from bp-asm.h.
31979         (strlen): Do not use BP_SYM.
31980         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31981         "bp-asm.h".
31982         (PARMS): Do not use macros from bp-asm.h.
31983         (S1): Likewise.
31984         (S2): Likewise.
31985         (SIZE): Likewise.
31986         (__mpn_sub_n): Do not use BP_SYM.
31987         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31988         "bp-asm.h".
31989         (PARMS): Do not use macros from bp-asm.h.
31990         (S1): Likewise.
31991         (SIZE): Likewise.
31992         (__mpn_submul_1): Do not use BP_SYM.
31993         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31994         "bp-asm.h".
31995         (PARMS): Do not use macros from bp-asm.h.
31996         (S1): Likewise.
31997         (S2): Likewise.
31998         (SIZE): Likewise.
31999         (__mpn_add_n): Do not use BP_SYM.
32000         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32001         weak_alias.
32002         (bzero): Likewise.
32003         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32004         "bp-asm.h".
32005         (PARMS): Do not use macros from bp-asm.h.
32006         (BLK2): Likewise.
32007         (LEN): Likewise.
32008         (memcmp): Do not use BP_SYM.
32009         (bcmp): Do not use BP_SYM in weak_alias.
32010         * sysdeps/i386/i686/memcpy.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         (LEN): Likewise.
32016         (memcpy): Likewise.  Do not use BP_SYM.
32017         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32018         "bp-asm.h".
32019         (PARMS): Do not use macros from bp-asm.h.
32020         (DEST): Likewise.
32021         (SRC): Likewise.
32022         (LEN): Likewise.
32023         (memmove): Likewise.  Do not use BP_SYM.
32024         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32025         "bp-asm.h".
32026         (PARMS): Do not use macros from bp-asm.h.
32027         (DEST): Likewise.
32028         (SRC): Likewise.
32029         (LEN): Likewise.
32030         (__mempcpy): Likewise.  Do not use BP_SYM.
32031         (mempcpy): Do not use BP_SYM in weak_alias.
32032         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32033         "bp-asm.h".
32034         (PARMS): Do not use macros from bp-asm.h.
32035         (DEST): Likewise.
32036         (LEN): Likewise.
32037         [!BZERO_P] (CHR): Likewise.
32038         (memset): Likewise.  Do not use BP_SYM.
32039         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32040         "bp-asm.h".
32041         (PARMS): Do not use macros from bp-asm.h.
32042         (STR2): Likewise.
32043         (strcmp): Do not use BP_SYM.
32044         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32045         "bp-asm.h".
32046         (PARMS): Do not use macros from bp-asm.h.
32047         (STR): Likewise.
32048         (DELIM): Likewise.
32049         [USE_AS_STRTOK_R] (SAVE): Likewise.
32050         (FUNCTION): Likewise.  Do not use BP_SYM.
32051         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32052         aliases.
32053         (strtok_r): Likewise.
32054         (__GI___strtok_r): Likewise.
32055         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32056         (PARMS): Do not use macros from bp-asm.h.
32057         (S): Likewise.
32058         (SIZE): Likewise.
32059         (__mpn_lshift): Do not use BP_SYM.
32060         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32061         (PARMS): Do not use macros from bp-asm.h.
32062         (STR): Likewise.
32063         (CHR): Likewise.
32064         (__memchr): Do not use BP_SYM.
32065         (memchr): Do not use BP_SYM in weak_alias.
32066         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32067         (PARMS): Do not use macros from bp-asm.h.
32068         (BLK2): Likewise.
32069         (LEN): Likewise.
32070         (memcmp): Do not use BP_SYM.
32071         (bcmp): Do not use BP_SYM in weak_alias.
32072         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32073         (PARMS): Do not use macros from bp-asm.h.
32074         (S1): Likewise.
32075         (SIZE): Likewise.
32076         (__mpn_mul_1): Do not use BP_SYM.
32077         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32078         "bp-asm.h".
32079         (PARMS): Do not use macros from bp-asm.h.
32080         (STR): Likewise.
32081         (CHR): Likewise.
32082         (__rawmemchr): Do not use BP_SYM.
32083         (rawmemchr): Do not use BP_SYM in weak_alias.
32084         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32085         (PARMS): Do not use macros from bp-asm.h.
32086         (S): Likewise.
32087         (SIZE): Likewise.
32088         (__mpn_rshift): Do not use BP_SYM.
32089         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32090         (PARMS): Do not use macros from bp-asm.h.
32091         (SIGMSK): Likewise.
32092         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32093         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32094         (_start): Do not use BP_SYM.
32095         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32096         (PARMS): Do not use macros from bp-asm.h.
32097         (DEST): Likewise.
32098         (SRC): Likewise.
32099         (__stpcpy): Likewise.  Do not use BP_SYM.
32100         (stpcpy): Do not use BP_SYM in weak_alias.
32101         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32102         "bp-asm.h".
32103         (PARMS): Do not use macros from bp-asm.h.
32104         (DEST): Likewise.
32105         (SRC): Likewise.
32106         (LEN): Likewise.
32107         (__stpncpy): Likewise.  Do not use BP_SYM.
32108         (stpncpy): Do not use BP_SYM in weak_alias.
32109         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32110         (PARMS): Do not use macros from bp-asm.h.
32111         (STR): Likewise.
32112         (CHR): Likewise.
32113         (strchr): Likewise.  Do not use BP_SYM.
32114         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32115         "bp-asm.h".
32116         (PARMS): Do not use macros from bp-asm.h.
32117         (STR): Likewise.
32118         (CHR): Likewise.
32119         (__strchrnul): Likewise.  Do not use BP_SYM.
32120         (strchrnul): Do not use BP_SYM in weak_alias.
32121         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32122         "bp-asm.h".
32123         (PARMS): Do not use macros from bp-asm.h.
32124         (STOP): Likewise.
32125         (strcspn): Do not use BP_SYM.
32126         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32127         "bp-asm.h".
32128         (PARMS): Do not use macros from bp-asm.h.
32129         (STR): Likewise.
32130         (STOP): Likewise.
32131         (strpbrk): Likewise.  Do not use BP_SYM.
32132         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32133         "bp-asm.h".
32134         (PARMS): Do not use macros from bp-asm.h.
32135         (STR): Likewise.
32136         (CHR): Likewise.
32137         (strrchr): Likewise.  Do not use BP_SYM.
32138         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32139         (PARMS): Do not use macros from bp-asm.h.
32140         (SKIP): Likewise.
32141         (strspn): Do not use BP_SYM.
32142         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32143         (PARMS): Do not use macros from bp-asm.h.
32144         (STR): Likewise.
32145         (DELIM): Likewise.
32146         (SAVE): Likewise.
32147         (FUNCTION): Likewise.  Do not use BP_SYM.
32148         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32149         aliases.
32150         (strtok_r): Likewise.
32151         (__GI___strtok_r): Likewise.
32152         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32153         (PARMS): Do not use macros from bp-asm.h.
32154         (S1): Likewise.
32155         (S2): Likewise.
32156         (SIZE): Likewise.
32157         (__mpn_sub_n): Do not use BP_SYM.
32158         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32159         "bp-asm.h".
32160         (PARMS): Do not use macros from bp-asm.h.
32161         (S1): Likewise.
32162         (SIZE): Likewise.
32163         (__mpn_submul_1): Do not use BP_SYM.
32164         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32165         <bp-sym.h>.
32166         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32167         and <bp-asm.h>.
32168         (PARMS): Do not use macros from bp-asm.h.
32169         (FLAGS): Likewise.
32170         (PTID): Likewise.
32171         (TLS): Likewise.
32172         (CTID): Likewise.
32173         (__clone): Do not use BP_SYM.
32174         (clone): Do not use BP_SYM in weak_alias.
32175         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32176         and <bp-asm.h>.
32177         (PARMS): Do not use macros from bp-asm.h.
32178         (LEN): Likewise.
32179         (__mmap64): Do not use BP_SYM.
32180         (mmap64): Do not use BP_SYM in weak_alias.
32181         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32182         <bp-sym.h> and <bp-asm.h>.
32183         (PARMS): Do not use macros from bp-asm.h.
32184         (__posix_fadvise64_l64): Do not use BP_SYM.
32185         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32186         (PARMS): Do not use macros from bp-asm.h.
32187         (NSOPS): Likewise.
32188         (semtimedop): Do not use BP_SYM.
32189         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32190         and <bp-asm.h>.
32192 2013-02-21  Allan McRae  <allan@archlinux.org>
32194         * manual/message.texi (Charset conversion in gettext):
32195         Move @end statement to beginning of line.
32197 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32200         static.
32201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32202         Likewise.
32204         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32205         (denorm): Likewise.
32206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32209 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32211         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32212         tail-call to the resolved function if pltexit isn't needed.
32214 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32217         or Y being zero as being unlikely.
32218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32219         Likewise.
32221 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32223         * manual/nss.texi (System Databases and Name Service Switch):
32224         Remove frobnicate @pxref.
32226 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32228         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32229         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32231 2013-02-20  Petr Machata  <pmachata@redhat.com>
32233         * elf/elf.h (R_ARM_TARGET1): New macro.
32234         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32235         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32236         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32237         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32238         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32239         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32240         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32241         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32242         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32243         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32244         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32245         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32246         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32247         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32248         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32249         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32250         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32251         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32252         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32253         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32254         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32255         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32256         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32257         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32258         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32259         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32260         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32261         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32262         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32263         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32264         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32265         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32266         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32267         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32268         (R_ARM_THM_GOT_BREL12): Likewise.
32269         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32270         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32271         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32272         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32273         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32274         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32275         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32276         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32277         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32279 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32281         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32282         __attribute_used__ to __attribute__ ((unused)).
32284 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32286         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32287         powerpc mpa.c.
32288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32289         comment formatting.
32290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32292 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32294         [BZ #13550]
32295         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32296         Remove macro.
32297         (ENTER): Remove both macro definitions.
32298         (LEAVE): Likewise.
32299         (CHECK_BOUNDS_LOW): Likewise.
32300         (CHECK_BOUNDS_HIGH): Likewise.
32301         (CHECK_BOUNDS_BOTH): Likewise.
32302         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32303         (RETURN_BOUNDED_POINTER): Likewise.
32304         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32305         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32306         (POP_ERRNO_LOCATION_RETURN): Likewise.
32307         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32308         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32309         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32310         macros.
32311         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32312         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32313         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32314         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32315         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32316         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32317         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32318         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32319         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32320         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32321         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32322         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32323         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32324         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32325         removed macros.
32326         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32327         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32328         macros.
32329         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32330         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32331         * sysdeps/i386/i586/memset.S (memset): Likewise.
32332         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32333         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32334         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32335         macros.
32336         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32337         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32338         Change uses of L(2) to L(out).
32339         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32340         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32341         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32342         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32343         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32344         removed macros.
32345         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32346         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32347         macros.
32348         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32349         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32350         (RETURN): Do not use macro LEAVE.
32351         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32352         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32353         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32354         * sysdeps/i386/i686/memset.S (memset): Likewise.
32355         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32356         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32357         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32358         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32359         Likewise.
32360         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32361         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32362         L(1_2) and L(1_3) into L(1).
32363         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32364         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32365         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32366         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32367         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32368         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32369         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32370         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32371         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32372         macros.
32373         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32374         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32375         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32376         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32377         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32378         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32379         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32380         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32381         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32382         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32383         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32384         * sysdeps/i386/strspn.S (strspn): Likewise.
32385         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32386         conditional code.
32387         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32388         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32389         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32390         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32391         L(1_3) into L(1_1).
32392         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32393         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32394         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32395         macros.
32396         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32398 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32400         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32401         macro.
32403 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32405         * math/atest-exp.c (exp_mpn): Remove ROUND.
32406         * math/atest-exp2.c (exp_mpn): Likewise.
32407         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32409         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32410         * stdlib/tst-tls-atexit-lib.c: Likewise.
32411         * stdlib/tst-tls-atexit.c: Likewise.
32413 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32415         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32416         and __attribute_alloc_size__.
32418 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32420         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32421         __attribute_alloc_size__.
32422         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32423         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32425 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32427         * include/programs/xmalloc.h: New file.
32428         * catgets/gencat.c: Include it.
32429         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32430         * elf/pldd.c: Likewise.
32431         * iconv/iconv_charmap.c: Likewise.
32432         * iconv/iconvconfig.c: Likewise.
32433         * iconv/strtab.c: Likewise.
32434         * locale/programs/locale.c: Likewise.
32435         * locale/programs/localedef.h: Likewise.
32436         * locale/programs/simple-hash.c: Likewise.
32437         * nscd/nscd.h: Likewise.
32438         * nss/makedb.c: Likewise.
32439         * sysdeps/generic/ldconfig.h: Likewise.
32441 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32443         * Versions.def: Add GLIBC_2.18.
32444         * include/link.h (struct link_map): New member l_tls_dtor_count.
32445         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32446         (__call_tls_dtors): Likewise.
32447         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32448         __cxa_thread_atexit_impl.
32449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32450         Likewise.
32451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32452         Likewise.
32453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32454         Likewise.
32455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32456         Likewise.
32457         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32459         Likewise.
32460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32461         Likewise.
32462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32464         Likewise.
32465         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32466         (tests): Add test case tst-tls-atexit.
32467         (modules-names): Add shared library for tst-tls-atexit.
32468         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32469         (GLIBC_PRIVATE): Add __call_tls_dtors.
32470         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32471         for libstdc++.
32472         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32473         * stdlib/tst-tls-atexit.c: New test case.
32474         * stdlib/tst-tls-atexit-lib.c: New test case.
32476         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32478         * elf/Versions (ld): Add _dl_find_dso_for_object.
32479         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32480         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32481         (dl_open_worker): Use _dl_find_dso_for_object.
32482         * elf/dl-sym.c (do_sym): Likewise.
32483         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32485 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32487         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32488         Syntactic changes only.
32489         (_dl_runtime_profile): Do a tail-call to the resolved function.
32491 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32493         [BZ #13550]
32494         * sysdeps/x86_64/bp-asm.h: Remove file.
32495         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32496         <bp-sym.h> and <bp-asm.h>.
32497         (__clone): Do not use BP_SYM.
32498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32499         <bp-sym.h> and <bp-asm.h>.
32500         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32501         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32502         "bp-asm.h".
32503         (_setjmp): Do not use BP_SYM.
32504         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32505         "bp-asm.h".
32506         (setjmp): Do not use BP_SYM.
32507         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32508         libc_hidden_def.
32509         (mempcpy): Do not use BP_SYM in weak_alias.
32510         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32511         "bp-asm.h".
32512         (strchr): Do not use BP_SYM.
32513         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32514         "bp-asm.h".
32515         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32516         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32517         (_start): Do not use BP_SYM.
32518         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32519         "bp-asm.h".
32520         (strcat): Do not use BP_SYM.
32521         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32522         "bp-asm.h".
32523         (STRCMP): Do not use BP_SYM.
32524         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32525         "bp-asm.h".
32526         (STRCPY): Do not use BP_SYM.
32527         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32528         "bp-asm.h".
32529         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32530         "bp-asm.h".
32531         (FUNCTION): Do not use BP_SYM.
32532         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32533         weak_alias.
32534         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32536 2013-02-17  Andreas Jaeger  <aj@suse.de>
32538         * time/Versions: Sort entries.
32539         * string/Versions: Likewise.
32540         * resolv/Versions: Likewise.
32541         * posix/Versions: Likewise.
32542         * iconv/Versions: Likewise.
32543         * elf/Versions: Likewise.
32544         * wcsmbs/Versions: Likewise.
32546 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32548         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32549         loop termination condition.
32551         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32552         variable to calculate EZ.
32553         (__sqr): Likewise.
32555         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32556         the lower precision input.
32558 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32560         [BZ #13550]
32561         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32562         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32563         (run-via-rtld-prefix): Do not handle %-bp tests.
32564         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32565         (all-object-suffixes): Remove .ob.
32566         (bppfx): Remove variable.
32567         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32568         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32569         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32570         [$(build-bounded) = yes] (libtype.ob): Likewise.
32571         * Makerules (elide-routines.ob): Remove variable.
32572         (do-tests-clean): Do not handle *-bp.out.
32573         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32574         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32575         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32576         (tests): Do not include $(tests-bp.out).
32577         (xtests): Do not include $(xtests-bp.out).
32578         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32579         [$(build-bounded) = yes] ($(addprefix
32580         $(objpfx),$(binaries-bounded))): Remove rule.
32581         ($(objpfx)%-bp.out): Remove rule.
32582         * config.make.in (build-bounded): Remove variable.
32583         * crypt/Makefile [$(build-bounded) = yes]
32584         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32585         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32586         append to variable.
32587         [$(build-bounded) = yes] (install-lib): Likewise.
32588         [$(build-bounded) = yes] (generated): Likewise.
32589         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32590         Remove rule.
32591         * intl/Makefile [$(build-bounded) = yes]
32592         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32593         * math/Makefile [$(build-bounded) = yes]
32594         ($(tests:%=$(objpfx)%-bp): Likewise.
32595         * misc/Makefile [$(build-bounded) = yes]
32596         ($(objpfx)tst-tsearch-bp): Likewise.
32597         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32598         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32599         Remove dependency.
32600         * string/Makefile (o-objects.ob): Remove variable.
32601         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32602         (CFLAGS-.ob): Remove variable.
32603         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32604         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32605         both definitions of variable.
32606         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32607         (ASFLAGS-.ob): Remove variable.
32609 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32611         [BZ #13550]
32612         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32613         Remove __BOUNDED_POINTERS__ from condition.
32614         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32615         * string/bits/string2.h [!__NO_STRING_INLINES &&
32616         !__BOUNDED_POINTERS__]: Likewise.
32617         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32618         Likewise.
32619         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32620         Remove conditional code.
32621         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32622         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32623         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32624         condition.
32626         [BZ #13550]
32627         * csu/libc-start.c: Do not include <bp-sym.h>.
32628         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32629         * elf/dl-open.c: Do not include <bp-sym.h>.
32630         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32631         * math/fegetenv.c: Do not include <bp-sym.h>.
32632         (fegetenv): Do not use BP_SYM in versioned symbols.
32633         * nptl/sysdeps/pthread/bits/libc-lockP.h
32634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32635         <bp-sym.h>.
32636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32637         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32639         (__pthread_mutex_destroy): Likewise.
32640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32641         (__pthread_mutex_lock): Likewise.
32642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32643         (__pthread_mutex_trylock): Likewise.
32644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32645         (__pthread_mutex_unlock): Likewise.
32646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32647         (__pthread_mutexattr_init): Likewise.
32648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32649         (__pthread_mutexattr_destroy): Likewise.
32650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32651         (__pthread_mutexattr_settype): Likewise.
32652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32653         (__pthread_rwlock_init): Likewise.
32654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32655         (__pthread_rwlock_destroy): Likewise.
32656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32657         (__pthread_rwlock_rdlock): Likewise.
32658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32659         (__pthread_rwlock_tryrdlock): Likewise.
32660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32661         (__pthread_rwlock_wrlock): Likewise.
32662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32663         (__pthread_rwlock_trywrlock): Likewise.
32664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32665         (__pthread_rwlock_unlock): Likewise.
32666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32667         (__pthread_key_create): Likewise.
32668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32669         (__pthread_setspecific): Likewise.
32670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32671         (__pthread_getspecific): Likewise.
32672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32673         Likewise.
32674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32675         (_pthread_cleanup_push_defer): Likewise.
32676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32677         (_pthread_cleanup_pop_restore): Likewise.
32678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32679         (pthread_setcancelstate): Likewise.
32680         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32681         <bp-sym.h>.
32682         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32683         (memchr): Do not use BP_SYM in weak_alias.
32684         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32685         (fegetenv): Do not use BP_SYM in versioned symbols.
32686         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32687         (fesetenv): Do not use BP_SYM in versioned symbols.
32688         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32689         (feupdateenv): Do not use BP_SYM in versioned symbols.
32690         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32691         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32692         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32693         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32694         (open64): Do not use BP_SYM in weak_alias.
32695         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32696         (fegetenv): Do not use BP_SYM in versioned symbols.
32697         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32698         (fesetenv): Do not use BP_SYM in versioned symbols.
32699         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32700         (feupdateenv): Do not use BP_SYM in versioned symbols.
32701         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32702         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32703         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32704         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32705         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32706         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32707         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32708         <bp-sym.h>.
32709         (__libc_start_main): Do not use BP_SYM.
32711 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32714         redundant return line.
32715         (norm): Likewise.
32716         (denorm): Likewise.
32717         (dbl_mp): Likewise.
32718         (sub_magnitudes): Likewise.
32719         (__add): Likewise.
32720         (__sub): Likewise.
32721         (__mul): Likewise.
32722         (__inv): Likewise.
32723         (__dvd): Likewise.
32724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32725         (norm): Likewise.
32726         (denorm): Likewise.
32727         (dbl_mp): Likewise.
32728         (sub_magnitudes): Likewise.
32729         (__add): Likewise.
32730         (__sub): Likewise.
32731         (__mul): Likewise.
32732         (__inv): Likewise.
32733         (__dvd): Likewise.
32735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32736         instead of __mul.
32737         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32738         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32739         (cc32): Likewise.
32741         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32742         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32744         of __mul for squares.
32745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32746         function
32747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32748         Likewise.
32749         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32750         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32752 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32754         [BZ #13550]
32755         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32756         code.
32757         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32758         prototype or function definition.  Rename ubp_* variables and
32759         parameters.  Remove argv definitions conditional on
32760         [__BOUNDED_POINTERS__].
32761         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32762         * elf/dl-runtime.c (_dl_fixup): Likewise.
32763         * include/set-hooks.h (RUN_HOOK): Likewise.
32764         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32765         definition.
32766         * string/strcpy.c (strcpy): Do not use __unbounded.
32767         * sysdeps/generic/frame.h (struct layout): Likewise.
32768         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32769         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32770         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32771         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32772         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32773         (__backtrace): Likewise.
32774         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32775         use __ptrvalue.
32776         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32777         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32778         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32779         Likewise.
32780         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32781         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32782         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32783         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32784         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32785         Do not use __unbounded.
32786         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32787         Rename __unboundedrlimits parameter to rlimits in prototype.
32788         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32789         Do not use __unbounded.
32790         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32791         not use __ptrvalue.
32792         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32793         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32794         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32795         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32796         __ptrvalue or __unbounded.
32797         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32798         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32799         use __unbounded.
32800         (__new_msgctl): Do not use __ptrvalue.
32801         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32802         __unbounded.
32803         (__libc_msgrcv): Do not use __ptrvalue.
32804         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32805         startup_info): Do not use __unbounded.
32806         (__libc_start_main): Likewise.  Rename ubp_* variables and
32807         parameters.  Remove argv definitions conditional on
32808         [__BOUNDED_POINTERS__].
32809         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32810         __ptrvalue.
32811         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32812         use __unbounded.
32813         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32814         or __ptrvalue.
32815         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32816         use __unbounded.
32817         (__new_shmctl): Do not use __ptrvalue.
32818         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32819         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32820         Likewise.
32821         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32822         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32823         (__libc_sigaction): Likewise.
32824         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32825         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32826         Likewise.
32827         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32829 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32831         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32833         * string/mempcpy.c: Implement by calling memcpy.
32835 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32837         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32840         evaluation.
32842         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32843         values in the mantissa.
32845         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32846         minimize writes to Z.
32847         (sub_magnitudes): Simplify code a bit.
32849 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32851         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32852         from the message.  The linker prefixes all warnings with that already.
32854 2013-02-12  Andreas Schwab  <schwab@suse.de>
32856         [BZ #15078]
32857         * posix/regexec.c (extend_buffers): Add parameter min_len.
32858         (check_matching): Pass minimum needed length.
32859         (clean_state_log_if_needed): Likewise.
32860         (get_subexp): Likewise.
32861         * posix/Makefile (tests): Add bug-regex34.
32862         (bug-regex34-ENV): Define.
32863         * posix/bug-regex34.c: New file.
32865         [BZ #11561]
32866         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32867         elements compare against the byte sequence of it, not its name.
32868         * posix/Makefile (tests): Add bug-regex35.
32869         (bug-regex35-ENV): Define.
32870         * posix/bug-regex35.c: New file.
32872 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32874         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32875         comment.
32876         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32877         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32878         (CHECK_EOL): Add undef.
32880 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32882         * bits/stdlib-bsearch.h: New file.
32883         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32884         * stdlib/stdlib.h: Likewise.
32886 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32888         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32889         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32890         declaration.
32891         * manual/search.texi (Array Search Function): Add missing const in
32892         lfind prototype.
32893         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32894         declaration to use rlim_t.
32895         (Basic Scheduling Functions): Remove erroneous const from
32896         sched_getparam prototype.  Remove erroneous * from
32897         sched_get_priority_max and sched_get_priority_min prototypes.
32898         (Resource Usage): Fix summary @comment on vtimes to refer to
32899         sys/vtimes.h rather than vtimes.h.
32900         Add missing *s in vtimes prototype.
32901         (Limits on Resources): Fix ulimit prototype to return long int.
32902         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32903         prototypes to use long int rather than double.
32904         (BSD Random): Fix initstate and setstate to use char *, not void *.
32905         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32906         prototype to make second argument 'struct aiocb64 *const[]'.
32907         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32908         (Status of AIO Operations): Remove erroneous const in aio_return and
32909         aio_return64 prototypes.
32910         (Synchronizing I/O): Fix sync prototype to return void.
32911         * manual/startup.texi (Suboptions): Remove an erroneous const in
32912         getsubopt prototype.
32913         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32914         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32915         use size_t rather than int.
32916         (Scanning All Users): Likewise for getpwent_r.
32917         (Setting Groups): Add missing const to setgroups prototype.
32918         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32919         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32920         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32921         'const void *' rather than 'const char *'.
32922         (Host Address Functions): Likewise for inet_ntop.
32923         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32924         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32925         ssize_t for return value.
32926         (Sending Data): Likewise for send, sendto, sendmsg.
32927         (Socket Option Functions): Add a missing const in setsockopt prototype.
32928         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32929         use wchar_t for the argument.
32930         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32931         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32932         take no arguments.
32933         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32934         double/float/long double for second argument.
32935         Fix return types of significand, significandf, significandl.
32936         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32937         argument in fchmod prototype.
32938         (File Owner): Use uid_t and gid_t in fchown prototype.
32939         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32940         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32941         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32942         use 'const struct dirent **' as argument types to CMP function pointer
32943         argument.
32944         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32945         (File Times): Fix summary magic @comment for struct utimbuf and utime
32946         to refer to utime.h, not time.h.
32947         * manual/string.texi (Argz Functions): Add missing const in
32948         argz_extract and argz_next prototypes.
32949         (Finding Tokens in a String): Likewise for basename.
32950         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32951         (Copying and Concatenation): Fix typo in wmemmove prototype.
32952         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32953         (Signal Stack): Remove erroneous const in sigstack prototype.
32954         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32955         prototype.
32956         (Simple Calendar Time): Likewise for stime.
32957         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32958         prototype.
32959         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32960         say sys/sysctl.h instead.
32961         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32962         and vsyslog prototypes.
32964 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32966         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32967         Remove.
32969 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32971         * misc/sys/mman.h: Fix typo in mremap comment.
32973 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32975         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32976         the '\0' terminator.
32978 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32980         [BZ #13550]
32981         * debug/segfault.c: Don't include <bp-checks.h>.
32982         * sysdeps/generic/bp-checks.h: Remove file.
32983         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32984         (__GETDENTS): Don't use CHECK_N.
32985         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32986         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32987         (__getgroups): Don't use CHECK_N.
32988         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32989         (setgroups): Don't use CHECK_N.
32990         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32991         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32992         (__libc_msgrcv): Don't use CHECK_N.
32993         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32994         (__libc_msgsnd): Don't use CHECK_N.
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32996         <bp-checks.h>.
32997         (__libc_pread): Don't use CHECK_N.
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32999         include <bp-checks.h>.
33000         (__libc_pread64): Don't use CHECK_N.
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33002         include <bp-checks.h>.
33003         (__libc_pwrite): Don't use CHECK_N.
33004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33005         include <bp-checks.h>.
33006         (__libc_pwrite64): Don't use CHECK_N.
33007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33008         <bp-checks.h>.
33009         (__libc_pread): Don't use CHECK_N.
33010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33011         include <bp-checks.h>.
33012         (__libc_pread64): Don't use CHECK_N.
33013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33014         include <bp-checks.h>.
33015         (__libc_pwrite): Don't use CHECK_N.
33016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33017         include <bp-checks.h>.
33018         (__libc_pwrite64): Don't use CHECK_N.
33019         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33020         (do_pread): Don't use CHECK_N.
33021         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33022         (do_pread64): Don't use CHECK_N.
33023         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33024         (do_pwrite): Don't use CHECK_N.
33025         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33026         (do_pwrite64): Don't use CHECK_N.
33027         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33028         (__libc_readv): Don't use CHECK_N.
33029         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33030         (semop): Don't use CHECK_N.
33031         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33032         <bp-checks.h>.
33033         (semtimedop): Don't use CHECK_N.
33034         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33035         (__libc_pread): Don't use CHECK_N.
33036         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33037         <bp-checks.h>.
33038         (__libc_pread64): Don't use CHECK_N.
33039         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33040         <bp-checks.h>.
33041         (__libc_pwrite): Don't use CHECK_N.
33042         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33043         <bp-checks.h>.
33044         (__libc_pwrite64): Don't use CHECK_N.
33045         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33046         <bp-checks.h>.
33047         (__libc_msgrcv): Don't use CHECK_N.
33048         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33049         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33050         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33051         (__libc_writev): Don't use CHECK_N.
33053 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33055         * string/strcpy.c: Removed unused variable.
33057         * Makeconfig (+sysdep-includes): Define with := rather than =.
33058         Use an existing include/ subdir of each sysdeps dir before it.
33060 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33062         * nscd/connection.c (register_traced_file): Comment function.
33063         [HAVE_INOTIFY] (union __inev): Define.
33064         [HAVE_INOTIFY] (inotify_check_files): New function.
33065         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33066         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33067         clear_db_cache.
33068         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33070 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33072         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33073         loaded if not already and that a failure is permanent.
33075 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33077         [BZ #15006]
33078         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33079         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33081 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33083         [BZ #13550]
33084         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33085         (CHECK_1_NULL_OK): Likewise.
33086         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33087         (__fxstat): Do not use CHECK_1.
33088         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33089         <bp-checks.h>.
33090         (___fxstat64): Do not use CHECK_1.
33091         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33092         <bp-checks.h>.
33093         (__fxstatat): Do not use CHECK_1.
33094         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33095         <bp-checks.h>.
33096         (__fxstatat64): Do not use CHECK_1.
33097         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33098         <bp-checks.h>.
33099         (__fxstat): Do not use CHECK_1.
33100         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33101         <bp-checks.h>.
33102         (__fxstatat): Do not use CHECK_1.
33103         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33104         <bp-checks.h>.
33105         (__getresgid): Do not use CHECK_1.
33106         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33107         <bp-checks.h>.
33108         (__getresuid): Do not use CHECK_1.
33109         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33110         <bp-checks.h>.
33111         (__lxstat): Do not use CHECK_1.
33112         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33113         <bp-checks.h>.
33114         (__old_msgctl): Do not use CHECK_1.
33115         (__new_msgctl): Likewise.
33116         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33117         <bp-checks.h>.
33118         (__new_setrlimit): Do not use CHECK_1.
33119         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33120         <bp-checks.h>.
33121         (__old_shmctl): Do not use CHECK_1.
33122         (__new_shmctl): Likewise.
33123         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33124         <bp-checks.h>.
33125         (__xstat): Do not use CHECK_1.
33126         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33127         (__lxstat): Do not use CHECK_1.
33128         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33129         <bp-checks.h>.
33130         (___lxstat64): Do not use CHECK_1.
33131         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33132         (__old_msgctl): Do not use CHECK_1.
33133         (__new_msgctl): Likewise.
33134         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33135         <bp-checks.h>.
33136         (__gettimeofday): Do not use CHECK_1.
33137         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33138         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33139         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33140         <bp-checks.h>.
33141         (__gettimeofday): Do not use CHECK_1.
33142         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33143         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33144         (__new_shmctl): Do not use CHECK_1.
33145         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33146         <bp-checks.h>.
33147         (do_sigtimedwait): Do not use CHECK_1.
33148         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33149         <bp-checks.h>.
33150         (do_sigwaitinfo): Do not use CHECK_1.
33151         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33152         <bp-checks.h>.
33153         (msgctl): Do not use CHECK_1.
33154         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33155         <bp-checks.h>.
33156         (shmctl): Do not use CHECK_1.
33157         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33158         (ustat): Do not use CHECK_1.
33159         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33160         <bp-checks.h>.
33161         (__fxstat): Do not use CHECK_1.
33162         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33163         <bp-checks.h>.
33164         (__fxstatat): Do not use CHECK_1.
33165         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33166         <bp-checks.h>.
33167         (__lxstat): Do not use CHECK_1.
33168         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33169         <bp-checks.h>.
33170         (__xstat): Do not use CHECK_1.
33171         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33172         (__xstat): Do not use CHECK_1.
33173         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33174         (___xstat64): Do not use CHECK_1.
33176         [BZ #13550]
33177         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33178         definitions.
33179         (CHECK_BOUNDS_HIGH): Likewise.
33180         * string/strcpy.c: Do not include <bp-checks.h>.
33181         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33183 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33185         * nscd/nscd-client.h (__nscd_drop_map_ref):
33186         Add __attribute__ ((unused)).
33187         * nis/nss-nisplus.h (niserr2nss): Likewise.
33189         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33190         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33192         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33193         Remove inline keyword.
33194         * include/rounding-mode.h (round_away): Likewise.
33195         * libio/wfileops.c (adjust_wide_data): Likewise.
33196         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33197         (__m128i_strloadu_tolower): Likewise.
33198         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33199         (__m128i_strloadu_tolower): Likewise.
33200         * time/mktime.c (ydhms_diff): Likewise.
33201         * locale/elem-hash.h (elem_hash): Likewise.
33202         * locale/setlocale.c (setdata): Likewise.
33203         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33204         (re_string_wchar_at): Likewise.
33205         (bitset_not, bitset_merge, bitset_mask): Likewise.
33206         [!(__GNUC__ > 3)] (inline): Remove macro.
33207         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33208         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33209         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33210         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33211         * string/memcmp.c (memcmp_bytes): Likewise.
33212         * locale/programs/locarchive.c (compute_hashval): Likewise.
33213         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33214         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33215         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33216         * nss/getent.c (print_rpc, print_protocols): Likewise.
33217         (print_passwd, print_group, print_aliases): Likewise.
33218         * nis/nss-nisplus.h (niserr2nss): Likewise.
33219         * nscd/connections.c (restart_p): Likewise.
33220         Change return type to bool.
33222 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33224         * Makeconfig (all-Depend-files): Add existing
33225         $(sorted-subdirs:=/Depend) files.
33226         (all-subdirs): Remove nss.
33227         * sysdeps/unix/inet/Subdirs: Add it here instead.
33228         * hesiod/Depend: New file.
33230         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33231         instead of calling alloca.
33233         * io/lseek.c (__lseek): Rename to __libc_lseek.
33234         Define __lseek as an alias.
33236         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33238 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33240         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33241         else clause and remove check for non-standard endianness.
33243 2013-02-04  David S. Miller  <davem@davemloft.net>
33245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33247 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33249         [BZ #13550]
33250         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33251         (__ubp_memchr): Remove prototype.
33252         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33253         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33254         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33255         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33256         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33257         Remove alias.
33258         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33259         (__ubp_memchr): Likewise.
33260         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33261         (__ubp_memchr): Likewise.
33262         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33263         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33264         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33265         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33266         CHECK_STRING.
33267         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33268         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33269         (__getcwd): Do not use CHECK_STRING.
33270         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33271         <bp-checks.h>.
33272         (__real_chown): Do not use CHECK_STRING.
33273         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33274         <bp-checks.h>.
33275         (fchownat): Do not use CHECK_STRING.
33276         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33277         CHECK_STRING.
33278         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33279         <bp-checks.h>.
33280         (__lchown): Do not use CHECK_STRING.
33281         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33282         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33283         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33284         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33286         include <bp-checks.h>.
33287         (truncate64): Do not use CHECK_STRING.
33288         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33289         <bp-checks.h>.
33290         (__real_chown): Do not use CHECK_STRING.
33291         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33292         <bp-checks.h>.
33293         (__lchown): Do not use CHECK_STRING.
33294         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33295         <bp-checks.h>.
33296         (__chown): Do not use CHECK_STRING.
33297         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33298         <bp-checks.h>.
33299         (truncate64): Do not use CHECK_STRING.
33300         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33301         Likewise.
33302         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33303         (__xmknod): Do not use CHECK_STRING.
33304         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33305         <bp-checks.h>.
33306         (__xmknodat): Do not use CHECK_STRING.
33307         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33308         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33310 2013-02-04  Andreas Schwab  <schwab@suse.de>
33312         [BZ #14142]
33313         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33314         * include/netdb.h: Likewise for h_errno.
33315         * elf/tst-stackguard1.c: Include <tls.h>.
33317 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33319         * elf/link.h (struct link_map): Extend the l_addr comment.
33320         * include/link.h (struct link_map): Likewise.
33322 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33324         [BZ #13550]
33325         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33326         (BOUNDED_1): Remove macro.
33327         * debug/backtrace.c: Don't include <bp-checks.h>.
33328         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33329         (__backtrace): Likewise.
33330         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33331         <bp-checks.h>.
33332         (__backtrace): Don't use BOUNDED_1.
33333         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33334         <bp-checks.h>.
33335         (__backtrace): Don't use BOUNDED_1.
33336         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33337         (__backtrace): Don't use BOUNDED_1.
33338         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33339         (shmat): Don't use BOUNDED_N.
33341 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33343         [BZ #13550]
33344         * sysdeps/generic/bp-start.h: Remove file.
33345         * csu/libc-start.c: Don't include <bp-start.h>.
33346         (LIBC_START_MAIN): Set up __environ directly instead of using
33347         INIT_ARGV_and_ENVIRON.
33348         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33349         <bp-start.h>.
33351         [BZ #13550]
33352         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33353         definitions.
33354         (CHECK_FCNTL): Likewise.
33355         (CHECK_N_PAGES): Likewise.
33357         [BZ #13550]
33358         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33359         definitions.
33360         (CHECK_SIGSET_NULL_OK): Likewise.
33361         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33362         <bp-checks.h>.
33363         (sigpending): Don't use CHECK_SIGSET.
33364         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33365         <bp-checks.h>.
33366         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33367         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33368         <bp-checks.h>.
33369         (do_sigsuspend): Don't use CHECK_SIGSET.
33370         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33371         use CHECK_SIGSET.
33372         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33373         (do_sigwait): Don't use CHECK_SIGSET.
33374         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33375         use CHECK_SIGSET.
33376         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33377         include <bp-checks.h>.
33378         (sigpending): Don't use CHECK_SIGSET.
33379         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33380         include <bp-checks.h>.
33381         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33382         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33383         <bp-checks.h>.
33384         (sigpending): Don't use CHECK_SIGSET.
33385         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33386         <bp-checks.h>.
33387         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33389         [BZ #13550]
33390         * sysdeps/generic/bp-semctl.h: Remove file.
33391         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33392         <bp-checks.h> and <bp-semctl.h>.
33393         (__old_semctl): Don't use CHECK_SEMCTL.
33394         (__new_semctl): Likewise.
33395         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33396         and <bp-semctl.h>.
33397         (__old_semctl): Don't use CHECK_SEMCTL.
33398         (__new_semctl): Likewise.
33399         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33400         <bp-checks.h> and <bp-semctl.h>.
33401         (__old_semctl): Don't use CHECK_SEMCTL.
33402         (__new_semctl): Likewise.
33403         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33404         <bp-checks.h> and <bp-semctl.h>.
33405         (semctl): Don't use CHECK_SEMCTL.
33407         [BZ #13550]
33408         * Makerules (elide-bp-thunks): Remove variable.
33409         (elide-routines.oS): Don't use $(elide-bp-thunks).
33410         (elide-routines.os): Likewise.
33411         (elide-routines.o): Likewise.
33412         (elide-routines.op): Likewise.
33413         (elide-routines.og): Likewise.
33414         (objects): Don't use $(bp-thunks).
33415         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33416         include.
33417         (common-generated): Do not add s-proto-bp.d.
33418         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33419         (int): Likewise.
33420         (typ): Likewise.
33421         Do not generate makefile rules for bounded-pointer thunks.
33422         * sysdeps/generic/bp-thunks.h: Remove file.
33423         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33424         * sysdeps/unix/s-proto-bp.S: Likewise.
33426         [BZ #15062]
33427         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33428         parts of result separately when argument is not close to line from
33429         -i to i and one part of argument is small.
33430         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33431         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33432         * math/libm-test.inc (cacos_test): Add more tests.
33433         (casin_test): Likewise.
33434         (casinh_test): Likewise.
33435         * sysdeps/i386/fpu/libm-test-ulps: Update.
33436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33438 2013-01-31  David S. Miller  <davem@davemloft.net>
33440         * po/de.po: Update from translation team.
33442 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33444         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33446 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33448         * configure.in (_AC_PROG_CC_C89): New definition.
33449         * configure: Regenerate.
33451         * configure.in (AC_PROG_CPP): New definition.
33452         * configure: Regenerate.
33454 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33456         * debug/tst-backtrace.h: New file.
33457         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33458         (ret): Remove variable.
33459         (x): Likewise.
33460         (FAIL): Remove macro.
33461         (NO_INLINE): Likewise.
33462         (fn1): Use match function instead of strstr.
33463         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33464         (ret): Remove variable.
33465         (x): Likewise.
33466         (FAIL): Remove macro.
33467         (NO_INLINE): Likewise.
33468         (fn): Use match function instead of strstr.
33469         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33470         (ret): Remove variable.
33471         (x): Likewise.
33472         (FAIL): Remove macro.
33473         (NO_INLINE): Likewise.
33474         (handle_signal): Use match function instead of strstr.
33475         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33476         (ret): Remove variable.
33477         (x): Likewise.
33478         (FAIL): Remove macro.
33479         (NO_INLINE): Likewise.
33480         (handle_signal): Use match function instead of strstr.
33482 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33484         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33486 2013-01-23  David S. Miller  <davem@davemloft.net>
33488         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33489         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33490         argument of CAS if possible.
33491         * sysdeps/sparc/sparc64/bits/atomic.h
33492         (__arch_compare_and_exchange_val_32_acq): Likewise.
33493         (__arch_compare_and_exchange_val_64_acq): Likewise.
33495 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33497         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33498         * sysdeps/posix/ulimit.c: ... this.
33499         Include <limits.h>.
33500         * sysdeps/unix/bsd/ulimit.c: Remove file.
33502 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33504         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33505         (LDFLAGS-tst-array5): Likewise.
33507 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33509         [BZ #15036]
33510         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33511         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33512         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33513         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33515 2013-01-21  David S. Miller  <davem@davemloft.net>
33517         * sysdeps/sparc/backtrace.c: New file.
33518         * sysdeps/sparc/sparc32/backtrace.h: New file.
33519         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33520         * sysdeps/sparc/sparc64/backtrace.h: New file.
33521         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33522         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33523         -funwind-tables.
33525 2013-01-21  Andreas Schwab  <schwab@suse.de>
33527         [BZ #15020]
33528         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33529         closed its stdout.
33531 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33533         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33534         "mpa2.h".
33535         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33537 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33538             Mark Mitchell  <mark@codesourcery.com>
33539             Tom de Vries  <tom@codesourcery.com>
33540             Paul Pluzhnikov  <ppluzhnikov@google.com>
33542         * debug/tst-backtrace2.c: New file.
33543         * debug/tst-backtrace3.c: Likewise.
33544         * debug/tst-backtrace4.c: Likewise.
33545         * debug/tst-backtrace5.c: Likewise.
33546         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33547         (CFLAGS-tst-backtrace3.c): Likewise.
33548         (CFLAGS-tst-backtrace4.c): Likewise.
33549         (CFLAGS-tst-backtrace5.c): Likewise.
33550         (LDFLAGS-tst-backtrace2): Likewise.
33551         (LDFLAGS-tst-backtrace3): Likewise.
33552         (LDFLAGS-tst-backtrace4): Likewise.
33553         (LDFLAGS-tst-backtrace5): Likewise.
33554         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33555         tst-backtrace4 and tst-backtrace5.
33557 2013-01-18  Anton Blanchard  <anton@samba.org>
33558             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33560         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33561         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33562         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33563         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33565         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33566         "+r" and remove output regs list as redundant.  Add explicit inline
33567         asm to specify register of return val to work around compiler codegen
33568         bug.  Remove (int) cast on return value.  Add return type parameter to
33569         use in macro so that this macro does not truncate return value for
33570         64-bit values.
33571         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33572         pass to INTERNAL_VSYSCALL_NCS.
33573         (INLINE_VSYSCALL): Add 'long int' as return type to
33574         INTERNAL_VSYSCALL_NCS macro invocation.
33575         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33576         INTERNAL_VSYSCALL_NCS macro invocation.
33577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33579 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33581         [BZ #14496]
33582         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33583         Fix application of SIMD FP exception mask.
33585         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33586         mp_no from a power of two.
33587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33588         __mpexp_twomm1.  Use __pow_mp.
33590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33591         multiplication.
33593 2013-01-17  David S. Miller  <davem@davemloft.net>
33595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33597 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33599         [BZ #15023]
33600         * include/complex.h: Condition contents on [!_COMPLEX_H].
33601         (__kernel_casinhf): New prototype.
33602         (__kernel_casinh): Likewise.
33603         (__kernel_casinhl): Likewise.
33604         * math/Makefile (libm_calls): Add k_casinh.
33605         * math/k_casinh.c: New file.
33606         * math/k_casinhf.c: Likewise.
33607         * math/k_casinhl.c: Likewise.
33608         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33609         finite nonzero arguments.
33610         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33611         finite nonzero arguments.
33612         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33613         finite nonzero arguments.
33614         * math/s_casinh.c: Do not include <float.h>.
33615         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33616         * math/s_casinhf.c: Do not include <float.h>.
33617         (__casinhf): Move code for finite nonzero arguments to
33618         k_casinhf.c.
33619         * math/s_casinhl.c: Do not include <float.h>.
33620         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33621         redefine.
33622         (__casinhl): Move code for finite nonzero arguments to
33623         k_casinhl.c.
33624         * math/libm-test.inc (cacos_test): Add more tests.
33625         * sysdeps/i386/fpu/libm-test-ulps: Update.
33626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33628 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33630         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33631         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33632         [!HAVE_MREMAP]: Remove [defined linux] case.
33633         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33635 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33637         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33639 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33641         * elf/elf.h (R_386_SIZE32): New relocation.
33642         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33643         R_386_SIZE32.
33644         (elf_machine_rela): Likewise.
33645         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33646         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33648 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33650         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33651         (FP_FAST_FMA): Do not define.
33652         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33653         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33654         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33655         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33656         !_SOFT_FLOAT]: Likewise.
33657         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33658         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33659         value.
33660         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33661         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33662         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33663         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33664         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33665         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33666         file.
33668 2013-01-16  Andreas Schwab  <schwab@suse.de>
33670         [BZ #14327]
33671         * include/stdlib.h (__mktemp): Add declaration.
33672         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33673         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33675 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33677         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33678         definitions.
33679         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33680         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33681         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33682         definitions here.
33683         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33684         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33685         definitions.
33686         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33687         and ONE.
33688         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33689         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33690         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33691         definitions.
33692         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33693         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33694         definitions.
33695         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33697         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33699 2013-01-15  David S. Miller  <davem@davemloft.net>
33701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33702         trunc{,f} to libm-sysdep_routes.
33703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33705         file.
33706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33708         file.
33709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33710         file.
33711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33713         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33714         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33715         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33716         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33717         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33718         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33721         nearbyint{,f} to libm-sysdep_routes.
33722         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33724         New file.
33725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33726         file.
33727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33728         New file.
33729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33730         file.
33731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33733         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33734         file.
33735         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33736         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33737         file.
33738         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33739         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33740         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33742         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33743         libc_feholdexcept and libc_fesetenv.
33745 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33747         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33749 2013-01-14  David S. Miller  <davem@davemloft.net>
33751         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33752         (SPARC_ASM_VIS2_IFUNC): Likewise.
33753         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33755         use of 'siam' instruction.
33756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33757         Likewise.
33758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33759         Likewise.
33760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33761         Likewise.
33762         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33763         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33764         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33765         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33767         file.
33768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33769         file.
33770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33771         file.
33772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33773         file.
33774         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33779         new VIS2 routines.
33780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33783         Likewise.
33784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33789         routines to libm-sysdep_routines.
33790         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33793         fdim/fdimf to libm-sysdep_routines.
33794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33795         file.
33796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33798         file.
33799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33802         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33803         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33804         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33805         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33807 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33809         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33810         to optimize copies.
33812         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33817         local variable MPTWO.
33818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33819         Likewise.
33821 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33823         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33824         GLOB_NOESCAPE.
33826 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33828         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33830 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33832         * manual/pattern.texi (glob_t): Document gl_flags.
33833         (glob64_t): Likewise.
33835 2013-01-11  David S. Miller  <davem@davemloft.net>
33837         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33838         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33839         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33840         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33841         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33842         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33843         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33844         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33845         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33846         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33847         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33848         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33849         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33851         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33852         sparc V9 rather than using V8 code.
33853         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33854         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33856         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33857         Move to...
33858         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33859         Here.
33861 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33863         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33864         not in the main loop.
33865         * configure: Regenerated.
33867 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33869         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33870         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33871         to just #else.
33872         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33873         [!__GLIBC_HAVE_LONG_LONG] case.
33874         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33875         condition to just #else.
33876         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33877         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33878         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33879         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33880         unconditional.
33881         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33882         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33883         #elif condition to just #else.
33884         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33885         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33886         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33887         #elif condition to just #else.
33889 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33891         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33892         (EF_MIPS_ARCH_64): Fix value.
33893         (EF_MIPS_ARCH_32R2): New.
33894         (EF_MIPS_ARCH_64R2): New.
33896 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33898         * Makeconfig (+link-pie-before-libc): New.
33899         (+link-pie-after-libc): Likewise.
33900         (+link-pie-tests): Likewise.
33901         (+link-pie): Rewritten.
33902         (link-before-libc): Remove $(config-LDFLAGS).
33903         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33904         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33905         (config-LDFLAGS): Renamed to ...
33906         (rtld-LDFLAGS): This.
33907         (rtld-tests-LDFLAGS): New macro.
33908         (link-libc-rpath-link): Likewise.
33909         (link-libc-tests-rpath-link): Likewise.
33910         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33911         (link-libc): Prepand $(link-libc-rpath-link).
33912         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33913         (test-program-prefix): New macro.
33914         (test-via-rtld-prefix): Likewise.
33915         (test-program-cmd): Likewise.
33916         (host-test-program-cmd): Likewise.
33917         * Makefile ($(common-objpfx)testrun.sh): Replace
33918         $(run-program-prefix) with $(test-program-prefix).
33919         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33920         $(rtld-LDFLAGS).
33921         ($(common-objpfx)shlib.lds): Likewise.
33922         (build-module-helper): Likewise.
33923         ($(common-objpfx)format.lds): Likewise.
33924         * Rules (binaries-pie-tests): New.
33925         (binaries-pie-notests): Likewise.
33926         (binaries-pie): Rewritten.
33927         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33928         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33929         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33930         (make-test-out): Replace $(host-built-program-cmd) with
33931         $(host-test-program-cmd).
33932         * config.make.in (build-hardcoded-path-in-tests): New variable.
33933         * configure.in (--enable-hardcoded-path-in-tests): New configure
33934         option.
33935         (hardcoded_path_in_tests): New AC_SUBST.
33936         * configure: Regenerated.
33937         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33938         $(built-program-cmd) with $(test-program-cmd).
33939         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33940         (test_program_cmd): This.
33941         * elf/Makefile ($(objpfx)order.out): Run test with
33942         $(test-program-prefix).
33943         ($(objpfx)order2.out): Likewise.
33944         ($(objpfx)tst-initorder.out): Likewise.
33945         ($(objpfx)tst-initorder2.out): Likewise.
33946         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33947         $(test-program-cmd).
33948         ($(objpfx)tst-array1-static.out): Likewise.
33949         ($(objpfx)tst-array2.out): Likewise.
33950         ($(objpfx)tst-array3.out): Likewise.
33951         ($(objpfx)tst-array4.out): Likewise.
33952         ($(objpfx)tst-array5.out): Likewise.
33953         ($(objpfx)tst-array5-static.out): Likewise.
33954         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33955         $(test-program-cmd).
33956         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33957         $(run-program-prefix) with $(test-program-prefix).
33958         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33959         (test_program_prefix): This.
33960         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33961         $(run-program-prefix) with $(test-program-prefix).
33962         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33963         (test_program_prefix): This.
33964         * iconvdata/tst-tables.sh: Likewise.
33965         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33966         $(run-program-prefix) with $(test-program-prefix).
33967         ($(objpfx)tst-translit.out): Likewise.
33968         ($(objpfx)tst-gettext2.out): Likewise.
33969         ($(objpfx)tst-gettext4.out): Likewise.
33970         ($(objpfx)tst-gettext6.out): Likewise.
33971         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33972         (test_program_prefix): This.
33973         * intl/tst-gettext2.sh: Likewise.
33974         * intl/tst-gettext4.sh  Likewise.
33975         * intl/tst-gettext6.sh: Likewise.
33976         * intl/tst-translit.sh: Likewise.
33977         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33978         with $(test-program-cmd).
33979         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33980         $(run-program-prefix) with $(test-program-prefix).
33981         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33982         (test_program_prefix): This.
33983         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33984         $(run-program-prefix) with $(test-program-prefix).
33985         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33986         (test_program_prefix): This.
33987         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33988         * posix/Makefile ($(objpfx)globtest.out): Replace
33989         $(run-via-rtld-prefix) and $(test-wrapper) with
33990         $(test-program-prefix) and $(test-via-rtld-prefix).
33991         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33992         $(test-program-prefix).
33993         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33994         $(host-test-program-cmd).
33995         (tst-spawn-ARGS): Likewise.
33996         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33997         $(test-program-prefix).
33998         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33999         (test_via_rtld_prefix): This.
34000         (test_wrapper): Renamed to ...
34001         (test_program_prefix): This.
34002         (run_program_prefix): Replaced by test_program_prefix.
34003         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34004         (test_program_prefix): This.
34005         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34006         with $(host-test-program-cmd).
34007         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34008         $(run-program-prefix) with $(test-program-prefix).
34009         ($(objpfx)tst-printf.out): Likewise.
34010         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34011         $(test-program-cmd).
34012         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34013         (test_program_prefix): This.
34014         * stdio-common/tst-unbputc.sh: Likewise.
34015         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34016         $(run-program-prefix) with $(test-program-prefix).
34017         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34018         (test_program_prefix): This.
34019         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34020         $(built-program-cmd) with $(test-program-cmd).
34022 2013-01-11  Andreas Jaeger  <aj@suse.de>
34024         [BZ #15003]
34025         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34026         value. Sync with Linux 3.7.
34028 2013-01-10  David S. Miller  <davem@davemloft.net>
34030         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34031         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34032         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34034 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34036         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34037         never set.
34038         * configure: Regenerated.
34040 2013-01-10  David S. Miller  <davem@davemloft.net>
34042         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34043         sparc V9 rather than using V8 code.
34044         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34045         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34047 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34049         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34050         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34051         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34052         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34053         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34054         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34055         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34056         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34057         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34058         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34059         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34060         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34061         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34062         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34063         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34064         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34065         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34066         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34067         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34068         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34069         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34070         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34071         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34072         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34073         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34074         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34075         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34077 2013-01-10  David S. Miller  <davem@davemloft.net>
34079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34081 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34083         * posix/Makefile (tests-static): New variable.
34084         (tests): Add $(tests-static).
34085         (tst-exec-static-ARGS): New variable.
34086         (tst-spawn-static-ARGS): Likewise.
34087         * posix/tst-exec-static.c: New file.
34088         * posix/tst-spawn-static.c: Likewise.
34089         * posix/tst-exec.c: Support run directly.
34090         * posix/tst-spawn.c: Likewise.
34092 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34094         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34095         long.
34096         * math/bits/mathcalls.h (llrint): Likewise.
34097         (llround): Likewise.
34098         * stdlib/stdlib.h (struct drand48_data): Likewise.
34099         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34100         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34101         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34102         Likewise.
34103         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34104         Likewise.
34105         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34106         (elf_greg_t): Likewise.
34107         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34108         (__jmp_buf): Likewise.
34109         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34110         definitions.
34111         (llrint): Likewise, for all definitions.
34112         (llrintl): Likewise.
34114         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34115         Remove [__GNUC__] condition.
34116         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34117         condition to just [__USE_ISOC99].
34118         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34120 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34122         [BZ #14200]
34123         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34124         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34125         defined.
34126         (_POSIX_V6_ILP32_OFF32): Likewise.
34127         (_XBS5_ILP32_OFF32): Likewise.
34128         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34129         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34131 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34133         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34135         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34136         doubles __mpexp_twomm1.  Adjust usage.
34137         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34138         Remove.
34140 2013-01-10  Andreas Schwab  <schwab@suse.de>
34142         [BZ #14964]
34143         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34144         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34146 2013-01-09  David S. Miller  <davem@davemloft.net>
34148         [BZ #15003]
34149         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34150         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34151         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34152         (TCP_FASTOPEN): Define.
34153         (tcp_repair_opt): New structure.
34154         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34155         enum values.
34156         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34157         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34158         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34159         (tcp_cookie_transactions): New structure.
34161 2013-01-09  Anton Blanchard  <anton@samba.org>
34163         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34164         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34165         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34166         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34168 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34170         * include/features.h (__USE_ANSI): Remove.
34172 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34174         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34176         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34178 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34180         * sysdeps/s390/fpu/libm-test-ulps: Update.
34182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34184         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34185         (__acr): Likewise.
34186         (__cpy): Likewise.
34187         (norm): Likewise.
34188         (denorm): Likewise.
34189         (__mp_dbl): Likewise.
34190         (__dbl_mp): Likewise.
34191         (add_magnitudes): Likewise.
34192         (sub_magnitudes): Likewise.
34193         (__add): Likewise.
34194         (__sub): Likewise.
34195         (__mul): Likewise.
34196         (__inv): Likewise.
34197         (__dvd): Likewise.
34198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34199         (__acr): Likewise.
34200         (__cpy): Likewise.
34201         (norm): Likewise.
34202         (denorm): Likewise.
34203         (__mp_dbl): Likewise.
34204         (__dbl_mp): Likewise.
34205         (add_magnitudes): Likewise.
34206         (sub_magnitudes): Likewise.
34207         (__add): Likewise.
34208         (__sub): Likewise.
34209         (__mul): Likewise.
34210         (__inv): Likewise.
34211         (__dvd): Likewise.
34212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34213         (__acr): Likewise.
34214         (__cpy): Likewise.
34215         (norm): Likewise.
34216         (denorm): Likewise.
34217         (__mp_dbl): Likewise.
34218         (__dbl_mp): Likewise.
34219         (add_magnitudes): Likewise.
34220         (sub_magnitudes): Likewise.
34221         (__add): Likewise.
34222         (__sub): Likewise.
34223         (__mul): Likewise.
34224         (__inv): Likewise.
34225         (__dvd): Likewise.
34227 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34229         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34230         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34231         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34232         2 && __USE_EXTERN_INLINES]: Likewise.
34234 2013-01-08  Andreas Jaeger  <aj@suse.de>
34236         [BZ# 14985]
34237         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34238         Remove.
34239         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34240         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34242 2013-01-07  Anton Blanchard  <anton@samba.org>
34244         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34245         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34246         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34247         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34248         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34249         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34250         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34251         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34253         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34254         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34255         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34256         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34257         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34258         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34259         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34260         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34261         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34262         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34263         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34264         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34265         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34266         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34267         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34268         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34269         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34270         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34271         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34272         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34273         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34274         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34276         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34277         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34278         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34279         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34280         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34281         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34282         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34283         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34284         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34286         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34288 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34290         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34291         (__MALLOC_PMT): Likewise.
34292         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34293         [__GNUC__], only on [_LIBC].
34294         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34295         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34296         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34297         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34298         forward declaration.
34299         (realloc_hook_ini): Likewise.
34300         (memalign_hook_ini): Likewise.
34301         (__libc_memalign): Do not use __MALLOC_PMT in variable
34302         declaration.
34303         (__libc_valloc): Likewise.
34304         (__libc_pvalloc): Likewise.
34305         (__libc_calloc): Likewise.
34306         (__posix_memalign): Likewise.
34308         [BZ #14996]
34309         * math/s_casinh.c: Include <float.h>.
34310         (__casinh): Do not do computation with squaring and square root
34311         for large arguments.
34312         * math/s_casinhf.c: Include <float.h>.
34313         (__casinhf): Do not do computation with squaring and square root
34314         for large arguments.
34315         * math/s_casinhl.c: Include <float.h>.
34316         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34317         (__casinhl): Do not do computation with squaring and square root
34318         for large arguments.
34319         * math/libm-test.inc (casin_test): Add more tests.
34320         (casinh_test): Likewise.
34321         * sysdeps/i386/fpu/libm-test-ulps: Update.
34322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34324 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34326         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34327         (__x86_64_raw_data_cache_size): Likewise.
34328         (__x86_64_data_cache_size_half): Likewise.
34329         (__x86_64_raw_data_cache_size_half): Likewise.
34330         (__x86_64_shared_cache_size): Likewise.
34331         (__x86_64_raw_shared_cache_size): Likewise.
34332         (__x86_64_shared_cache_size_half): Likewise.
34333         (__x86_64_raw_shared_cache_size_half): Likewise.
34334         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34335         to ...
34336         (__x86_data_cache_size): This.
34337         (__x86_64_raw_data_cache_size): Renamed to ...
34338         (__x86_raw_data_cache_size): This.
34339         (__x86_64_data_cache_size_half): Renamed to ...
34340         (__x86_data_cache_size_half): This.
34341         (__x86_64_raw_data_cache_size_half): Renamed to ...
34342         (__x86_raw_data_cache_size_half): This.
34343         (__x86_64_shared_cache_size): Renamed to ...
34344         (__x86_shared_cache_size): This.
34345         (__x86_64_raw_shared_cache_size): Renamed to ...
34346         (__x86_raw_shared_cache_size): This.
34347         (__x86_64_shared_cache_size_half): Renamed to ...
34348         (__x86_shared_cache_size_half): This.
34349         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34350         (__x86_raw_shared_cache_size_half): This.
34351         * sysdeps/x86_64/memcpy.S: Updated.
34352         * sysdeps/x86_64/memset.S: Likewise.
34353         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34354         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34355         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34357 2013-01-04  David S. Miller  <davem@davemloft.net>
34359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34361 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34363         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34364         1 to avoid redefinition warning.
34365         (__USE_GNU): Don't define.
34366         (init_signaling_nan): Protoize.
34368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34370 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34372         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34374         (__cpymn): Likewise.
34375         (norm): Remove commented code.
34376         (denorm): Likewise.
34377         (__mp_dbl): Likewise.
34378         (__inv): Likewise.
34379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34380         (__cpymn): Likewise.
34381         (norm): Remove commented code.
34382         (denorm): Likewise.
34383         (__mp_dbl): Likewise.
34384         (__inv): Likewise.
34386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34387         mp_no value for 1.0 and 2.0.
34388         (norm): Use RADIXI instead of radixi.d.
34389         (denorm): Likewise.
34390         (__mul): Use 0.0 instead of zero.d.
34391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34392         mp_no value for 1.0 and 2.0.
34393         (norm): Use RADIXI instead of radixi.d.
34394         (denorm): Likewise.
34395         (__mul): Use 0.0 instead of zero.d.
34397 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34399         [BZ #14994]
34400         * math/s_casinh.c (__casinh): Reduce finite argument to first
34401         quadrant then set signs of results at the end.
34402         * math/s_casinhf.c (__casinhf): Likewise.
34403         * math/s_casinhl.c (__casinhl): Likewise.
34404         * math/libm-test.inc (casin_test): Add more tests.
34405         (casinh_test): Likewise.
34406         * sysdeps/i386/fpu/libm-test-ulps: Update.
34407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34409 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34411         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34413         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34415         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34416         declarations.
34417         (denorm): Likewise.
34418         (__mp_dbl): Likewise.
34419         (__inv): Likewise.
34421         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34422         and adjust the header comment.
34424         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34425         variable name from declaration.
34427 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34430         Initialize COMMON_CPUID_INDEX_7 element.
34431         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34432         (CPUID_RTM): Likewise.
34433         (HAS_RTM): Likewise.
34434         (COMMON_CPUID_INDEX_7): New enum.
34436 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34438         [BZ #14981]
34439         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34440         size is zero, record memory as freed.
34442 2013-01-03  Andreas Jaeger  <aj@suse.de>
34444         * po/ia.po: Add new Interlingua translation.
34446 2012-01-03  Allan McRae  <allan@archlinux.org>
34448         * locale/programs/localedef.c: Fix description of '--posix' flag.
34450 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34452         * NEWS: Update dates in second copyright notice.
34453         * README: Update copyright dates in example.
34454         * manual/libc.texinfo: Update copyright dates.
34455         * scripts/test-installation.pl: Update copyright date in --version
34456         output.
34458         * hurd/ctty-input.c: Fix copyright notice formatting.
34459         * hurd/ctty-output.c: Likewise.
34460         * hurd/dtable.c: Likewise.
34461         * hurd/hurd-raise.c: Likewise.
34462         * hurd/hurdprio.c: Likewise.
34463         * hurd/msgportdemux.c: Likewise.
34464         * misc/sys/file.h: Likewise.
34465         * misc/sys/ioctl.h: Likewise.
34466         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34467         * sysdeps/mach/hurd/chdir.c: Likewise.
34468         * sysdeps/mach/hurd/fchdir.c: Likewise.
34469         * sysdeps/mach/hurd/rename.c: Likewise.
34470         * sysdeps/mach/hurd/rmdir.c: Likewise.
34471         * sysdeps/mach/hurd/seekdir.c: Likewise.
34472         * sysdeps/mach/hurd/setsid.c: Likewise.
34473         * sysdeps/posix/wait3.c: Likewise.
34475         * All files with FSF copyright notices: Update copyright dates
34476         using scripts/update-copyrights.
34477         * intl/plural.c: Regenerated.
34478         * locale/programs/charmap-kw.h: Likewise.
34479         * locale/programs/locfile-kw.h: Likewise.
34481 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34483         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34484         four values.
34486         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34487         calculation loop and add branch prediction.
34489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34490         check access beyond bounds of m1np.
34492         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34493         MPTWO.
34494         (__inv): Remove local variable MPTWO to use the global
34495         constant.
34496         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34498         variable MPTWO.
34499         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34500         MP3HALFS static const.
34502 2013-01-01  David S. Miller  <davem@davemloft.net>
34504         * po/ca.po: Update from translation team.
34506 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34508         * scripts/update-copyrights: New file.
34509         * Makeconfig: Reformat copyright notice.
34510         * ctype/ctype.h: Likewise.
34511         * debug/swprintf_chk.c: Likewise.
34512         * elf/dl-cache.c: Likewise.
34513         * elf/dl-debug.c: Likewise.
34514         * elf/dl-object.c: Likewise.
34515         * grp/initgroups.c: Likewise.
34516         * hurd/Makefile: Likewise.
34517         * hurd/hurd/signal.h: Likewise.
34518         * hurd/hurdfault.c: Likewise.
34519         * hurd/hurdioctl.c: Likewise.
34520         * hurd/hurdlookup.c: Likewise.
34521         * hurd/intr-msg.c: Likewise.
34522         * iconv/gconv_open.c: Likewise.
34523         * libio/swprintf.c: Likewise.
34524         * locale/lc-ctype.c: Likewise.
34525         * locale/nl_langinfo.c: Likewise.
34526         * mach/Machrules: Likewise.
34527         * mach/Makefile: Likewise.
34528         * malloc/obstack.h: Likewise.
34529         * manual/Makefile: Likewise.
34530         * manual/tsort.awk: Likewise.
34531         * misc/bits/stab.def: Likewise.
34532         * nis/nis_print_group_entry.c: Likewise.
34533         * nis/nis_table.c: Likewise.
34534         * nis/nss_compat/compat-pwd.c: Likewise.
34535         * nis/nss_compat/compat-spwd.c: Likewise.
34536         * po/Makefile: Likewise.
34537         * posix/fnmatch.c: Likewise.
34538         * posix/regex.h: Likewise.
34539         * resolv/Makefile: Likewise.
34540         * resolv/nss_dns/dns-network.c: Likewise.
34541         * resolv/res_hconf.c: Likewise.
34542         * scripts/gen-sorted.awk: Likewise.
34543         * soft-fp/soft-fp.h: Likewise.
34544         * stdio-common/printf.h: Likewise.
34545         * stdlib/monetary.h: Likewise.
34546         * stdlib/random.c: Likewise.
34547         * stdlib/random_r.c: Likewise.
34548         * sysdeps/generic/Makefile: Likewise.
34549         * sysdeps/gnu/Makefile: Likewise.
34550         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34552         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34553         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34554         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34556         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34557         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34560         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34561         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34562         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34563         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34564         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34565         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34566         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34567         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34568         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34569         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34570         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34571         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34572         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34573         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34574         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34575         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34576         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34577         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34578         * sysdeps/mach/hurd/errnos.awk: Likewise.
34579         * sysdeps/mach/hurd/fork.c: Likewise.
34580         * sysdeps/mach/hurd/getcwd.c: Likewise.
34581         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34582         * sysdeps/mach/hurd/mmap.c: Likewise.
34583         * sysdeps/mach/hurd/utimes.c: Likewise.
34584         * sysdeps/mach/hurd/xmknod.c: Likewise.
34585         * sysdeps/posix/profil.c: Likewise.
34586         * sysdeps/posix/readdir_r.c: Likewise.
34587         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34588         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34589         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34590         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34592         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34593         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34594         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34596         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34597         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34598         * sysdeps/pthread/lio_listio.c: Likewise.
34599         * sysdeps/sparc/dl-procinfo.h: Likewise.
34600         * sysdeps/unix/i386/sysdep.S: Likewise.
34601         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34602         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34603         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34604         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34606         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34607         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34608         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34609         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34610         * sysdeps/wordsize-32/divdi3.c: Likewise.
34611         * time/sys/time.h: Likewise.
34612         * wcsmbs/Makefile: Likewise.
34614 2013-01-01  David S. Miller  <davem@davemloft.net>
34616         * po/fr.po: Update from translation team.
34618         * catgets/gencat.c: Update copyright year.
34619         * csu/version.c: Likewise.
34620         * debug/catchsegv.sh: Likewise.
34621         * debug/pcprofiledump.c: Likewise.
34622         * debug/xtrace.sh: Likewise.
34623         * elf/ldconfig.c: Likewise.
34624         * elf/ldd.bash.in: Likewise.
34625         * elf/pldd.c: Likewise.
34626         * elf/sotruss.ksh: Likewise.
34627         * elf/sprof.c: Likewise.
34628         * iconv/iconv_prog.c: Likewise.
34629         * iconv/iconvconfig.c: Likewise.
34630         * locale/programs/locale.c: Likewise.
34631         * locale/programs/localedef.c: Likewise.
34632         * login/programs/pt_chown.c: Likewise.
34633         * malloc/memusage.sh: Likewise.
34634         * malloc/memusagestat.c: Likewise.
34635         * malloc/mtrace.pl: Likewise.
34636         * nscd/nscd.c: Likewise.
34637         * nss/getent.c: Likewise.
34638         * nss/makedb.c: Likewise.
34639         * posix/getconf.c: Likewise.
34641 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34643         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34644         numbers.
34646 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34648         * math/bits/mathcalls.h (modf): Use __nonnull.
34650 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34652         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34653         (split): Use macro CN instead of the bare value.
34654         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34655         could be used.
34656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34657         instead of the bare value.
34658         (power1): Likewise.
34660 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34662         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34663         __ATAN_TWOM.
34664         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34666         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34667         their values.
34668         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34669         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34670         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34671         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34673 2012-12-28  Andreas Jaeger  <aj@suse.de>
34675         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34676         values are from Linux 3.7.
34678         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34679         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34681 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34683         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34684         TRUE case.
34686         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34687         (norm): Likewise.
34688         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34689         variables with preprocessor constants.
34690         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34691         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34692         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34694 2012-12-27  Bruno Haible  <bruno@clisp.org>
34696         [BZ #14317]
34697         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34698         only if needed.
34700 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34702         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34703         and use variable directly.
34704         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34706         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34707         MPONE.
34708         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34709         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34710         variable MPONE.
34711         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34712         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34713         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34714         include directive.  Remove local variable MPONE.
34715         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34716         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34717         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34719 2012-12-25  David S. Miller  <davem@davemloft.net>
34721         * version.h (RELEASE): Set to "development".
34722         (VERSION): Set to "2.17.90".
34723         * NEWS: Add 2.18 section.
34725 2012-12-21  David S. Miller  <davem@davemloft.net>
34727         * po/hr.po: Update from translation team.
34729 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34731         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34733 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34735         * NEWS:  Mention new memcpy for MIPS.
34737 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34739         * manual/contrib.texi (Contributors): Spelling correction.
34741 2012-12-15  David S. Miller  <davem@davemloft.net>
34743         * po/ru.po: Update from translation team.
34745 2012-12-13  David S. Miller  <davem@davemloft.net>
34747         * NEWS: Mention IFUNC testsuite enhancements.
34749         * po/pl.po: Update from translation team.
34750         * po/bg.po: Likewise.
34752         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34753         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34755 2012-12-11  David S. Miller  <davem@davemloft.net>
34757         * po/sv.po: Update from translation team.
34759         * po/vi.po: Update from translation team.
34761         * po/cs.po: Update from translation team.
34763         * po/de.po: Update from translation team.
34764         * po/eo.po: Likewise.
34765         * po/nl.po: Likewise.
34767 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34769         [BZ #14246]
34770         * manual/argp.texi (Argp Helper Functions): Move node to follow
34771         Argp Parsing State.
34773         [BZ #14872]
34774         * manual/conf.texi (Limits on File System Capacity): Mention if
34775         terminating null is included in the max size.
34777 2012-12-10  Andreas Jaeger  <aj@suse.de>
34779         * po/cs.po: Update from translation team.
34781 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34783         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34784         void pointer and cast to uintptr_t.
34785         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34786         path.
34787         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34788         * sysdeps/s390/s390-64/memset.S: Likewise.
34790 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34792         [BZ #14833]
34793         * menual/message.texi (Message Translation): Fix typos.
34794         (Helper programs for gettext): Likewise.
34796 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34798         [BZ #14898]
34799         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34800         Change to -1.
34802 2012-12-07  David S. Miller  <davem@davemloft.net>
34804         * po/libc.pot: Update.
34806 2012-12-07  Richard Henderson  <rth@redhat.com>
34808         [BZ #10114]
34809         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34810         normal/normal case to before the switch.
34811         (_FP_DIV): Likewise.
34813 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34814             Mike Frysinger  <vapier@gentoo.org>
34816         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34817         check for __NR_fadvise64_64.
34819 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34821         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34822         0, not just to plain "0" as a statement.
34823         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34824         with cw.
34826 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34828         * NEWS: Use sourceware.org in Bugzilla URL.
34830 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34833         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34835         * stdio-common/tst-put-error.c (do_test): Add newline to the
34836         padded test to ensure flush.
34838 2012-12-05  Jeff Law  <law@redhat.com>
34840         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34842 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34844         * README: Don't refer to ports add-on as distributed separately.
34845         Mention AArch64 in list of systems supported in the ports add-on.
34847         * LICENSES: Add more non-FSF copyright and license notices.
34849         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34850         ((unused)).
34852         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34854         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34855         10000 as width of padded output.
34857 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34859         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34861         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34862         variable LX with __attribute__ ((unused)).
34863         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34864         Likewise.
34865         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34866         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34867         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34868         with __attribute__ ((unused)).
34870 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34872         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34874 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34876         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34877         (CFLAGS-nldbl-acos.c): New variable.
34878         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34879         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34880         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34881         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34882         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34883         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34884         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34885         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34886         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34887         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34888         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34889         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34890         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34891         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34892         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34893         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34894         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34895         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34896         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34897         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34898         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34899         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34900         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34901         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34902         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34903         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34904         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34905         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34906         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34907         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34908         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34909         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34910         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34911         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34912         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34913         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34914         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34915         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34916         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34917         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34918         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34919         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34920         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34921         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34922         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34923         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34924         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34925         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34926         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34927         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34928         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34929         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34930         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34931         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34932         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34933         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34934         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34935         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34936         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34937         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34938         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34939         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34940         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34941         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34942         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34943         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34944         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34945         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34946         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34947         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34948         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34949         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34950         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34951         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34952         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34953         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34954         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34955         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34956         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34957         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34958         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34959         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34960         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34961         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34962         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34963         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34964         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34965         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34966         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34967         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34968         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34969         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34970         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34971         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34972         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34973         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34974         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34977         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34979         [BZ #14914]
34980         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34981         whole low double instead of just low 47 bits when splitting values
34982         into two parts.
34984 2012-12-03  Allan McRae  <allan@archlinux.org>
34986         * manual/stdio.texi (Predefined Printf Handlers): Remove
34987         @hsep and @vsep usage.
34989 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34991         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34992         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34994 2012-12-03  Jeff Law  <law@redhat.com>
34996         * time/sys/time.h (settimeofday): Do not mark TV argument
34997         as __nonnull.
34999 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35001         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35002         when currently writing and seek to current position when not.
35003         * libio/Makefile (tests): Remove bug-fclose1.
35004         * libio/bug-fclose1.c: Delete.
35006 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35008         * manual/arith.texi (feenableexcept): Fix typo.
35009         (fedisableexcept): Likewise.
35011 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35013         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35014         second, differently-typed declaration, rather than a cast.
35016 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35018         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35019         * include/rpc/svc.h: ... here.
35021 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35023         [BZ #13013]
35024         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35025         depending n and resplen2 to catch cases where answer
35026         equals answerp2.
35028 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35030         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35031         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35033 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35035         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35037 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35039         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35041 2012-11-28  Jeff Law  <law@redhat.com>
35043         [BZ #13761]
35044         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35045         dataset_temporary.  Track alloca usage into alloca_used.
35046         If dataset is large allocate and release it via malloc/free.
35048 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35050         [BZ #14197]
35051         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35053 2012-11-28  David S. Miller  <davem@davemloft.net>
35055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35057 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35059         [BZ #14803]
35060         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35061         of pi/2 rounded to nearest to 64 bits.
35062         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35063         nearest to 64 bits.
35064         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35065         bits.
35067 2012-11-28  Jeff Law <law@redhat.com>
35068             Martin Osvald <mosvald@redhat.com>
35070         [BZ #14889]
35071         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35072         * sunrpc/svc.c: Include time.h.
35073         (__svc_accept_failed): New function.
35074         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35075         any reason other than EINTR, call __svc_accept_failed.
35076         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35077         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35079 2012-11-28  Andreas Schwab  <schwab@suse.de>
35081         * scripts/abilist.awk: Also handle indirect functions in .opd
35082         section.
35084 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35086         [BZ #13881]
35087         * sysdeps/x86/fpu/powl_helper.c: New file.
35088         * sysdeps/x86/fpu/Makefile: Likewise.
35089         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35090         (p3): New object.
35091         (__ieee754_powl): Use __powl_helper for finite arguments except
35092         integer exponents below 8.
35093         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35094         (p3): New object.
35095         (__ieee754_powl): Use __powl_helper for finite arguments except
35096         integer exponents below 8.
35097         * math/libm-test.inc (pow_test): Add more tests and enable some
35098         previously disabled tests.
35099         * sysdeps/i386/fpu/libm-test-ulps: Update.
35100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35102 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35103             Carlos O'Donell  <carlos_odonell@mentor.com>
35105         * nss/makedb.c (is_prime): Assert that input is odd and greater
35106         than 4.  Note that fact in a comment too.
35107         (next_prime): Add 4 to input.
35109 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35111         [BZ #11741]
35112         * libio/Makefile (tests): Add test case tst-fwrite-error.
35113         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35114         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35115         * libio/tst-fwrite-error.c: New test case.
35117 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35119         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35120         before casting to void *.
35121         * include/libc-internal.h (__pointer_type): New macro.
35122         (__integer_if_pointer_type_sub): Likewise.
35123         (__integer_if_pointer_type): Likewise.
35124         (cast_to_integer): Likewise.
35125         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35126         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35127         before casting to atomic64_t.
35128         (atomic_exchange_acq): Likewise.
35129         (__arch_exchange_and_add_body): Likewise.
35130         (__arch_add_body): Likewise.
35131         (atomic_add_negative): Likewise.
35132         (atomic_add_zero): Likewise.
35134 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35136         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35137         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35138         (add_fdes): Likewise.
35139         (linear_search_fdes): Likewise.
35140         (binary_search_unencoded_fdes): Likewise.
35142 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35144         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35146 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35148         * configure.in: Autodetect C++ header directories.
35149         * configure: Regenerated.
35151 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35153         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35155 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35159 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35161         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35162         LDBL_MANT_DIG == 106]: Disable some tests.
35163         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35164         Likewise.
35165         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35166         Likewise.
35168         [BZ #14871]
35169         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35170         input for small inputs.  Return +/- pi/2 for large inputs.
35171         * math/libm-test.inc (atan_test): Add more tests.
35173         * sysdeps/generic/unwind-dw2-fde-glibc.c
35174         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35175         __attribute__ ((unused)).
35177         [BZ #14645]
35178         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35179         x * y if x and y are nonzero and z is zero.
35181         [BZ #14811]
35182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35183         nonzero exponents with absolute value below 0x1p-117 to +/-
35184         0x1p-117.
35186         [BZ #14869]
35187         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35188         up arguments below 2**-450, not just those below 2**-500.
35189         * math/libm-test.inc (hypot_test): Add another test.
35191         [BZ #14868]
35192         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35193         Return a+b for ratio over 2**120, not 2**60.
35194         * math/libm-test.inc (hypot_test): Add another test.
35196         * math/libm-test.inc (clog_test): Use
35197         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35198         (clog10_test): Likewise.
35200         [BZ #6778]
35201         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35203 2012-11-22  Andreas Schwab  <schwab@suse.de>
35205         * sysdeps/i386/fpu/libm-test-ulps: Update.
35207 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35209         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35210         printf output with newline.
35212 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35214         [BZ #14865]
35215         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35216         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35217         -z nodlopen, -z initfirst and -z execstack support.
35218         * configure: Regenerated.
35220         * elf/elf.h (DF_1_NODIRECT): New macro.
35221         (DF_1_IGNMULDEF): Likewise.
35222         (DF_1_NOKSYMS): Likewise.
35223         (DF_1_NOHDR): Likewise.
35224         (DF_1_EDITED): Likewise.
35225         (DF_1_NORELOC): Likewise.
35226         (DF_1_SYMINTPOSE): Likewise.
35227         (DF_1_GLOBAUDIT): Likewise.
35228         (DF_1_SINGLETON): Likewise.
35229         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35230         DT_1_SUPPORTED_MASK bits.
35231         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35233 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35235         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35237 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35239         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35240         macro.
35242         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35243         (sendmmsg): Move declarations...
35244         * socket/sys/socket.h: ... here.
35245         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35246         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35247         include it from...
35248         * socket/recvmmsg.c: ... this new file.
35249         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35250         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35251         definition of __sendmmsg hidden.
35252         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35253         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35254         Move ENOSYS stub into and include it from...
35255         * socket/sendmmsg.c: ... this new file.
35256         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35257         (sysdep_routines): Move recvmmsg and sendmmsg...
35258         * socket/Makefile (routines): ... here.
35259         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35260         (GLIBC_PRIVATE): Add __sendmmsg.
35261         * include/sys/socket.h (__sendmmsg): Add declarations.
35262         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35263         sendmmsg.
35265 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35267         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35268         variable I1 with __attribute__ ((unused)).
35269         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35271 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35273         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35274         DUMMY variables with __attribute__ ((unused)).
35276         * bits/byteswap.h: Include <bits/types.h>.
35277         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35279 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35281         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35282         string_t.  Do not manually set errno.
35283         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35284         length with __strnlen.  Make sure to both set errno and return it on
35285         failure.
35287 2012-11-19  David S. Miller  <davem@davemloft.net>
35289         With help from Joseph Myers.
35290         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35291         very large arguments properly.
35292         * math/libm-test.inc (atan_test): New tests.
35293         (atan2_test): New tests.
35294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35297 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35299         [BZ #14856]
35300         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35301         Define to 3.
35303         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35304         [POSIX] (EADDRNOTAVAIL): Likewise.
35305         [POSIX] (EAFNOSUPPORT): Likewise.
35306         [POSIX] (EALREADY): Likewise.
35307         [POSIX] (ECONNABORTED): Likewise.
35308         [POSIX] (ECONNREFUSED): Likewise.
35309         [POSIX] (ECONNRESET): Likewise.
35310         [POSIX] (EDESTADDRREQ): Likewise.
35311         [POSIX] (EDQUOT): Likewise.
35312         [POSIX] (EHOSTUNREACH): Likewise.
35313         [POSIX] (EIDRM): Likewise.
35314         [POSIX] (EISCONN): Likewise.
35315         [POSIX] (ELOOP): Likewise.
35316         [POSIX] (EMULTIHOP): Likewise.
35317         [POSIX] (ENETDOWN): Likewise.
35318         [POSIX] (ENETUNREACH): Likewise.
35319         [POSIX] (ENOBUFS): Likewise.
35320         [POSIX] (ENODATA): Likewise.
35321         [POSIX] (ENOLINK): Likewise.
35322         [POSIX] (ENOMSG): Likewise.
35323         [POSIX] (ENOPROTOOPT): Likewise.
35324         [POSIX] (ENOSR): Likewise.
35325         [POSIX] (ENOSTR): Likewise.
35326         [POSIX] (ENOTCONN): Likewise.
35327         [POSIX] (ENOTSOCK): Likewise.
35328         [POSIX] (EOPNOTSUPP): Likewise.
35329         [POSIX] (EOVERFLOW): Likewise.
35330         [POSIX] (EPROTO): Likewise.
35331         [POSIX] (EPROTONOSUPPORT): Likewise.
35332         [POSIX] (EPROTOTYPE): Likewise.
35333         [POSIX] (ESTALE): Likewise.
35334         [POSIX] (ETIME): Likewise.
35335         [POSIX] (ETXTBSY): Likewise.
35336         [POSIX] (EWOULDBLOCK): Likewise.
35337         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35338         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35339         [POSIX] (SEEK_CUR): Likewise.
35340         [POSIX] (SEEK_END): Likewise.
35341         [POSIX || UNIX98] (mode_t): Do not require.
35342         [POSIX] (off_t): Likewise.
35343         [POSIX] (pid_t): Likewise.
35344         [POSIX] (sys/stat.h): Do not allow header.
35345         [POSIX] (unistd.h): Likewise.
35346         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35347         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35348         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35349         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35350         require.
35351         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35352         sigevent): Specify elements.
35353         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35354         entry.
35355         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35356         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35358         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35359         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35360         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35361         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35362         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35363         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35364         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35365         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35366         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35367         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35368         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35369         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35370         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35371         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35372         Likewise.
35373         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35374         Likewise.
35375         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35376         Likewise.
35377         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35378         Likewise.
35379         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35380         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35381         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35382         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35383         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35384         Specify lower bound on value.
35385         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35386         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35387         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35388         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35389         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35390         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35391         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35392         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35393         value.
35394         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35395         as optional.
35396         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35397         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35398         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35399         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35400         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35401         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35402         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35403         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35404         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35405         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35406         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35407         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35408         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35409         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35410         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35411         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35412         entry.
35413         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35414         optional.
35415         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35416         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35417         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35418         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35419         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35420         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35421         Likewise.
35422         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35423         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35424         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35425         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35426         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35427         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35428         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35429         as optional.
35430         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35431         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35432         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35433         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35434         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35435         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35436         specify as optional.
35437         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35438         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35439         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35440         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35441         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35442         [XPG3] (NL_LANGMAX): Likewise.
35443         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35444         [POSIX || XPG3] (NL_NMAX): Likewise.
35445         [POSIX || XPG3] (NL_SETMAX): Likewise.
35446         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35447         [XPG3] (NZERO): Likewise.
35448         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35449         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35450         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35451         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35452         (REG_ERANGE): Expect.
35453         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35454         optional-constant.
35455         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35456         Use (void) in prototype.
35457         [POSIX] (*_t): Allow.
35458         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35459         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35460         (WRDE_BADVAL): Expect.
35462         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35463         expect.
35464         [XPG3 || XPG4] (O_RSYNC): Likewise.
35465         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35466         Likewise.
35467         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35468         [XPG3 || XPG4] (sigqueue): Likewise.
35469         [XPG3 || XPG4] (sigtimedwait): Likewise.
35470         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35471         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35472         [XPG3 || XPG4] (vsnprintf): Likewise.
35473         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35474         Likewise.
35475         [XPG3 || XPG4] (blksize_t): Likewise.
35476         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35477         Likewise.
35478         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35479         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35480         [XPG3 || XPG4] (struct itimerspec): Likewise.
35481         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35482         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35483         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35484         [XPG3 || XPG4] (clockid_t): Likewise.
35485         [XPG3 || XPG4] (timer_t): Likewise.
35486         [XPG3 || XPG4] (clock_getres): Likewise.
35487         [XPG3 || XPG4] (clock_gettime): Likewise.
35488         [XPG3 || XPG4] (clock_settime): Likewise.
35489         [XPG3 || XPG4] (nanosleep): Likewise.
35490         [XPG3 || XPG4] (timer_create): Likewise.
35491         [XPG3 || XPG4] (timer_delete): Likewise.
35492         [XPG3 || XPG4] (timer_gettime): Likewise.
35493         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35494         [XPG3 || XPG4] (timer_settime): Likewise.
35495         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35496         [XPG3 || XPG4] (getlogin_r): Likewise.
35497         [XPG3 || XPG4] (pread): Likewise.
35498         [XPG3 || XPG4] (pthread_atfork): Likewise.
35499         [XPG3 || XPG4] (pwrite): Likewise.
35501         [BZ #14835]
35502         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35503         <bits/siginfo.h>.
35505 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35507         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35508         finalizing MALLSTREAM.
35510         * sysdeps/mach/hurd/syncfs.c: New file.
35512 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35514         [BZ #14719]
35515         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35516         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35517         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35518         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35519         (_nss_dns_gethostbyname4_r): Likewise.
35520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35521         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35523 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35525         [BZ #13763]
35526         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35528 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35530         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35531         * elf/cache.c (print_entry): Print ",AArch64" for
35532         FLAG_AARCH64_LIB64
35534         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35535         * elf/cache.c (print_entry): Print ",hard-float" for
35536         FLAG_ARM_LIBHF.
35538 2012-11-18  David S. Miller  <davem@davemloft.net>
35540         With help from Joseph Myers.
35541         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35542         cutoff to 2**-13.
35543         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35544         cutoff to 2**-25.
35545         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35546         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35547         small.
35548         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35549         * math/libm-test.inc (y0_test): New tests.
35550         (y1_test): New tests.
35551         * sysdeps/i386/fpu/libm-test-ulps: Update.
35552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35555 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35557         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35558         64-bit targets.
35559         * configure: Regenerated.
35561 2012-11-17  David S. Miller  <davem@davemloft.net>
35563         [BZ #14811]
35564         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35565         nonzero exponents with absolute value below 0x1p-128 to +/-
35566         0x1p-128.
35568 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35570         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35572         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35574         * posix/getconf-speclist.c: New file.
35575         * posix/posix-envs.def: Likewise.
35576         * posix/confstr.c (START_ENV_GROUP): New macro.
35577         (END_ENV_GROUP): Likewise.
35578         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35579         (KNOWN_PRESENT_ENV_STRING): Likewise.
35580         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35581         (UNKNOWN_ENVIRONMENT): Likewise.
35582         (confstr): Include posix-envs.def instead of handling
35583         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35584         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35585         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35586         (END_ENV_GROUP): Likewise.
35587         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35588         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35589         (UNKNOWN_ENVIRONMENT): Likewise.
35590         (__sysconf): Include posix-envs.def instead of handling associated
35591         cases directly here.
35592         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35593         preprocessing getconf-speclist.c rather than running getconf or
35594         generating empty file.
35596 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35598         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35600 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35602         [BZ #14672]
35603         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35605 2012-11-16  David S. Miller  <davem@davemloft.net>
35607         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35608         smaller than LDBL_EPSILON/2.0L, just return xm1.
35610 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35612         * elf/tst-array1.c (init): Set constructor priority to 1000.
35613         (fini): Set destructor priority to 1000.
35614         * elf/tst-array2dep.c: Likewise.
35616 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35618         [BZ #11741]
35619         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35620         (_IO_new_file_xsputn): Also return EOF if none of the input
35621         data was written when overflow failed.
35622         * libio/iopadn.c (_IO_padn): Likewise.
35623         * libio/iowpadn.c (_IO_wpadn): Likewise.
35624         * stdio-common/tst-put-error.c: Add copyright notice.
35625         (do_test): Add case for printing padded string.
35626         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35627         _IO_padn returned error.
35628         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35629         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35630         return EOF.
35632 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35634         * libio/libioP.h: Add comment note that the references to C++
35635         bits are now obsolete.
35637 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35639         * math/libm-test.inc (check_complex): Use asprintf.
35641 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35643         * debug/pcprofiledump.c (print_version): Update copyright year.
35644         * malloc/memusagestat.c (print_version): Likewise.
35646 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35648         [BZ #14831]
35649         * elf/Makefile (tests): Add tst-audit8.
35650         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35651         ($(objpfx)tst-audit8.out): New target.
35652         (tst-audit8-ENV): New variable.
35653         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35654         audit if l_reloc_result is NULL.
35655         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35656         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35657         * elf/tst-audit8.c: New file.
35659 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35661         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35662         * misc/Makefile (CFLAGS-select.c): Define.
35663         * posix/Makefile (CFLAGS-pause.c): Define.
35665 2012-11-13  David S. Miller  <davem@davemloft.net>
35667         * crypt/Makefile: Move test targets after toplevel Rules
35668         inclusion.  Grab any necessary sysdep routines when linking.
35669         * crypt/md5.c (md5_process_block): Remove define, we will always
35670         name it __md5_process_block.
35671         (md5_finish_ctx): Update md5_process_block call.
35672         (md5_stream): Likewise.
35673         (md5_process_bytes): Likewise.
35674         (md5_process_block): Rename to __md5_process_block and move to ...
35675         * crypt/md5-block.c: ... here.
35676         * crypt/sha256.c (sha256_process_block): Move to ...
35677         * crypt/sha256-block.c: ... here.
35678         * crypt/sha512.c (sha512_process_block): Move to ...
35679         * crypt/sha512-block.c: ... here.
35680         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35681         path.
35682         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35683         * sysdeps/sparc/sparc64/multiarch/Makefile
35684         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35685         crypt subdir.
35686         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35687         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35688         multiarch changes.
35689         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35690         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35691         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35692         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35693         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35694         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35695         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35696         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35697         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35698         file.
35699         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35700         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35701         file.
35702         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35704 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35706         * timezone/tzselect.ksh: Update from tzcode git revision
35707         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35708         * timezone/zdump.c: Likewise.
35709         * timezone/zic.c: Likewise.
35710         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35711         in TZVERSION setting, not $(PKGVERSION).
35712         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35713         REPORT_BUGS_TO settings.
35715         [BZ #14838]
35716         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35717         macro.
35719 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35721         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35722         detection to immediately after _FP_ROUND().
35723         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35724         bits are 0.
35726 2012-11-11  David S. Miller  <davem@davemloft.net>
35728         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35729         inttypes.h
35730         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35731         __close rather than their public counterparts.
35733 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35735         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35736         file.
35737         [UNIX98] (sem_timedwait): Do not expect.
35738         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35739         [XPG4 || UNIX98] (sockatmark): Do not expect.
35740         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35741         (clock_getcpuclockid): Do not expect.
35742         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35743         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35744         Do not expect.
35745         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35746         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35747         [UNIX98] (vwscanf): Likewise.
35748         [UNIX98] (vswscanf): Likewise.
35750 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35752         * timezone/version.h: Remove file.
35753         * timezone/README: Do not refer to version.h.
35754         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35755         $(objpfx)version.h.
35756         ($(objpfx)zdump.o): Likewise.
35757         ($(objpfx)version.h): New target.
35759         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35760         2012i.
35761         * timezone/README: Don't mention modification to tzselect.ksh.
35762         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35763         work on unmodified tzselect.ksh.  Substitute version numbers in
35764         tzselect.ksh.
35766         * Makefile (format-me): Remove.
35767         (INSTALL): Adjust indentation.  Use commands directly instead of
35768         using $(format-me).
35770         * aclocal.m4 (ACX_PKGVERSION): New macro.
35771         (ACX_BUGURL): Likewise.
35772         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35773         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35774         (REPORT_BUGS_TO): Likewise.
35775         * configure: Regenerated.
35776         * config.h.in (PKGVERSION): New macro.
35777         (REPORT_BUGS_TO): Likewise.
35778         * config.make.in (PKGVERSION): New variable.
35779         (PKGVERSION_TEXI): Likewise.
35780         (REPORT_BUGS_TO): Likewise.
35781         (REPORT_BUGS_TEXI): Likewise.
35782         * Makefile (format-me): Use -I$(common-objpfx)manual.
35783         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35784         ($(common-objpfx)manual/%): New target.
35785         (manual/%): Remove target.
35786         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35787         (print_version): Use PKGVERSION.
35788         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35789         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35790         and REPORT_BUGS_TO.
35791         ($(objpfx)xtrace): Likewise.
35792         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35793         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35794         (print_version): Use PKGVERSION.
35795         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35796         (do_version): Use PKGVERSION.
35797         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35798         REPORT_BUGS_TO.
35799         (common-ldd-rewrite): Likewise.
35800         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35801         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35802         (print_version): Use PKGVERSION.
35803         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35804         * elf/pldd.c (argp_program_bug_address): Remove variable.
35805         (more_help): New function.
35806         (argp): Use more_help.
35807         (print_version): Use PKGVERSION.
35808         * elf/sln.c (main): Use PKGVERSION.
35809         (usage): Use REPORT_BUGS_TO.
35810         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35811         (top level): Use PKGVERSION.
35812         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35813         (print_version): Use PKGVERSION.
35814         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35815         (print_version): Use PKGVERSION.
35816         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35817         (print_version): Use PKGVERSION.
35818         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35819         (print_version): Use PKGVERSION.
35820         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35821         (print_version): Use PKGVERSION.
35822         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35823         (print_version): Use PKGVERSION.
35824         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35825         and BUGURL.
35826         ($(objpfx)memusage): Likewise.
35827         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35828         (do_version): Use PKGVERSION.
35829         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35830         (print_version): Use PKGVERSION.
35831         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35832         ($PKGVERSION): New variable.
35833         ($REPORT_BUGS_TO): Likewise.
35834         (usage): Use $REPORT_BUGS_TO.
35835         (top level): Use $PKGVERSION.
35836         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35837         ($(objpfx)pkgvers.texi): New rule.
35838         ($(objpfx)stamp-pkgvers): Likewise.
35839         * manual/install.texi: Include pkgvers.texi.
35840         (--with-pkgversion): Document new configure option.
35841         (--with-bugurl): Likewise.
35842         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35843         than necessarily for this particular distribution.  Use
35844         REPORT_BUGS_TO for where to report bugs.
35845         * INSTALL: Regenerated.
35846         * manual/libc.texinfo: Include pkgvers.texi.
35847         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35848         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35849         (print_version): Use PKGVERSION.
35850         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35851         (print_version): Use PKGVERSION.
35852         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35853         (print_version): Use PKGVERSION.
35854         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35855         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35856         macro.
35857         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35858         (print_version): Use PKGVERSION.
35859         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35860         (print_version): Use PKGVERSION.
35861         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35862         and PKGVERSION.
35864         * timezone/checktab.awk: Update from tzcode 2012i.
35865         * timezone/ialloc.c: Likewise.
35866         * timezone/private.h: Likewise.
35867         * timezone/scheck.c: Likewise.
35868         * timezone/tzfile.h: Likewise.
35869         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35870         (TZVERSION): Hardcode tzcode version number.
35871         * timezone/zdump.c: Update from tzcode 2012i.
35872         * timezone/zic.c: Likewise.
35873         * timezone/version.h: New file.
35874         * timezone/README: Describe version.h.  Update upstream location.
35876         [BZ #14824]
35877         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35878         (mktemp): Enable declaration.
35879         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35880         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35881         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35882         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35883         Likewise.
35884         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35885         Likewise.
35886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35887         Likewise.
35888         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35889         Likewise.
35890         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35891         Likewise.
35892         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35893         Likewise.
35895         [BZ #14821]
35896         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35897         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35898         for copies of such integer values.
35899         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35900         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35902 2012-11-09  Andreas Jaeger  <aj@suse.de>
35904         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35905         definitions and declarations that are provided by
35906         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35908 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35910         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35911         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35912         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35913         definition.
35915 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35917         * elf/elf.h: Update comment before AArch64 relocations.
35919 2012-11-07  David S. Miller  <davem@davemloft.net>
35921         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35922         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35923         (__start_context): Declare.
35924         (__makecontext_ret): Delete.
35925         (__makecontext): Hook up __start_context instead of
35926         __makecontext_ret.
35927         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35928         (sysdep_routines): Add __start_context when in stdlib.
35930 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35932         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35933         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35934         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35935         hardcoded "nm".
35936         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35937         (READELF): New variable.  Use it instead of hardcoded "readelf".
35939 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35941         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35942         * sysdeps/x86/Makefile: Here.
35943         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35944         * sysdeps/x86/tst-xmmymm.sh: This.
35946 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35948         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35949         expectations.
35950         [UNIX98] (pthread_barrier_t): Do not expect.
35951         [UNIX98] (pthread_barrierattr_t): Likewise.
35952         [UNIX98] (pthread_spinlock_t): Likewise.
35953         [UNIX98] (pthread_barrier_destroy): Likewise.
35954         [UNIX98] (pthread_barrier_init): Likewise.
35955         [UNIX98] (pthread_barrier_wait): Likewise.
35956         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35957         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35958         [UNIX98] (pthread_barrierattr_init): Likewise.
35959         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35960         [UNIX98] (pthread_getcpuclockid): Likewise.
35961         [UNIX98] (pthread_mutex_timedlock): Likewise.
35962         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35963         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35964         [UNIX98] (pthread_sigmask): Likewise.
35965         [UNIX98] (pthread_spin_destroy): Likewise.
35966         [UNIX98] (pthread_spin_init): Likewise.
35967         [UNIX98] (pthread_spin_lock): Likewise.
35968         [UNIX98] (pthread_spin_trylock): Likewise.
35969         [UNIX98] (pthread_spin_unlock): Likewise.
35970         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35971         Do not expect.
35972         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35974         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35975         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35976         [XPG3 || XPG4] (pthread_key_t): Likewise.
35977         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35978         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35979         [XPG3 || XPG4] (pthread_once_t): Likewise.
35980         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35981         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35983         [XPG3 || XPG4] (pthread_t): Likewise.
35985         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35986         not expect.
35987         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35989         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35990         Change function return type to int.
35992         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35993         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35994         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35995         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35996         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35997         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35998         [!POSIX] (posix_madvise): Likewise.
35999         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36000         && !UNIX98].
36001         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36002         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36003         (mode_t): Likewise.
36004         (posix_mem_offset): Likewise.
36005         (posix_typed_mem_get_info): Likewise.
36006         (posix_typed_mem_open): Likewise.
36008         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36009         Change condition to [XOPEN2K8].
36011         * conform/conformtest.pl: Preprocess allow-header data with -x c
36012         instead of from stdin.
36013         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36014         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36015         [C99-based standards] (cerfc): Likewise.
36016         [C99-based standards] (cexp2): Likewise.
36017         [C99-based standards] (cexpm1): Likewise.
36018         [C99-based standards] (clog10): Likewise.
36019         [C99-based standards] (clog1p): Likewise.
36020         [C99-based standards] (clog2): Likewise.
36021         [C99-based standards] (clgamma): Likewise.
36022         [C99-based standards] (ctgamma): Likewise.
36023         [C99-based standards] (cerff): Likewise.
36024         [C99-based standards] (cerfcf): Likewise.
36025         [C99-based standards] (cexp2f): Likewise.
36026         [C99-based standards] (cexpm1f): Likewise.
36027         [C99-based standards] (clog10f): Likewise.
36028         [C99-based standards] (clog1pf): Likewise.
36029         [C99-based standards] (clog2f): Likewise.
36030         [C99-based standards] (clgammaf): Likewise.
36031         [C99-based standards] (ctgammaf): Likewise.
36032         [C99-based standards] (cerfl): Likewise.
36033         [C99-based standards] (cerfcl): Likewise.
36034         [C99-based standards] (cexp2l): Likewise.
36035         [C99-based standards] (cexpm1l): Likewise.
36036         [C99-based standards] (clog10l): Likewise.
36037         [C99-based standards] (clog1pl): Likewise.
36038         [C99-based standards] (clog2l): Likewise.
36039         [C99-based standards] (clgammal): Likewise.
36040         [C99-based standards] (ctgammal): Likewise.
36041         * conform/data/inttypes.h-data [C99-based standards]: Include
36042         stdint.h-data.  Remove all expectations for stdint.h contents.
36043         [C99-based standards] (PRI*): Do not allow.
36044         [C99-based standards] (SCN*): Likewise.
36045         [C99-based standards] (*_t): Likewise.
36046         [C99-based-standards] (PRId8): Expect macro.
36047         [C99-based-standards] (PRIi8): Likewise.
36048         [C99-based-standards] (PRIo8): Likewise.
36049         [C99-based-standards] (PRIu8): Likewise.
36050         [C99-based-standards] (PRIx8): Likewise.
36051         [C99-based-standards] (PRIX8): Likewise.
36052         [C99-based-standards] (SCNd8): Likewise.
36053         [C99-based-standards] (SCNi8): Likewise.
36054         [C99-based-standards] (SCNo8): Likewise.
36055         [C99-based-standards] (SCNu8): Likewise.
36056         [C99-based-standards] (SCNx8): Likewise.
36057         [C99-based-standards] (PRIdLEAST8): Likewise.
36058         [C99-based-standards] (PRIiLEAST8): Likewise.
36059         [C99-based-standards] (PRIoLEAST8): Likewise.
36060         [C99-based-standards] (PRIuLEAST8): Likewise.
36061         [C99-based-standards] (PRIxLEAST8): Likewise.
36062         [C99-based-standards] (PRIXLEAST8): Likewise.
36063         [C99-based-standards] (SCNdLEAST8): Likewise.
36064         [C99-based-standards] (SCNiLEAST8): Likewise.
36065         [C99-based-standards] (SCNoLEAST8): Likewise.
36066         [C99-based-standards] (SCNuLEAST8): Likewise.
36067         [C99-based-standards] (SCNxLEAST8): Likewise.
36068         [C99-based-standards] (PRIdFAST8): Likewise.
36069         [C99-based-standards] (PRIiFAST8): Likewise.
36070         [C99-based-standards] (PRIoFAST8): Likewise.
36071         [C99-based-standards] (PRIuFAST8): Likewise.
36072         [C99-based-standards] (PRIxFAST8): Likewise.
36073         [C99-based-standards] (PRIXFAST8): Likewise.
36074         [C99-based-standards] (SCNdFAST8): Likewise.
36075         [C99-based-standards] (SCNiFAST8): Likewise.
36076         [C99-based-standards] (SCNoFAST8): Likewise.
36077         [C99-based-standards] (SCNuFAST8): Likewise.
36078         [C99-based-standards] (SCNxFAST8): Likewise.
36079         [C99-based-standards] (PRId16): Likewise.
36080         [C99-based-standards] (PRIi16): Likewise.
36081         [C99-based-standards] (PRIo16): Likewise.
36082         [C99-based-standards] (PRIu16): Likewise.
36083         [C99-based-standards] (PRIx16): Likewise.
36084         [C99-based-standards] (PRIX16): Likewise.
36085         [C99-based-standards] (SCNd16): Likewise.
36086         [C99-based-standards] (SCNi16): Likewise.
36087         [C99-based-standards] (SCNo16): Likewise.
36088         [C99-based-standards] (SCNu16): Likewise.
36089         [C99-based-standards] (SCNx16): Likewise.
36090         [C99-based-standards] (PRIdLEAST16): Likewise.
36091         [C99-based-standards] (PRIiLEAST16): Likewise.
36092         [C99-based-standards] (PRIoLEAST16): Likewise.
36093         [C99-based-standards] (PRIuLEAST16): Likewise.
36094         [C99-based-standards] (PRIxLEAST16): Likewise.
36095         [C99-based-standards] (PRIXLEAST16): Likewise.
36096         [C99-based-standards] (SCNdLEAST16): Likewise.
36097         [C99-based-standards] (SCNiLEAST16): Likewise.
36098         [C99-based-standards] (SCNoLEAST16): Likewise.
36099         [C99-based-standards] (SCNuLEAST16): Likewise.
36100         [C99-based-standards] (SCNxLEAST16): Likewise.
36101         [C99-based-standards] (PRIdFAST16): Likewise.
36102         [C99-based-standards] (PRIiFAST16): Likewise.
36103         [C99-based-standards] (PRIoFAST16): Likewise.
36104         [C99-based-standards] (PRIuFAST16): Likewise.
36105         [C99-based-standards] (PRIxFAST16): Likewise.
36106         [C99-based-standards] (PRIXFAST16): Likewise.
36107         [C99-based-standards] (SCNdFAST16): Likewise.
36108         [C99-based-standards] (SCNiFAST16): Likewise.
36109         [C99-based-standards] (SCNoFAST16): Likewise.
36110         [C99-based-standards] (SCNuFAST16): Likewise.
36111         [C99-based-standards] (SCNxFAST16): Likewise.
36112         [C99-based-standards] (PRId32): Likewise.
36113         [C99-based-standards] (PRIi32): Likewise.
36114         [C99-based-standards] (PRIo32): Likewise.
36115         [C99-based-standards] (PRIu32): Likewise.
36116         [C99-based-standards] (PRIx32): Likewise.
36117         [C99-based-standards] (PRIX32): Likewise.
36118         [C99-based-standards] (SCNd32): Likewise.
36119         [C99-based-standards] (SCNi32): Likewise.
36120         [C99-based-standards] (SCNo32): Likewise.
36121         [C99-based-standards] (SCNu32): Likewise.
36122         [C99-based-standards] (SCNx32): Likewise.
36123         [C99-based-standards] (PRIdLEAST32): Likewise.
36124         [C99-based-standards] (PRIiLEAST32): Likewise.
36125         [C99-based-standards] (PRIoLEAST32): Likewise.
36126         [C99-based-standards] (PRIuLEAST32): Likewise.
36127         [C99-based-standards] (PRIxLEAST32): Likewise.
36128         [C99-based-standards] (PRIXLEAST32): Likewise.
36129         [C99-based-standards] (SCNdLEAST32): Likewise.
36130         [C99-based-standards] (SCNiLEAST32): Likewise.
36131         [C99-based-standards] (SCNoLEAST32): Likewise.
36132         [C99-based-standards] (SCNuLEAST32): Likewise.
36133         [C99-based-standards] (SCNxLEAST32): Likewise.
36134         [C99-based-standards] (PRIdFAST32): Likewise.
36135         [C99-based-standards] (PRIiFAST32): Likewise.
36136         [C99-based-standards] (PRIoFAST32): Likewise.
36137         [C99-based-standards] (PRIuFAST32): Likewise.
36138         [C99-based-standards] (PRIxFAST32): Likewise.
36139         [C99-based-standards] (PRIXFAST32): Likewise.
36140         [C99-based-standards] (SCNdFAST32): Likewise.
36141         [C99-based-standards] (SCNiFAST32): Likewise.
36142         [C99-based-standards] (SCNoFAST32): Likewise.
36143         [C99-based-standards] (SCNuFAST32): Likewise.
36144         [C99-based-standards] (SCNxFAST32): Likewise.
36145         [C99-based-standards] (PRId64): Likewise.
36146         [C99-based-standards] (PRIi64): Likewise.
36147         [C99-based-standards] (PRIo64): Likewise.
36148         [C99-based-standards] (PRIu64): Likewise.
36149         [C99-based-standards] (PRIx64): Likewise.
36150         [C99-based-standards] (PRIX64): Likewise.
36151         [C99-based-standards] (SCNd64): Likewise.
36152         [C99-based-standards] (SCNi64): Likewise.
36153         [C99-based-standards] (SCNo64): Likewise.
36154         [C99-based-standards] (SCNu64): Likewise.
36155         [C99-based-standards] (SCNx64): Likewise.
36156         [C99-based-standards] (PRIdLEAST64): Likewise.
36157         [C99-based-standards] (PRIiLEAST64): Likewise.
36158         [C99-based-standards] (PRIoLEAST64): Likewise.
36159         [C99-based-standards] (PRIuLEAST64): Likewise.
36160         [C99-based-standards] (PRIxLEAST64): Likewise.
36161         [C99-based-standards] (PRIXLEAST64): Likewise.
36162         [C99-based-standards] (SCNdLEAST64): Likewise.
36163         [C99-based-standards] (SCNiLEAST64): Likewise.
36164         [C99-based-standards] (SCNoLEAST64): Likewise.
36165         [C99-based-standards] (SCNuLEAST64): Likewise.
36166         [C99-based-standards] (SCNxLEAST64): Likewise.
36167         [C99-based-standards] (PRIdFAST64): Likewise.
36168         [C99-based-standards] (PRIiFAST64): Likewise.
36169         [C99-based-standards] (PRIoFAST64): Likewise.
36170         [C99-based-standards] (PRIuFAST64): Likewise.
36171         [C99-based-standards] (PRIxFAST64): Likewise.
36172         [C99-based-standards] (PRIXFAST64): Likewise.
36173         [C99-based-standards] (SCNdFAST64): Likewise.
36174         [C99-based-standards] (SCNiFAST64): Likewise.
36175         [C99-based-standards] (SCNoFAST64): Likewise.
36176         [C99-based-standards] (SCNuFAST64): Likewise.
36177         [C99-based-standards] (SCNxFAST64): Likewise.
36178         [C99-based-standards] (PRIdMAX): Likewise.
36179         [C99-based-standards] (PRIiMAX): Likewise.
36180         [C99-based-standards] (PRIoMAX): Likewise.
36181         [C99-based-standards] (PRIuMAX): Likewise.
36182         [C99-based-standards] (PRIxMAX): Likewise.
36183         [C99-based-standards] (PRIXMAX): Likewise.
36184         [C99-based-standards] (SCNdMAX): Likewise.
36185         [C99-based-standards] (SCNiMAX): Likewise.
36186         [C99-based-standards] (SCNoMAX): Likewise.
36187         [C99-based-standards] (SCNuMAX): Likewise.
36188         [C99-based-standards] (SCNxMAX): Likewise.
36189         [C99-based-standards] (PRIdPTR): Likewise.
36190         [C99-based-standards] (PRIiPTR): Likewise.
36191         [C99-based-standards] (PRIoPTR): Likewise.
36192         [C99-based-standards] (PRIuPTR): Likewise.
36193         [C99-based-standards] (PRIxPTR): Likewise.
36194         [C99-based-standards] (PRIXPTR): Likewise.
36195         [C99-based-standards] (SCNdPTR): Likewise.
36196         [C99-based-standards] (SCNiPTR): Likewise.
36197         [C99-based-standards] (SCNoPTR): Likewise.
36198         [C99-based-standards] (SCNuPTR): Likewise.
36199         [C99-based-standards] (SCNxPTR): Likewise.
36200         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36201         allow.
36202         * conform/data/stdint.h-data: Update comments to clarify
36203         requirements.
36204         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36205         type.
36206         [C99-based standards] (INT8_MAX): Likewise.
36207         [C99-based standards] (INT16_MIN): Likewise.
36208         [C99-based standards] (INT16_MAX): Likewise.
36209         [C99-based standards] (INT32_MIN): Likewise.
36210         [C99-based standards] (INT32_MAX): Likewise.
36211         [C99-based standards] (INT64_MIN): Likewise.
36212         [C99-based standards] (INT64_MAX): Likewise.
36213         [C99-based standards] (UINT8_MAX): Likewise.
36214         [C99-based standards] (UINT16_MAX): Likewise.
36215         [C99-based standards] (UINT32_MAX): Likewise.
36216         [C99-based standards] (UINT64_MAX): Likewise.
36217         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36218         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36219         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36220         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36221         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36222         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36223         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36224         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36225         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36226         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36227         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36228         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36229         [C99-based standards] (INT_FAST8_MIN): Likewise.
36230         [C99-based standards] (INT_FAST8_MAX): Likewise.
36231         [C99-based standards] (INT_FAST16_MIN): Likewise.
36232         [C99-based standards] (INT_FAST16_MAX): Likewise.
36233         [C99-based standards] (INT_FAST32_MIN): Likewise.
36234         [C99-based standards] (INT_FAST32_MAX): Likewise.
36235         [C99-based standards] (INT_FAST64_MIN): Likewise.
36236         [C99-based standards] (INT_FAST64_MAX): Likewise.
36237         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36238         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36239         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36240         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36241         [C99-based standards] (INTPTR_MIN): Likewise.
36242         [C99-based standards] (INTPTR_MAX): Likewise.
36243         [C99-based standards] (UINTPTR_MAX): Likewise.
36244         [C99-based standards] (INTMAX_MIN): Likewise.
36245         [C99-based standards] (INTMAX_MAX): Likewise.
36246         [C99-based standards] (UINTMAX_MAX): Likewise.
36247         [C99-based standards] (PTRDIFF_MIN): Likewise.
36248         [C99-based standards] (PTRDIFF_MAX): Likewise.
36249         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36250         [C99-based standards] (SIZE_MAX): Likewise.
36251         [C99-based standards] (WCHAR_MAX): Likewise.
36252         [C99-based standards] (WINT_MAX): Likewise.
36253         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36254         constraint on value.
36255         [C99-based standards] (WCHAR_MIN): Likewise.
36256         [C99-based standards] (WINT_MIN): Likewise.
36257         [C99-based standards] (*_t): Allow.
36258         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36259         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36260         Include math.h-data and complex.h-data.  Remove all expectations
36261         of math.h and complex.h contents.
36262         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36263         at end of line.
36264         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36265         (struct tm): Expect tag.
36266         [C99-based-standards] (wcstof): Expect function.
36267         [C99-based-standards] (wcstold): Likewise.
36268         [C99-based-standards] (wcstoll): Likewise.
36269         [C99-based-standards] (wcstoull): Likewise.
36270         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36271         macro-int-constant.  Specify type.
36272         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36273         constraint on value.
36274         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36275         Specify type.
36276         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36277         Specify value.
36278         [ISO C standards]: Do not allow headers.
36279         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36280         wcs[abcdefghijklmnopqrstuvwxyz]*.
36281         [ISO C standards] (*_t): Do not allow.
36282         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36283         Expect function.
36284         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36285         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36286         Specify type.
36287         [ISO C standards]: Do not allow headers.
36288         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36289         is[abcdefghijklmnopqrstuvwxyz]*.
36290         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36291         to[abcdefghijklmnopqrstuvwxyz]*.
36292         [ISO C standards] (*_t): Do not allow.
36293         * conform/data/stdalign.h-data: New file.
36294         * conform/data/stdbool.h-data: Likewise.
36295         * conform/data/stdnoreturn.h-data: Likewise.
36297 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36299         [BZ #14815]
36300         * manual/filesys.texi (Directory Entries): Typo fix.
36301         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36303 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36305         * elf/elf.h (EM_AARCH64): New macro.
36306         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36307         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36308         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36309         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36310         (R_AARCH64_TLSDESC): Likewise.
36311         (NT_ARM_TLS): Likewise.
36312         (NT_ARM_HW_BREAK): Likewise.
36313         (NT_ARM_HW_WATCH): Likewise.
36315 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36317         [BZ #14811]
36318         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36319         (__ieee754_powl): Saturate nonzero exponents with absolute value
36320         below 0x1p-79 to +/- 0x1p-79.
36321         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36322         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36323         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36324         nonzero exponents with absolute value below 0x1p-32 to +/-
36325         0x1p-32.
36326         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36327         (__ieee754_powl): Saturate nonzero exponents with absolute value
36328         below 0x1p-79 to +/- 0x1p-79.
36329         * math/libm-test.inc (pow_test): Add more tests.
36331 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36333         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36334         _dl_s390_cap_flags with kernel. Increase string length.
36335         (_dl_s390_platforms): Add z196 and zEC12.
36337 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36339         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36340         Change XOPEN21K to XOPEN2K.
36342 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36344         * string/memmove.c: Use memcpy when possible.
36346 2012-11-06  Andreas Jaeger  <aj@suse.de>
36348         * po/eo.po: Update from translation team.
36350 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36352         [BZ #14793]
36353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36354         exponent and small x and y exponents, scale x or y up.  Increase
36355         by 2 the exponent used in scaling up.
36356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36358         * math/libm-test.inc (fma_test): Add more tests.
36359         (fma_test_towardzero): Likewise.
36360         (fma_test_downward): Likewise.
36361         (fma_test_upward): Likewise.
36363 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36365         [BZ #14805]
36366         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36367         fenv_t *.
36369         [BZ #14801]
36370         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36371         namespace for names of struct fields.
36372         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36373         fenv_t fields.
36374         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36375         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36377 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36379         [BZ #3665]
36380         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36382 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36384         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36385         PTR_DEMANGLE.
36387         [BZ #5246]
36388         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36389         PTR_DEMANGLE.
36391 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36393         [BZ #14797]
36394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36395         definitely overflow as x * y not x * y + z.
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-04  Thomas Schwinge  <thomas@codesourcery.com>
36405         [BZ #157]
36407         * include/stub-tag.h: Remove file.
36408         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36409         '#include' of it.
36410         * manual/maint.texi (Porting): Don't reference it.
36411         * Makerules ($(objpfx)stubs): Likewise.
36412         * dirent/closedir.c: Don't include <stub-tag.h>.
36413         * dirent/dirfd.c: Likewise.
36414         * dirent/fdopendir.c: Likewise.
36415         * dirent/getdents.c: Likewise.
36416         * dirent/getdents64.c: Likewise.
36417         * dirent/opendir.c: Likewise.
36418         * dirent/readdir.c: Likewise.
36419         * dirent/readdir64.c: Likewise.
36420         * dirent/readdir64_r.c: Likewise.
36421         * dirent/readdir_r.c: Likewise.
36422         * dirent/rewinddir.c: Likewise.
36423         * dirent/seekdir.c: Likewise.
36424         * dirent/telldir.c: Likewise.
36425         * gmon/profil.c: Likewise.
36426         * grp/setgroups.c: Likewise.
36427         * inet/if_index.c: Likewise.
36428         * io/access.c: Likewise.
36429         * io/chdir.c: Likewise.
36430         * io/chmod.c: Likewise.
36431         * io/chown.c: Likewise.
36432         * io/close.c: Likewise.
36433         * io/dup.c: Likewise.
36434         * io/dup2.c: Likewise.
36435         * io/dup3.c: Likewise.
36436         * io/euidaccess.c: Likewise.
36437         * io/faccessat.c: Likewise.
36438         * io/fchdir.c: Likewise.
36439         * io/fchmod.c: Likewise.
36440         * io/fchmodat.c: Likewise.
36441         * io/fchown.c: Likewise.
36442         * io/fchownat.c: Likewise.
36443         * io/fcntl.c: Likewise.
36444         * io/flock.c: Likewise.
36445         * io/fstatfs.c: Likewise.
36446         * io/fstatfs64.c: Likewise.
36447         * io/fstatvfs.c: Likewise.
36448         * io/fstatvfs64.c: Likewise.
36449         * io/futimens.c: Likewise.
36450         * io/fxstat.c: Likewise.
36451         * io/fxstat64.c: Likewise.
36452         * io/fxstatat.c: Likewise.
36453         * io/fxstatat64.c: Likewise.
36454         * io/getcwd.c: Likewise.
36455         * io/isatty.c: Likewise.
36456         * io/lchmod.c: Likewise.
36457         * io/lchown.c: Likewise.
36458         * io/link.c: Likewise.
36459         * io/linkat.c: Likewise.
36460         * io/lseek.c: Likewise.
36461         * io/lseek64.c: Likewise.
36462         * io/lxstat64.c: Likewise.
36463         * io/mkdir.c: Likewise.
36464         * io/mkdirat.c: Likewise.
36465         * io/mkfifo.c: Likewise.
36466         * io/mkfifoat.c: Likewise.
36467         * io/open.c: Likewise.
36468         * io/open64.c: Likewise.
36469         * io/openat.c: Likewise.
36470         * io/openat64.c: Likewise.
36471         * io/pipe.c: Likewise.
36472         * io/pipe2.c: Likewise.
36473         * io/poll.c: Likewise.
36474         * io/posix_fadvise.c: Likewise.
36475         * io/posix_fadvise64.c: Likewise.
36476         * io/posix_fallocate.c: Likewise.
36477         * io/posix_fallocate64.c: Likewise.
36478         * io/read.c: Likewise.
36479         * io/readlink.c: Likewise.
36480         * io/readlinkat.c: Likewise.
36481         * io/rmdir.c: Likewise.
36482         * io/sendfile.c: Likewise.
36483         * io/sendfile64.c: Likewise.
36484         * io/statfs.c: Likewise.
36485         * io/statfs64.c: Likewise.
36486         * io/statvfs.c: Likewise.
36487         * io/statvfs64.c: Likewise.
36488         * io/symlink.c: Likewise.
36489         * io/symlinkat.c: Likewise.
36490         * io/ttyname.c: Likewise.
36491         * io/ttyname_r.c: Likewise.
36492         * io/umask.c: Likewise.
36493         * io/unlink.c: Likewise.
36494         * io/unlinkat.c: Likewise.
36495         * io/utime.c: Likewise.
36496         * io/utimensat.c: Likewise.
36497         * io/write.c: Likewise.
36498         * io/xmknod.c: Likewise.
36499         * io/xmknodat.c: Likewise.
36500         * io/xstat.c: Likewise.
36501         * io/xstat64.c: Likewise.
36502         * login/getpt.c: Likewise.
36503         * login/grantpt.c: Likewise.
36504         * login/unlockpt.c: Likewise.
36505         * math/e_acoshl.c: Likewise.
36506         * math/e_acosl.c: Likewise.
36507         * math/e_asinl.c: Likewise.
36508         * math/e_atan2l.c: Likewise.
36509         * math/e_atanhl.c: Likewise.
36510         * math/e_coshl.c: Likewise.
36511         * math/e_expl.c: Likewise.
36512         * math/e_fmodl.c: Likewise.
36513         * math/e_gammal_r.c: Likewise.
36514         * math/e_hypotl.c: Likewise.
36515         * math/e_j0l.c: Likewise.
36516         * math/e_j1l.c: Likewise.
36517         * math/e_jnl.c: Likewise.
36518         * math/e_lgammal_r.c: Likewise.
36519         * math/e_log10l.c: Likewise.
36520         * math/e_log2l.c: Likewise.
36521         * math/e_logl.c: Likewise.
36522         * math/e_powl.c: Likewise.
36523         * math/e_rem_pio2l.c: Likewise.
36524         * math/e_sinhl.c: Likewise.
36525         * math/e_sqrtl.c: Likewise.
36526         * math/fclrexcpt.c: Likewise.
36527         * math/fedisblxcpt.c: Likewise.
36528         * math/feenablxcpt.c: Likewise.
36529         * math/fegetenv.c: Likewise.
36530         * math/fegetexcept.c: Likewise.
36531         * math/fegetround.c: Likewise.
36532         * math/feholdexcpt.c: Likewise.
36533         * math/fesetenv.c: Likewise.
36534         * math/fesetround.c: Likewise.
36535         * math/feupdateenv.c: Likewise.
36536         * math/fgetexcptflg.c: Likewise.
36537         * math/fraiseexcpt.c: Likewise.
36538         * math/fsetexcptflg.c: Likewise.
36539         * math/ftestexcept.c: Likewise.
36540         * math/k_cosl.c: Likewise.
36541         * math/k_rem_pio2l.c: Likewise.
36542         * math/k_sinl.c: Likewise.
36543         * math/k_tanl.c: Likewise.
36544         * math/s_asinhl.c: Likewise.
36545         * math/s_atanl.c: Likewise.
36546         * math/s_cbrtl.c: Likewise.
36547         * math/s_erfl.c: Likewise.
36548         * math/s_expm1l.c: Likewise.
36549         * math/s_log1pl.c: Likewise.
36550         * math/s_tanhl.c: Likewise.
36551         * misc/acct.c: Likewise.
36552         * misc/brk.c: Likewise.
36553         * misc/chflags.c: Likewise.
36554         * misc/chroot.c: Likewise.
36555         * misc/fchflags.c: Likewise.
36556         * misc/fgetxattr.c: Likewise.
36557         * misc/flistxattr.c: Likewise.
36558         * misc/fremovexattr.c: Likewise.
36559         * misc/fsetxattr.c: Likewise.
36560         * misc/fsync.c: Likewise.
36561         * misc/ftruncate.c: Likewise.
36562         * misc/futimes.c: Likewise.
36563         * misc/futimesat.c: Likewise.
36564         * misc/getdomain.c: Likewise.
36565         * misc/getdtsz.c: Likewise.
36566         * misc/gethostid.c: Likewise.
36567         * misc/gethostname.c: Likewise.
36568         * misc/getloadavg.c: Likewise.
36569         * misc/getpagesize.c: Likewise.
36570         * misc/getsysstats.c: Likewise.
36571         * misc/getxattr.c: Likewise.
36572         * misc/gtty.c: Likewise.
36573         * misc/ioctl.c: Likewise.
36574         * misc/lgetxattr.c: Likewise.
36575         * misc/listxattr.c: Likewise.
36576         * misc/llistxattr.c: Likewise.
36577         * misc/lremovexattr.c: Likewise.
36578         * misc/lsetxattr.c: Likewise.
36579         * misc/lutimes.c: Likewise.
36580         * misc/madvise.c: Likewise.
36581         * misc/mincore.c: Likewise.
36582         * misc/mlock.c: Likewise.
36583         * misc/mlockall.c: Likewise.
36584         * misc/mmap.c: Likewise.
36585         * misc/mprotect.c: Likewise.
36586         * misc/msync.c: Likewise.
36587         * misc/munlock.c: Likewise.
36588         * misc/munlockall.c: Likewise.
36589         * misc/munmap.c: Likewise.
36590         * misc/preadv.c: Likewise.
36591         * misc/preadv64.c: Likewise.
36592         * misc/ptrace.c: Likewise.
36593         * misc/pwritev.c: Likewise.
36594         * misc/pwritev64.c: Likewise.
36595         * misc/readv.c: Likewise.
36596         * misc/reboot.c: Likewise.
36597         * misc/remap_file_pages.c: Likewise.
36598         * misc/removexattr.c: Likewise.
36599         * misc/revoke.c: Likewise.
36600         * misc/select.c: Likewise.
36601         * misc/setdomain.c: Likewise.
36602         * misc/setegid.c: Likewise.
36603         * misc/seteuid.c: Likewise.
36604         * misc/sethostid.c: Likewise.
36605         * misc/sethostname.c: Likewise.
36606         * misc/setregid.c: Likewise.
36607         * misc/setreuid.c: Likewise.
36608         * misc/setxattr.c: Likewise.
36609         * misc/sstk.c: Likewise.
36610         * misc/stty.c: Likewise.
36611         * misc/swapoff.c: Likewise.
36612         * misc/swapon.c: Likewise.
36613         * misc/sync.c: Likewise.
36614         * misc/syncfs.c: Likewise.
36615         * misc/syscall.c: Likewise.
36616         * misc/truncate.c: Likewise.
36617         * misc/ualarm.c: Likewise.
36618         * misc/usleep.c: Likewise.
36619         * misc/ustat.c: Likewise.
36620         * misc/utimes.c: Likewise.
36621         * misc/vhangup.c: Likewise.
36622         * misc/writev.c: Likewise.
36623         * posix/_exit.c: Likewise.
36624         * posix/alarm.c: Likewise.
36625         * posix/execve.c: Likewise.
36626         * posix/fexecve.c: Likewise.
36627         * posix/fork.c: Likewise.
36628         * posix/fpathconf.c: Likewise.
36629         * posix/getaddrinfo.c: Likewise.
36630         * posix/getegid.c: Likewise.
36631         * posix/geteuid.c: Likewise.
36632         * posix/getgid.c: Likewise.
36633         * posix/getgroups.c: Likewise.
36634         * posix/getlogin.c: Likewise.
36635         * posix/getlogin_r.c: Likewise.
36636         * posix/getpgid.c: Likewise.
36637         * posix/getpid.c: Likewise.
36638         * posix/getppid.c: Likewise.
36639         * posix/getresgid.c: Likewise.
36640         * posix/getresuid.c: Likewise.
36641         * posix/getsid.c: Likewise.
36642         * posix/getuid.c: Likewise.
36643         * posix/glob64.c: Likewise.
36644         * posix/nanosleep.c: Likewise.
36645         * posix/pathconf.c: Likewise.
36646         * posix/pause.c: Likewise.
36647         * posix/posix_madvise.c: Likewise.
36648         * posix/pread.c: Likewise.
36649         * posix/pread64.c: Likewise.
36650         * posix/pwrite.c: Likewise.
36651         * posix/pwrite64.c: Likewise.
36652         * posix/sched_getaffinity.c: Likewise.
36653         * posix/sched_getp.c: Likewise.
36654         * posix/sched_gets.c: Likewise.
36655         * posix/sched_primax.c: Likewise.
36656         * posix/sched_primin.c: Likewise.
36657         * posix/sched_rr_gi.c: Likewise.
36658         * posix/sched_setaffinity.c: Likewise.
36659         * posix/sched_setp.c: Likewise.
36660         * posix/sched_sets.c: Likewise.
36661         * posix/sched_yield.c: Likewise.
36662         * posix/setgid.c: Likewise.
36663         * posix/setlogin.c: Likewise.
36664         * posix/setpgid.c: Likewise.
36665         * posix/setresgid.c: Likewise.
36666         * posix/setresuid.c: Likewise.
36667         * posix/setsid.c: Likewise.
36668         * posix/setuid.c: Likewise.
36669         * posix/sleep.c: Likewise.
36670         * posix/spawni.c: Likewise.
36671         * posix/sysconf.c: Likewise.
36672         * posix/times.c: Likewise.
36673         * posix/wait.c: Likewise.
36674         * posix/wait3.c: Likewise.
36675         * posix/wait4.c: Likewise.
36676         * posix/waitpid.c: Likewise.
36677         * resolv/gai_sigqueue.c: Likewise.
36678         * resource/getpriority.c: Likewise.
36679         * resource/getrlimit.c: Likewise.
36680         * resource/getrusage.c: Likewise.
36681         * resource/nice.c: Likewise.
36682         * resource/setpriority.c: Likewise.
36683         * resource/setrlimit.c: Likewise.
36684         * resource/ulimit.c: Likewise.
36685         * rt/aio_cancel.c: Likewise.
36686         * rt/aio_fsync.c: Likewise.
36687         * rt/aio_read.c: Likewise.
36688         * rt/aio_sigqueue.c: Likewise.
36689         * rt/aio_suspend.c: Likewise.
36690         * rt/aio_write.c: Likewise.
36691         * rt/clock_getres.c: Likewise.
36692         * rt/clock_gettime.c: Likewise.
36693         * rt/clock_nanosleep.c: Likewise.
36694         * rt/clock_settime.c: Likewise.
36695         * rt/lio_listio.c: Likewise.
36696         * rt/mq_close.c: Likewise.
36697         * rt/mq_getattr.c: Likewise.
36698         * rt/mq_notify.c: Likewise.
36699         * rt/mq_open.c: Likewise.
36700         * rt/mq_receive.c: Likewise.
36701         * rt/mq_send.c: Likewise.
36702         * rt/mq_setattr.c: Likewise.
36703         * rt/mq_timedreceive.c: Likewise.
36704         * rt/mq_timedsend.c: Likewise.
36705         * rt/mq_unlink.c: Likewise.
36706         * rt/shm_open.c: Likewise.
36707         * rt/shm_unlink.c: Likewise.
36708         * rt/timer_create.c: Likewise.
36709         * rt/timer_delete.c: Likewise.
36710         * rt/timer_getoverr.c: Likewise.
36711         * rt/timer_gettime.c: Likewise.
36712         * rt/timer_settime.c: Likewise.
36713         * setjmp/__longjmp.c: Likewise.
36714         * setjmp/setjmp.c: Likewise.
36715         * signal/kill.c: Likewise.
36716         * signal/killpg.c: Likewise.
36717         * signal/raise.c: Likewise.
36718         * signal/sigaction.c: Likewise.
36719         * signal/sigaltstack.c: Likewise.
36720         * signal/sigblock.c: Likewise.
36721         * signal/sigignore.c: Likewise.
36722         * signal/sigintr.c: Likewise.
36723         * signal/signal.c: Likewise.
36724         * signal/sigpause.c: Likewise.
36725         * signal/sigpending.c: Likewise.
36726         * signal/sigqueue.c: Likewise.
36727         * signal/sigreturn.c: Likewise.
36728         * signal/sigset.c: Likewise.
36729         * signal/sigsetmask.c: Likewise.
36730         * signal/sigstack.c: Likewise.
36731         * signal/sigsuspend.c: Likewise.
36732         * signal/sigtimedwait.c: Likewise.
36733         * signal/sigvec.c: Likewise.
36734         * signal/sigwait.c: Likewise.
36735         * signal/sigwaitinfo.c: Likewise.
36736         * signal/sysv_signal.c: Likewise.
36737         * socket/accept.c: Likewise.
36738         * socket/accept4.c: Likewise.
36739         * socket/bind.c: Likewise.
36740         * socket/connect.c: Likewise.
36741         * socket/getpeername.c: Likewise.
36742         * socket/getsockname.c: Likewise.
36743         * socket/getsockopt.c: Likewise.
36744         * socket/isfdtype.c: Likewise.
36745         * socket/listen.c: Likewise.
36746         * socket/recv.c: Likewise.
36747         * socket/recvfrom.c: Likewise.
36748         * socket/recvmsg.c: Likewise.
36749         * socket/send.c: Likewise.
36750         * socket/sendmsg.c: Likewise.
36751         * socket/sendto.c: Likewise.
36752         * socket/setsockopt.c: Likewise.
36753         * socket/shutdown.c: Likewise.
36754         * socket/sockatmark.c: Likewise.
36755         * socket/socket.c: Likewise.
36756         * socket/socketpair.c: Likewise.
36757         * stdio-common/ctermid.c: Likewise.
36758         * stdio-common/cuserid.c: Likewise.
36759         * stdio-common/remove.c: Likewise.
36760         * stdio-common/rename.c: Likewise.
36761         * stdio-common/renameat.c: Likewise.
36762         * stdio-common/tempname.c: Likewise.
36763         * stdlib/getcontext.c: Likewise.
36764         * stdlib/makecontext.c: Likewise.
36765         * stdlib/setcontext.c: Likewise.
36766         * stdlib/swapcontext.c: Likewise.
36767         * stdlib/system.c: Likewise.
36768         * streams/fattach.c: Likewise.
36769         * streams/fdetach.c: Likewise.
36770         * streams/getmsg.c: Likewise.
36771         * streams/getpmsg.c: Likewise.
36772         * streams/putmsg.c: Likewise.
36773         * streams/putpmsg.c: Likewise.
36774         * sysdeps/unix/bsd/getpt.c: Likewise.
36775         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36776         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36777         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36779         Likewise.
36780         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36781         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36782         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36783         * sysvipc/msgctl.c: Likewise.
36784         * sysvipc/msgget.c: Likewise.
36785         * sysvipc/msgrcv.c: Likewise.
36786         * sysvipc/msgsnd.c: Likewise.
36787         * sysvipc/semctl.c: Likewise.
36788         * sysvipc/semget.c: Likewise.
36789         * sysvipc/semop.c: Likewise.
36790         * sysvipc/semtimedop.c: Likewise.
36791         * sysvipc/shmat.c: Likewise.
36792         * sysvipc/shmctl.c: Likewise.
36793         * sysvipc/shmdt.c: Likewise.
36794         * sysvipc/shmget.c: Likewise.
36795         * termios/tcdrain.c: Likewise.
36796         * termios/tcflow.c: Likewise.
36797         * termios/tcflush.c: Likewise.
36798         * termios/tcgetattr.c: Likewise.
36799         * termios/tcgetpgrp.c: Likewise.
36800         * termios/tcsendbrk.c: Likewise.
36801         * termios/tcsetattr.c: Likewise.
36802         * termios/tcsetpgrp.c: Likewise.
36803         * time/adjtime.c: Likewise.
36804         * time/clock.c: Likewise.
36805         * time/getitimer.c: Likewise.
36806         * time/gettimeofday.c: Likewise.
36807         * time/setitimer.c: Likewise.
36808         * time/settimeofday.c: Likewise.
36809         * time/stime.c: Likewise.
36810         * time/time.c: Likewise.
36812 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36814         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36815         /usr/old/bin.
36817         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36818         instead of spaces.
36819         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36821 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36823         [BZ #14796]
36824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36825         FE_TONEAREST before applying Dekker multiplication and Knuth
36826         addition.  Clear inexact exceptions and check for exact zero
36827         results afterwards.
36828         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36829         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36831         * math/libm-test.inc (fma_test): Add more tests.
36832         (fma_test_towardzero): Likewise.
36833         (fma_test_downward): Likewise.
36834         (fma_test_upward): Likewise.
36835         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36836         function.
36837         (libc_fesetround): New macro.
36838         (libc_fesetroundf): Likewise.
36839         (libc_fesetroundl): Likewise.
36840         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36841         function.
36842         (libc_fesetround_387): Likewise.
36843         (libc_fesetroundf): New macro.
36844         (libc_fesetround): Likewise.
36845         (libc_fesetroundl): Likewise.
36846         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36847         function.
36848         (libc_fesetroundf): New macro.
36849         (libc_fesetround): Likewise.
36850         (libc_fesetroundl): Likewise.
36851         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36852         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36853         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36854         libm_hidden_ver.
36855         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36856         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36857         libm_hidden_def.
36858         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36859         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36860         libm_hidden_ver.
36861         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36862         libm_hidden_def.
36864         [BZ #3439]
36865         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36866         integer constant usable in #if and use that to give value to enum
36867         constant.
36868         (FE_DIVBYZERO): Likewise.
36869         (FE_UNDERFLOW): Likewise.
36870         (FE_OVERFLOW): Likewise.
36871         (FE_INVALID): Likewise.
36872         (FE_INVALID_SNAN): Likewise.
36873         (FE_INVALID_ISI): Likewise.
36874         (FE_INVALID_IDI): Likewise.
36875         (FE_INVALID_ZDZ): Likewise.
36876         (FE_INVALID_IMZ): Likewise.
36877         (FE_INVALID_COMPARE): Likewise.
36878         (FE_INVALID_SOFTWARE): Likewise.
36879         (FE_INVALID_SQRT): Likewise.
36880         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36881         (FE_TONEAREST): Likewise.
36882         (FE_TOWARDZERO): Likewise.
36883         (FE_UPWARD): Likewise.
36884         (FE_DOWNWARD): Likewise.
36885         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36886         (FE_DIVBYZERO): Likewise.
36887         (FE_OVERFLOW): Likewise.
36888         (FE_UNDERFLOW): Likewise.
36889         (FE_INEXACT): Likewise.
36890         (FE_TONEAREST): Likewise.
36891         (FE_DOWNWARD): Likewise.
36892         (FE_UPWARD): Likewise.
36893         (FE_TOWARDZERO): Likewise.
36894         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36895         (FE_UNDERFLOW): Likewise.
36896         (FE_OVERFLOW): Likewise.
36897         (FE_DIVBYZERO): Likewise.
36898         (FE_INVALID): Likewise.
36899         (FE_TONEAREST): Likewise.
36900         (FE_TOWARDZERO): Likewise.
36901         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36902         (FE_OVERFLOW): Likewise.
36903         (FE_UNDERFLOW): Likewise.
36904         (FE_DIVBYZERO): Likewise.
36905         (FE_INEXACT): Likewise.
36906         (FE_TONEAREST): Likewise.
36907         (FE_TOWARDZERO): Likewise.
36908         (FE_UPWARD): Likewise.
36909         (FE_DOWNWARD): Likewise.
36910         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36911         (FE_DIVBYZERO): Likewise.
36912         (FE_OVERFLOW): Likewise.
36913         (FE_UNDERFLOW): Likewise.
36914         (FE_INEXACT): Likewise.
36915         (FE_TONEAREST): Likewise.
36916         (FE_DOWNWARD): Likewise.
36917         (FE_UPWARD): Likewise.
36918         (FE_TOWARDZERO): Likewise.
36920 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36922         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36924 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36926         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36927         commands.  Quote $PWD.
36928         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36929         -x" by "export".
36930         (remove_newlines): Remove.
36932 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36934         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36935         * stdlib/stdlib.h (atof): Moved to ...
36936         * include/bits/stdlib-float.h: Here.  New file.
36937         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36938         * stdlib/bits/stdlib-float.h: New file.
36939         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36940         -mno-sse -mno-mmx.
36941         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36942         <xmmintrin.h>.
36944 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36946         * conform/conformtest.pl (@headers): Add fenv.h.
36947         * conform/data/fenv.h-data: New file.
36948         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36949         include of <math/fenv.h>.
36951         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36952         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36953         && !UNIX98].  Enables tests for XOPEN2K8.
36954         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36955         POSIX2008]: Likewise.
36957         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36958         (struct rusage): Do not expect type or its members.
36960         [BZ #3439]
36961         * math/math.h (FP_NAN): Define macro to integer constant usable in
36962         #if and use that to give value to enum constant.
36963         (FP_INFINITE): Likewise.
36964         (FP_ZERO): Likewise.
36965         (FP_SUBNORMAL): Likewise.
36966         (FP_NORMAL): Likewise.
36968 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36970         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36971         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36972         arguments.
36974 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36976         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36977         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36978         autoconf-time if not.
36979         * configure.in: Remove AC_PREREQ.
36981 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36983         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36984         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36985         of the internal implementation.
36987 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36989         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36990         except include of <misc/sys/syslog.h>.
36992 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36995         function returns with a NULL context exit with zero.
36997 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36999         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37001 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37003         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37004         (run_program_cmd): This.
37005         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37006         (tst_langinfo): New variable.  Use it.
37008 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37010         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37011         floating point opcodes.
37013 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37015         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37016         variable.
37018         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37020         * sysdeps/mach/hurd/powerpc: Remove directory.
37021         * sysdeps/mach/powerpc: Likewise.
37023 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37025         * scripts/check-local-headers.sh: Ignore c++ headers.
37027 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37029         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37030         __libc_cleanup_region_start argument.
37032 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37034         [BZ #14784]
37035         [BZ #14785]
37036         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37037         x * y using scaling, not as x * y + z.
37038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37039         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37040         * math/libm-test.inc (fma_test): Add more tests.
37041         (fma_test_towardzero): Likewise.
37042         (fma_test_downward): Likewise.
37043         (fma_test_upward): Likewise.
37045 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37047         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37049 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37051         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37052         New variable.
37054 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37056         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37058 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37061         Fix sort order.
37062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37063         Likewise.
37065 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37068         Fix the order of the list for glibc 2.17.
37069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37070         Likewise.
37072 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37076 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37078         [BZ #14610]
37079         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37080         for low part of x being zero before using __atanl (y).
37081         * math/libm-test.inc (atan2_test): Add another test.
37083         * manual/install.texi (Configuring and compiling): Document
37084         general use of test-wrapper and test-wrapper-env.
37085         * INSTALL: Regenerated.
37087         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37088         (__fma): Do not extract and scale down low bits on after-rounding
37089         systems when result rounded to normal precision would have normal
37090         exponent.
37091         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37092         (__fmal): Do not extract and scale down low bits on after-rounding
37093         systems when result rounded to normal precision would have normal
37094         exponent.
37095         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37096         (__fmal): Do not extract and scale down low bits on after-rounding
37097         systems when result rounded to normal precision would have normal
37098         exponent.
37099         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37100         macro.
37101         (fma_test): Add more tests.
37102         (fma_test_towardzero): Likewise.
37103         (fma_test_downward): Likewise.
37104         (fma_test_upward): Likewise.
37106 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37108         * sysdeps/i386/tininess.h: Renamed to ...
37109         * sysdeps/x86/tininess.h: This.
37110         * sysdeps/x86_64/tininess.h: Removed.
37112 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37114         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37115         input.  Use $(build-program-cmd).
37116         ($(objpfx)tst-array1-static.out): Likewise.
37117         ($(objpfx)tst-array2.out): Likewise.
37118         ($(objpfx)tst-array3.out): Likewise.
37119         ($(objpfx)tst-array4.out): Likewise.
37120         ($(objpfx)tst-array5.out): Likewise.
37121         ($(objpfx)tst-array5-static.out): Likewise.
37123 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37125         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37126         if defined.
37128         * nss/nsswitch.h (nss_interface_function): Provide new
37129         macro for use with NSS functions.
37130         * grp/initgroups.c: Use new macro.
37131         * nss/getXXbyYY.c: Likewise.
37132         * nss/getXXbyYY_r.c: Likewise.
37133         * nss/getXXent.c: Likewise.
37134         * nss/getXXent_r.c: Likewise.
37135         * sysdeps/posix/getaddrinfo.c: Likewise.
37137 2012-10-30  Andreas Jaeger  <aj@suse.de>
37139         * po/ru.po: Update Russion translation from translation project.
37141 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37143         [BZ #14152]
37144         [BZ #14783]
37145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37146         result and shift together with sticky bit instead of replicating
37147         round-to-nearest rounding.
37148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37150         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37151         missing underflow exceptions.
37152         (fma_test_towardzero): Add more tests.
37153         (fma_test_downward): Likewise.
37154         (fma_test_upward): Likewise.
37156         [BZ #14047]
37157         * sysdeps/generic/tininess.h: New file.
37158         * sysdeps/i386/tininess.h: Likewise.
37159         * sysdeps/sh/tininess.h: Likewise.
37160         * sysdeps/x86_64/tininess.h: Likewise.
37161         * stdlib/tst-strtod-underflow.c: Likewise.
37162         * stdlib/tst-tininess.c: Likewise.
37163         * stdlib/strtod_l.c: Include <tininess.h>.
37164         (round_and_return): Do not set errno for exact underflow cases.
37165         Force an underflow exception when setting errno for underflow.
37166         Determine underflow based on rounding to normal precision if
37167         TININESS_AFTER_ROUNDING.
37168         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37169         ERANGE for exact underflow cases.
37170         * stdlib/Makefile (tests): Add tst-tininess and
37171         tst-strtod-underflow.
37172         ($(objpfx)tst-tininess): Use $(link-libm).
37173         ($(objpfx)tst-strtod-underflow): Likewise.
37175 2012-10-30  Andreas Jaeger  <aj@suse.de>
37177         [BZ#14767]
37178         * elf/Makefile (tests): Remove conditional for have-initfini-array
37179         since this is now always required and the variable does not exist
37180         anymore.
37181         (tests-static): Likewise.
37182         (modules-names): Likewise.
37184         * po/eo.po: Add Esperanto translation from translation project.
37186         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37187         merged with constructor/destructor.
37188         (init_array): Likewise.
37189         * elf/tst-array2dep.c (fini_array): Likewise.
37190         (init_array): Likewise.
37192 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37194         * manual/message.texi: Delete @cartouche tags.
37196 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37198         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37199         EOPNOTSUPP.
37200         * sysdeps/mach/hurd/fsync.c: Likewise.
37202         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37203         [_POSIX_REALTIME_SIGNALS]: Change condition to
37204         [_POSIX_REALTIME_SIGNALS > 0].
37206 2012-10-27  Andreas Jaeger  <aj@suse.de>
37208         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37209         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37210         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37211         [__WORDSIZE != 64]: Likewise.
37213 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37215         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37216         *  iconvdata/tst-tables.sh: Likewise.
37218 2012-10-25  David S. Miller  <davem@davemloft.net>
37220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37221         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37222         of strtoull.
37224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37225         ifunc-impl-list.c
37226         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37227         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37228         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37229         file.
37231 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37233         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37234         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37235         __getdirentries.
37237 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37238             Jim Blandy  <jimb@codesourcery.com>
37240         * scripts/cross-test-ssh.sh: New file.
37241         * manual/install.texi (Configuring and compiling): Document use of
37242         cross-test-ssh.sh.
37243         * INSTALL: Regenerated.
37245 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37247         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37248         EOPNOTSUPP.
37250 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37252         * Makeconfig (run-program-prefix): Fix comment.
37254 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37255             Jim Blandy  <jimb@codesourcery.com>
37257         * Makeconfig (test-wrapper): New variable,
37258         (test-wrapper-env): Likewise.
37259         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37260         (run-built-tests): Define to yes.
37261         (run-program-prefix): Use $(test-wrapper).
37262         (built-program-cmd): Likewise.
37263         * Rules (make-test-out): Use $(test-wrapper-env) and
37264         $(host-built-program-cmd).
37265         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37266         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37267         tst-pathopt.sh.
37268         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37269         $(test-wrapper-env) to tst-rtld-load-self.sh.
37270         ($(objpfx)order2.out): Use $(test-wrapper).
37271         ($(objpfx)tst-initorder.out): Likewise.
37272         ($(objpfx)tst-initorder2.out): Likewise.
37273         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37274         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37275         (test_wrapper_env): New variable.  Use it to run ld.so.
37276         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37277         Use it to run ld.so.
37278         (test_wrapper_env): Likewise.
37279         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37280         $(test-wrapper) to run-iconv-test.sh.
37281         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37282         (ICONV): Use $test_wrapper.
37283         * posix/Makefile ($(objpfx)globtest.out): Pass
37284         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37285         globtest.sh, not $(run-program-prefix).
37286         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37287         (test_wrapper): Likewise.
37288         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37289         set together with run_via_rtld_prefix.
37290         (run_program_prefix): Define in terms of test_wrapper and
37291         run_via_rtld_prefix.
37293 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37295         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37296         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37297         Targets removed.
37299         [BZ #14743]
37300         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37301         Declare __clock_getres, __clock_gettime, __clock_settime,
37302         __clock_nanosleep, and __clock_getcpuclockid.
37303         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37304         Remove librt_hidden_def (clock_gettime).
37305         * sysdeps/unix/clock_gettime.c: Likewise.
37306         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37308         * rt/clock_getres.c: Define __clock_getres as an alias.
37309         * sysdeps/posix/clock_getres.c: Likewise.
37310         * rt/clock_settime.c: Define __clock_settime as an alias.
37311         * sysdeps/unix/clock_settime.c: Likewise.
37312         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37313         * sysdeps/unix/clock_nanosleep.c: Likewise.
37314         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37315         * rt/clock-compat.c: New file.
37316         * rt/Makefile (librt-routines): Add clock-compat and move
37317         $(clock-routines) to ...
37318         (routines): ... here, new variable.
37319         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37320         Don't add get_clockfreq here.
37321         * rt/Versions (libc: GLIBC_2.17): New version set.
37322         Add clock_* symbols here.
37323         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37324         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37325         (GLIBC_2.17): Add clock_* symbols.
37326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37328         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37330         Likewise.
37331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37332         Likewise.
37333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37337         * NEWS: Mention the move.
37339         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37340         Use __open, __read, __close rather than their public counterparts.
37341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37342         (__get_clockfreq_via_cpuinfo): Likewise.
37343         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37344         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37346         * config.h.in (HAVE_IFUNC): New #undef.
37347         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37348         was successful.
37349         * configure: Regenerated.
37351 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37353         * configure.in: Move READELF check to start of file.
37354         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37355         libc_cv_asm_gnu_indirect_function in the process.
37356         * configure: Regenerated.
37358 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37360         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37361         send the output to /dev/null.
37362         (libc_cv_cc_with_libunwind): Likewise.
37363         (libc_cv_as_noexecstack): Likewise.
37364         * configure: Regenerate.
37366 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37368         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37370         * posix/globtest.sh (TMPDIR): Do not set.
37371         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37372         (testout): Likewise.
37374 2012-10-24  Andreas Jaeger  <aj@suse.de>
37376         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37377         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37378         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37379         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37380         posix_fadvise64, posix_fallocate64.
37382         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37383         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37384         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37385         Likewise.
37386         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37387         Likewise.
37388         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37391         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37392         <bits/fcntl-linux.h>.
37393         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37395         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37396         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37397         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37398         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37399         [__WORDSIZE != 64]: Likewise.
37401 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37403         * Makeconfig (run-built-tests): New variable.
37404         * Rules [$(cross-compiling) = yes]: Change condition to
37405         [$(run-built-tests) = no].
37406         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37407         to [$(run-built-tests) = yes].
37408         * elf/Makefile [$(cross-compiling) = no]: Likewise
37409         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37410         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37411         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37412         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37413         * io/Makefile [$(cross-compiling) = no]: Likewise.
37414         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37415         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37416         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37417         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37418         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37419         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37420         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37421         * string/Makefile [$(cross-compiling) = no]: Likewise.
37423         * posix/Makefile ($(objpfx)globtest.out): Pass
37424         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37425         $(rtld-installed-name).
37426         * posix/globtest.sh (elf_objpfx): Remove variable.
37427         (rtld_installed_name): Likewise.
37428         (library_path): Likewise.
37429         (run_program_prefix): New variable.  Use for running globtest
37430         binary.
37432 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37433             Joseph Myers  <joseph@codesourcery.com>
37435         * Makeconfig (host-built-program-cmd): New variable.
37436         * elf/Makefile (tst-stackguard1-ARGS): Use
37437         $(host-built-program-cmd).
37438         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37439         (tst-spawn-ARGS): Likewise.
37440         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37442 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37443             Jim Blandy  <jimb@codesourcery.com>
37445         * Makeconfig (run-via-rtld-prefix): New variable.
37446         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37447         (built-program-cmd): Likewise.
37449 2012-10-22  Andreas Jaeger  <aj@suse.de>
37451         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37452         __O_RSYNC if it exists, otherwise to O_SYNC.
37454 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37455             Joseph Myers  <joseph@codesourcery.com>
37457         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37458         /dev/null.
37459         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37460         from /dev/null
37461         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37462         /dev/null.
37464 2012-10-22  Andreas Jaeger  <aj@suse.de>
37466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37467         Define always.
37468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37471         bits/fcntl-linux.h.
37473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37474         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37476         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37477         to __O_LARGEFILE.
37478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37479         to __O_LARGEFILE.
37481 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37482             Joseph Myers  <joseph@codesourcery.com>
37484         * config.make.in (NM): New variable.
37486 2012-10-21  Andreas Jaeger  <aj@suse.de>
37488         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37489         definitions and declarations that are provided by
37490         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37492 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37494         [BZ #14683]
37495         * elf/Makefile (tests-static): Add tst-leaks1-static.
37496         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37497         ($(objpfx)tst-leaks1-static): New rule.
37498         ($(objpfx)tst-leaks1-static-mem): Likewise.
37499         (tst-leaks1-static-ENV): New macro.
37500         * elf/dl-open.c (dl_open_worker): Check the main application
37501         only if SHARED is defined.
37502         * elf/tst-leaks1-static.c: New file.
37504 2012-10-20  Andreas Jaeger  <aj@suse.de>
37506         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37507         generic values for Linux.
37508         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37509         and declarations that are provided by <bits/fcntl-linux.h> and
37510         include <bits/fcntl-linux.h>.
37511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37512         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37514 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37516         * io/fcntl.h: Move include of <bits/types.h> to the top and
37517         include it unconditionally.
37519 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37521         * wcsmbs/Makefile (tests-ifunc): New variable.
37522         (tests): Add $(tests-ifunc).
37523         * wcsmbs/test-wcschr-ifunc.c: New file.
37524         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37525         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37526         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37527         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37528         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37530         * string/Makefile (tests-ifunc): New variable.
37531         (tests): Add $(tests-ifunc).
37532         * string/test-memccpy.c (TEST_NAME): New macro.
37533         * string/test-memchr.c (TEST_NAME): Likewise.
37534         * string/test-memcmp.c (TEST_NAME): Likewise.
37535         * string/test-memcpy.c (TEST_NAME): Likewise.
37536         * string/test-memmem.c (TEST_NAME): Likewise.
37537         * string/test-memmove.c (TEST_NAME): Likewise.
37538         * string/test-memset.c (TEST_NAME): Likewise.
37539         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37540         * string/test-stpcpy.c (TEST_NAME): Likewise.
37541         * string/test-stpncpy.c (TEST_NAME): Likewise.
37542         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37543         * string/test-strcasestr.c (TEST_NAME): Likewise.
37544         * string/test-strcat.c (TEST_NAME): Likewise.
37545         * string/test-strchr.c (TEST_NAME): Likewise.
37546         * string/test-strcmp.c(TEST_NAME): Likewise.
37547         * string/test-strcpy.c (TEST_NAME): Likewise.
37548         * string/test-strcspn.c (TEST_NAME): Likewise.
37549         * string/test-strlen.c (TEST_NAME): Likewise.
37550         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37551         * string/test-strncmp.c (TEST_NAME): Likewise.
37552         * string/test-strncpy.c (TEST_NAME): Likewise.
37553         * string/test-strnlen.c (TEST_NAME): Likewise.
37554         * string/test-strpbrk.c (TEST_NAME): Likewise.
37555         * string/test-strrchr.c (TEST_NAME): Likewise.
37556         * string/test-strspn.c (TEST_NAME): Likewise.
37557         * string/test-strstr.c (TEST_NAME): Likewise.
37558         * string/test-bcopy-ifunc.c: New file.
37559         * string/test-bzero-ifunc.c: Likewise.
37560         * string/test-memccpy-ifunc.c: Likewise.
37561         * string/test-memchr-ifunc.c: Likewise.
37562         * string/test-memcmp-ifunc.c: Likewise.
37563         * string/test-memcpy-ifunc.c: Likewise.
37564         * string/test-memmem-ifunc.c: Likewise.
37565         * string/test-memmove-ifunc.c: Likewise.
37566         * string/test-mempcpy-ifunc.c: Likewise.
37567         * string/test-memset-ifunc.c: Likewise.
37568         * string/test-rawmemchr-ifunc.c: Likewise.
37569         * string/test-stpcpy-ifunc.c: Likewise.
37570         * string/test-stpncpy-ifunc.c: Likewise.
37571         * string/test-strcasecmp-ifunc.c: Likewise.
37572         * string/test-strcasestr-ifunc.c: Likewise.
37573         * string/test-strcat-ifunc.c: Likewise.
37574         * string/test-strchr-ifunc.c: Likewise.
37575         * string/test-strchrnul-ifunc.c: Likewise.
37576         * string/test-strcmp-ifunc.c: Likewise.
37577         * string/test-strcpy-ifunc.c: Likewise.
37578         * string/test-strcspn-ifunc.c: Likewise.
37579         * string/test-strlen-ifunc.c: Likewise.
37580         * string/test-strncasecmp-ifunc.c: Likewise.
37581         * string/test-strncat-ifunc.c: Likewise.
37582         * string/test-strncmp-ifunc.c: Likewise.
37583         * string/test-strncpy-ifunc.c: Likewise.
37584         * string/test-strnlen-ifunc.c: Likewise.
37585         * string/test-strpbrk-ifunc.c: Likewise.
37586         * string/test-strrchr-ifunc.c: Likewise.
37587         * string/test-strspn-ifunc.c: Likewise.
37588         * string/test-strstr-ifunc.c: Likewise.
37590         * debug/Makefile (tests-ifunc): New variable.
37591         (tests): Add $(tests-ifunc).
37592         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37593         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37594         * debug/test-stpcpy_chk-ifunc.c: New file.
37595         * debug/test-strcpy_chk-ifunc.c: Likewise.
37597 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37599         [BZ #13601]
37600         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37601         header is not read in.
37603 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37605         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37606         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37607         directly.  Pass built executable to script as
37608         $(built-program-cmd).
37609         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37610         $testprogram without using LD_LIBRARY_PATH and $ldso.
37612         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37613         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37614         $(rtld-installed-name).
37615         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37616         (rtld_installed_name): Likewise.
37617         (library_path): Likewise.
37618         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37619         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37620         $(run-program-prefix) to tst-tables.sh.
37621         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37622         it to run tst-table-from and tst-table-to.
37623         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37624         Pass it to tst-table.sh.
37625         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37626         $(run-program-prefix) to tst-gettext.sh.
37627         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37628         tst-translit.sh.
37629         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37630         tst-gettext2.sh.
37631         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37632         to run tst-gettext.
37633         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37634         to run tst-gettext2.
37635         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37636         to run tst-translit.
37637         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37638         $(run-program-prefix) to tst-mtrace.sh.
37639         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37640         to run tst-mtrace.
37641         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37642         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37643         $(rtld-installed-name).
37644         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37645         (rtld_installed_name): Likewise.
37646         (run_program_prefix): New variable.  Use it to run wordexp-test.
37648         * Makeconfig (ARCH): Remove all definitions.
37649         (machine): Likewise.
37650         [ARCH]: Remove conditional code.
37651         [!objdir]: Give error.
37652         [!objdir] (objpfx): Remove.
37653         [!objdir] (common-objpfx): Likewise.
37654         [!objdir] (common-objdir): Likewise.
37655         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37656         AC_CONFIG_FILES call.
37657         * configure: Regenerated.
37659         [BZ #13888]
37660         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37661         or TMPDIR.
37662         (testout): Likewise.
37664         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37665         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37666         $(rtld-installed-name).
37667         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37668         (rtld_installed_name): Likwise.
37669         (runit): Remove function.
37670         (run_getconf): New variable,  Use it for running getconf binary.
37672 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37674         [BZ #14716]
37675         * string/test-memmem.c (check_result): New function.
37676         (do_one_test): Use it.
37677         (check1): New function.
37678         (test_main): Use it.
37680 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37682         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37684 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37686         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37687         (_G_LSEEK64): Likewise.
37688         (_G_MMAP64): Likewise.
37689         (_G_FSTAT64): Likewise.
37690         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37691         (_G_LSEEK64): Likewise.
37692         (_G_MMAP64): Likewise.
37693         (_G_FSTAT64): Likewise.
37694         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37695         unconditional.  Call __mmap64 directly.
37696         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37697         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37698         __lseek64 directly.
37699         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37700         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37701         __mmap64 directly.
37702         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37703         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37704         __lseek64 directly.
37705         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37706         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37707         __lseek64 directly.
37708         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37709         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37710         __lseek64 directly.
37711         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37712         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37713         __fxstat64 directly.
37714         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37715         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37716         unconditional.
37717         (freopen64) [!_G_OPEN64]: Remove conditional code.
37718         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37719         unconditional.
37720         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37721         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37722         unconditional.
37723         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37724         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37725         unconditional.
37726         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37727         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37728         unconditional.
37729         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37730         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37731         unconditional.
37732         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37733         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37734         unconditional.
37735         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37736         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37737         unconditional.
37738         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37740 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37742         [BZ #12140]
37743         * manual/memory.texi (Malloc Tunable Parameters): Add note
37744         about free list pointers overwriting some perturb bytes.
37745         Wording suggested by Roland McGrath.
37747 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37749         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37750         (lgamma_test): Likewise.
37751         (tgamma_test): Likewise.
37753 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37755         [BZ #14700]
37756         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37757         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37759 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37761         * NEWS: Mention BZ #14716.
37762         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37763         when removing AVAILABLE1_USES_J macro.
37765 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37767         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37768         (__bswap_64): __uint64_t for unsigned 64-bit int.
37770 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37772         * include/string.h (memmem): Declare libc hidden alias.
37773         * string/memmem.c (memmem): Define libc hidden alias.
37774         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37775         __read, __close instead of open, read, close.
37777 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37780         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37781         global and hidden.
37782         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37783         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37784         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37785         Likewise.
37786         (__rawmemchr_sse2): Likewise.
37787         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37788         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37789         (__strchr_sse2): Likewise.
37790         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37791         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37792         (__strcasecmp_sse2): Likewise.
37793         (__strncasecmp_sse2): Likewise.
37794         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37795         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37796         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37797         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37798         (__strrchr_sse2): Likewise.
37799         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37800         ifunc-impl-list.c.
37801         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37802         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37803         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37804         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37805         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37806         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37807         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37808         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37809         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37810         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37811         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37812         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37813         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37814         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37815         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37816         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37817         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37818         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37819         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37820         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37821         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37822         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37823         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37824         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37825         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37826         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37827         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37828         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37829         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37830         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37832         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37833         global and hidden.
37834         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37835         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37836         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37837         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37838         Likewise.
37839         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37840         Likewise.
37841         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37842         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37843         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37844         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37845         ifunc-impl-list.c.
37846         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37847         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37848         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37849         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37850         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37851         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37852         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37853         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37854         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37855         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37856         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37857         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37858         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37859         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37860         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37861         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37862         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37863         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37864         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37865         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37866         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37867         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37868         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37869         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37870         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37871         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37872         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37873         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37874         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37875         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37876         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37877         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37878         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37879         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37880         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37881         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37882         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37883         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37884         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37885         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37886         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37888         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37889         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37890         * include/ifunc-impl-list.h: New file.
37891         * misc/ifunc-impl-list.c: Likewise.
37892         * misc/Makefile (routines): Add ifunc-impl-list.
37893         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37894         * string/test-string.h: Include <ifunc-impl-list.h>.
37895         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37896         TEST_NAME]: New variables.
37897         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37898         are defined.
37899         (test_init): Call __libc_ifunc_impl_list to initialize
37900         func_list if TEST_IFUNC and TEST_NAME are defined.
37902         * string/Makefile (strop-tests): Add bcopy and bzero.
37903         * string/test-bcopy.c: New file.
37904         * string/test-bzero.c: Likewise.
37905         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37906         defined.
37907         * string/test-memset.c: Support bzero test if TEST_BZERO is
37908         defined.
37909         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37910         __libc_memmove.
37911         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37912         __libc_memset.
37913         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37914         of memset.
37916 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37918         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37919         * configure: Regenerated.
37921         * Makeconfig (+link-static-before-libc): Don't include
37922         $(link-static-libc).
37924         * libio/libio.h (_IO_pos_t): Remove.
37926 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37928         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37929         McGrath.
37931 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37933         * crypt/crypt-entry.c: Include fips-private.h.
37934         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37935         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37936         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37937         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37939 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37941         * crypt/crypt-private.h: Include stdbool.h.
37942         (_ufc_setup_salt_r): Return bool.
37943         * crypt/crypt-entry.c: Include errno.h.
37944         (__crypt_r): Return NULL with EINVAL for bad salt.
37945         * crypt/crypt_util.c (bad_for_salt): New.
37946         (_ufc_setup_salt_r): Check that salt is long enough and within
37947         the specified alphabet.
37948         * crypt/badsalttest.c: New file.
37949         * crypt/Makefile (tests): Add it.
37950         ($(objpfx)badsalttest): New.
37952 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37954         * NEWS: Add entry for BZ #14602.
37956 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37958         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37959         type-generic.
37960         * math/libm-test.inc: Update comment listing what functions and
37961         macros are tested.
37962         (isgreater_test): New function.
37963         (isgreaterequal_test): Likewise.
37964         (isless_test): Likewise.
37965         (islessequal_test): Likewise.
37966         (islessgreater_test): Likewise.
37967         (isunordered_test): Likewise.
37968         (main): Call the new functions.
37970 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37972         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37973         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37974         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37975         * sysdeps/i386/configure: Regenerated.
37976         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37977         * sysdeps/mach/configure: Regenerated.
37978         * sysdeps/mach/hurd/configure: Regenerated.
37979         * sysdeps/powerpc/configure: Regenerated.
37980         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37981         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37982         * sysdeps/s390/s390-32/configure: Regenerated.
37983         * sysdeps/s390/s390-64/configure: Regenerated.
37984         * sysdeps/sh/configure: Regenerated.
37985         * sysdeps/sparc/configure: Regenerated.
37986         * sysdeps/unix/sysv/linux/configure: Regenerated.
37987         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37988         * sysdeps/x86_64/configure: Regenerated.
37990         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37991         defined.  Don't check if MAP is NULL.
37993 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37995         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37996         (_G_stat64): Likewise.
37997         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37998         (_G_stat64): Likewise.
37999         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38000         instead of struct _G_stat64.
38001         * libio/fileops.c (mmap_remap_check): Likewise.
38002         (decide_maybe_mmap): Likewise.
38003         (_IO_new_file_seekoff): Likewise.
38004         (_IO_file_stat): Likewise.
38005         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38006         _G_off64_t.
38007         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38008         instead of struct _G_stat64.
38009         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38011 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38013         [BZ #14602]
38014         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38015         Replace with ...
38016         (CHECK_EOL): New macro.
38017         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38018         CHECK_EOL.
38019         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38020         Replace with CHECK_EOL.
38021         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38022         Replace with CHECK_EOL.
38024 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38026         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38027         type-generic.
38028         * math/libm-test.inc: Update comment listing what functions and
38029         macros are tested.
38030         (finite_test): New function.
38031         (isinf_test): Likewise.
38032         (isnan_test): Likewise.
38033         (fpclassify_test): Test subnormal input.
38034         (isfinite_test): Likewise.
38035         (isnormal_test): Likewise.
38036         (main): Call the new functions.
38038 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38040         [BZ #14660]
38041         * Makerules (%.dynsym): Force C locale when running
38042         $(OBJDUMP) --dynamic-syms.
38044 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38046         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38047         <stdint.h>.
38049 2012-10-06  David S. Miller  <davem@davemloft.net>
38051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38052         upper 32-bits of the length value in %o2 since we use branch-on-register
38053         tests which consider the entire 64-bit register.
38055 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38057         * string/test-strstr.c (check2): Add a test for page boundary.
38059 2012-10-05  David S. Miller  <davem@davemloft.net>
38061         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38062         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38063         file.
38064         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38065         sysdep_routines.
38066         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38067         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38068         and bzero when HWCAP_SPARC_CRYPTO is present.
38070 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38072         [BZ #14602]
38073         * string/test-strstr.c (check2): New function.
38074         (test_main): Call check2.
38076         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38077         and bug-strchr1.
38078         * string/bug-strcasestr1.c (do_test): Moved to ...
38079         * string/test-strcasestr.c (check1): Here.  New function.
38080         (do_one_test): Break out result checking code into ...
38081         (check_result): This.  New function.
38082         (do_one_test): Call check_result.
38083         (test_main): Call check1.
38084         * string/bug-strchr1.c (do_test): Moved to ...
38085         * string/test-strchr.c (check1): Here.  New function.
38086         (do_one_test): Break out result checking code into ...
38087         (check_result): This.  New function.
38088         (do_one_test): Call check_result.
38089         (test_main): Call check1.
38090         * string/bug-strstr1.c (main): Moved to ...
38091         * string/test-strstr.c (check1): Here.  New function.
38092         (do_one_test): Break out result checking code into ...
38093         (check_result): This.  New function.
38094         (do_one_test): Call check_result.
38095         (test_main): Call check1.
38096         * string/bug-strcasestr1.c: Removed.
38097         * string/bug-strchr1.c: Likewise.
38098         * string/bug-strstr1.c: Likewise.
38100         * elf/Makefile (dl-routines): Add hwcaps.
38101         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38102         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38103         (_dl_important_hwcaps): Moved to ...
38104         * elf/dl-hwcaps.c: Here.  New file.
38105         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38107         [BZ #14557]
38108         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38109         if IS_IN_rtld isn't defined.
38111         * elf/dl-support.c (_dl_sysinfo_map): New.
38112         Include "get-dynamic-info.h" and "setup-vdso.h".
38113         (_dl_non_dynamic_init): Call setup_vdso.
38114         * elf/dynamic-link.h: Don't include <assert.h>.
38115         (elf_get_dynamic_info): Moved to ...
38116         * elf/get-dynamic-info.h: Here.  New file.
38117         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38118         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38119         * elf/setup-vdso.h: Here.  New file.
38120         * elf/rtld.c: Include "setup-vdso.h".
38121         (dl_main): Call setup_vdso.
38123 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38125         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38126         creal in comment listing functions tested.  List finite, isinf,
38127         isnan, isless, islessequal, isgreater, isgreaterequal,
38128         islessgreater, isunordered, lgamma_r and pow10 as functions and
38129         macros not tested.  Mention which functions not tested are aliases
38130         for other functions.  Fix typo.  Note that signs of NaNs are not
38131         tested.
38133         * scripts/config.guess: Update from config.git.
38134         * scripts/config.sub: Likewise.
38136 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38138         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38139         * misc/madvise.c (madvise): Renamed to __madvise.
38140         Make madvise a weak alias.
38141         * include/sys/mman.h: Declare __madvise.
38142         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38143         * sysdeps/unix/syscalls.list
38144         (madvise): Make __madvise the strong name, and madvise a weak alias.
38145         * sysdeps/unix/sysv/linux/syscalls.list
38146         (madvise, mmap): Remove redundant entries.
38147         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38148         * malloc/malloc.c (mtrim): Likewise.
38149         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38151 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38153         * sysdeps/mach/hurd/dl-cache.c: File removed.
38154         * config.h.in (USE_LDCONFIG): New #undef.
38155         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38156         * configure: Regenerated.
38157         * elf/Makefile (dl-routines): Add dl-cache only under
38158         [$(use-ldconfig) = yes].
38159         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38160         cache on [USE_LDCONFIG].
38161         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38162         [USE_LDCONFIG].
38163         * elf/rtld.c (dl_main): Likewise.
38165 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38167         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38168         _SC_LEVEL4_CACHE_LINESIZE.
38170 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38172         * sysdeps/unix/bsd/confstr.h: File removed.
38174 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38176         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38177         sys/sdt-config.h.
38179 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38181         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38182         Make 'mapoff' field ElfW(Off) rather than off_t.
38184 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38186         * nscd/Makefile: Remove nscd-cflags and all its users.
38187         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38188         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38190         [BZ #10631]
38191         * malloc.c (malloc_printerr): Clarify error message.
38193 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38195         [BZ #14648]
38196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38197         Set bit_FMA_Usable if FMA is supported.
38198         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38199         macro.
38200         (bit_FMA4_Usable): Updated.
38201         (index_FMA_Usable): New macro.
38202         (CPUID_FMA): Likewise
38203         (HAS_FMA): Defined with bit_FMA_Usable.
38205 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38207         * bits/types.h (__swblk_t): Type removed.
38208         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38209         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38210         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38211         (__SWBLK_T_TYPE): Likewise.
38212         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38213         (__SWBLK_T_TYPE): Likewise.
38214         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38215         (__SWBLK_T_TYPE): Likewise.
38216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38217         (__SWBLK_T_TYPE): Likewise.
38219 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38220             Honza Horak <hhorak@redhat.com>
38222         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38223         (xdr_mapname): Use YPMAXMAP as maxsize.
38224         (xdr_peername): Use YPMAXPEER as maxsize.
38225         (xdr_keydat): Use YPAXRECORD as maxsize.
38226         (xdr_valdat): Use YPMAXRECORD as maxsize.
38228 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38230         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38232         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38233         * csu/init-first.c: ... here.
38234         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38235         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38236         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38237         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38238         * sysdeps/i386/init-first.c: File removed.
38239         * sysdeps/sh/init-first.c: File removed.
38241 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38243         [BZ #14645]
38244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38245         if x * y might underflow to zero and z is zero.
38246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38248         * math/libm-test.inc (min_subnorm_value): New variable.
38249         (fma_test): Add more tests.
38250         (fma_test_towardzero): Likewise.
38251         (fma_test_downward): Likewise
38252         (fma_test_upward): Likewise.
38253         (initialize): Set min_subnorm_value.
38255 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38257         [BZ #14638]
38258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38259         0 + 0.
38260         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38261         mode for addition resulting in exact zero.
38262         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38264         exact 0 + 0.
38265         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38267         * math/libm-test.inc (fma_test): Add more tests.
38268         (fma_test_towardzero): New function.
38269         (fma_test_downward): Likewise.
38270         (fma_test_upward): Likewise.
38271         (main): Call the new functions.
38273 2012-09-28  David S. Miller  <davem@davemloft.net>
38275         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38277 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38279         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38280         instead of SIGALRM.
38282         * sysdeps/gnu/_G_config.h: Moved to ...
38283         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38284         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38285         * sysdeps/generic/_G_config.h: ... here.
38287         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38289         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38291         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38292         Conditionalize target on [libnss_test1.so-version].
38294         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38296         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38297         (elfobjdir): Move out of conditionals.
38299         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38300         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38301         (__nss_lookup_function): Conditionalize label remove_from_tree on
38302         [!DO_STATIC_NSS || SHARED], matching its only use.
38304 2012-09-28  David S. Miller  <davem@davemloft.net>
38306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38307         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38308         file.
38309         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38310         sysdep_routines.
38311         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38312         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38313         when HWCAP_SPARC_CRYPTO is present.
38315 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38317         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38319 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38321         [BZ #6530]
38322         * stdio-common/vfprintf.c (process_string_arg): Revert
38323         2000-07-22 change.
38325 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38327         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38328         for testcase.
38329         * stdio-common/tst-sprintf.c: Include <locale.h>
38330         (main): Test sprintf's handling of incomplete multibyte
38331         characters.
38333 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38335         * elf/dl-runtime.c (VERSYMIDX): Removed.
38336         * elf/dl-version.c (VERSYMIDX): Likewise.
38337         * elf/do-rel.h (VERSYMIDX): Likewise.
38338         (VALIDX): Likewise.
38339         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38340         * elf/rtld.c (VALIDX): Likewise.
38341         (ADDRIDX): Likewise.
38342         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38343         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38344         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38345         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38346         (VALIDX): Likewise.
38347         (ADDRIDX): Likewise.
38349 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38351         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38353 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38355         [BZ #11438]
38356         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38357         to global scope.
38358         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38359         addresses are in the same scope as 192.0.2/24.
38360         * posix/gai.conf: Document new scope table defaults.
38362 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38364         [BZ #5298]
38365         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38366         for ftell.  Compute offsets from write pointers instead.
38367         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38369 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38371         [BZ #14543]
38372         * libio/Makefile (tests): New test case tst-fseek.
38373         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38374         combination works in wide mode.
38375         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38376         state when the external buffer state changes.
38378 2012-09-27  David S. Miller  <davem@davemloft.net>
38380         [BZ #14376]
38381         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38382         pass reloc->r_addend in as the 'high' argument to
38383         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38387 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38389         * rt/tst-aio2.c: Include <pthread.h>.
38390         * rt/tst-aio3.c: Likewise.
38392 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38394         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38396 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38398         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38399         contents on [SHARED].
38401 2012-09-26  Marek Polacek  <polacek@redhat.com>
38403         [BZ #14530]
38404         [BZ #13741]
38405         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38406         for C++ and GCC <4.3 as well as for non GCC compilers.
38408 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38412 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38414         * Makefile.in (all, install): Declare with .PHONY.
38415         Reported by Michael Hope <michael.hope@linaro.org>.
38417 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38419         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38420         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38421         system header.
38422         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38423         Likewise.
38424         (sydep_routines): Add the new and the internal functions.
38425         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38426         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38428         (GLIBC_2.17): Add the new function.
38429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38430         (GLIBC_2.17): Likewise.
38431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38432         (GLIBC_2.17): Likewise.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38434         (GLIBC_2.17): Likewise.
38435         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38437 2012-09-25  Alan Modra  <amodra@gmail.com>
38439         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38440         Add release barrier before setting once_control to say
38441         initialisation is done.  Add hints on lwarx.  Use macro in
38442         place of isync.
38443         (clear_once_control): Add release barrier.
38445 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38447         [BZ #13629]
38448         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38449         specially.
38450         * math/s_clog10.c (__clog10): Likewise.
38451         * math/s_clog10f.c (__clog10f): Likewise.
38452         * math/s_clog10l.c (__clog10l): Likewise.
38453         * math/s_clogf.c (__clogf): Likewise.
38454         * math/s_clogl.c (__clogl): Likewise.
38455         * math/Makefile (libm-calls): Add x2y2m1.
38456         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38457         (__x2y2m1): Likewise.
38458         (__x2y2m1l): Likewise.
38459         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38460         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38461         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38462         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38463         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38464         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38465         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38466         * sysdeps/i386/fpu/libm-test-ulps: Update.
38467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38469         [BZ #14621]
38470         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38471         int as type of variable DEPTH.
38472         (glob): Use size_t instead of int as type of variables NEWCOUNT
38473         and OLD_PATHC.
38475 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38477         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38478         Add s_sincosf-sse2.
38479         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38480         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38481         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38482         macros for using routine as __sincosf_ia32.
38483         Use macro for function declaration and weak_alias.
38484         * sysdeps/i386/fpu/libm-test-ulps: Update.
38486         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38489         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38490         subnormal argument.
38491         * math/s_cexpf.c (__cexpf): Likewise.
38492         * math/s_csinf.c (__csinf): Likewise.
38493         * math/s_csinhf.c (__csinhf): Likewise.
38494         * math/s_ctanf.c (__ctanf): Likewise.
38495         * math/s_ctanhf.c (__ctanhf): Likewise.
38496         * math/s_ccosh.c (__ccoshf): Likewise.
38497         * math/s_cexp.c (__cexpl): Likewise.
38498         * math/s_csin.c (__csin): Likewise.
38499         * math/s_csinh.c (__csinh): Likewise.
38500         * math/s_ctan.c (__ctan): Likewise.
38501         * math/s_ctanh.c (ctanh): Likewise.
38502         * math/s_ccoshl.c (__ccoshl): Likewise.
38503         * math/s_cexpl.c (__cexpl): Likewise.
38504         * math/s_csinl.c (__csinl): Likewise.
38505         * math/s_csinhl.c (__csinhl): Likewise.
38506         * math/s_ctanl.c (__ctanl): Likewise.
38507         * math/s_ctanhl.c (__ctanhl): Likewise.
38509 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38511         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38512         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38513         (_IO_off_t): Define to __off_t, not _G_off_t.
38514         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38515         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38516         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38517         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38518         type of __dummy and __dummy2 fields.
38519         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38520         (_G_ssize_t): Likewise.
38521         (_G_off_t): Likewise.
38522         (_G_pid_t): Likewise.
38523         (_G_uid_t): Likewise.
38524         (_G_wchar_t): Likewise.
38525         (_G_wint_t): Likewise.
38526         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38527         (_G_ssize_t): Likewise.
38528         (_G_off_t): Likewise.
38529         (_G_pid_t): Likewise.
38530         (_G_uid_t): Likewise.
38531         (_G_wchar_t): Likewise.
38532         (_G_wint_t): Likewise.
38533         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38534         (_G_ssize_t): Likewise.
38535         (_G_off_t): Likewise.
38536         (_G_pid_t): Likewise.
38537         (_G_uid_t): Likewise.
38538         (_G_wchar_t): Likewise.
38539         (_G_wint_t): Likewise.
38541 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38543         * malloc/arena.c: Include malloc-sysdep.h.
38544         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38545         is sufficient to shrink the heap or an unmap is needed.
38546         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38547         new function check_may_shrink_heap.
38548         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38549         new function check_may_shrink_heap.
38551 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38553         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38554         comments.
38556 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38558         * catgets/test-gencat.sh: Add "set -e".
38559         * elf/tst-pathopt.sh: Likewise.
38560         * grp/tst_fgetgrent.sh: Likewise.
38561         * iconvdata/run-iconv-test.sh: Likewise.
38562         * intl/tst-gettext.sh: Likewise.
38563         * intl/tst-gettext2.sh: Likewise.
38564         * intl/tst-gettext4.sh: Likewise.
38565         * intl/tst-gettext6.sh: Likewise.
38566         * intl/tst-translit.sh: Likewise.
38567         * io/ftwtest-sh: Likewise.
38568         * libio/test-freopen.sh: Likewise.
38569         * malloc/tst-mtrace.sh: Likewise.
38570         * posix/globtest.sh: Likewise.
38571         * posix/tst-getconf.sh: Likewise.
38572         * posix/wordexp-tst.sh: Likewise.
38573         * stdio-common/tst-printf.sh: Likewise.
38574         * stdio-common/tst-unbputc.sh: Likewise.
38575         * stdlib/tst-fmtmsg.sh: Likewise.
38576         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38577         * catgets/Makefile: Do not specify -e option when running
38578         testsuite shell scripts.
38579         * elf/Makefile: Likewise.
38580         * grp/Makefile: Likewise.
38581         * iconvdata/Makefile: Likewise.
38582         * intl/Makefile: Likewise.
38583         * io/Makefile: Likewise.
38584         * libio/Makefile: Likewise.
38585         * malloc/Makefile: Likewise.
38586         * posix/Makefile: Likewise.
38587         * stdio-common/Makefile: Likewise.
38588         * stdlib/Makefile: Likewise.
38589         * sysdeps/x86_64/Makefile: Likewise.
38591         * io/ftwtest-sh: Add copyright header.
38592         * posix/globtest.sh: Likewise.
38593         * posix/tst-getconf.sh: Likewise.
38594         * posix/wordexp-tst.sh: Likewise.
38595         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38597 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38599         [BZ #13679]
38600         * Makeconfig (+link): Defined as $(+link-static) if
38601         $(build-shared) isn't yes.
38602         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38603         isn't yes.
38604         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38606         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38608         [BZ #14562]
38609         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38610         new chunk size with MALLOC_ALIGN_MASK.
38612 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38614         [BZ #5044]
38615         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38616         <rounding-mode.h>.
38617         (__printf_fphex): Determine rounding using get_rounding_mode and
38618         round_away.
38619         * stdio-common/tst-printf-round.c (struct hex_test): New
38620         structure.
38621         (hex_tests): New variable.
38622         (test_hex_in_one_mode): New function.
38623         (do_test): Also run tests for hex float output.
38625 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38627         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38628         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38629         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38630         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38631         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38632         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38633         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38634         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38636 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38638         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38639         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38640         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38641         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38643 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38645         [BZ #14579]
38646         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38647         mode only.
38648         * elf/tst-rtld-load-self.sh: New test.
38649         * elf/Makefile: Run it.
38651 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38653         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38654         (tst-writev-ENV): Remove.
38655         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38657 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38659         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38661 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38663         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38664         unconditional.
38665         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38666         Likewise.
38667         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38668         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38669         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38670         Likewise.
38672 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38674         [BZ #14587]
38675         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38676         * config.make.in (have-cpp-asm-debuginfo): Removed.
38677         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38678         * configure: Regenerated.
38680 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38682         [BZ #5044]
38683         * stdio-common/printf_fp.c: Include <stdbool.h> and
38684         <rounding-mode.h>.
38685         (___printf_fp): Determine rounding using get_rounding_mode and
38686         round_away.
38687         * stdio-common/tst-printf-round.c: New file.
38688         * stdio-common/Makefile (tests): Add tst-printf-round.
38689         (link-libm): New variable.
38690         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38692 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38694         [BZ #14576]
38695         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38696         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38697         Likewise.
38698         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38699         Likewise.
38701 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38703         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38704         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38705         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38706         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38708 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38710         [BZ #14518]
38711         * include/rounding-mode.h: New file.
38712         * sysdeps/generic/get-rounding-mode.h: Likewise.
38713         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38714         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38715         (MAX_VALUE): New macro.
38716         (MIN_VALUE): Likewise.
38717         (overflow_value): New function.
38718         (underflow_value): Likewise.
38719         (round_and_return): Use overflow_value and underflow_value to
38720         determine return values in overflow and underflow cases.  Use
38721         round_away to determine rounding depending on rounding mode.
38722         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38723         determine return values in overflow and underflow cases.
38724         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38725         (struct test_results): New structure.
38726         (struct test): Use struct test_results to store expected results
38727         for all rounding modes.
38728         (TEST): Include expected results for all rounding modes.
38729         (test_in_one_mode): New function.
38730         (do_test): Use test_in_one_mode to compute and check results.
38731         Check results for all rounding modes.
38732         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38733         $(link-libm).
38735 2012-12-09  Allan McRae  <allan@archlinux.org>
38737         * sysdeps/i386/fpu/libm-test-ulps: Update
38739 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38741         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38742         (_G_int32_t): Likewise.
38743         (_G_uint16_t): Likewise.
38744         (_G_uint32_t): Likewise.
38745         (_G_HAVE_BOOL): Likewise.
38746         (_G_HAVE_ATEXIT): Likewise.
38747         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38748         (_G_HAVE_IO_FILE_OPEN): Likewise.
38749         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38750         (_G_int32_t): Likewise.
38751         (_G_uint16_t): Likewise.
38752         (_G_uint32_t): Likewise.
38753         (_G_HAVE_BOOL): Likewise.
38754         (_G_HAVE_ATEXIT): Likewise.
38755         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38756         (_G_HAVE_IO_FILE_OPEN): Likewise.
38757         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38758         (_G_int32_t): Likewise.
38759         (_G_uint16_t): Likewise.
38760         (_G_uint32_t): Likewise.
38761         (_G_HAVE_BOOL): Likewise.
38762         (_G_HAVE_ATEXIT): Likewise.
38763         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38764         (_G_HAVE_IO_FILE_OPEN): Likewise.
38766 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38768         * csu/libc-tls.c: Update copyright years.
38770 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38772         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38773         [!_G_USING_THUNKS]: Remove conditional code.
38774         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38775         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38777         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38778         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38779         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38780         (_G_VTABLE_LABEL_PREFIX): Likewise.
38781         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38782         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38783         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38784         (_G_VTABLE_LABEL_PREFIX): Likewise.
38785         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38786         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38787         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38788         (_G_VTABLE_LABEL_PREFIX): Likewise.
38789         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38791 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38793         * libio/Makefile: Include ../Makeconfig before tests.
38794         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38795         only if $(build-shared) is yes.
38797         * iconv/gconv_db.c: Update copyright years.
38799 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38801         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38802         unwind info if defined PIC. Fix special cases description.
38803         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38805         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38806         DP_HI_MASK entry.
38807         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38809 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38811         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38813         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38814         is NULL.
38816         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38817         (LDLIBS-tst-chk4): This.
38818         (LDFLAGS-tst-chk5): Renamed to ...
38819         (LDLIBS-tst-chk5): This.
38820         (LDFLAGS-tst-chk6): Renamed to ...
38821         (LDLIBS-tst-chk6): This.
38822         (LDFLAGS-tst-lfschk4): Renamed to ...
38823         (LDLIBS-tst-lfschk4): This.
38824         (LDFLAGS-tst-lfschk5): Renamed to ...
38825         (LDLIBS-tst-lfschk5): This.
38826         (LDFLAGS-tst-lfschk6): Renamed to ...
38827         (LDLIBS-tst-lfschk6): This.
38829         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38830         on $(common-objpfx)soversions.mk.
38832 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38834         [BZ #10014]
38835         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38836         example host name.
38838 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38840         * malloc/arena.c (arena_get_retry): New function that gets
38841         another arena for the caller to try its request on.
38842         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38843         current arena cannot fulfill the request.
38844         (__libc_memalign): Likewise.
38845         (__libc_memalign): Likewise.
38846         (__libc_pvalloc): Likewise.
38847         (__libc_calloc): Likewise.
38849 2012-09-05  John Tobey  <john.tobey@gmail.com>
38851         [BZ #13542]
38852         * manual/arith.texi (Operations on Complex): Fix description
38853         of carg branch cut.
38855 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38857         [BZ #10014]
38858         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38859         host name.
38861         [BZ #10038]
38862         * manual/memory.texi (Memory): Make order of menu items match
38863         order of sections.
38865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38867         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38868         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38869         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38871 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38873         * csu/libc-tls.c (static_dtv): Renamed to ...
38874         (_dl_static_dtv): This.  Make it global.
38875         (_dl_initial_dtv): Removed.
38876         (__libc_setup_tls): Updated.
38877         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38878         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38879         DL_INITIAL_DTV.
38881 2012-09-06  Petr Machata  <pmachata@redhat.com>
38883         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38884         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38885         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38886         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38888 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38890         [BZ #14545]
38891         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38892         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38893         freeing dtv[-1].
38895 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38897         [BZ #14544]
38898         * Makeconfig (link-static-before-libc): Replace $(+prector)
38899         with $(+prectorT).
38900         (link-static-after-libc): Replace $(+postctor) with
38901         $(+postctorT).
38902         (link-bounded): Replace $(+prector)/$(+postctor) with
38903         $(+prectorT)/$(+postctorT).
38904         (+prectorT): New macro.
38905         (+postctorT): Likewise.
38907 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38909         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38910         (round_str): Handle values above the maximum for IBM long double
38911         as inexact.
38912         * stdlib/tst-strtod-round.c (tests): Regenerated.
38914 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38916         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38917         assembler flag.
38918         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38919         zarch_nohighgprs around the zarch optimized routines.
38920         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38921         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38922         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38923         for zarch.
38925 2012-09-05  David S. Miller  <davem@davemloft.net>
38927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38929         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38930         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38931         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38932         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38933         entries.
38935 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38937         * malloc/arena.c: Fold copyright years.
38938         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38940 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38942         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38944 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38946         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38948 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38950         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38951         change internal state upon failure.
38953 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38955         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38956         * malloc/memusage.c (mmap): Likewise.
38957         (mmap64, mremap): Likewise.  Adjust name in comment.
38959 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38961         * libio/fileops.c: Fix typos in comments.
38962         * libio/oldfileops.c: Likewise.
38963         * libio/wfileops.c: Likewise.
38965 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38967         [BZ #1349]
38968         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38969         (tst-malloc-usable-ENV): Set environment for test case.
38970         * malloc/hooks.c (malloc_check_get_size): New function to get
38971         requested size.
38972         * malloc/malloc.c (musable): Use malloc_check_get_size.
38973         * malloc/tst-malloc-usable.c: New test case.
38975 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38977         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38979 2012-09-05  Allan McRae  <allan@archlinux.org>
38981         [BZ #13966]
38982         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38983         determine header location.
38984         * configure: Regenerated.
38986 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38988         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38989         float format.
38990         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38991         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38992         format.
38993         (test): Regenerate.
38995 2012-09-04  David S. Miller  <davem@davemloft.net>
38997         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38998         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38999         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39001 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39003         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39004         failures.
39006         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39008 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39010         [BZ #9914]
39011         * libio/iogetdelim.c: Include <limits.h>.
39012         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39013         + len + 1 would overflow.
39015 2012-09-03  Andreas Jaeger  <aj@suse.de>
39017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39018         * sysdeps/i386/fpu/libm-test-ulps: Update.
39020 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39022         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39023         Add s_sinf-sse2, s_conf-sse2.
39025         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39026         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39027         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39028         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39030         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39031         for using routine as __sinf_ia32.
39032         Use macro for function declaration and weak_alias.
39033         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39034         for using routine as __cosf_ia32.
39035         Use macro for function declaration and weak_alias.
39037         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39038         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39040         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39041         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39044         * math/libm-test.inc (cos_test): Add more test cases.
39045         (sin_test): Likewise.
39046         (sincos_test): Likewise.
39048 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39050         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39051         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39052         hidden.
39053         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39055 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39057         [BZ #14538]
39058         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39059         first element of the GOT.
39060         (elf_machine_load_address): Return the difference between
39061         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39063 2012-09-01  Allan McRae  <allan@archlinux.org>
39065         [BZ #13412]
39066         * configure.in (AWK): Require gawk version 3.0 or later.
39067         * configure: Regenerated.
39069 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39071         * sysdeps/unix/sysv/linux/kernel-features.h
39072         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39073         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39074         [__NR_clock_getres]: Make code unconditional.
39075         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39076         (clock_getcpuclockid): Remove code left unreachable by removal of
39077         conditionals.
39078         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39079         code unconditional.
39080         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39081         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39082         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39083         Make code unconditional.
39084         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39085         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39086         * sysdeps/unix/sysv/linux/clock_settime.c
39087         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39088         conditional code.
39089         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39090         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39092 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39094         [BZ #14476]
39095         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39096         scripts/test-installation.pl.
39098         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39099         and $ld_so_version if it is set.
39101 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39103         [BZ #14516]
39104         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39105         failure if reading from procfs failed.
39106         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39108 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39110         * sysdeps/unix/sysv/linux/kernel-features.h
39111         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39112         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39113         Remove conditional code.
39114         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39115         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39116         Remove conditional code.
39117         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39118         * sysdeps/unix/sysv/linux/i386/fxstat.c
39119         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39120         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39121         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39122         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39123         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39124         * sysdeps/unix/sysv/linux/i386/lxstat.c
39125         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39126         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39127         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39128         Remove conditional code.
39129         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39130         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39131         Remove conditional code.
39132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39133         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39134         <kernel-features.h>.
39135         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39136         Remove.
39137         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39138         Remove conditional code.
39139         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39140         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39141         Remove conditional.
39143 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39145         [BZ #5400]
39146         * NEWS: Add fixed bug number.
39148 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39150         [BZ #14519]
39151         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39152         underflowing exponent in case of negative sign.
39153         * stdlib/tst-strtod-round-data: Add more tests.
39154         * stdlib/tst-strtod-round.c (tests): Regenerated.
39156         [BZ #3479]
39157         * stdlib/strtod_l.c (NDIG): Remove.
39158         (HEXNDIG): Likewise.
39159         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39160         smallest representable value.
39161         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39162         lie within an exact representation of 1/2 ulp of the result.
39163         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39164         unconditionally.
39165         (TENS_P9_IDX): Define unconditionally.
39166         (TENS_P9_SIZE): Likewise.
39167         (TENS_P10_IDX): Likewise.
39168         (TENS_P10_SIZE): Likewise.
39169         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39170         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39171         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39172         entries for 10^2^13 and 10^2^14.
39173         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39174         (TENS_P13_IDX): Define.
39175         (TENS_P13_SIZE): Likewise.
39176         (TENS_P14_IDX): Likewise.
39177         (TENS_P14_SIZE): Likewise.
39178         (_fpioconst_pow10): Change array size to
39179         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39180         unconditional.
39181         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39182         1024]: Add entries for 10^2^13 and 10^2^14.
39183         [LAST_POW10 > _LAST_POW10]: Remove #error.
39184         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39185         (_fpioconst_pow10): Change array size to
39186         FPIOCONST_POW10_ARRAY_SIZE.
39187         * stdlib/gen-fpioconst.c: New file.
39188         * stdlib/gen-tst-strtod-round.c: Likewise.
39189         * stdlib/tst-strtod-round-data: Likewise.
39190         * stdlib/tst-strtod-round.c: Likewise.
39191         * stdlib/Makefile (tests): Add tst-strtod-round.
39193         [BZ #14459]
39194         * stdlib/strtod_l.c: Include <stdint.h>.
39195         (NDEBUG): Do not define.
39196         (round_and_return): Change EXPONENT parameter to type intmax_t.
39197         Rearrange calculations to avoid internal overflow possibilities.
39198         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39199         Rearrange calculations to avoid internal overflow possibilities.
39200         Assert that number fits inside MPNSIZE limbs.
39201         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39202         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39203         calculations and add assertions to avoid internal overflow
39204         possibilities.  Add casts to avoid signed/unsigned operations.
39205         * stdlib/tst-strtod-overflow.c: New file.
39206         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39208 2012-08-25  Marek Polacek  <polacek@redhat.com>
39210         * time/time.h: Fix some typos in comments.
39212 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39214         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39215         * posix/tst-rfc3484-2.c: Likewise.
39216         * posix/tst-rfc3484-3.c: Likewise.
39218 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39220         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39221         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39223 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39225         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39226         #include of fxstatat64.c.
39228 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39230         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39231         * shadow/getspent_r.c: Likewise.
39232         * shadow/getspnam.c: Likewise.
39233         * shadow/getspnam_r.c: Likewise.
39234         * gshadow/getsgent.c: Likewise.
39235         * gshadow/getsgent_r.c: Likewise.
39236         * gshadow/getsgnam.c: Likewise.
39237         * gshadow/getsgnam_r.c: Likewise.
39238         * inet/getnetbyad.c: Likewise.
39239         * inet/getnetbyad_r.c: Likewise.
39240         * inet/getnetbynm.c: Likewise.
39241         * inet/getnetbynm_r.c: Likewise.
39242         * inet/getnetent.c: Likewise.
39243         * inet/getnetent_r.c: Likewise.
39244         * inet/getproto.c: Likewise.
39245         * inet/getproto_r.c: Likewise.
39246         * inet/getprtent.c: Likewise.
39247         * inet/getprtent_r.c: Likewise.
39248         * inet/getprtname.c: Likewise.
39249         * inet/getprtname_r.c: Likewise.
39250         * inet/getrpcbyname.c: Likewise.
39251         * inet/getrpcbyname_r.c: Likewise.
39252         * inet/getrpcbynumber.c: Likewise.
39253         * inet/getrpcbynumber_r.c: Likewise.
39254         * inet/getrpcent.c: Likewise.
39255         * inet/getrpcent_r.c: Likewise.
39256         * inet/getaliasent.c: Likewise.
39257         * inet/getaliasent_r.c: Likewise.
39258         * inet/getaliasname.c: Likewise.
39259         * inet/getaliasname_r.c: Likewise.
39260         * nscd/getgrgid_r.c: Likewise.
39261         * nscd/getgrnam_r.c: Likewise.
39262         * nscd/gethstbyad_r.c: Likewise.
39263         * nscd/gethstbynm3_r.c: Likewise.
39264         * nscd/getpwnam_r.c: Likewise.
39265         * nscd/getpwuid_r.c: Likewise.
39266         * nscd/getsrvbynm_r.c: Likewise.
39267         * nscd/getsrvbypt_r.c: Likewise.
39268         * nscd/gai.c: Likewise.
39270         * configure.in (build_nscd): New substituted variable, set
39271         by --disable-build-nscd and defaults to $use_nscd.
39272         * configure: Regenerated.
39273         * config.make.in (build-nscd): New substituted variable.
39274         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39275         Change conditional to require [$(build-nscd) = yes] as well.
39276         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39278         [BZ# 13696]
39279         * configure.in (use_nscd): New substituted variable, set by
39280         --disable-nscd.  If enabled, define USE_NSCD.
39281         * configure: Regenerated.
39282         * config.h.in: Add USE_NSCD.
39283         * config.make.in (use-nscd): New substituted variable.
39284         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39285         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39286         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39287         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39288         (CFLAGS-getgrnam_r.c): Likewise.
39289         (CFLAGS-initgroups.c): Likewise.
39290         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39291         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39292         Variables removed.
39293         * inet/getnetgrent_r.c
39294         (nscd_setnetgrent): New function, broken out of ...
39295         (setnetgrent): ... here.  Call it.
39296         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39297         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39298         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39299         * nscd/Makefile (routines, aux): Move definitions after include of
39300         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39301         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39302         Conditionalize on [USE_NSCD].
39303         (is_nscd, nscd_init_cb): Likewise.
39304         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39305         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39306         * nss/nss_db/db-init.c: Likewise.
39307         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39308         [USE_NSCD].
39309         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39310         (make_request): Use it.
39311         (cache_valid_p): New function.
39312         (__check_pf): Use it.
39313         * NEWS: Add item for --disable-nscd.
39315 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39317         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39318         to support sed >= 4.2.1-20-ga9bf076.
39319         * configure: Regenerated.
39321 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39323         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39324         Conditionalize whole body on [IREL].
39326 2012-08-22  Jeff Law <law@redhat.com>
39328         [BZ #14505]
39329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39330         if the family is PF_UNSPEC.
39332 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39334         * Makerules (lib-version): Rename from V.
39335         (install-lib-nosubdir): Change V to lib-version.
39337 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39339         [BZ #14252]
39340         * powerpc32/power6/wcschr.c: New file.
39341         * powerpc32/power6/wcscpy.c: New file.
39342         * powerpc32/power6/wcsrchr.c: New file.
39343         * powerpc64/power6/wcschr.c: New file.
39344         * powerpc64/power6/wcscpy.c: New file.
39345         * powerpc64/power6/wcsrchr.c: New file.
39347 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39349         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39350         (two_way_short_needle): Use it.
39351         * string/strstr.c (AVAILABLE1_USES_J): Define.
39352         * string/strcasestr.c: Likewise.
39354         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39355         array references.
39356         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39358         [BZ #11607]
39359         * NEWS: Add an entry.
39360         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39361         define their defaults.
39362         (two_way_short_needle): Detect end-of-string on-the-fly.
39363         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39364         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39365         * string/bug-strcasestr1.c: New test.
39366         * string/Makefile: Run it.
39368 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39370         [BZ #11607]
39371         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39372         the first character.
39374 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39376         * csu/elf-init.c (__libc_csu_irel): Function removed.
39377         * csu/libc-start.c (apply_irel): New function.
39378         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39380 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39382         * sysdeps/unix/sysv/linux/kernel-features.h
39383         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39384         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39385         <kernel-features.h>.
39386         [__NR_fadvise64_64]: Make code unconditional.
39387         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39388         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39389         !__NR_fadvise64_64)]: Likewise.
39390         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39391         !__NR_fadvise64_64))]: Likewise.
39392         [__NR_fadvise64]: Make code unconditional.
39393         [!__NR_fadvise64]: Remove conditional code.
39394         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39395         <kernel-features.h>.
39396         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39397         unconditional.
39398         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39399         conditional code.
39400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39401         not include <kernel-features.h>.
39402         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39403         unconditional.
39404         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39405         conditional code.
39406         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39407         include <kernel-features.h>.
39408         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39409         unconditional.
39410         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39411         conditional code.
39413 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39415         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39416         slight instruction rearrangements per scrollpipe analysis.
39417         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39419 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39421         * manual/syslog.texi (syslog; vsyslog, closelog):
39422         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39423         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39425         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39426         DSOCAPS to match condition on defining it.
39428 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39430         * sysdeps/unix/sysv/linux/kernel-features.h
39431         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39433         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39434         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39436         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39437         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39439         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39440         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39442         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39443         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39445         * sysdeps/unix/sysv/linux/kernel-features.h
39446         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39447         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39448         unconditional.
39449         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39450         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39451         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39452         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39453         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39454         Make code unconditional.
39455         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39456         (__mmap64) [!__NR_mmap2]: Likewise.
39457         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39458         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39459         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39460         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39461         [__NR_mmap2]: Make code unconditional.
39462         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39463         (__mmap64) [!__NR_mmap2]: Likewise.
39465 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39467         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39469 2012-08-18  Andreas Jaeger  <aj@suse.de>
39471         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39473 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39475         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39476         * include/unistd.h (__have_sock_cloexec): Likewise.
39477         (__have_pipe2): Likewise.
39478         (__have_dup3): Likewise.
39480 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39482         [BZ #9685]
39483         * include/unistd.h (__have_pipe2): Change define into an extern int.
39484         (__have_dup3): Likewise.
39485         * socket/have_sock_cloexec.c: Include fcntl.h.
39486         (__have_pipe2): New variable.
39487         (__have_dup3): Likewise.
39489 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39491         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39493 2012-08-17  Marek Polacek  <polacek@redhat.com>
39495         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39496         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39498 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39500         * configure.in: Add AC_SUBST for sysheaders.
39501         * configure: Regenerated.
39502         * config.make.in (sysheaders): New substituted variable.
39504         * sysdeps/unix/mkfifo.c: Moved ...
39505         * sysdeps/posix/mkfifo.c: ... here.
39506         * sysdeps/unix/mkfifoat.c: Moved ...
39507         * sysdeps/posix/mkfifoat.c: ... here.
39509         * sysdeps/unix/utime.c: Moved ...
39510         * sysdeps/posix/utime.c: ... here.
39512         * sysdeps/unix/time.c: Moved ...
39513         * sysdeps/posix/time.c: ... here.
39514         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39515         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39517         * sysdeps/unix/nice.c: Moved ...
39518         * sysdeps/posix/nice.c: ... here.
39520         * sysdeps/unix/alarm.c: Moved ...
39521         * sysdeps/posix/alarm.c: ... here.
39523         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39525 2012-08-17  Jeff Law <law@redhat.com>
39527         * intl/Makefile (codeset_mo): New variable.
39528         ($(codeset_mo)): New target.
39529         (tst-codeset.out): Depend on that.  Remove explicit rule.
39530         (tst-gettext3.out, tst-gettext5.out): Likewise.
39531         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39532         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39533         * intl/tst-codeset.sh: Remove.
39534         * intl/tst-gettext3.sh: Likewise.
39535         * intl/tst-gettext5.sh: Likewise.
39537 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39539         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39540         * sysdeps/unix/syscalls.list: ... here.
39542         * sysdeps/posix/getaddrinfo.c
39543         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39544         (gaiconf_init, gaiconf_reload): Use them.
39545         [!_STATBUF_ST_NSEC]
39546         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39547         Define using time_t rather than struct timespec.
39549         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39550         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39551         Macros removed.
39552         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39553         [!NO_THREADS].
39554         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39555         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39556         Likewise.
39558         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39559         __libc_cleanup_push argument.
39561         * bits/param.h: New file.
39562         * misc/sys/param.h: New file.
39563         * include/sys/param.h: New file.
39564         * misc/Makefile (headers): Add bits/param.h.
39565         * sysdeps/generic/sys/param.h: File removed.
39566         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39567         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39568         * sysdeps/mach/hurd/bits/param.h: New file.
39569         * sysdeps/mach/hurd/sys/param.h: File removed.
39571         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39572         last change.
39574         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39575         [_IO_MTSAFE_IO].
39576         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39577         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39578         New macros.
39580         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39581         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39582         rather than -D_IO_MTSAFE_IO conditionally.
39583         * stdio-common/Makefile (CPPFLAGS): Likewise.
39584         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39585         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39586         Use $(libio-mtsafe).
39587         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39588         of -D_IO_MTSAFE_IO.
39589         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39590         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39591         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39592         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39593         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39594         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39595         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39596         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39597         (CFLAGS-fread_u_chk.c): Likewise.
39598         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39599         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39600         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39601         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39602         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39603         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39604         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39605         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39606         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39608         * libio/Makefile: Test [$(libc-reentrant) = yes]
39609         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39611         * Makeconfig
39612         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39613         * sysdeps/pthread/configure: File removed.
39614         * sysdeps/pthread/Makeconfig: New file.
39615         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39616         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39618 2012-08-16  Gary Benson  <gbenson@redhat.com>
39620         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39621         unmapping the first object in a namespace.
39623 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39625         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39626         (__internal_setnetgrent): ... this.  Add internal_function to
39627         definition.  Add libc_hidden_def.
39628         (setnetgrent): Update caller.
39629         (internal_endnetgrent): Renamed to ...
39630         (__internal_endnetgrent): ... this.  Add internal_function to
39631         definition.  Add libc_hidden_def.
39632         (endnetgrent): Update caller.
39633         (internal_getnetgrent_r): Renamed to ...
39634         (__internal_getnetgrent_r): ... this.  Add internal_function to
39635         definition.  Add libc_hidden_def.
39636         (__getnetgrent_r): Update caller.
39637         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39639 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39641         * stdlib/longlong.h: Update from GCC.
39643 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39645         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39646         on _QL, which is set by umul_ppmm but never used.
39647         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39648         variables, which are set by GMP macros but never used.
39649         * stdio-common/_itowa.c (_itowa): Likewise.
39650         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39651         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39653 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39655         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39656         struct La_sh_regs is not constant.
39657         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39658         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39659         and struct La_sparc64_regs are not constant.
39661 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39663         * sysdeps/unix/sysv/linux/kernel-features.h
39664         (__ASSUME_POSIX_TIMERS): Remove.
39665         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39666         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39667         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39668         Make code unconditional.
39669         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39670         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39671         Make code unconditional.
39672         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39673         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39674         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39675         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39676         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39677         Make code unconditional.
39678         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39679         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39680         (__libc_missing_posix_timers): Remove.
39682 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39684         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39685         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39687         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39689         * elf/dl-sym.c: Include <stdlib.h>.
39691         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39692         constants, which avoids warnings in 32-bit builds.
39694         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39695         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39697         * misc/lseek.c: File moved to ...
39698         * io/lseek.c: ... here.
39700         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39702         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39703         shifting LEN more than 31 bits at once.
39705 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39707         [BZ #14195]
39708         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39709         segmentation fault for a case of two empty input strings.
39710         * string/test-strncasecmp.c (check1): Renamed to...
39711         (bz12205): ...this.
39712         (bz14195): Add new testcase for two empty input strings and N > 0.
39713         (test_main): Call new testcase, adapt for renamed function.
39715 2012-08-15  Andreas Jaeger  <aj@suse.de>
39717         [BZ #14090]
39718         * crypt/md5test2.c: New test, based on test supplied by Serge
39719         Belyshev <belyshev@depni.sinp.msu.ru>.
39720         * crypt/Makefile (xtests): Add md5test-giant..
39721         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39723 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39725         [BZ #14090]
39726         * crypt/md5.c (md5_process_block): Don't assume the buffer
39727         length is less than 2**32.
39728         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39729         length is less than 2**64.
39731 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39733         * string/str-two-way.h: Include <sys/param.h>.
39734         (MAX): Macro removed.
39736         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39737         Move #define and #undef of memmove to just before and after
39738         including <string.h>.
39740         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39741         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39742         and after including <string.h>.  Move declarations of
39743         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39744         to before #include "string/memmove.c".
39746         * include/dirent.h: Declare __getdirentries.
39748         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39749         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39751 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39753         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39754         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39755         * sysdeps/i386/configure: Regenerated.
39756         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39757         STABS_CURRENT_FILE, and STABS_FUN.
39758         (END): Remove call to STABS_FUN_END.
39759         (STABS_CURRENT_FILE1): Delete.
39760         (STABS_CURRENT_FILE): Likewise.
39761         (STABS_FUN): Likewise.
39762         (STABS_FUN_END): Likewise.
39763         (STABS_FUN2): Likewise.
39764         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39765         * sysdeps/x86_64/configure: Regenerated.
39767 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39769         * elf/dl-open.c: Include <atomic.h>.
39770         * elf/dl-lookup.c: Likewise.
39772 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39774         * sysdeps/unix/sysv/linux/kernel-features.h
39775         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39776         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39777         unconditionally.
39778         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39779         unconditionally.
39780         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39781         condition on __ASSUME_CLONE_THREAD_FLAGS.
39783 2012-08-14  Andreas Jaeger  <aj@suse.de>
39785         * sysdeps/i386/fpu/libm-test-ulps: Update.
39787 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39789         * include/atomic.h (atomic_exchange_and_add): Split into ...
39790         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39791         New atomic macros.
39793 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39797 2012-08-13  Jeff Law <law@redhat.com>
39799         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39800         null byte in the output string.
39802 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39804         * sysdeps/unix/sysv/linux/kernel-features.h
39805         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39806         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39807         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39808         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39809         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39810         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39811         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39813 2012-08-09  Jeff Law <law@redhat.com>
39815         [BZ #13939]
39816         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39817         When avoid_arena is set, don't retry in the that arena.  Pick the
39818         next one, whatever it might be.
39819         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39820         (arena_lock): Pass in new parameter to arena_get2.
39821         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39822         arena_get2.
39823         (__libc_malloc): Unify retrying after main arena failure with
39824         __libc_memalign version.
39825         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39827 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39829         [BZ #14166]
39830         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39831         to __redirect_strstr.
39832         (__strstr_sse42): Use typeof __redirect_strstr.
39833         (__strstr_ia32): Likewise.
39834         (__libc_strstr): New prototype.
39835         (strstr): Renamed to ...
39836         (__libc_strstr): This.
39837         (strstr): New strong alias of __libc_strstr.
39838         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39839         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39840         __redirect_time.
39841         Include <time.h>.
39842         (__libc_time): New prototype.
39843         (time_ifunc): Replace time with __libc_time.
39844         (time): New strong alias and hidden definition of __libc_time.
39845         (__GI_time): Remove strong alias.
39846         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39847         Include <stddef.h>.
39848         (memmove): Redefined to __redirect_memmove.
39849         (__memmove_sse2): Use typeof __redirect_memmove.
39850         (__memmove_ssse3): Likewise.
39851         (__memmove_ssse3_back): Likewise.
39852         (__libc_memmove): New prototype.
39853         (memmove): Renamed to ...
39854         (__libc_memmove): This.
39855         (memmove): New strong alias of __libc_memmove.
39857 2012-08-08  Mark Salter  <msalter@redhat.com>
39859         * elf/elf.h
39860         (R_MN10300_TLS_GD): Define.
39861         (R_MN10300_TLS_LD): Likewise.
39862         (R_MN10300_TLS_LDO): Likewise.
39863         (R_MN10300_TLS_GOTIE): Likewise.
39864         (R_MN10300_TLS_IE): Likewise.
39865         (R_MN10300_TLS_LE): Likewise.
39866         (R_MN10300_TLS_DTPMOD): Likewise.
39867         (R_MN10300_TLS_DTPOFF): Likewise.
39868         (R_MN10300_TLS_TPOFF): Likewise.
39869         (R_MN10300_SYM_DIFF): Likewise.
39870         (R_MN10300_ALIGN): Likewise.
39871         (R_MN10300_NUM): Update.
39873 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39875         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39876         Remove.
39878 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39880         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39882         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39883         sysdeps/unix -> sysdeps/posix move.
39884         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39886 2012-08-07      Allan McRae     <allan@archlinux.org>
39888         [BZ #14303]
39889         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39890         (SUNOS_CPP): Likewise.
39891         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39892         not found.
39893         (open_input): Call CPP using execvp.
39895 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39897         * sysdeps/unix/sysv/linux/kernel-features.h
39898         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39899         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39900         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39901         (__ASSUME_WAITID_SYSCALL): Likewise.
39902         * sysdeps/unix/sysv/linux/dl-execstack.c
39903         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39904         code unconditional.
39905         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39906         conditional code.
39907         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39908         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39909         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39910         code.
39911         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39912         unconditional.
39913         [__ASSUME_WAITID_SYSCALL]: Likewise.
39914         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39916 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39918         * sysdeps/unix/closedir.c: Renamed to ...
39919         * sysdeps/posix/closedir.c: ... here.
39920         * sysdeps/unix/dirfd.c: Renamed to ...
39921         * sysdeps/posix/dirfd.c: ... here.
39922         * sysdeps/unix/dirstream.h: Renamed to ...
39923         * sysdeps/posix/dirstream.h: ... here.
39924         * sysdeps/unix/fdopendir.c: Renamed to ...
39925         * sysdeps/posix/fdopendir.c: ... here.
39926         * sysdeps/unix/opendir.c: Renamed to ...
39927         * sysdeps/posix/opendir.c: ... here.
39928         * sysdeps/unix/readdir.c: Renamed to ...
39929         * sysdeps/posix/readdir.c: ... here.
39930         * sysdeps/unix/readdir_r.c: Renamed to ...
39931         * sysdeps/posix/readdir_r.c: ... here.
39932         * sysdeps/unix/rewinddir.c: Renamed to ...
39933         * sysdeps/posix/rewinddir.c: ... here.
39934         * sysdeps/unix/seekdir.c: Renamed to ...
39935         * sysdeps/posix/seekdir.c: ... here.
39936         * sysdeps/unix/telldir.c: Renamed to ...
39937         * sysdeps/posix/telldir.c: ... here.
39938         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39939         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39940         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39941         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39943         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39944         * bits/fcntl.h: ... here.
39946         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39947         not 0.
39948         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39949         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39950         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39951         (struct flock): Move l_start, l_len to the beginning.
39952         Use __pid_t for l_pid.
39953         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39954         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39955         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39956         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39957         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39958         [__USE_LARGEFILE64] (struct flock64): New type.
39959         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39961         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39962         * bits/dirent.h: ... here.
39964         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39965         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39967 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39969         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39970         Change from 2.6.0 to 2.6.16.
39971         * sysdeps/unix/sysv/linux/configure: Regenerated.
39972         * sysdeps/unix/sysv/linux/kernel-features.h
39973         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39974         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39975         version.
39976         (__ASSUME_UTIMES): Likewise.
39977         (__ASSUME_CLONE_STOPPED): Remove.
39978         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39979         architectures, not kernel version.
39980         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39981         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39982         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39983         (__ASSUME_WAITID_SYSCALL): Likewise.
39984         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39985         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39986         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39987         refer to older versions.
39989 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39991         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39992         Define alphasort64 as an alias.
39993         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39994         Define versionsort64 as an alias.
39995         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39996         Define scandir64 as an alias.
39997         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39998         Define scandirat64 as an alias.
39999         * dirent/alphasort64.c (alphasort64):
40000         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40001         * dirent/versionsort64.c: Likewise.
40002         * dirent/scandir64.c: Likewise.
40003         * dirent/scandirat64.c: Likewise.
40004         * sysdeps/wordsize-64/alphasort.c: File removed.
40005         * sysdeps/wordsize-64/alphasort64.c: File removed.
40006         * sysdeps/wordsize-64/scandir.c: File removed.
40007         * sysdeps/wordsize-64/scandir64.c: File removed.
40008         * sysdeps/wordsize-64/scandirat.c: File removed.
40009         * sysdeps/wordsize-64/scandirat64.c: File removed.
40010         * sysdeps/wordsize-64/versionsort.c: File removed.
40011         * sysdeps/wordsize-64/versionsort64.c: File removed.
40012         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40013         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40014         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40015         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40016         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40017         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40018         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40019         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40021         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40023         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40025         [defined __arch64__ || defined __sparcv9]
40026         (__INO_T_MATCHES_INO64_T): New macro.
40027         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40028         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40029         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40030         * sysdeps/unix/sysv/linux/bits/dirent.h
40031         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40032         (_DIRENT_MATCHES_DIRENT64): New macro.
40034         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40035         Define lockf64 as an alias.
40036         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40037         Define fseeko64 as an alias.
40038         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40039         Define ftello64 as an alias.
40040         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40041         Define _IO_fgetpos64 and fgetpos64 as aliases.
40042         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40043         Define _IO_fsetpos64 and fsetpos64 as aliases.
40044         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40045         Conditionalize body on this.
40046         * libio/fseeko64.c: Likewise.
40047         * libio/ftello64.c: Likewise.
40048         * libio/iofgetpos64.c: Likewise.
40049         * libio/iofsetpos64.c: Likewise.
40050         * sysdeps/wordsize-64/lockf.c: File removed.
40051         * sysdeps/wordsize-64/lockf64.c: File removed.
40052         * sysdeps/wordsize-64/fseeko.c: File removed.
40053         * sysdeps/wordsize-64/fseeko64.c: File removed.
40054         * sysdeps/wordsize-64/ftello.c: File removed.
40055         * sysdeps/wordsize-64/ftello64.c: File removed.
40056         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40057         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40058         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40059         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40060         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40061         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40062         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40063         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40064         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40065         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40066         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40067         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40068         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40069         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40071         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40072         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40073         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40074         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40075         [defined __arch64__ || defined __sparcv9]
40076         (__OFF_T_MATCHES_OFF64_T): New macro.
40077         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40078         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40080         (__OFF_T_MATCHES_OFF64_T): New macro.
40082 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40084         * stdlib/secure-getenv.c (__secure_getenv): Replace
40085         GLIBC_2_16 with GLIBC_2_17.
40087 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40089         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40090         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40092 2012-08-03  David S. Miller  <davem@davemloft.net>
40094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40096 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40098         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40099         Remove.
40100         (__ASSUME_CORRECT_SI_PID): Likewise.
40101         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40102         (__ASSUME_TMPFS_NAME): Likewise.
40103         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40104         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40105         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40106         (HAVE_AUX_SECURE): Make definition unconditional.
40107         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40108         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40110 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40112         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40113         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40114         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40115         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40116         __eloop_threshold instead of SYMLOOP_MAX.
40118         * sysdeps/generic/eloop-threshold.h: New file.
40119         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40120         of MAXSYMLINKS.
40121         * elf/chroot_canon.c (chroot_canon): Likewise.
40123 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40125         [BZ #13717]
40126         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40127         Change to 2.6.0 everywhere.
40128         * sysdeps/unix/sysv/linux/configure: Regenerated.
40129         * sysdeps/unix/sysv/linux/kernel-features.h
40130         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40131         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40132         kernel versions.
40133         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40134         (__ASSUME_FUTEX_REQUEUE): Remove.
40135         (__ASSUME_STATFS64): Define unconditionally.
40136         (__ASSUME_AT_SECURE): Likewise.
40137         (__ASSUME_CORRECT_SI_PID): Likewise.
40138         (__ASSUME_TGKILL): Define without depending on kernel version for
40139         i386.
40140         (__ASSUME_UTIMES): Likewise.
40141         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40142         kernel version.
40143         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40144         (__ASSUME_TMPFS_NAME): Likewise.
40145         * README: Update reference to Linux kernel versions.
40147 2012-08-02  Marek Polacek  <polacek@redhat.com>
40149         [BZ# 14150]
40150         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40151         libc_cv_asm_type_prefix with %.
40152         * configure: Regenerated.
40153         * include/libc-symbols.h: Remove comment about
40154         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40155         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40156         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40157         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40158         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40159         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40160         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40161         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40162         * elf/tst-unique2mod1.c: Likewise.
40163         * elf/tst-unique1mod2.c: Likewise.
40164         * elf/tst-unique1mod1.c: Likewise.
40165         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40166         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40167         Replace ASM_TYPE_DIRECTIVE with .type.
40168         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40169         * sysdeps/i386/sysdep.h: Likewise.
40170         * sysdeps/x86_64/sysdep.h: Likewise.
40171         * sysdeps/sh/sysdep.h: Likewise.
40172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40173         Do not define ASM_TYPE_DIRECTIVE.
40174         * sysdeps/powerpc/sysdep.h: Likewise.
40175         * sysdeps/powerpc/powerpc32/sysdep.h:
40176         Replace ASM_TYPE_DIRECTIVE with .type.
40177         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40178         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40179         * sysdeps/i386/fpu/e_powf.S: Likewise.
40180         * sysdeps/i386/fpu/e_expl.S: Likewise.
40181         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40182         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40183         * sysdeps/i386/fpu/e_pow.S: Likewise.
40184         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40185         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40186         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40187         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40188         * sysdeps/i386/fpu/e_log2.S: Likewise.
40189         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40190         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40191         * sysdeps/i386/fpu/e_powl.S: Likewise.
40192         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40193         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40194         * sysdeps/i386/fpu/e_logl.S: Likewise.
40195         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40196         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40197         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40198         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40199         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40200         * sysdeps/i386/fpu/e_log.S: Likewise.
40201         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40202         * sysdeps/i386/fpu/e_logf.S: Likewise.
40203         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40204         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40205         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40206         * sysdeps/i386/fpu/e_log10.S: Likewise.
40207         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40208         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40209         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40210         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40211         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40212         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40213         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40214         * sysdeps/i386/i686/strtok.S: Likewise.
40215         * sysdeps/i386/i386-mcount.S: Likewise.
40216         * sysdeps/i386/strtok.S: Likewise.
40217         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40218         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40219         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40220         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40221         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40222         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40223         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40224         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40225         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40226         * sysdeps/x86_64/_mcount.S: Likewise.
40227         * sysdeps/x86_64/strtok.S: Likewise.
40228         * sysdeps/sh/_mcount.S: Likewise.
40230 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40232         * libio/iofopen.c: Include <fcntl.h>.
40233         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40234         (_IO_fopen64, fopen64): Define as aliases.
40235         * libio/iofopen64.c: Include <fcntl.h>.
40236         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40237         Conditionalize body on this.
40238         * sysdeps/wordsize-64/iofopen.c: File removed.
40239         * sysdeps/wordsize-64/iofopen64.c: File removed.
40241 2012-08-01  Marek Polacek  <polacek@redhat.com>
40243         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40244         Use dlfcn directly instead of a variable.
40245         (binfmt-subdir): Do not define.
40246         (dlfcn): Likewise.
40248 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40250         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40251         Remove all definitions.
40252         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40253         <kernel-features.h>.
40254         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40255         (miss_F_GETOWN_EX): Remove all definitions.
40256         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40257         macro definition.
40258         [!__ASSUME_FCNTL64]: Remove conditional code.
40259         [__ASSUME_FCNTL64]: Make code unconditional.
40260         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40261         <kernel-features.h>.
40262         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40263         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40264         (lockf64) [__NR_fcntl64]: Make code unconditional.
40265         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40267         * sysdeps/unix/sysv/linux/kernel-features.h
40268         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40269         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40270         Make code unconditional.
40271         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40272         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40274         [__NR_vfork]: Make code unconditional.
40275         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40276         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40278         [__NR_vfork]: Make code unconditional.
40279         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40280         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40282 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40284         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40285         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40287         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40288         Define mkstemp64 as an alias.
40289         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40290         Define mkstemps64 as an alias.
40291         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40292         Define mkostemp64 as an alias.
40293         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40294         Define mkostemps64 as an alias.
40295         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40296         Conditionalize body on this.
40297         * misc/mkostemp64.c: Likewise.
40298         * misc/mkostemps64.c: Likewise.
40299         * misc/mkstemps64.c: Likewise.
40300         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40301         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40302         * sysdeps/wordsize-64/mkostemp.c: File removed.
40303         * sysdeps/wordsize-64/mkstemp.c: File removed.
40304         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40305         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40306         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40307         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40309         [BZ #14138]
40310         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40311         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40312         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40313         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40315         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40316         compat_symbol macros from <shlib-compat.h> rather than the underlying
40317         default_symbol_version and symbol_version macros, so that DEFAULT
40318         lines in shlib-versions are respected.
40319         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40321 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40323         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40324         Declare with warn_unused_result.
40325         (setgid, setregid, setegid, setresgid): Likewise.
40326         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40327         Likewise.
40328         * WUR-REPORT: Remove set*id functions.
40330 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40332         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40334 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40336         [BZ #10191]
40337         * include/sys/socket.h (__libc_accept, __libc_accept4):
40338         Add attribute_hidden.
40339         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40341         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40342         use of PTR_MANGLE.
40343         * inet/getnetgrent_r.c (setup): Likewise.
40345         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40347 2012-07-31  David S. Miller  <davem@davemloft.net>
40349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40351 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40353         [BZ #13629]
40354         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40355         value between 1.0 and 2.0 and smaller part has absolute value less
40356         than 1.0.
40357         * math/s_clog10.c (__clog10): Likewise.
40358         * math/s_clog10f.c (__clog10f): Likewise.
40359         * math/s_clog10l.c (__clog10l): Likewise.
40360         * math/s_clogf.c (__clogf): Likewise.
40361         * math/s_clogl.c (__clogl): Likewise.
40362         * math/libm-test.inc (clog_test): Add more tests.
40363         (clog10_test): Likewise.
40364         * sysdeps/i386/fpu/libm-test-ulps: Update.
40365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40367 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40369         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40370         Exit with zero in case no suitable GID is found, and write a
40371         message to standard error.
40373 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40375         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40376         rather than to 1.
40377         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40378         (MAXPATHLEN): Removed.
40379         (NOGROUP, NODEV): New macros.
40380         (setbit, clrbit, isset, isclr): New macros.
40381         (howmany, roundup, powerof2): New macros.
40382         (DEV_BSIZE): New macro.
40384         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40385         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40387         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40388         definition on [!__NO_LONG_DOUBLE_MATH].
40390         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40391         PTR_MANGLE and PTR_DEMANGLE.
40393         * socket/accept4.c (accept4): Rename to __libc_accept4.
40394         Define accept4 as a weak alias.
40396         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40397         on [_DIRENT_HAVE_D_TYPE].
40398         * io/ftw.c (ftw_dir): Likewise.
40400         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40402         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40404         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40405         Use the BSD numbers rather than the arbitrary ones we had.
40406         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40407         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40408         (SIGXCPU, SIGXFSZ): New macros.
40409         (_NSIG): Now 32.
40411         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40412         initializer on [_LIBC_REENTRANT].
40414         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40415         definitions inside [_POSIX_MAPPED_FILES].
40417         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40419         * dirent/opendir.c: Include <fcntl.h>.
40421         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40422         (__libc_getspecific): Likewise.
40423         (__libc_key_create): Likewise.
40425         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40426         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40427         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40428         (tmpfile64): Define as alias.
40429         * sysdeps/wordsize-64/tmpfile.c: File removed.
40430         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40431         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40432         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40434         * stdio-common/vfscanf.c: Include <stdbool.h>.
40435         * nss/makedb.c: Likewise.
40436         * stdio-common/_i18n_number.h: Likewise.
40437         * argp/argp-help.c: Likewise.
40438         * posix/wordexp.c: Likewise.
40439         * sysdeps/posix/spawni.c: Likewise.
40440         * nss/nss_files/files-initgroups.c: Likewise.
40441         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40442         * nss/nss_files/files-initgroups.c: Likewise.
40443         * nss/nss_db/db-netgrp.c: Likewise.
40444         * nss/nss_db/db-initgroups.c: Likewise.
40445         * io/fchmodat.c: Include <sys/stat.h>.
40447         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40448         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40450         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40451         [HAVE_MMAP].
40453         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40454         Add multiple inclusion protection.
40456 2012-07-27  David S. Miller  <davem@davemloft.net>
40458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40460 2012-07-27  Gary Benson  <gbenson@redhat.com>
40462         [BZ #14298]
40463         * elf/rtld.c: Include <stap-probe.h>.
40464         (dl_main): Added static probes "init_start" and "init_complete".
40465         * elf/dl-load.c: Include <stap-probe.h>.
40466         (lose): Take new parameter "nsid".
40467         Added static probe "map_failed".
40468         (_dl_map_object_from_fd): Pass namespace id to lose.
40469         Added static probe "map_start".
40470         (open_verify): Pass namespace id to lose.
40471         * elf/dl-open.c: Include <stap-probe.h>.
40472         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40473         and "reloc_complete".
40474         * elf/dl-close.c: Include <stap-probe.h>.
40475         (_dl_close_worker): Added static probes "unmap_start" and
40476         "unmap_complete".
40477         * elf/rtld-debugger-interface.txt: New file documenting the above.
40479 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40481         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40482         rather than a string variable.
40483         * sunrpc/rpc_main.c (h_output): Likewise.
40484         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40486 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40488         * inet/check_native.c: New file.
40490 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40492         [BZ #13629]
40493         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40494         if larger part has absolute value 1.0.
40495         * math/s_clog10.c (__clog10): Likewise.
40496         * math/s_clog10f.c (__clog10f): Likewise.
40497         * math/s_clog10l.c (__clog10l): Likewise.
40498         * math/s_clogf.c (__clogf): Likewise.
40499         * math/s_clogl.c (__clogl): Likewise.
40500         * math/libm-test.inc (clog_test): Add more tests.
40501         (clog10_test): Likewise.
40502         * sysdeps/i386/fpu/libm-test-ulps: Update.
40503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40505         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40506         (pltexit): Likewise.
40507         (La_regs): Likewise.
40508         (La_retval): Likewise.
40509         (int_retval): Likewise.
40510         Update #error for removed macros to refer only to definitions in
40511         tst-audit.h.
40512         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40513         macro.
40514         (pltexit): Likewise.
40515         (La_regs): Likewise.
40516         (La_retval): Likewise.
40517         (int_retval): Likewise.
40518         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40519         macro.
40520         (pltexit): Likewise.
40521         (La_regs): Likewise.
40522         (La_retval): Likewise.
40523         (int_retval): Likewise.
40524         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40525         macro.
40526         (pltexit): Likewise.
40527         (La_regs): Likewise.
40528         (La_retval): Likewise.
40529         (int_retval): Likewise.
40530         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40531         macro.
40532         (pltexit): Likewise.
40533         (La_regs): Likewise.
40534         (La_retval): Likewise.
40535         (int_retval): Likewise.
40536         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40537         macro.
40538         (pltexit): Likewise.
40539         (La_regs): Likewise.
40540         (La_retval): Likewise.
40541         (int_retval): Likewise.
40542         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40543         macro.
40544         (pltexit): Likewise.
40545         (La_regs): Likewise.
40546         (La_retval): Likewise.
40547         (int_retval): Likewise.
40548         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40549         macro definitions in tst-audit.h.
40550         * sysdeps/i386/tst-audit.h: New file.
40551         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40552         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40553         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40554         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40555         * sysdeps/sh/tst-audit.h: Likewise.
40556         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40557         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40558         * sysdeps/x86_64/tst-audit.h: Likewise.
40560 2012-07-26  Andreas Jaeger  <aj@suse.de>
40562         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40563         ptrace.
40565         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40566         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40567         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40568         PTRACE_O_MASK.
40569         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40570         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40571         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40573         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40574         value.
40576         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40577         _sigsys.
40578         (si_call_addr, si_syscall, si_arch): Define new macro.
40579         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40580         _sigsys.
40581         (si_call_addr, si_syscall, si_arch): Define new marcro.
40582         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40583         _sigsys.
40584         (si_call_addr, si_syscall, si_arch): Define new macro.
40585         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40586         _sigsys.
40587         (si_call_addr, si_syscall, si_arch): Define new macro.
40589 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40591         [BZ #13717]
40592         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40593         Change to 2.4.21 where previously 2.4.1.
40594         * sysdeps/unix/sysv/linux/configure: Regenerated.
40595         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40596         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40597         Linux kernel version.
40598         (__ASSUME_STD_AUXV): Remove.
40599         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40600         kernel version.
40601         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40602         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40603         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40604         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40605         (__ASSUME_NETLINK_SUPPORT): Likewise.
40606         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40607         (__no_netlink_support): Remove conditional definition.
40608         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40609         Remove.
40610         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40611         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40612         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40613         (if_nameindex_ioctl): Remove.
40614         (if_nameindex_netlink): Do not handle __no_netlink_support.
40615         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40616         code.
40617         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40618         Remove conditional code.
40619         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40620         code.
40621         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40622         unconditional.
40623         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40624         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40625         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40626         Remove.
40627         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40628         [!__ASSUME_STD_AUXV]: Remove conditional code.
40629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40630         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40631         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40633         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40634         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40635         code.
40636         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40638         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40639         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40640         conditional code.
40641         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40643         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40644         code.
40645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40646         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40647         conditional code.
40648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40649         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40650         code unconditional.
40651         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40652         conditional code.
40653         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40654         unconditional.
40655         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40656         conditional code.
40657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40658         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40659         unconditional.
40660         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40661         conditional code.
40662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40663         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40664         code unconditional.
40665         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40666         conditional code.
40667         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40668         unconditional.
40669         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40670         conditional code.
40671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40672         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40673         code unconditional.
40674         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40675         conditional code.
40676         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40677         unconditional.
40678         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40679         conditional code.
40681 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40683         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40684         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40685         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40686         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40687         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40688         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40689         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40690         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40691         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40692         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40693         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40694         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40695         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40696         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40697         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40698         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40699         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40700         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40701         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40703         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40704         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40705         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40707 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40709         * Versions.def: Add GLIBC_2.17.
40710         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40711         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40712         Introduce __libc_secure_getenv.
40713         * stdlib/Versions (2.17): Add secure_getenv
40714         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40715         * stdlib/secure-getenv.c: Rename __secure_getenv to
40716         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40717         symbol __secure_getenv for GLIBC_2.0.
40718         * stdlib/tst-secure-getenv.c: New.
40719         * stdlib/Makefile (tests): Add testcase.
40720         * manual/startup.texi (Environment Access): Document
40721         secure_getenv.
40722         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40723         __libc_secure_getenv.
40724         * inet/ruserpass.c (ruserpass): Likewise.
40725         * malloc/mtrace.c (mtrace): Likewise.
40726         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40727         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40728         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40729         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40730         HAVE_SECURE_GETENV.
40731         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40732         __secure_getenv to __libc_secure_getenv.
40733         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40735         Likewise.
40736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40737         Likewise.
40738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40740         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40746 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40748         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40749         (struct La_i86_retval): Likewise.
40750         (struct La_x86_64_regs): Likewise.
40751         (struct La_x86_64_retval): Likewise.
40752         (struct La_x32_regs): Likewise.
40753         (struct La_x32_retval): Likewise.
40754         (struct La_ppc32_regs): Likewise.
40755         (struct La_ppc32_retval): Likewise.
40756         (struct La_ppc64_regs): Likewise.
40757         (struct La_ppc64_retval): Likewise.
40758         (struct La_sh_regs): Likewise.
40759         (struct La_sh_retval): Likewise.
40760         (struct La_s390_32_regs): Likewise.
40761         (struct La_s390_32_retval): Likewise.
40762         (struct La_s390_64_regs): Likewise.
40763         (struct La_s390_64_retval): Likewise.
40764         (struct La_sparc32_regs): Likewise.
40765         (struct La_sparc32_retval): Likewise.
40766         (struct La_sparc64_regs): Likewise.
40767         (struct La_sparc64_retval): Likewise.
40768         (struct audit_ifaces): Remove architecture-specific pltenter and
40769         pltexit members.
40770         * sysdeps/i386/ldsodefs.h: New file.
40771         * sysdeps/powerpc/ldsodefs.h: Likewise.
40772         * sysdeps/s390/ldsodefs.h: Likewise.
40773         * sysdeps/sh/ldsodefs.h: Likewise.
40774         * sysdeps/sparc/ldsodefs.h: Likewise.
40775         * sysdeps/x86_64/ldsodefs.h: Likewise.
40777 2012-07-25  Marek Polacek  <polacek@redhat.com>
40779         [BZ #6808]
40780         * math/libm-test.inc (yn_test): Add another test.
40781         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40782         to ERANGE when the result is +-Inf.
40783         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40784         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40785         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40786         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40788 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40790         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40791         equal to 0.
40792         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40793         clock_t.
40794         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40796 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40798         * configure.in <sysdeps resolving>: Correct printing
40799         Implies_before.
40800         * configure: Regenerate.
40802 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40804         * math/w_ilogb.c: Include <limits.h>.
40805         * math/w_ilogbl.c: Likewise.
40807 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40809         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40810         va_copy.  Document allowing for unavailable va_copy only as
40811         pre-C99 compatibility.
40812         * manual/string.texi (Copying and Concatenation): Use va_copy
40813         instead of __va_copy in concat example.
40815 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40817         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40818         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40819         it if not null.
40821         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40822         with O_NOLINK passed to __file_name_lookup.
40824         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40825         with O_NOLINK passed to __file_name_lookup.
40827         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40828         negative N or less than NGIDS.
40830         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40831         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40832         enough.  Use memcpy instead of strncpy.
40834 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40836         * elf/Makefile (check-data): Remove.
40837         (localplt.data): New vpath directive.
40838         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40839         instead of $(check-data).
40840         * scripts/data/localplt-generic.data: Move to ...
40841         * sysdeps/generic/localplt.data: ... here.
40842         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40843         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40844         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40846         ... here.
40847         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40849         ... here.
40850         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40852         ... here.
40853         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40855         ... here.
40856         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40858         ... here.
40859         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40861         ... here.
40863 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40865         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40866         PPC32 and PPC64 files.
40867         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40868         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40870 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40872         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40873         __makecontext_ret to ...
40874         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40875         ... here and call exit if uc_link is NULL.  New file.
40876         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40877         __makecontext_ret.S.
40878         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40879         __makecontext_ret to ...
40880         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40881         ... here and call exit if uc_link is NULL.  New file.
40882         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40883         __makecontext_ret.S.
40885 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40887         * elf/elf.h (R_390_IRELATIVE): New definition.
40888         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40889         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40890         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40891         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40892         (elf_machine_lazy_rel): Likewise.
40893         * sysdeps/s390/dl-irel.h: New file.
40894         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40895         * sysdeps/s390/s390-64/memset.S: New asm code.
40896         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40897         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40898         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40899         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40900         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40901         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40902         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40903         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40904         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40905         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40906         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40907         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40908         * sysdeps/s390/s390-32/memset.S: New asm code.
40909         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40911 2012-07-17  Marek Polacek  <polacek@redhat.com>
40913         [BZ #14349]
40914         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40915         * sysdeps/s390/s390-64/configure.in: Likewise.
40916         * sysdeps/sparc/configure.in: Likewise.
40917         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40918         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40919         * sysdeps/i386/configure.in: Likewise.
40920         * sysdeps/x86_64/configure.in: Likewise.
40921         * sysdeps/sh/configure.in: Likewise.
40922         * sysdeps/s390/s390-32/configure: Regenerated.
40923         * sysdeps/s390/s390-64/configure: Likewise.
40924         * sysdeps/x86_64/configure: Likewise.
40925         * sysdeps/sh/configure: Likewise.
40926         * sysdeps/powerpc/powerpc64/configure: Likewise.
40927         * sysdeps/powerpc/powerpc32/configure: Likewise.
40928         * sysdeps/sparc/configure: Likwise.
40929         * sysdeps/i386/configure: Likewise.
40931         * elf/dl-open.c: Comment fixes.
40933 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40935         * Makefile [CXX] (check-data): Remove.
40936         [CXX] (c++-types.data): New vpath directive.
40937         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40938         vpath.  Do not allow for C++ type data being missing.
40939         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40940         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40941         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40942         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40943         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40944         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40945         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40947         ... here.
40948         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40950         ... here.
40951         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40953         ... here.
40954         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40956         ... here.
40957         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40959         ... here.
40960         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40962         ... here.
40963         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40965         ... here.
40966         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40969         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40970         definitions to architecture-specific files.
40971         (TLS_IE): Likewise.
40972         (TLS_LD): Likewise.
40973         (TLS_GD): Likewise.
40974         * sysdeps/i386/tls-macros.h: New file.
40975         * sysdeps/powerpc/tls-macros.h: Likewise.
40976         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40977         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40978         * sysdeps/sh/tls-macros.h: Likewise.
40979         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40980         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40981         * sysdeps/x86_64/tls-macros.h: Likewise.
40983 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40985         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40986         zero value for regular exit case.
40988         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40989         (__start_context): Preserve zero value for regular exit case.
40991 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40992             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40994         * manual/setjmp.texi (setcontext): Clarify normal process
40995         termination when uc_link is the null pointer.
40996         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40997         exit call.
40999 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41001         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41002         preprocessor.  Test for each exception mask separately.
41004 2012-07-16  Andreas Jaeger  <aj@suse.de>
41006         * po/ru.po: Update from translation team.
41008 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41010         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41011         equal to 0.
41012         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41013         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41014         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41015         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41016         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41018 2012-07-13  Andreas Jaeger  <aj@suse.de>
41020         * po/fr.po: Update from translation team.
41022 2012-07-12  Marek Polacek  <polacek@redhat.com>
41024         [BZ #14173]
41025         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41026         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41027         loop condition.
41029 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41031         [BZ #13717]
41032         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41033         Change to 2.4.1 where previously 2.4.0.
41034         * sysdeps/unix/sysv/linux/configure: Regenerated.
41035         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41036         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41037         version.
41038         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41039         (__ASSUME_AT_CLKTCK): Remove.
41040         (__ASSUME_AT_PAGESIZE): Likewise.
41041         (__ASSUME_AT_XID): Likewise.
41042         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41043         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41044         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41045         unconditionally.
41046         (HAVE_AUX_PAGESIZE): Likewise.
41047         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41048         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41049         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41051 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41053         [BZ #14307]
41054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41055         the temporary buffer used to invoke __gethostbyname2_r,
41056         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41057         host_data / struct gaih_addrtuple.
41058         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41059         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41060         header file nss/nsswitch.h.
41061         * nss/nsswitch.h (global scope): Add definition of implementation
41062         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41063         resolv/nss_dns/dns-host.c).
41065 2012-07-11  Andreas Jaeger  <aj@suse.de>
41067         * po/fr.po: Update from translation team.
41069         * po/sv.po: Update from translation team
41070         * po/fr.po: Another update from translation team.
41072 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41074         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41075         for subnormals or multiply small sinh result by itself.
41076         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41079 2012-07-11  David S. Miller  <davem@davemloft.net>
41081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41083 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41085         [BZ #14347]
41086         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41087         (INTERNAL_MARK): Shift it here.
41089 2012-07-10  Marek Polacek  <polacek@redhat.com>
41091         [BZ #14151]
41092         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41093         libc_cv_asm_global_directive with .globl.
41094         * configure: Regenerated.
41095         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41096         with .globl.
41097         * sysdeps/i386/configure: Regenerated.
41098         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41099         with .globl.
41100         * sysdeps/x86_64/configure: Regenerated.
41101         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41102         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41103         * elf/tst-unique2mod2.c: Likewise.
41104         * elf/tst-unique2mod1.c: Likewise.
41105         * elf/tst-unique1mod2.c: Likewise.
41106         * elf/tst-unique1mod1.c: Likewise.
41107         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41108         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41109         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41110         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41111         * sysdeps/mach/sysdep.h: Likewise.
41112         * sysdeps/i386/sysdep.h: Likewise.
41113         * sysdeps/i386/i386-mcount.S: Likewise.
41114         * sysdeps/x86_64/_mcount.S: Likewise.
41115         * sysdeps/x86_64/sysdep.h: Likewise.
41116         * sysdeps/sh/_mcount.S: Likewise.
41117         * sysdeps/sh/sysdep.h: Likewise.
41118         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41119         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41120         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41121         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41122         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41123         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41124         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41125         * locale/localeinfo.h: Likewise.
41126         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41127         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41129 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41131         [BZ #14336]
41132         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41133         system".
41134         * manual/message.texi (The Uniforum approach): Likewise.
41135         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41136         (glibc iconv Implementation): Likewise.
41138 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41140         [BZ #14337]
41141         * math/s_clog.c (__clog): Avoid scaling a value down where that
41142         could result in underflow.
41143         * math/s_clog10.c (__clog10): Likewise.
41144         * math/s_clog10f.c (__clog10f): Likewise.
41145         * math/s_clog10l.c (__clog10l): Likewise.
41146         * math/s_clogf.c (__clogf): Likewise.
41147         * math/s_clogl.c (__clogl): Likewise.
41148         * math/libm-test.inc (clog_test): Add more tests.
41149         (clog10_test): Likewise.
41150         * sysdeps/i386/fpu/libm-test-ulps: Update.
41151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41153 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41155         [BZ #14283]
41156         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41157         by 7 not 8 to examine high bit of fractional part.
41159         [BZ #14042]
41160         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41161         for call to __mcount_internal.
41162         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41163         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41164         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41166 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41168         [BZ #14154]
41169         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41170         approximation for values within 0x1p-13f of an odd multiple of
41171         pi/4.
41172         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41173         exception.  Add more tests.
41174         * sysdeps/i386/fpu/libm-test-ulps: Update.
41176         [BZ #6778]
41177         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41178         inputs and return -1 for them.  Do not check for +Inf in case not
41179         reachable for +Inf.
41180         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41181         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41182         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41183         and return -1 for them.  Do not check for +Inf in case not
41184         reachable for +Inf.
41185         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41186         define.
41187         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41188         and return -1 for them.  Do not check for +Inf in case not
41189         reachable for +Inf.
41190         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41191         spurious underflow.
41192         * sysdeps/i386/fpu/libm-test-ulps: Update.
41193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41195 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41197         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41199 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41201         [BZ #14157]
41202         [BZ #14331]
41203         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41204         could result in spurious underflow.  Scale down values above
41205         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41206         * math/s_csqrtf.c (__csqrtf): Likewise.
41207         * math/s_csqrtl.c (__csqrtl): Likewise.
41208         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41209         spurious underflow.
41210         * sysdeps/i386/fpu/libm-test-ulps: Update.
41211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41213 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41215         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41216         xopen-msg.sed.
41217         * catgets/xopen-msg.awk: New file.
41218         * catgets/xopen-msg.sed: Removed.
41220         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41221         po2text.sed.
41222         * intl/po2test.awk: New file.
41223         * intl/po2test.sed: Removed.
41225 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41227         [BZ #14328]
41228         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41229         or multiply small sinh result by itself.
41230         * math/s_ctanf.c (__ctanf): Likewise.
41231         * math/s_ctanh.c (__ctanh): Likewise.
41232         * math/s_ctanhf.c (__ctanhf): Likewise.
41233         * math/s_ctanhl.c (__ctanhl): Likewise.
41234         * math/s_ctanl.c (__ctanl): Likewise.
41235         * math/libm-test.inc (ctan_test_tonearest): New function.
41236         (ctan_test_towardzero): Likewise.
41237         (ctan_test_downward): Likewise.
41238         (ctan_test_upward): Likewise.
41239         (ctanh_test_tonearest): Likewise.
41240         (ctanh_test_towardzero): Likewise.
41241         (ctanh_test_downward): Likewise.
41242         (ctanh_test_upward): Likewise.
41243         (main): Call these new functions.
41244         * sysdeps/i386/fpu/libm-test-ulps: Update.
41245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41247 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41249         * .gitignore: Delete /ports entry.
41251 2012-07-03  Andreas Jaeger  <aj@suse.de>
41253         * po/bg.po: Update from translation team.
41254         * po/cs.po: Likewise.
41255         * po/de.po: Likewise.
41256         * po/hr.po: Likewise.
41257         * po/nl.pl: Likewise.
41258         * po/pl.po: Likewise.
41259         * po/vi.po: Likewise.
41261 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41263         * Makeconfig [!+link] (+link-before-libc): New variable.
41264         [!+link] (+link-after-libc): Likewise.
41265         [!+link] (+link-tests): Likewise.
41266         [!+link] (+link): Define in terms of $(+link-before-libc) and
41267         $(+link-after-libc).
41268         [!+link-static] (+link-static-before-libc): New variable.
41269         [!+link-static] (+link-static-after-libc): Likewise.
41270         [!+link-static] (+link-static-tests): Likewise.
41271         [!+link-static] (+link-static): Define in terms of
41272         $(+link-static-before-libc) and $(+link-static-after-libc).
41273         [build-shared] (link-libc-before-gnulib): New variable.
41274         [build-shared] (link-libc-tests): Likewise.
41275         [build-shared] (link-libc): Define in terms of
41276         $(link-libc-before-gnulib).
41277         [!build-shared] (link-libc-tests): New variable.
41278         (link-libc-static-tests): New variable.
41279         [!gnulib] (gnulib-arch): New variable.
41280         [!gnulib] (gnulib-tests): Likewise.
41281         [!gnulib] (static-gnulib-arch): Likewise.
41282         [!gnulib] (static-gnulib-tests): Likewise.
41283         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41284         Define with "=" instead of ":=".
41285         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41286         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41287         * Rules (binaries-all-notests): New variable.
41288         (binaries-all-tests): Likewise.
41289         (binaries-static-notests): Likewise.
41290         (binaries-static-tests): Likewise.
41291         (binaries-all): Define using $(binaries-all-notests) and
41292         $(binaries-all-tests).
41293         (binaries-static): Define using $(binaries-static-notests) and
41294         $(binaries-static-tests).
41295         (binaries-shared-tests): New variable.
41296         (binaries-shared-notests): Likewise.
41297         (binaries-shared): Remove variable.
41298         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41299         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41300         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41301         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41302         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41303         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41304         * elf/Makefile (sln-modules): New variable.
41305         (extra-objs): Add $(sln-modules:=.o).
41306         (ldconfig-modules): Add static-stubs.
41307         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41308         * elf/static-stubs.c: New file.
41310         [BZ #14283]
41311         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41312         by 7 not 8 to examine high bit of fractional part.  Use volatile
41313         variables when splitting into final array of floats if
41314         __FLT_EVAL_METHOD__ != 0.
41315         * math/libm-test.inc (cos_test): Add another test.
41316         (sin_test): Likewise.
41317         * sysdeps/i386/fpu/libm-test-ulps: Update.
41319         [BZ #14273]
41320         * math/libm-test.inc (cosh_test): Add more tests.
41322         * version.h (RELEASE): Set to "development".
41323         (VERSION): Set to "2.16.90".
41325 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41327         * NEWS: Update copyright. Remove last-updated date.
41328         Mention math library bug fixes and timezone data changes.
41329         * README: Mention GNU/Hurd, x32, and HPPA support status.
41331 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41333         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41335 2012-06-27  Andreas Jaeger  <aj@suse.de>
41337         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41339 2012-06-25  Andreas Jaeger  <aj@suse.de>
41341         * sysdeps/s390/fpu/libm-test-ulps: Update.
41343 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41344             Thomas Schwinge  <thomas@codesourcery.com>
41346         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41347         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41348         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41349         fanotify_mark.
41351 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41353         * sysdeps/mach/start.c: Remove file.
41354         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41355         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41356         * sysdeps/sh/init-first.c: Likewise.
41358         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41359         registers for frame unwinding purposes, add CFI directives.
41360         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41362         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41363         Likewise.
41365         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41366         __fortify_fail returning.
41367         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41369         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41370         sysdeps/sh/____longjmp_chk.S.
41371         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41372         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41373         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41374         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41376         * sysdeps/sh/abort-instr.h: New file.
41377         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41378         process in case exit returns.
41380         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41381         initialize the GOT register before use.
41383         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41384         calculation of ARGC > 4.
41386         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41387         meaningful names to some local labels.
41389 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41390             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41392         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41393         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41394         (__arch_compare_and_exchange_val_16_acq): Likewise.
41395         (__arch_compare_and_exchange_val_32_acq): Likewise.
41396         (atomic_exchange_and_add): Fix gUSA sequence.
41397         (atomic_add): Likewise.
41398         (atomic_add_negative): Likewise.
41399         (atomic_add_zero): Likewise.
41400         (atomic_bit_test_set): Likewise.
41402 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41404         [BZ #13579]
41405         * include/link.h (struct link_map): Add l_free_initfini.
41406         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41407         l_initfini.
41408         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41409         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41410         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41411         set.
41413 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41415         * configure.in: Use AC_LANG_SOURCE.
41416         * configure: Regenerate.
41418 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41420         * configure.in (libc_cv_localstatedir): New substituted variable.
41421         * configure: Regenerated.
41422         * config.make.in (localstatedir): New variable, substituted from
41423         libc_cv_localstatedir.
41424         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41425         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41426         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41427         * sysdeps/gnu/configure: Regenerated.
41429 2012-06-21  Jeff Law  <law@redhat.com>
41431         [BZ #14277]
41432         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41433         free.  Simplify list management for _LIBC case.
41435 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41437         [BZ #14273]
41438         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41439         Clear sign bit of 64-bit integer value before comparing against
41440         overflow value.
41442         * sysdeps/mach/configure: Regenerated.
41444 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41446         [BZ #14278]
41447         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41449 2012-06-21  Jeff Law  <law@redhat.com>
41451         [BZ #13882]
41452         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41453         uint16_t for elements in the "seen" array to avoid char overflows.
41454         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41455         * elf/dl-open.c (dl_open_worker): Likewise.
41457 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41459         * scripts/list-sources.sh: Scan PORTS for translations.
41460         * po/libc.pot: Regenerated.
41462 2012-06-21  Andreas Jaeger  <aj@suse.de>
41464         [BZ #12194]
41465         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41466         warning.
41467         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41468         * bits/byteswap-16.h (__bswap_16): Likewise.
41469         * bits/byteswap.h (__bswap_constant_16): Likewise.
41471 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41473         [BZ #14117]
41474         * sysdeps/i386/fpu_control.h: Removed.
41475         * sysdeps/x86_64/fpu_control.h: Moved to ...
41476         * sysdeps/x86/fpu_control.h: Here.
41478         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41479         (_FPU_SETCW): Likewise.
41481 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41483         [BZ #14117]
41484         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41485         * sysdeps/x86/fpu/bits/mathinline.h: This.
41486         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41488         [BZ #14050]
41489         [BZ #14117]
41490         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41491         functions if __x86_64__ is defined.
41493 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41495         * string/endian.h: Add !__ASSEMBLER__ condition for including
41496         conversion interfaces.
41498 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41500         [BZ #14241]
41501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41502         of ABS(x) in calculating zero to negative powers other than odd
41503         integers.
41504         * math/libm-test.inc (pow_test): Add more tests.
41506 2012-06-15  Andreas Jaeger  <aj@suse.de>
41508         * manual/contrib.texi (Contributors): Update entry of Liubov
41509         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41510         Machado Filho.
41512 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41514         * string/string.h: Add __wur to GNU version of strerror_r.
41516 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41518         [BZ #14229]
41519         * string/Makefile (tests): Add tst-strtok_r.
41520         * string/tst-strtok_r.c: New file.
41521         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41522         RAX_LP/RDX_LP on SAVE_PTR.
41524 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41526         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41528 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41530         * libm_test.inc (csqrt_test): Allow more spurious underflow
41531         exceptions.
41532         (j0_test): Likewise.
41533         (j1_test): Likewise.
41534         (y0_test): Likewise.
41535         (y1_test): Likewise.
41537 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41539         * po/Makefile (libc.pot): Use UTF-8 charset.
41541 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41543         [BZ #14210]
41544         Suppress sign-conversion warning from FD_SET.
41545         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41546         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41547         not unsigned long int.
41548         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41550 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41552         [BZ #14050]
41553         [BZ #14117]
41554         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41555         __extern_always_inline instead of __extern_inline.
41556         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41557         (__signbit): Likewise.
41558         (__signbitl): Support C++ namespace.
41559         (lrintf): New inline function.
41560         (lrint): Likewise.
41561         (llrintf): Likewise.
41562         (llrint): Likewise.
41563         (fmaxf): Likewise.
41564         (fmax): Likewise.
41565         (fminf): Likewise.
41566         (fmin): Likewise.
41567         (rint): Likewise.
41568         (rintf): Likewise.
41569         (ceil): Likewise.
41570         (ceilf): Likewise.
41571         (floor): Likewise.
41572         (floorf): Likewise.
41573         (nearbyint): Likewise.
41574         (nearbyintf): Likewise.
41576 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41578         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41579         non-default versions.
41581 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41583         [BZ #14218]
41584         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41586 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41588         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41589         (FE_UPWARD, FE_DOWNWARD): Don't define.
41590         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41591         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41593         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41594         reading it.
41595         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41596         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41598 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41600         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41601         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41602         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41603         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41605 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41607         [BZ #14117]
41608         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41609         * sysdeps/i386/fpu/Implies: New file.
41610         * sysdeps/x86_64/fpu/Implies: Likewise.
41611         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41612         * sysdeps/x86/fpu/bits/fenv.h: This.
41614         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41615         __SSE_MATH__.
41617 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41619         [BZ #14134]
41620         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41621         character 0xffff that matches the last element of the
41622         conversion table.
41624 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41626         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41627         fmodl commit.
41629 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41631         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41632         values higher than 25.6283.
41634 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41636         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41637         subnormal exponent extraction and add some __builtin_expect.
41638         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41639         Fix for subnormal mantissa calculation.
41641 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41643         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41644         cpu2 is -1 and errno is not ENOSYS.
41646 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41648         [BZ #14117]
41649         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41650         * sysdeps/x86/bits/string.h: This.
41651         * sysdeps/x86_64/bits/string.h: Removed.
41653         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41654         if not compiling for x86-64, but compiling for >= i486.
41656         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41657         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41659         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41660         New macro from Linux kernel 3.4.0.
41661         (FP_XSTATE_MAGIC2): Likewise.
41662         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41663         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41664         (struct _fpx_sw_bytes): New struct.
41665         (struct _xsave_hdr): Likewise.
41666         (struct _ymmh_state): Likewise.
41667         (struct _xstate): Likewise.
41669         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41670         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41671         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41672         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41673         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41674         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41676         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41677         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41678         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41679         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41680         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41681         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41683 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41685         [BZ #13743]
41686         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41687         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41688         (sysdep_headers): Include sys/platform/ppc.h.
41689         * sysdeps/powerpc/test-gettimebase.c: Test for
41690         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41691         * manual/Makefile (appendices): Include platform.texi.
41692         * manual/contrib.texi (Contributors): Update @node pointers.
41693         * manual/maint.texi (Maintenance): Likewise.
41694         (Platform): New node.
41695         * manual/platform.texi: New file.  Document the new features.
41697 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41698             Jakub Jelinek  <jakub@redhat.com>
41700         [BZ #14188]
41701         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41702         where __builtin_expect is unavailable.
41704 2012-06-03  David S. Miller  <davem@davemloft.net>
41706         * stdlib/longlong.h: Updated from GCC.
41708 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41710         [BZ #14042]
41711         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41712         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41713         __mcount_internal.
41714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41715         (GLIBC_2.16): Likewise.
41717 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41719         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41721 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41724         (default-abi): New variable.
41725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41726         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41727         variable.
41728         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41729         Likewise.
41730         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41731         Likewise.
41732         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41733         Likewise.
41735         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41736         definition.  Document in comment.
41738 2012-06-01  David S. Miller  <davem@davemloft.net>
41740         * stdlib/longlong.h: Updated from GCC.
41742 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41744         [BZ #14117]
41745         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41746         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41747         sys/debugreg.h sys/io.h here.
41748         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41749         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41750         sys/io.h.
41751         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41752         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41753         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41754         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41755         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41756         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41758         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41759         Define only if __x86_64__ is defined.
41761 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41763         [BZ #14048]
41764         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41765         Use int64_t for variable i.
41766         * math/libm-test.inc (fmod_test): Add more tests.
41768         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41769         z computation is not scheduled after fetestexcept.
41770         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41771         Use math_force_eval instead of asm to ensure calculation scheduled
41772         before exception test.
41773         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41774         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41776 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41779         computation is not scheduled after fetestexcept.
41781 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41783         [BZ #14117]
41784         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41785         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41787 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41789         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41790         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41792 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41794         [BZ #14117]
41795         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41796         <bits/wordsize.h>.
41797         (__WCHAR_MIN): Support __WORDSIZE == 64.
41798         (__WCHAR_MAX): Likewise.
41800         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41801         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41803         [BZ #14183]
41804         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41805         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41807         [BZ #14117]
41808         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41809         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41811         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41812         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41814         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41815         Defined to 1 if __x86_64__ isn't defined.
41816         (_STAT_VER_LINUX_OLD): New.
41817         (st_atime): Remove duplicate.
41818         (st_mtime): Likewise.
41819         (st_ctime): Likewise.
41821 2012-05-31  David S. Miller  <davem@davemloft.net>
41823         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41824         entries.
41826 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41828         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41829         gen-libm-test.pl.
41831         [BZ #14132]
41832         * elf/dl-reloc.c: Include <_itoa.h>.
41833         (_dl_reloc_bad_type): Remove use of INTUSE.
41834         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41835         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41836         * stdio-common/psiginfo.c (psiginfo): Likewise.
41837         * stdio-common/psignal.c (psignal): Likewise.
41838         * string/strsignal.c (strsignal): Likewise.
41839         * include/signal.h (_sys_siglist): Declare hidden proto.
41840         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41841         INTVARDEF with libc_hidden_data_def.
41842         * stdio-common/itoa-udigits.c: Likewise.
41843         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41844         (_itoa_lower_digits_internal): Remove declaration.
41845         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41846         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41847         (_sys_sigabbrev_internal): Remove aliases.
41848         (_sys_siglist): Define hidden alias.
41850 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41852         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41853         bits/sysctl.h.
41855 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41857         [BZ #14117]
41858         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41859         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41861         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41862         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41863         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41864         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41865         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41866         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41868         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41869         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41870         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41872         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41873         with __addr.
41874         (insw): Likewise.
41875         (insl): Likewise.
41876         (outsb): Likewise.
41877         (outsw): Likewise.
41878         (outsl): Likewise.
41880         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41881         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41882         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41884         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41885         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41886         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41887         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41888         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41889         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41891         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41892         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41894         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41895         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41897         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41898         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41899         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41901         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41902         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41903         to ...
41904         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41906         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41907         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41908         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41910         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41911         for x86-64.
41912         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41914 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41916         * math/math.h (M_El): Use two more decimal places.
41917         (M_LOG2El): Likewise.
41918         (M_LOG10El): Likewise.
41919         (M_LN2l): Likewise.
41920         (M_LN10l): Likewise.
41921         (M_PIl): Likewise.
41922         (M_PI_2l): Likewise.
41923         (M_PI_4l): Likewise.
41924         (M_1_PIl): Likewise.
41925         (M_2_PIl): Likewise.
41926         (M_2_SQRTPIl): Likewise.
41927         (M_SQRT2l): Likewise.
41928         (M_SQRT1_2l): Likewise.
41930 2012-05-31  David S. Miller  <davem@davemloft.net>
41932         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41933         values between float registers.
41934         * sysdeps/sparc/sparc64/memset.S: Likewise.
41935         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41937 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41939         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41940         -D_FORTIFY_SOURCE=1.
41941         (CPPFLAGS-tst-longjmp_chk.c): Define.
41942         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41943         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41944         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41945         CFLAGS-tst-wchar-h.c.
41947 2012-05-31  Marek Polacek  <polacek@redhat.com>
41949         [BZ #14132]
41950         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41951         __endmntent_internal): Remove declaration.
41952         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41953         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41954         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41956 2012-05-30  David S. Miller  <davem@davemloft.net>
41958         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41959         (___Q_simulate_exceptions): Use real FP ops rather than writing
41960         into the %fsr.
41961         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41962         Likewise.
41964 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41966         [BZ #14117]
41967         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41968         * sysdeps/x86/bits/xtitypes.h: This.
41970         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41971         * sysdeps/x86/bits/wordsize.h: This.
41973         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41974         * sysdeps/x86/bits/huge_vall.h: This.
41976         * sysdeps/i386/bits/select.h: Removed.
41977         * sysdeps/x86_64/bits/select.h: Renamed to ...
41978         * sysdeps/x86/bits/select.h: This.
41980         * sysdeps/i386/bits/setjmp.h: Removed.
41981         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41982         * sysdeps/x86/bits/setjmp.h: This.
41984         * sysdeps/i386/bits/mathdef.h: Removed.
41985         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41986         * sysdeps/x86/bits/mathdef.h: This.
41988 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41990         [BZ #14132]
41991         * include/sys/socket.h (__connect_internal)
41992         (__libc_sa_len_internal): Remove declaration.
41993         (__connect, __libc_sa_len): Declare hidden_proto.
41994         (SA_LEN): Remove use of INTUSE.
41995         * socket/connect.c: Add libc_hidden_def.
41996         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41997         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41998         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41999         alias.
42000         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42001         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42002         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42003         of adding _internal alias.
42005 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42007         [BZ #14117]
42008         * sysdeps/i386/bits/link.h: Removed.
42009         * sysdeps/i386/bits/linkmap.h: Likewise.
42010         * sysdeps/x86_64/bits/link.h: Renamed to ...
42011         * sysdeps/x86/bits/link.h: This.
42012         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42013         * sysdeps/x86/bits/linkmap.h: This.
42015         * sysdeps/i386/bits/endian.h: Removed.
42016         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42017         * sysdeps/x86/bits/endian.h: This.
42019         * sysdeps/i386/bits/byteswap.h: Removed.
42020         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42021         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42022         * sysdeps/x86/bits/byteswap.h: This.
42023         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42024         * sysdeps/x86/bits/byteswap-16.h: This.
42025         * sysdeps/i386/Implies: Add x86.
42026         * sysdeps/x86_64/Implies: Likewise.
42028 2012-05-30  David S. Miller  <davem@davemloft.net>
42030         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42031         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42032         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42033         (FP_TRAPPING_EXCEPTIONS): Define.
42034         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42035         (FP_TRAPPING_EXCEPTIONS): Define.
42036         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42037         subnormals only when inexact has been signalled or underflow
42038         exceptions are enabled.
42039         (_FP_PACK_CANONICAL): Likewise.
42041 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42043         [BZ #14183]
42044         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42045         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42047 2012-05-30  Richard Henderson  <rth@twiddle.net>
42049         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42050         with #ifndef NOT_IN_libc.
42052         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42053         marked to avoid plt entry.
42055 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42057         [BZ #14112]
42058         * Makeconfig (default-abi): New macro.
42059         (abi-includes): Likewise.
42060         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42061         $(abi-$(default-abi)-lib-soname) for soname if defined.
42062         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42063         abi-variants.
42064         * Makefile (installed-stubs): Likewise.
42065         * include/stubs-biarch.h: Removed.
42066         * scripts/lib-names.awk: Only handle one library at a time.
42067         * scripts/soversions.awk: Remove WORDSIZE support.
42068         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42069         entries.
42070         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42071         Removed.
42072         (syscall-list-default-condition): Likewise.
42073         (syscall-list-default-condition): Likewise.
42074         (syscall-list-includes): Likewise.
42075         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42076         syscall-list-* with abi-*.  Handle undefined abi-variants.
42077         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42078         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42079         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42080         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42081         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42082         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42083         Removed.
42084         (syscall-list-32-options): Likewise.
42085         (syscall-list-32-condition): Likewise.
42086         (syscall-list-64-options): Likewise.
42087         (syscall-list-64-condition): Likewise.
42088         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42089         macro.
42090         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42091         Renamed to ...
42092         (abi-*): This.
42093         (abi-64-ld-soname): New macro.
42094         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42095         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42096         Renamed to ...
42097         (abi-*): This.
42098         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42099         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42101 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42103         * sysdeps/unix/sysv/linux/kernel-features.h
42104         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42105         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42106         include <kernel-features.h>.
42107         [!__NR_ftruncate64]: Remove conditional code.
42108         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42109         [__NR_ftruncate64]: Make code unconditional.
42110         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42111         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42112         include <kernel-features.h>.
42113         [!__NR_ftruncate64]: Remove conditional code.
42114         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42115         [__NR_ftruncate64]: Make code unconditional.
42116         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42118         include <kernel-features.h>.
42119         [!__NR_ftruncate64]: Remove conditional code.
42120         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42121         [__NR_ftruncate64]: Make code unconditional.
42122         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42124         include <kernel-features.h>.
42125         [!__NR_ftruncate64]: Remove conditional code.
42126         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42127         [__NR_ftruncate64]: Make code unconditional.
42128         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42130         * configure.in (libc_cv_fpie): Weaken to a compile test using
42131         LIBC_TRY_CC_OPTION.
42132         * configure: Regenerated.
42134 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42140         Refreshed.
42141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42147         Refreshed.
42149 2012-05-27  David S. Miller  <davem@davemloft.net>
42151         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42152         (___Q_zero): New.
42153         (__Q_simulate_exceptions): Return void.  Change to simulate
42154         exceptions by writing into the %fsr.
42155         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42156         (__Qp_handle_exceptions): Likewise.
42157         (numbers): Delete.
42158         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42159         __Qp_handle_exceptions.
42160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42161         __Qp_handle_exceptions.
42162         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42163         as unused and give dummy FP_RND_NEAREST initializer.
42164         (FP_INHIBIT_RESULTS): Define.
42165         (___Q_simulate_exceptions): Update declaration.
42166         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42167         formatting.
42168         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42169         as unused and give dummy FP_RND_NEAREST initializer.
42170         (__Qp_handle_exceptions): Update declaration.
42171         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42172         formatting.
42174 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42176         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42177         the temporary FPU control word.
42178         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42179         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42180         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42181         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42182         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42183         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42184         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42185         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42186         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42187         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42188         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42190 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42192         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42193         fields.
42195 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42197         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42198         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42199         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42200         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42201         Likewise.
42202         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42203         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42204         Likewise.
42206 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42208         * po/h.po: Update from translation team.
42210 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42212         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42214         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42215         handling of denormals.
42216         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42217         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42218         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42219         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42220         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42221         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42222         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42223         Likewise.
42225 2012-05-26  Marek Polacek  <polacek@redhat.com>
42227         [BZ #14152]
42228         * math/libm-test.inc (fma_test): Don't always expect underflow
42229         exception.
42231 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42233         [BZ #12416]
42234         * elf/tst-execstack.c: Include stackinfo.h.
42235         (do_test): Adjust test case to ensure that pthread_getattr_np
42236         behaviour remains the same after marking stack executable.
42238 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42240         * sysdeps/unix/sysv/linux/kernel-features.h
42241         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42242         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42243         kernel-features.h.
42244         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42245         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42246         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42247         kernel-features.h.
42248         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42249         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42251 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42253         * configure.in: Define the default includes to being none.
42254         * configure: Regenerated.
42256 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42258         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42259         * sysdeps/x86_64/setjmp.S: Likewise.
42260         * sysdeps/i386/bsd-setjmp.S: Likewise.
42261         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42262         * sysdeps/i386/setjmp.S: Likewise.
42263         * sysdeps/i386/__longjmp.S: Likewise.
42264         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42265         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42267         * include/stap-probe.h: New file.
42268         * configure.in: Handle --enable-systemtap.
42269         * configure: Regenerated.
42270         * config.h.in (USE_STAP_PROBE): New #undef.
42271         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42272         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42273         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42275 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42277         [BZ #13717]
42278         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42279         to 2.4.0 where earlier.
42280         * sysdeps/unix/sysv/linux/configure: Regenerated.
42281         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42282         <kernel-features.h>.
42283         [__ASSUME_32BITUIDS]: Make code unconditional.
42284         [!__ASSUME_32BITUIDS]: Remove conditional code.
42285         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42286         <kernel-features.h>.
42287         [__ASSUME_32BITUIDS]: Make code unconditional.
42288         [!__ASSUME_32BITUIDS]: Remove conditional code.
42289         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42290         [__ASSUME_32BITUIDS]: Make code unconditional.
42291         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42292         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42293         <kernel-features.h>.
42294         [__ASSUME_32BITUIDS]: Make code unconditional.
42295         [!__ASSUME_32BITUIDS]: Remove conditional code.
42296         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42297         <kernel-features.h>.
42298         [__ASSUME_32BITUIDS]: Make code unconditional.
42299         [!__ASSUME_32BITUIDS]: Remove conditional code.
42300         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42301         <kernel-features.h>.
42302         [__ASSUME_32BITUIDS]: Make code unconditional.
42303         [!__ASSUME_32BITUIDS]: Remove conditional code.
42304         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42305         <kernel-features.h>.
42306         [__ASSUME_32BITUIDS]: Make code unconditional.
42307         [!__ASSUME_32BITUIDS]: Remove conditional code.
42308         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42309         <kernel-features.h>.
42310         [__ASSUME_32BITUIDS]: Make code unconditional.
42311         [!__ASSUME_32BITUIDS]: Remove conditional code.
42312         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42313         <kernel-features.h>.
42314         [__ASSUME_32BITUIDS]: Make code unconditional.
42315         [!__ASSUME_32BITUIDS]: Remove conditional code.
42316         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42317         <kernel-features.h>.
42318         [__ASSUME_32BITUIDS]: Make code unconditional.
42319         [!__ASSUME_32BITUIDS]: Remove conditional code.
42320         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42321         <kernel-features.h>.
42322         [__ASSUME_32BITUIDS]: Make code unconditional.
42323         [!__ASSUME_32BITUIDS]: Remove conditional code.
42324         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42325         <kernel-features.h>.
42326         [__ASSUME_32BITUIDS]: Make code unconditional.
42327         [!__ASSUME_32BITUIDS]: Remove conditional code.
42328         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42329         <kernel-features.h>.
42330         [__ASSUME_32BITUIDS]: Make code unconditional.
42331         [!__ASSUME_32BITUIDS]: Remove conditional code.
42332         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42333         <kernel-features.h>.
42334         [__NR_setresgid] (__setresgid): Do not declare.
42335         [__ASSUME_32BITUIDS]: Make code unconditional.
42336         [!__ASSUME_32BITUIDS]: Remove conditional code.
42337         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42338         <kernel-features.h>.
42339         [__NR_setresuid] (__setresuid): Do not declare.
42340         [__ASSUME_32BITUIDS]: Make code unconditional.
42341         [!__ASSUME_32BITUIDS]: Remove conditional code.
42342         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42343         <kernel-features.h>.
42344         [__ASSUME_32BITUIDS]: Make code unconditional.
42345         [!__ASSUME_32BITUIDS]: Remove conditional code.
42346         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42347         <kernel-features.h>.
42348         [__ASSUME_32BITUIDS]: Make code unconditional.
42349         [!__ASSUME_32BITUIDS]: Remove conditional code.
42350         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42351         <kernel-features.h>.
42352         [__ASSUME_32BITUIDS]: Make code unconditional.
42353         [!__ASSUME_32BITUIDS]: Remove conditional code.
42354         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42355         <kernel-features.h>.
42356         [__ASSUME_32BITUIDS]: Make code unconditional.
42357         [!__ASSUME_32BITUIDS]: Remove conditional code.
42358         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42359         <kernel-features.h>.
42360         [__ASSUME_32BITUIDS]: Make code unconditional.
42361         [!__ASSUME_32BITUIDS]: Remove conditional code.
42362         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42363         <kernel-features.h>.
42364         [__ASSUME_32BITUIDS]: Make code unconditional.
42365         [!__ASSUME_32BITUIDS]: Remove conditional code.
42366         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42367         <kernel-features.h>.
42368         [__ASSUME_32BITUIDS]: Make code unconditional.
42369         [!__ASSUME_32BITUIDS]: Remove conditional code.
42370         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42371         <kernel-features.h>.
42372         [__ASSUME_32BITUIDS]: Make code unconditional.
42373         [!__ASSUME_32BITUIDS]: Remove conditional code.
42374         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42375         <kernel-features.h>.
42376         [__ASSUME_32BITUIDS]: Make code unconditional.
42377         [!__ASSUME_32BITUIDS]: Remove conditional code.
42378         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42379         <kernel-features.h>.
42380         [__ASSUME_32BITUIDS]: Make code unconditional.
42381         [!__ASSUME_32BITUIDS]: Remove conditional code.
42382         * sysdeps/unix/sysv/linux/kernel-features.h
42383         (__ASSUME_SETRESUID_SYSCALL): Remove.
42384         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42385         (__ASSUME_32BITUIDS): Likewise.
42386         (__ASSUME_LDT_WORKS): Likewise.
42387         (__ASSUME_O_DIRECTORY): Likewise.
42388         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42389         architecture but not kernel version.
42390         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42391         (__ASSUME_MMAP2_SYSCALL): Likewise.
42392         (__ASSUME_STAT64_SYSCALL): Likewise.
42393         (__ASSUME_IPC64): Likewise.
42394         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42395         <kernel-features.h>.
42396         [__ASSUME_32BITUIDS]: Make code unconditional.
42397         [!__ASSUME_32BITUIDS]: Remove conditional code.
42398         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42399         <kernel-features.h>.
42400         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42401         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42402         132096]: Remove conditional code.
42403         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42404         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42405         <kernel-features.h>.
42406         [__ASSUME_32BITUIDS]: Make code unconditional.
42407         [!__ASSUME_32BITUIDS]: Remove conditional code.
42408         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42409         <kernel-features.h>.
42410         [__ASSUME_32BITUIDS]: Make code unconditional.
42411         [!__ASSUME_32BITUIDS]: Remove conditional code.
42412         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42413         <kernel-features.h>.
42414         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42415         unconditional.
42416         (__setresgid): Do not declare.
42417         [__ASSUME_32BITUIDS]: Make code unconditional.
42418         [!__ASSUME_32BITUIDS]: Remove conditional code.
42419         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42420         <kernel-features.h>.
42421         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42422         unconditional.
42423         (__setresuid): Do not declare.
42424         [__ASSUME_32BITUIDS]: Make code unconditional.
42425         [!__ASSUME_32BITUIDS]: Remove conditional code.
42426         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42427         <kernel-features.h>.
42428         [__ASSUME_32BITUIDS]: Make code unconditional.
42429         [!__ASSUME_32BITUIDS]: Remove conditional code.
42430         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42431         <kernel-features.h>.
42432         [__ASSUME_32BITUIDS]: Make code unconditional.
42433         [!__ASSUME_32BITUIDS]: Remove conditional code.
42435 2012-05-25  Richard Henderson  <rth@twiddle.net>
42437         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42438         dl_hwcap to ifunc resolver.
42439         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42440         elf_ifunc_invoke.
42441         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42442         dl_hwcap to ifunc resolver.
42443         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42445 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42447         [BZ #14153]
42448         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42449         for |x| <= 2**-26, not 2**-57.
42450         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42451         exception.
42453 2012-05-24  Jeff Law  <law@redhat.com>
42455         * stdio-common/Makefile (tests): Add bug25.
42456         * stdio-common/bug25.c: New test.
42458 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42460         [BZ #13576]
42461         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42462         multiple of MALLOC_ALIGNMENT in size.
42463         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42465 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42467         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42468         Require >= 256.
42469         (FILENAME_MAX): Use macro-int-constant.
42470         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42471         (_IOFBF): Use macro-int-constant.
42472         (_IOLBF): Likewise.
42473         (_IONBF): Likewise.
42474         (SEEK_CUR): Likewise.
42475         (SEEK_END): Likewise.
42476         (SEEK_SET): Likewise.
42477         (TMP_MAX): Likewise.
42478         (EOF): Use macro-int-constant.  Require < 0.
42479         (NULL): Use macro-constant.  Require == 0.
42480         (stdin): Require type to be FILE *.
42481         (stdout): Likewise.
42482         (stderr): Likewise.
42483         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42484         macro-int-constant.
42485         (EXIT_SUCCESS): Likewise.
42486         (NULL): Use macro-constant.  Require == 0.
42487         (RAND_MAX): Use macro-int-constant.
42488         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42489         [C99-based standards] (strtof): Require function.
42490         [C99-based standards] (strtold): Likewise.
42491         [C99-based standards] (strtoll): Likewise.
42492         [C99-based standards] (strtoull): Likewise.
42493         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42494         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42495         [ISO || ISO99 || ISO11] (math.h): Likewise.
42496         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42497         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42498         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42500 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42502         [BZ #14132]
42503         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42504         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42505         * intl/dgettext.c (DCGETTEXT): Likewise.
42506         * intl/gettext.c (DCGETTEXT): Likewise.
42507         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42508         * posix/regex_internal.h (gettext): Likewise.
42509         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42510         Remove declaration.
42511         * include/argz.h (__argz_count_internal)
42512         (__argz_stringify_internal): Remove declaration.
42513         (__argz_count, __argz_stringify): Declare hidden proto.
42514         * intl/dcgettext.c: Remove use of INTDEF.
42515         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42516         * string/argz-stringify.c: Likewise.
42517         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42518         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42519         Declare hidden proto.
42520         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42521         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42522         Declare hidden proto.
42523         * include/stdio.h (__asprintf_internal): Don't declare.
42524         (__asprintf): Don't define as macro.  Declare hidden proto.
42525         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42526         (__fsetlocking): Declare hidden proto.
42527         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42528         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42529         hidden proto.
42530         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42531         (_IO_setlinebuf): Remove use of INTUSE.
42532         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42533         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42534         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42535         Remove declaration.
42536         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42537         (_IO_do_flush): Remove use of INTUSE.
42538         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42539         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42540         (_IO_adjust_column, _IO_least_wmarker)
42541         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42542         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42543         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42544         (_IO_default_doallocate, _IO_wdefault_doallocate)
42545         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42546         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42547         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42548         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42549         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42550         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42551         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42552         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42553         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42554         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42555         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42556         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42557         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42558         proto.
42559         (_IO_flush_all_internal, _IO_adjust_column_internal)
42560         (_IO_default_uflow_internal, _IO_default_finish_internal)
42561         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42562         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42563         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42564         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42565         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42566         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42567         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42568         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42569         (_IO_file_close_internal, _IO_file_close_it_internal)
42570         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42571         (_IO_file_init_internal, _IO_file_attach_internal)
42572         (_IO_file_fopen_internal, _IO_file_read_internal)
42573         (_IO_file_sync_internal, _IO_file_seek_internal)
42574         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42575         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42576         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42577         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42578         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42579         (_IO_list_all_internal, _IO_link_in_internal)
42580         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42581         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42582         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42583         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42584         (_IO_do_write_internal, _IO_padn_internal)
42585         (_IO_getline_info_internal, _IO_getline_internal)
42586         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42587         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42588         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42589         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42590         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42591         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42592         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42593         with libc_hidden_ver, remove use of INTUSE.
42594         * libio/genops.c: Likewise.
42595         * libio/freopen.c: Likewise.
42596         * libio/freopen64.c: Likewise.
42597         * libio/iofclose.c: Likewise.
42598         * libio/iofdopen.c: Likewise.
42599         * libio/iofflush.c: Likewise.
42600         * libio/iofflush_u.c: Likewise.
42601         * libio/iofgets.c: Likewise.
42602         * libio/iofgets_u.c: Likewise.
42603         * libio/iofopen.c: Likewise.
42604         * libio/iofopncook.c: Likewise.
42605         * libio/iofread.c: Likewise.
42606         * libio/iofread_u.c: Likewise.
42607         * libio/ioftell.c: Likewise.
42608         * libio/iofwrite.c: Likewise.
42609         * libio/iogetline.c: Likewise.
42610         * libio/iogets.c: Likewise.
42611         * libio/iogetwline.c: Likewise.
42612         * libio/iopadn.c: Likewise.
42613         * libio/iopopen.c: Likewise.
42614         * libio/ioseekoff.c: Likewise.
42615         * libio/ioseekpos.c: Likewise.
42616         * libio/iosetbuffer.c: Likewise.
42617         * libio/iosetvbuf.c: Likewise.
42618         * libio/ioungetc.c: Likewise.
42619         * libio/ioungetwc.c: Likewise.
42620         * libio/iovdprintf.c: Likewise.
42621         * libio/iovsprintf.c: Likewise.
42622         * libio/iovsscanf.c: Likewise.
42623         * libio/memstream.c: Likewise.
42624         * libio/obprintf.c: Likewise.
42625         * libio/oldfileops.c: Likewise.
42626         * libio/oldiofclose.c: Likewise.
42627         * libio/oldiofdopen.c: Likewise.
42628         * libio/oldiofopen.c: Likewise.
42629         * libio/oldiopopen.c: Likewise.
42630         * libio/oldstdfiles.c: Likewise.
42631         * libio/putc.c: Likewise.
42632         * libio/setbuf.c: Likewise.
42633         * libio/setlinebuf.c: Likewise.
42634         * libio/stdfiles.c: Likewise.
42635         * libio/strops.c: Likewise.
42636         * libio/vasprintf.c: Likewise.
42637         * libio/vscanf.c: Likewise.
42638         * libio/vsnprintf.c: Likewise.
42639         * libio/vswprintf.c: Likewise.
42640         * libio/wfiledoalloc.c: Likewise.
42641         * libio/wfileops.c: Likewise.
42642         * libio/wgenops.c: Likewise.
42643         * libio/wmemstream.c: Likewise.
42644         * libio/wstrops.c: Likewise.
42645         * libio/__fpurge.c: Likewise.
42646         * libio/__fsetlocking.c: Likewise.
42647         * assert/assert.c: Likewise.
42648         * debug/fgets_chk.c: Likewise.
42649         * debug/fgets_u_chk.c: Likewise.
42650         * debug/fread_chk.c: Likewise.
42651         * debug/fread_u_chk.c: Likewise.
42652         * debug/gets_chk.c: Likewise.
42653         * debug/obprintf_chk.c: Likewise.
42654         * debug/vasprintf_chk.c: Likewise.
42655         * debug/vdprintf_chk.c: Likewise.
42656         * debug/vsnprintf_chk.c: Likewise.
42657         * debug/vsprintf_chk.c: Likewise.
42658         * malloc/mtrace.c: Likewise.
42659         * misc/error.c: Likewise.
42660         * misc/syslog.c: Likewise.
42661         * stdio-common/asprintf.c: Likewise.
42662         * stdio-common/fxprintf.c: Likewise.
42663         * stdio-common/getw.c: Likewise.
42664         * stdio-common/isoc99_fscanf.c: Likewise.
42665         * stdio-common/isoc99_scanf.c: Likewise.
42666         * stdio-common/isoc99_vfscanf.c: Likewise.
42667         * stdio-common/isoc99_vscanf.c: Likewise.
42668         * stdio-common/isoc99_vsscanf.c: Likewise.
42669         * stdio-common/printf-prs.c: Likewise.
42670         * stdio-common/printf_fp.c: Likewise.
42671         * stdio-common/printf_fphex.c: Likewise.
42672         * stdio-common/printf_size.c: Likewise.
42673         * stdio-common/putw.c: Likewise.
42674         * stdio-common/scanf.c: Likewise.
42675         * stdio-common/sprintf.c: Likewise.
42676         * stdio-common/tmpfile.c: Likewise.
42677         * stdio-common/vfprintf.c: Likewise.
42678         * stdio-common/vfscanf.c: Likewise.
42679         * stdlib/strfmon_l.c: Likewise.
42680         * sunrpc/openchild.c: Likewise.
42681         * sunrpc/xdr_stdio.c: Likewise.
42682         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42683         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42685 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42687         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42689         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42690         in the third column, to generate for the shared library an IFUNC
42691         that uses _dl_vdso_vsym.
42692         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42693         * Makeconfig (object-suffixes-noshared): New variable.
42695         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42696         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42697         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42698         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42700         [BZ #14132]
42701         * include/sys/time.h (__gettimeofday): Remove macro.
42702         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42703         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42704         Remove INTDEF.
42705         (__gettimeofday): Add libc_hidden_def.
42706         (gettimeofday): Add libc_hidden_weak.
42707         * sysdeps/mach/gettimeofday.c: Likewise.
42708         * sysdeps/posix/gettimeofday.c: Likewise.
42709         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42710         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42711         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42712         (__gettimeofday_internal): Remove strong_alias.
42713         (__gettimeofday): Add libc_hidden_def.
42714         (gettimeofday): Add libc_hidden_weak.
42715         * sysdeps/unix/syscalls.list (gettimeofday):
42716         Remove __gettimeofday_internal alias.
42718 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42719             H.J. Lu  <hongjiu.lu@intel.com>
42721         [BZ #12495]
42722         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42723         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42724         (largebin_index_32_big): New.
42725         (largebin_index): Use it for 16-byte alignment.
42726         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42727         correction with front_misalign.
42729 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42733         Likewise.
42734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42735         Likewise.
42736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42737         Likewise.
42738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42739         Likewise.
42740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42741         Likewise.
42742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42743         Likewise.
42744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42745         Likewise.
42746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42747         Likewise.
42748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42749         Likewise.
42750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42751         Likewise.
42752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42753         Likewise.
42754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42755         Likewise.
42757         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42758         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42760 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42762         [BZ #10846]
42763         [BZ #14036]
42764         * math/libm-test.inc (exp_test): Add test from bug 14036.
42765         (pow_test): Add test from bug 10846.
42767         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42768         and other flags.
42769         (special_function): Do not include flags in test name.
42770         (parse_args): Likewise.
42771         * sysdeps/i386/fpu/libm-test-ulps: Update.
42772         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42773         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42774         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42777         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42778         exceptions.
42779         * math/libm-test.inc ("Philosophy"): Update comment about
42780         exception testing.
42781         (UNDERFLOW_EXCEPTION): New macro.
42782         (UNDERFLOW_EXCEPTION_OK): Likewise.
42783         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42784         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42785         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42786         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42787         (INVALID_EXCEPTION_OK): Update value.
42788         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42789         (OVERFLOW_EXCEPTION_OK): Likewise.
42790         (IGNORE_ZERO_INF_SIGN): Likewise.
42791         (test_exceptions): Handle underflow exceptions.
42792         (acos_test): Update for underflow exception expectations.
42793         (cexp_test): Likewise.
42794         (clog_test): Likewise.
42795         (clog10_test): Likewise.
42796         (csqrt_test): Likewise.
42797         (ctan_test): Likewise.
42798         (ctanh_test): Likewise.
42799         (exp_test): Likewise.
42800         (exp10_test): Likewise.
42801         (exp2_test): Likewise.
42802         (expm1_test): Likewise.
42803         (fma_test): Likewise.
42804         (j0_test): Likewise.
42805         (jn_test): Likewise.
42806         (nexttoward_test): Likewise.
42807         (pow_test): Likewise.
42808         (scalbn_test): Likewise.
42809         (scalbln_test): Likewise.
42810         (tan_test): Likewise.
42811         (y1_test): Likewise.
42812         * sysdeps/i386/fpu/libm-test-ulps: Update.
42813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42815 2012-05-23  David S. Miller  <davem@davemloft.net>
42817         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42818         (__libc_sigaction): Remove unused local variables.
42820 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42822         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42824 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42826         mktime: avoid signed integer overflow
42827         * time/mktime.c (__mktime_internal): Do not mishandle the case
42828         where diff == INT_MIN.
42830         mktime: simplify computation of average
42831         * time/mktime.c (ranged_convert): Use new time_t_avg function
42832         instead of rolling our own (probably-slower) code.
42834         mktime: do not assume signed right shift propagates sign bit
42835         * time/mktime.c (isdst_differ): New static function.
42836         (__mktime_internal): No need to normalize tm_isdst now.
42837         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42838         tm_isdst values.
42840         mktime: merge another wrapv change from gnulib
42841         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42842         from some compilers.
42844         mktime: remove incorrect attempt at unusual arithmetics
42845         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42846         The code didn't really work on such machines anyway.
42847         (TYPE_MINIMUM): Assume two's complement.
42848         (twos_complement_arithmetic): Verify that long_int and time_t
42849         are two's complement (or unsigned, in the latter case).
42851         mktime: check signed shifts on long_int and time_t, too
42852         * time/mktime.c (SHR): Check that shifts work as desired
42853         on the types long_int and time_t too, as SHR is used on
42854         such types.
42856         mktime: do not assume 'long' is wide enough
42857         * time/mktime.c (verify): Move decl up.
42858         (long_int): New type.
42859         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42860         to remove assumption in the code that 'long' is wide enough to
42861         store year values.  This assumption is not true on x32 and on
42862         some non-glibc platforms.
42864         mktime: merge wrapv change from gnulib
42865         * time/mktime.c (WRAPV): New macro.
42866         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42867         (guess_time_tm, __mktime_internal): Do not assume that signed
42868         integer overflow wraps around; modern compilers generate code
42869         where this assumption is no longer valid.
42871 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42873         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42874         Replace "jmp L(pseudo_end)" with "ret".
42875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42876         Likewise.
42878 2012-05-23  Andreas Jaeger  <aj@suse.de>
42880         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42881         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42883 2012-05-23  Andreas Jaeger  <aj@suse.de>
42884             Maximilian Attems  <max@stro.at>
42886         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42887         New macros.
42889 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42891         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42892         code so that pseudo_end is just ret and the stack pointer is
42893         correct also for static library in error case.
42895 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42897         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42898         move to syscalls.list.
42899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42904         * manual/install.texi (Running make install): Do not mention Linux
42905         kernel version for which pt_chown is not needed.
42906         (Linux): Do not mention problems with nscd with 2.0 kernels.
42907         * INSTALL: Regenerated.
42909 2012-05-23  Andreas Jaeger  <aj@suse.de>
42911         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42912         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42913         macro.
42914         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42915         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42916         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42917         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42918         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42919         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42920         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42921         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42922         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42923         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42924         * sysdeps/unix/sysv/linux/bits/in.h
42925         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42927 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42929         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42930         (PREPARE_VERSION): Just use assert instead, it will be elided
42931         under [NDEBUG] anyway.
42933 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42935         * sysdeps/unix/sysv/linux/Makefile: Include
42936         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42937         (sysdep_routines): Remove sysctl.
42938         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42939         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42940         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42941         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42942         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42944 2012-05-22  Andreas Jaeger  <aj@suse.de>
42946         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42947         that pseudo_end is just ret and the stack pointer is correct also
42948         for static library in error case.
42950 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42952         [BZ #14122]
42953         * nss/nsswitch.c (defconfig_entries): New variable.
42954         (__nss_database_lookup): Don't leak defconfig entries.
42955         (nss_parse_service_list): Don't leak on error paths.
42956         (free_database_entries): New function.
42957         (free_defconfig): New function.
42958         (free_mem): Move common code to free_database_entries.
42960 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42962         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42963         Add arch_prctl.
42964         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42966         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42967         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42968         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42969         New macro.
42970         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42971         (INTERNAL_SYSCALL_TYPES): Likewise.
42972         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42973         (LOAD_REGS_TYPES_[1-6]): Likewise.
42974         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42975         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42977 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42979         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42980         copysignl for GLIBC_2_0.
42981         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42982         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42984         logbl for GLIBC_2_0.
42985         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42986         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42988 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42990         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42991         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42993         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42994         Use "neg %eax".
42996         * time/mktime.c: Update copyright years.
42998 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43000         mktime: merge comment-quoting-style change from gnulib
43001         * time/mktime.c: Quote 'like this' in comments.
43002         The GNU coding standards suggest that we no longer quote `like this',
43003         as "`" and "'" are typically rendered asymmetrically nowadays.
43004         The typical gnulib style is to quote 'like this' when quoting
43005         code, and "like this" when quoting English.
43007         * time/mktime.c (compile-command): Add "-I.".
43009         mktime: merge mktime-internal.h change from gnulib
43010         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43012         mktime: merge time_r change from gnulib
43013         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43015         mktime: merge DEBUG change from gnulib
43016         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43017         case system <time.h> has a #define.
43019         mktime: merge <sys/types.h> change from gnulib
43020         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43021         since <time.t> is now guaranteed to define time_t.
43023         mktime: merge HAVE_CONFIG_H change from gnulib
43024         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43026 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43029         Use "neg %eax".
43031         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43032         __rlim_t cast.
43033         (struct rusage): Use anonymous union to pad each field to
43034         __syscall_slong_t.
43036 2012-05-21  David S. Miller  <davem@davemloft.net>
43038         * Makefules (o-iterator): Remove .s cases.
43039         (compile-command.s): Delete.
43040         (COMPILE.s): Delete.
43041         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43043 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43045         * configure.in (libc_cv_predef_stack_protector): Only consider
43046         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43047         * configure: Regenerated.
43049 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43052         New macro.  Use R*LP on int and pointer.
43053         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43054         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43055         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43056         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43058         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43059         [__WORDSIZE_TIME64_COMPAT32] instead of
43060         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43061         (struct utmp): Likewise.
43062         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43063         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43064         Renamed to ...
43065         (__WORDSIZE_TIME64_COMPAT32): This.
43066         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43067         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43068         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43069         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43070         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43071         (__WORDSIZE_TIME64_COMPAT32): New macro.
43073 2012-05-21  Andreas Jaeger  <aj@suse.de>
43075         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43076         only if [SHARED]. Add prototype for __wcschr_ia32.
43078 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43080         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43081         of %rbp unmolested in the jmp_buf while mangling the low bits.
43082         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43083         unmolested high bits of %rbp while demangling the low bits.
43084         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43086 2012-05-21  Andreas Jaeger  <aj@suse.de>
43088         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43089         * sunrpc/svc_simple.c: Use it for registerrpc.
43090         * sunrpc/xcrypt.c: Use it for passwd2des.
43092         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43094 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43096         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43097         Don't define if [__SYSCALL_WORDSIZE != 32].
43098         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43099         New macro.
43101 2012-05-21  Bruno Haible  <bruno@clisp.org>
43102             Andreas Jaeger  <aj@suse.de>
43104         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43105         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43106         inptr and inend for must_buffer_ch.
43107         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43108         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43109         * stdio-common/Makefile (tests): Remove bug15.
43110         (bug15-ENV): Remove macro.
43111         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43112         anymore.
43114 2012-05-19  Andreas Jaeger  <aj@suse.de>
43115             Roland McGrath  <roland@hack.frob.com>
43117         * manual/contrib.texi: Completely rewritten. It contains now an
43118         alphabetical list of contributors and their contributions.
43120 2012-05-21  Richard Henderson  <rth@twiddle.net>
43122         * misc/getauxval.c (__getauxval): Use unsigned long int.
43123         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43124         (getauxval): Use unsigned long int.
43126 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43128         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43130 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43132         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43133         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43134         __alignof__ (long double).
43136 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43140 2012-05-20  Richard Henderson  <rth@twiddle.net>
43142         * misc/getauxval.c: New file.
43143         * misc/sys/auxv.h: New file.
43144         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43145         (routines): Add getauxval.
43146         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43147         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43148         * elf/dl-sysdep.c (_dl_auxv): Remove.
43149         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43150         * elf/dl-support.c (_dl_auxv): New variable.
43151         (_dl_aux_init): Initialize it.
43152         * manual/startup.texi (Auxiliary Vector): New node.
43153         * sysdeps/generic/bits/hwcap.h: New file.
43154         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43155         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43156         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43157         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43158         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43159         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43161         Update.
43162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43165         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43171 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43175 2012-05-19  David S. Miller  <davem@davemloft.net>
43177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43179 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43181         [BZ #14123]
43182         * math/s_ccosh.c: Include <float.h>
43183         (__ccosh): Avoid internal overflow calculating sinh and cosh
43184         values before multiplying by sin and cos values.
43185         * math/s_ccoshf.c: Likewise.
43186         * math/s_ccoshl.c: Likewise.
43187         * math/s_csin.c: Likewise.
43188         * math/s_csinf.c: Likewise.
43189         * math/s_csinl.c: Likewise.
43190         * math/s_csinh.c: Likewise.
43191         * math/s_csinhf.c: Likewise.
43192         * math/s_csinhl.c: Likewise.
43193         * math/libm-test.inc (ccos_test): Add more tests.
43194         (ccosh_test): Likewise.
43195         (csin_test): Likewise.
43196         (csinh_test): Likewise.
43197         * sysdeps/i386/fpu/libm-test-ulps: Update.
43198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43200 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43202         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43203         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43205         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43207 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43209         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43210         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43211         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43212         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43213         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43214         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43215         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43216         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43217         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43218         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43219         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43220         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43221         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43222         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43223         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43224         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43225         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43226         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43227         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43228         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43229         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43230         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43231         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43232         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43233         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43234         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43235         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43236         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43237         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43238         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43239         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43241 2012-05-18  Andreas Jaeger  <aj@suse.de>
43243         * csu/.gitignore: Delete.
43245 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43247         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43248         (timex): Use __syscall_slong_t.
43250 2012-05-18  Andreas Jaeger  <aj@suse.de>
43251             Carlos O'Donell  <carlos_odonell@mentor.com>
43253         * manual/install.texi (Configuring and compiling): Update
43254         description about files modified in the source directory.
43255         * INSTALL: Regenerated.
43257 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43259         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43260         value.  Use "or" to set return value to -1.
43261         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43262         negate return value.
43264 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43266         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43267         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43268         failure if the compiler has Graphite support disabled.
43269         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43270         Likewise.
43271         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43272         (CFLAGS-memmove.c): Likewise.
43273         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43274         Likewise.
43276 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43278         * sysdeps/x86_64/x32/_itoa.h: New file.
43280         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43281         getdents system call only if kernel and user dirents have the
43282         same d_ino and d_off.
43284         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43285         LLONG_MAX != LONG_MAX.
43286         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43287         (_fitoa_word): Likewise.
43289         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43290         years.
43291         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43292         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43293         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43295         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43296         include <bits/wordsize.h>.  Check __x86_64__ instead of
43297         __WORDSIZE.
43298         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43299         if __x86_64__ is defined.  Use anonymous union on fpstate.
43301         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43302         anonymous union.
43304 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43306         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43307         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43308         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43309         Refer to _rtld_local_ro instead of _rtld_global_ro.
43310         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43311         Likewise.
43312         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43313         Likewise.
43314         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43315         Likewise.
43316         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43317         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43318         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43320         * sysdeps/powerpc/powerpc32/dl-machine.c
43321         (__elf_machine_runtime_setup) [PROF]: Don't reference
43322         _dl_prof_resolve.
43324 2012-05-18  Andreas Jaeger  <aj@suse.de>
43326         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43327         function only available for GCCs before 3.4 since GCC 3.4
43328         introduced a builtin.
43329         (lrint): Likewise.
43330         (llrintf): Likewise.
43331         (llrint): Likewise.
43332         (fmaxf): Likewise.
43333         (fmax): Likewise.
43334         (fminf): Likewise.
43335         (fmin): Likewise.
43336         (rint): Likewise.
43337         (rintf): Likewise.
43338         (nearbyint): Likewise.
43339         (nearbyintf): Likewise.
43340         (ceil): Likewise.
43341         (ceilf): Likewise.
43342         (floor): Likewise.
43343         (floorf): Likewise.
43345 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43347         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43348         on both fields and cast pointer to __syscall_ulong_t.
43350         * bits/types.h (__fsword_t): New type.
43351         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43352         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43354         (__FSWORD_T_TYPE): Likewise.
43355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43356         (__FSWORD_T_TYPE): Likewise.
43357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43358         (__FSWORD_T_TYPE): Likewise.
43359         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43360         (__FSWORD_T_TYPE): Likewise.
43361         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43362         __SWORD_TYPE with __fsword_t.
43363         (statfs64): Likewise.
43365 2012-05-17  David S. Miller  <davem@davemloft.net>
43367         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43369 2012-05-17  Andreas Jaeger  <aj@suse.de>
43371         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43372         warning.
43374 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43376         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43378 2012-05-17  Andreas Jaeger  <aj@suse.de>
43380         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43381         when it is used.
43383 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43385         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43387 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43389         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43390         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43392 2012-05-17  Andreas Jaeger  <aj@suse.de>
43393             Carlos O'Donell  <carlos_odonell@mentor.com>
43395         [BZ #14059]
43396         * sysdeps/x86_64/multiarch/init-arch.h
43397         (bit_YMM_Usable): Rename to...
43398         (bit_AVX_Usable): ... this.
43399         (bit_FMA4_Usable): New macro.
43400         (bit_XMM_state): New macro.
43401         (bit_YMM_state): New macro.
43402         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43403         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43404         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43405         (CPUID_OSXSAVE): New macro.
43406         (CPUID_AVX): New macro.
43407         (CPUID_FMA4): New macro.
43408         (index_YMM_Usable): Rename to...
43409         (index_AVX_Usable): ... this.
43410         (HAS_AVX): Use HAS_ARCH_FEATURE.
43411         (HAS_FMA4): Likewise.
43412         (HAS_YMM_USABLE): Remove.
43413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43414         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43415         are present.
43416         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43417         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43418         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43419         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43420         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43422 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43424         * math/libm-test.c: Support platforms without multiple rounding modes.
43425         * math/bug-nextafter.c: Support platforms without FP exceptions.
43426         * math/bug-nexttoward.c: Likewise.
43427         * math/test-fenv.c: Likewise.
43428         * math/test-misc.c: Likewise.
43429         * stdlib/bug-getcontext.c: Likewise.
43431 2012-05-17  Andreas Jaeger  <aj@suse.de>
43433         * manual/examples/search.c (critter_cmp): Change signature to
43434         avoid warnings.
43435         * manual/string.texi (Collation Functions): Likewise.
43437 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43439         * bits/types.h: Fold copyright years.
43440         * bits/typesizes.h: Likewise.
43441         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43442         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43443         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43445         * time/time.h: Likewise.
43447 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43449         [BZ #208]
43450         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43451         in instead of returning them.  Return void.
43452         (__libc_mallinfo): Accumulate over all arenas.
43453         (__malloc_stats): Adjust for change in int_mallinfo interface.
43455 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43457         [BZ #10375]
43458         * configure.in (NM): Add AC_CHECK_TOOL for it.
43459         (libc_extra_cflags): New substituted variable.
43460         Check for -fstack-protector being used implicitly.
43461         * configure: Regenerated.
43462         * config.make.in (config-extra-cflags): New variable,
43463         gets @libc_extra_cflags@.
43464         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43466         [BZ #10375]
43467         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43468         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43469         * configure: Regenerated.
43470         * config.make.in (CPPUNDEFS): New substituted variable.
43471         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43472         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43473         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43475 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43477         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43478         (mq_attr): Use __syscall_slong_t.
43480 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43482         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43483         Check __x86_64__ instead of __WORDSIZE.
43484         (_STAT_VER_LINUX): Likewise.
43485         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43486         __syscall_ulong_t and __syscall_slong_t.
43487         (stat64): Likewise.
43489 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43491         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43493 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43495         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43497 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43499         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43500         __syscall_ulong_t.
43502         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43503         include <bits/wordsize.h>.  Check __x86_64__ instead of
43504         __WORDSIZE.
43505         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43506         defined.
43507         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43509         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43510         include <bits/wordsize.h>.  Check __x86_64__ instead of
43511         __WORDSIZE.
43512         (user_regs_struct): Use "__extension__ unsigned long long"
43513         instead of "unsigned long" if __x86_64__ is defined.
43514         (user): Likewise.  Pad after pointer field if __ILP32__ is
43515         defined.
43517 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43519         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43520         versions 5 to 9.
43521         * configure: Regenerated.
43522         * manual/install.texi (texinfo): Increase version requirement to
43523         4.5 or later.
43524         * INSTALL: Regenerated.
43526         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43530         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43532         * sysdeps/x86_64/x32/ffs.c: New file.
43534         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43535         __syscall_ulong_t.
43536         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43537         defined.  Use __syscall_ulong_t.
43538         (shminfo): Use __syscall_ulong_t.
43539         (shm_info): Likewise.
43541         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43542         __syscall_ulong_t.
43544         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43545         <bits/wordsize.h>.
43546         (msgqnum_t): Use __syscall_ulong_t.
43547         (msglen_t): Likewise.
43548         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43549         __syscall_ulong_t.
43551         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43552         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43554         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43556         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43557         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43559         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43560         __syscall_slong_t.
43562         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43563         include <bits/wordsize.h>.  Check __x86_64__ instead of
43564         __WORDSIZE.
43566         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43567         "unsigned long long int" if __x86_64__ is defined.
43568         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43570         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43571         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43572         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43574         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43575         <stdint.h>.
43576         (GET_PC): Cast to uintptr_t first.
43577         (GET_FRAME): Likewise.
43578         (GET_STACK): Likewise.
43580         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43581         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43582         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43583         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43584         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43585         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43586         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43587         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43588         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43589         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43590         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43591         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43592         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43593         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43594         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43595         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43596         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43597         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43598         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43599         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43600         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43601         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43602         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43603         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43604         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43605         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43606         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43607         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43608         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43610 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43612         * Makerules (+depfiles): Also collect depfiles from .oS in
43613         $(extra-objs).
43614         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43615         .oS, $(libnldbl-routines)).
43617         * Makerules (native-compile-mkdep-flags): Define.
43618         * sunrpc/Makefile (extra-objs): Add $(addprefix
43619         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43620         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43621         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43622         calling $(make-target-directory).
43624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43626         * bits/types.h (__snseconds_t): Removed.
43627         * time/time.h (struct timespec): Replace __snseconds_t with
43628         __syscall_slong_t.
43629         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43630         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43631         Likewise.
43632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43633         (__SNSECONDS_T_TYPE): Likewise.
43634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43635         (__SNSECONDS_T_TYPE): Likewise.
43636         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43637         (__SNSECONDS_T_TYPE): Likewise.
43639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43641         * sysdeps/mach/hurd/bits/typesizes.h
43642         (__SYSCALL_SLONG_TYPE): New macro.
43643         (__SYSCALL_ULONG_TYPE): Likewise.
43645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43647         * bits/types.h (__syscall_slong_t): New type.
43648         (__syscall_ulong_t): Likewise.
43650         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43651         (__SYSCALL_ULONG_TYPE): Likewise.
43652         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43653         (__SYSCALL_SLONG_TYPE): Likewise.
43654         (__SYSCALL_ULONG_TYPE): Likewise.
43655         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43656         (__SYSCALL_SLONG_TYPE): Likewise.
43657         (__SYSCALL_ULONG_TYPE): Likewise.
43658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43659         (__SYSCALL_SLONG_TYPE): Likewise.
43660         (__SYSCALL_ULONG_TYPE): Likewise.
43662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43664         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43665         Add sigaltstack-offsets.sym.
43666         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43667         <sigaltstack-offsets.h>.
43668         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43669         longjmp_msg pointer.
43670         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43671         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43672         signal stack.
43673         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43675 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43677         * elf/stackguard-macros.h: Remove file.
43678         * sysdeps/generic/stackguard-macros.h: New file.
43679         * sysdeps/i386/stackguard-macros.h: Likewise.
43680         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43681         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43682         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43683         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43684         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43685         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43686         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43687         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43688         <elf/stackguard-macros.h>.
43690         [BZ #14109]
43691         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43692         __aligned__ in attribute.
43693         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43694         (gregset_t): Likewise.
43696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43698         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43699         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43700         * sysdeps/x86_64/x32/Implies-after: New file.
43702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43704         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43705         and access return value for _dl_profile_fixup.  Use R10_LP to
43706         load frame size.
43708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43710         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43714         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43715         * sysdeps/x86_64/x32/sysdep.h: New file.
43717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43719         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43720         * sysdeps/x86_64/setjmp.S: Likewise.
43722 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43724         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43725         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43726         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43727         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43728         remove unused global constant.
43730 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43732         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43733         include of <not-cancel.h>.
43735 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43737         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43739 2012-05-15  Jeff Law  <law@redhat.com>
43740             Andreas Jaeger  <aj@suse.de>
43742         [BZ #13594]
43743         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43744         out from...
43745         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43746         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43747         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43748         code changing __hst_map_handle.map.
43750 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43752         * configure.in (sysnames): Look for Implies-before and Implies-after
43753         files.
43754         * configure: Regenerated.
43756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43758         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43759         8-byte data alignment with LP_SIZE alignment.
43761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43763         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43764         into R10_LP.
43766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43768         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43772         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43773         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43774         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43775         Likewise.
43776         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43780         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43781         (stackinfo_sub_sp): Likewise.
43783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43785         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43786         RAX_LP.
43788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43790         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43791         into R*_LP.
43793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43795         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43796         sizes into R*_LP.
43798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43800         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43804         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43805         into R11_LP and load __x86_64_shared_cache_size_half into
43806         R8_LP.
43808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43810         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43811         R8_LP.
43813 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43816         logb for POWER7.
43817         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43818         logbf for POWER7.
43819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43820         logbl for POWER7.
43821         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43822         powerpc32/power7/fpu/s_logb.c via #include.
43823         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43824         powerpc32/power7/fpu/s_logbf.c via #include.
43825         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43826         powerpc32/power7/fpu/s_logbl.c via #include.
43828 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43830         * README.libm: Remove file.
43832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43834         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43835         count for x32.  Use R*_LP and omit operand-size suffix.
43837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43839         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43840         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43841         * sysdeps/x86_64/x32/shlib-versions: New file.
43843 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43845         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43846         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43847         Use _dl_fatal_printf instead.
43849 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43851         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43852         set if not set by the user.  Do not allow for being unset.
43853         * sysdeps/unix/sysv/linux/configure: Regenerated.
43855 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43857         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43858         the `q' suffix from lea and replace .quad with ASM_ADDR.
43860 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43863         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43864         instead of $17.
43865         (PTR_DEMANGLE): Likewise.
43867 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43869         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43870         (LP_OP): Likewise.
43871         (ASM_ADDR): Likewise.
43872         (RAX_LP): Likewise.
43873         (RBP_LP): Likewise.
43874         (RBX_LP): Likewise.
43875         (RCX_LP): Likewise.
43876         (RDI_LP): Likewise.
43877         (RSI_LP): Likewise.
43878         (RSP_LP): Likewise.
43879         (R8_LP): Likewise.
43880         (R9_LP): Likewise.
43881         (R10_LP): Likewise.
43882         (R10_LP): Likewise.
43883         (R11_LP): Likewise.
43884         (R12_LP): Likewise.
43885         (R13_LP): Likewise.
43886         (R14_LP): Likewise.
43887         (R15_LP): Likewise.
43889 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43891         * sysdeps/x86_64/x32/dl-machine.h: New file.
43893 2012-05-14  Andreas Jaeger  <aj@suse.de>
43895         * manual/Makefile (subdir): Remove export of subdir.
43896         (all): Remove target.
43897         (.PHONY): Remove all from list.
43898         (mkinstalldirs): Remove.
43899         (.PHONY): Remove installdirs from list.
43900         ($(inst_infodir)/libc.info): Use make-target-directory.
43901         (installdirs): Remove.
43902         (subdir_%): Remove.
43903         (glibc-targets): Remove.
43904         (lib): Remove.
43905         (stubs): Remove.
43906         ($(objpfx)stubs ../po/manual.pot): Remove.
43907         ($(objpfx)stamp%): Remove.
43908         (make-target-directory): Remove.
43909         (subdir_install): Remove.
43910         (routines): Remove.
43911         (aux): Remove.
43912         (sources): Remove.
43913         (objects): Remove.
43914         (headers): Remove.
43916         [BZ #13750]
43917         * manual/.gitignore: Remove, it's not needed anymore.
43918         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43919         all files in it.
43920         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43921         directory.
43922         (texis): Renamed to $(objpfx)texis.
43923         (texis-path): New, contains path to generated files.
43924         (chapters.%): Use texis-path for complete path, add extra argument
43925         libc-texinfo.sh.
43926         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43927         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43928         (summary,texi, stamp-summary): Use complete path of
43929         files. Generate files in build dir.
43930         (dir-add.texi): Build in build dir.
43931         (libm-err.texi,stamp-libm-err): Likewise.
43932         (version.texi, stamp-version): Likewise.
43933         (.%c.texi): Likewise.
43934         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43935         (mostlyclean): Remove target.
43936         (realclean): Remove target.
43937         (generated): Add new variable with contents from mostlyclean and
43938         realclean, remove entries duplicated in common-mostlyclean, add
43939         stamp-libm-err and stamp-version.
43940         (generated-dirs): Add libc directory.
43941         ($(inst_infodir)/libc.info): Install files from build dir.
43943         * manual/install.texi (Configuring and compiling): Adjust since
43944         the info files are not part of the tar ball anymore.
43946 2012-05-14  Andreas Jaeger  <aj@suse.de>
43948         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43949         variable.
43951 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43953         [BZ #13717]
43954         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43955         to 2.2.0 where earlier.
43956         * sysdeps/unix/sysv/linux/configure: Regenerated.
43957         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43958         Remove conditional code.
43959         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43960         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43961         Remove conditional code.
43962         [!__NR_lchown]: Likewise.
43963         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43964         [__NR_lchown]: Likewise.
43965         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43966         comment referencing __ASSUME_LCHOWN_SYSCALL.
43967         * sysdeps/unix/sysv/linux/i386/sigaction.c
43968         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43969         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43970         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43971         Remove conditional code.
43972         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43973         (__protocol_available): Remove #if 0 code.
43974         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43975         conditional code.
43976         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43977         * sysdeps/unix/sysv/linux/kernel-features.h
43978         (__ASSUME_GETCWD_SYSCALL): Don't define.
43979         (__ASSUME_REALTIME_SIGNALS): Likewise.
43980         (__ASSUME_PREAD_SYSCALL): Likewise.
43981         (__ASSUME_PWRITE_SYSCALL): Likewise.
43982         (__ASSUME_POLL_SYSCALL): Likewise.
43983         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43984         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43985         non-SPARC.
43986         (__ASSUME_SIOCGIFNAME): Don't define.
43987         (__ASSUME_MSG_NOSIGNAL): Likewise.
43988         (__ASSUME_SENDFILE): Define unconditionally.
43989         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43990         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43991         conditional code.
43992         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43993         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43994         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43995         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43996         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43997         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43998         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44000         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44001         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44003         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44004         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44006         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44007         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44009         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44010         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44012         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44013         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44015         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44016         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44018         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44019         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44021         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44022         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44023         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44024         Remove conditional code.
44025         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44026         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44027         Remove conditional code.
44028         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44029         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44030         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44031         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44032         Remove conditional code.
44033         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44034         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44035         Remove conditional code.
44036         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44037         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44038         Remove conditional code.
44039         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44040         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44041         Remove conditional code.
44042         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44043         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44044         Remove conditional code.
44045         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44046         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44047         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44048         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44049         * sysdeps/unix/sysv/linux/sigaction.c
44050         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44051         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44052         * sysdeps/unix/sysv/linux/sigpending.c
44053         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44054         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44055         * sysdeps/unix/sysv/linux/sigprocmask.c
44056         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44057         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44058         * sysdeps/unix/sysv/linux/sigsuspend.c
44059         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44060         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44061         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44062         (__libc_missing_rt_sigs): Remove.
44063         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44064         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44065         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44066         Remove conditional code.
44067         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44068         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44069         return 1.
44070         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44071         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44072         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44073         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44075 2012-05-14  Andreas Jaeger  <aj@suse.de>
44077         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44078         it's not used in glibc.
44079         (__coshm1): Likewise.
44080         (__acosh1p): Likewise.
44081         (__sgn): Likewise.
44083         * manual/string.texi (Copying and Concatenation): Add missing
44084         variable in concat example.
44085         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44087 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44089         [BZ #14103]
44090         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44091         __builtin_clzl with __builtin_clzll.
44093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44095         [BZ #14104]
44096         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44097         libc_freeres_ptr.
44099 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44101         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44102         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44103         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44104         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44106 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44108         * NEWS: Update ia64 info.
44110 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44112         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44113         used as bcopy.
44115 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44117         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44118         * sysdeps/unix/syscalls.list (dup3): Likewise.
44119         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44120         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44122 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44124         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44125         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44127 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44129         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44130         thread pointer.
44131         (TLS_IE): Use mov/add instead of movq/addq to load thread
44132         pointer.
44133         (TLS_GD_PREFIX): New.
44134         (TLS_GD): Use it.
44136 2012-05-11  David S. Miller  <davem@davemloft.net>
44138         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44139         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44140         (_FPU_SETCW): Likewise.
44142 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44144         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44145         is 32-byte aligned.
44147 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44149         [BZ #11837]
44150         * iconvdata/gb18030.c: Update tables.
44151         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44152         characters specially.
44153         (BODY for TO_LOOP): Add encoding of missing ranges.
44155 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44157         [BZ #13673]
44158         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44159         * sysdeps/mach/hurd/dup3.c: Likewise.
44160         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44161         * sysdeps/powerpc/memmove.c:: Likewise.
44163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44165         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44166         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44168 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44170         * elf/elf.h (R_X86_64_RELATIVE64): New.
44171         (R_X86_64_NUM): Updated.
44172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44173         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44174         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44175         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44176         tst-quad1pie tst-quad2pie
44177         (modules-names): Add tst-quadmod1 tst-quadmod2.
44178         ($(objpfx)tst-quad1): New dependency.
44179         ($(objpfx)tst-quad2): Likewise.
44180         ($(objpfx)tst-quad1pie): Likewise.
44181         ($(objpfx)tst-quad2pie): Likewise.
44182         * sysdeps/x86_64/tst-quad1.c: New file.
44183         * sysdeps/x86_64/tst-quad1pie.c: New file.
44184         * sysdeps/x86_64/tst-quad2.c: Likewise.
44185         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44186         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44187         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44188         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44189         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44191 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44193         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44194         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44195         * streams/stropts.h (t_scalar_t): Define type.
44197         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44198         (_PATH_PRESERVE): Set to "/var/lib".
44199         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44201         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44202         instead of int.
44204         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44205         if __dir_mkfile succeeded.
44207         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44208         checking for _hurd_dtablesize.  Unlock it right after having
44209         finished _hurd_dtable allocation.
44211 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44213         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44214         * sysdeps/mach/hurd/configure: Regenerated.
44215         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44216         special-casing to...
44217         * sysdeps/gnu/configure.in: ... this new file.
44218         * sysdeps/unix/sysv/linux/configure: Regenerated.
44219         * sysdeps/gnu/configure: New generated file.
44221         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44222         for Linux: use nsec instead of usec, as well as:
44223         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44224         members of type struct timespec.
44225         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44226         New macros.
44227         (struct stat64): Likewise.
44228         (_STATBUF_ST_NSEC): New macro.
44229         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44231         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44232         __strtoul_internal rather than strtoul.
44234 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44236         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44237         and reject them.
44239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44241         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44242         which preserves existing values.
44243         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44245 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44247         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44248         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44249         greater than FD_SETSIZE.
44251 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44253         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44254         allocated, call __vm_protect to finish enabling the existing space, and
44255         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44256         allocate the remainder.
44258 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44260         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44261         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44265         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44266         sysdeps/mach/hurd/readlink.c.
44268         * posix/tst-sysconf.c (posix_options): Only use
44269         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44270         _POSIX_SYNCHRONIZED_IO when they are defined
44271         * sysdeps/mach/hurd/bits/posix_opt.h:
44272         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44273         (_XOPEN_REALTIME): Undefine macro.
44274         (_XOPEN_REALTIME_THREADS): Undefine macro.
44275         (_XOPEN_SHM): Undefine macro.
44276         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44277         macro to -1.
44278         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44279         macro to -1.
44280         (_POSIX_ASYNC_IO): Undefine macro.
44281         (_POSIX_PRIORITIZED_IO): Undefine macro.
44282         (_POSIX_SPIN_LOCKS): Define macro to -1.
44284         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44285         SA_NODEFER, SA_RESETHAND.
44286         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44287         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44288         F_DUPFD_CLOEXEC.
44290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44292         * elf/Makefile (pldd-modules): Define unconditionally.
44294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44296         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44300         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44301         Return ENOENT when name is empty.
44302         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44304 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44306         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44308         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44312         Fix mlock in all cases except non-readable pages.
44313         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44314         instead of VM_PROT_ALL as parameter to __vm_wire function.
44316         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44317         (__mkdir): When path is `/', just fail with EEXIST.
44318         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44320 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44322         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44323         <sys/uio.h> (for writev).
44324         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44325         and <sys/param.h> (for MIN).
44327 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44329         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44330         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44331         if interrupted.
44333 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44335         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44336         Depend on against $(link-rpcuserlibs).
44338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44340         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44341         (__libc_stack_end): Do not use attribute_relro.
44342         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44343         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44344         to libthread-provided value.
44345         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44346         attribute_relro.
44348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44350         [BZ #3748]
44351         * bits/libc-lock.h (__libc_once_get): New macro.
44352         * sysdeps/mach/bits/libc-lock.h: Likewise.
44353         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44354         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44355         instead of using implementation details.
44357         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44358         * libio/freopen.c: Likewise.
44359         * libio/freopen64.c: Likewise.
44360         * misc/syslog.c: Likewise.
44361         * nscd/connections.c: Likewise.
44362         * nscd/netgroupcache.c: Likewise.
44363         * sysdeps/posix/getcwd.c: Likewise.
44365 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44367         * math/w_ilogbf.c: Add #include <limits.h>.
44369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44371         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44372         path instead of returning without unlocking.
44374         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44375         immediate-write ioctls.
44376         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44378 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44380         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44381         __builtin_frame_address instead of making assumptions about the
44382         location of the return address relative to DATA.  Force early load of
44383         the return address.
44384         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44385         __builtin_frame_address.
44387         dup3 for GNU Hurd.
44388         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44389         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44390         implement dup3 and do some further code clean-ups.
44391         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44392         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44396         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44398         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44399         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44400         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44401         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44402         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44403         d->port.lock.
44405         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44406         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44407         when handler == SIG_ERR, not when handler != SIG_ERR.
44409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44411         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44412         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44413         definitions.
44415         accept4 for GNU Hurd.
44416         * include/sys/socket.h (__libc_accept4): New prototype.
44417         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44418         to implement __libc_accept4.
44419         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44420         __libc_accept4.
44421         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44423         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44424         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44425         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44426         signal-defines.sym.
44428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44430         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44434         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44435         assertion on O_CLOEXEC flag.
44436         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44437         * hurd/intern-fd.c: Likewise.
44438         * hurd/port2fd.c: Likewise.
44440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44442         [BZ #3906]
44443         * bits/in.h (IPV6_PKTINFO): Define new macro.
44444         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44446 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44448         [BZ #13954]
44449         [BZ #13955]
44450         [BZ #13956]
44451         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44452         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44453         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44454         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44455         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44456         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44457         * math/libm-test.inc (logb_test) : Additional logb tests.
44459 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44460             Andreas Jaeger  <aj@suse.de>
44462         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44463         * configure: Regenerated.
44464         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44465         * config.make.in (link-obsolete-rpc): New substituted variable.
44466         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44467         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44468         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44469         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44470         so that libc.a contains the symbols.
44471         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44472         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44473         * sunrpc/auth_none.c: Likewise.
44474         * sunrpc/auth_unix.c: Likewise.
44475         * sunrpc/authdes_prot.c: Likewise.
44476         * sunrpc/authuxprot.c: Likewise.
44477         * sunrpc/clnt_gen.c: Likewise.
44478         * sunrpc/clnt_perr.c: Likewise.
44479         * sunrpc/clnt_raw.c: Likewise.
44480         * sunrpc/clnt_simp.c: Likewise.
44481         * sunrpc/clnt_tcp.c: Likewise.
44482         * sunrpc/clnt_udp.c: Likewise.
44483         * sunrpc/clnt_unix.c: Likewise.
44484         * sunrpc/des_crypt.c: Likewise.
44485         * sunrpc/des_soft.c: Likewise.
44486         * sunrpc/get_myaddr.c: Likewise.
44487         * sunrpc/key_call.c: Likewise.
44488         * sunrpc/key_prot.c: Likewise.
44489         * sunrpc/netname.c: Likewise.
44490         * sunrpc/pm_getmaps.c: Likewise.
44491         * sunrpc/pm_getport.c: Likewise.
44492         * sunrpc/pmap_clnt.c: Likewise.
44493         * sunrpc/pmap_prot.c: Likewise.
44494         * sunrpc/pmap_prot2.c: Likewise.
44495         * sunrpc/pmap_rmt.c: Likewise.
44496         * sunrpc/publickey.c: Likewise.
44497         * sunrpc/rpc_cmsg.c: Likewise.
44498         * sunrpc/rpc_common.c: Likewise.
44499         * sunrpc/rpc_dtable.c: Likewise.
44500         * sunrpc/rpc_prot.c: Likewise.
44501         * sunrpc/rpc_thread.c: Likewise.
44502         * sunrpc/rtime.c: Likewise.
44503         * sunrpc/svc.c: Likewise.
44504         * sunrpc/svc_auth.c: Likewise.
44505         * sunrpc/svc_raw.c: Likewise.
44506         * sunrpc/svc_run.c: Likewise.
44507         * sunrpc/svc_tcp.c: Likewise.
44508         * sunrpc/svc_udp.c: Likewise.
44509         * sunrpc/svc_unix.c: Likewise.
44510         * sunrpc/svcauth_des.c: Likewise.
44511         * sunrpc/xcrypt.c: Likewise.
44512         * sunrpc/xdr.c: Likewise.
44513         * sunrpc/xdr_array.c: Likewise.
44514         * sunrpc/xdr_float.c: Likewise.
44515         * sunrpc/xdr_intXX_t.c: Likewise.
44516         * sunrpc/xdr_mem.c: Likewise.
44517         * sunrpc/xdr_rec.c: Likewise.
44518         * sunrpc/xdr_ref.c: Likewise.
44519         * sunrpc/xdr_sizeof.c: Likewise.
44520         * sunrpc/xdr_stdio.c: Likewise.
44522 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44524         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44525         change.  Update copyright years.
44527 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44529         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44531 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44532             Joseph Myers  <joseph@codesourcery.com>
44533             Paul Pluzhnikov  <ppluzhnikov@google.com>
44535         [BZ #14012]
44536         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44537         requiring rpcgen.
44538         [cross-compiling] (extra-libs): Likewise.
44539         [cross-compiling] (extra-libs-others): Likewise.
44540         [cross-compiling] (librpcsvc-routines): Likewise.
44541         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44542         [cross-compiling] (omit-deps): Likewise.
44543         (sunrpc-CPPFLAGS): New variable.
44544         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44545         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44546         (cross-rpcgen-objs): New variable.
44547         (extra-objs): Append $(cross-rpcgen-objs).
44548         ($(cross-rpcgen-objs)): New rule.
44549         ($(objpfx)cross-rpcgen): Likewise.
44550         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44551         comment.
44552         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44553         ($(objpfx)x%.stmp): Likewise.
44554         * sunrpc/proto.h [IS_IN_build] (_): Define.
44555         [IS_IN_build] (_libc_intl_domainname): Likewise.
44557 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44560         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44561         and R_X86_64_TPOFF64.
44563 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44565         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44566         sysdeps/unix/sysv/syscalls.list.
44567         (stime): Likewise.
44568         (utime): Likewise.
44569         * sysdeps/unix/sysv/syscalls.list: Remove file.
44571 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44573         [BZ #3440]
44574         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44575         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44576         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44577         (__LC_IDENTIFICATION): Make these macros useful in #if
44578         expressions, as required by C99.
44580 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44582         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44583         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44584         after this.
44586 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44588         * stdlib/longlong.h: Updated from GCC.
44590 2012-05-09  Andreas Jaeger  <aj@suse.de>
44592         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44593         default is first entry.
44594         (run_mode): Set type.
44595         (main): Remove informal message about syslog.
44596         (options): Fix typo.
44598         [BZ #14053]
44599         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44600         to asm.
44601         (lrint): Likewise.
44602         (llrintf): Likewise.
44603         (llrint): Likewise.
44604         (rint): Likewise.
44605         (rintf): Likewise.
44606         (nearbyint): Likewise.
44607         (nearbyintf): Likewise.
44609 2012-05-09  Andreas Jaeger  <aj@suse.de>
44610             Pedro Alves  <palves@redhat.com>
44612         * nscd/nscd.c (run_mode): Use enum.
44613         (main): Cleanup coding style issue.
44615 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44616             Andreas Jaeger  <aj@suse.de>
44618         * nscd/nscd.c (go_background): Replaced with...
44619         (run_mode): ... this.
44620         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44621         (options): Add -F --foreground.
44622         (main): Implement it.
44623         (parse_opt): Parse it.
44625 2012-05-09  Andreas Jaeger  <aj@suse.de>
44627         [BZ #14083]
44628         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44629         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44630         -Wconversion warning.
44631         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44632         Likewise.
44634 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44636         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44637         == 0.
44638         (LC_ALL): Use macro-int-constant.
44639         (LC_COLLATE): Likewise.
44640         (LC_CTYPE): Likewise.
44641         (LC_MESSAGES): Likewise.
44642         (LC_MONETARY): Likewise.
44643         (LC_NUMERIC): Likewise.
44644         (LC_TIME): Likewise.
44645         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44646         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44647         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44648         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44649         Specify type.
44650         [C99-based standards] (float_t): Expect type.
44651         [C99-based standards] (double_t): Expect type.
44652         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44653         type.
44654         [C99-based standards] (HUGE_VALL): Likewise.
44655         [C99-based standards] (INFINITY): Likewise.
44656         [C99-based standards] (NAN): Likewise.
44657         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44658         [C99-based standards] (FP_NAN): Likewise.
44659         [C99-based standards] (FP_NORMAL): Likewise.
44660         [C99-based standards] (FP_SUBNORMAL): Likewise.
44661         [C99-based standards] (FP_ZERO): Likewise.
44662         [C99-based standards] (FP_FAST_FMA): Use
44663         optional-macro-int-constant.  Specify type.  Require == 1.
44664         [C99-based standards] (FP_FAST_FMAF): Likewise.
44665         [C99-based standards] (FP_FAST_FMAL): Likewise.
44666         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44667         [C99-based standards] (FP_ILOGBNAN): Likewise.
44668         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44669         Specify type.
44670         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44671         [C99-based standards] (math_errhandling): Specify type.
44672         [ISO99 || ISO11] (signgam): Do not allow.
44673         [non-C99-based standards] (copysignf): Do not allow.
44674         [non-C99-based standards] (exp2f): Likewise.
44675         [non-C99-based standards] (log2f): Likewise.
44676         [non-C99-based standards] (modff): Allow.
44677         [non-C99-based standards] (erff): Do not allow.
44678         [non-C99-based standards] (erfcf): Likewise.
44679         [non-C99-based standards] (gammaf): Likewise.
44680         [non-C99-based standards] (hypotf): Likewise.
44681         [non-C99-based standards] (j0f): Likewise.
44682         [non-C99-based standards] (j1f): Likewise.
44683         [non-C99-based standards] (jnf): Likewise.
44684         [non-C99-based standards] (lgammaf): Likewise.
44685         [non-C99-based standards] (tgammaf): Likewise.
44686         [non-C99-based standards] (y0f): Likewise.
44687         [non-C99-based standards] (y1f): Likewise.
44688         [non-C99-based standards] (ynf): Likewise.
44689         [non-C99-based standards] (isnanf): Likewise.
44690         [non-C99-based standards] (acoshf): Likewise.
44691         [non-C99-based standards] (asinhf): Likewise.
44692         [non-C99-based standards] (atanhf): Likewise.
44693         [non-C99-based standards] (cbrtf): Likewise.
44694         [non-C99-based standards] (expm1f): Likewise.
44695         [non-C99-based standards] (ilogbf): Likewise.
44696         [non-C99-based standards] (log1pf): Likewise.
44697         [non-C99-based standards] (logbf): Likewise.
44698         [non-C99-based standards] (nextafterf): Likewise.
44699         [non-C99-based standards] (remainderf): Likewise.
44700         [non-C99-based standards] (rintf): Likewise.
44701         [non-C99-based standards] (scalbf): Likewise.
44702         [non-C99-based standards] (copysignl): Likewise.
44703         [non-C99-based standards] (exp2l): Likewise.
44704         [non-C99-based standards] (log2l): Likewise.
44705         [non-C99-based standards] (modfl): Allow.
44706         [non-C99-based standards] (erfl): Do not allow.
44707         [non-C99-based standards] (erfcl): Likewise.
44708         [non-C99-based standards] (gammal): Likewise.
44709         [non-C99-based standards] (hypotl): Likewise.
44710         [non-C99-based standards] (j0l): Likewise.
44711         [non-C99-based standards] (j1l): Likewise.
44712         [non-C99-based standards] (jnl): Likewise.
44713         [non-C99-based standards] (lgammal): Likewise.
44714         [non-C99-based standards] (tgammal): Likewise.
44715         [non-C99-based standards] (y0l): Likewise.
44716         [non-C99-based standards] (y1l): Likewise.
44717         [non-C99-based standards] (ynl): Likewise.
44718         [non-C99-based standards] (isnanl): Likewise.
44719         [non-C99-based standards] (acoshl): Likewise.
44720         [non-C99-based standards] (asinhl): Likewise.
44721         [non-C99-based standards] (atanhl): Likewise.
44722         [non-C99-based standards] (cbrtl): Likewise.
44723         [non-C99-based standards] (expm1l): Likewise.
44724         [non-C99-based standards] (ilogbl): Likewise.
44725         [non-C99-based standards] (log1pl): Likewise.
44726         [non-C99-based standards] (logbl): Likewise.
44727         [non-C99-based standards] (nextafterl): Likewise.
44728         [non-C99-based standards] (remainderl): Likewise.
44729         [non-C99-based standards] (rintl): Likewise.
44730         [non-C99-based standards] (scalbl): Likewise.
44731         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44732         [non-C99-based standards] (FP_*): Do not allow.
44733         [C99-based standards] (FP_*): Change to
44734         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44735         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44736         allow.
44737         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44738         (SIG_ERR): Likewise.
44739         [X/Open-based standards] (SIG_HOLD): Likewise.
44740         (SIG_IGN): Likewise.
44741         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44742         positive value.
44743         (SIGFPE): Likewise.
44744         (SIGILL): Likewise.
44745         (SIGINT): Likewise.
44746         (SIGSEGV): Likewise.
44747         (SIGTER): Likewise.
44748         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44749         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44750         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44751         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44752         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44753         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44754         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44755         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44756         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44757         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44758         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44759         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44760         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44761         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44762         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44763         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44764         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44765         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44766         [X/Open-based standards] (SIGTRAP): Likewise.
44767         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44768         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44769         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44770         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44771         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44772         allow.
44774 2012-05-08  Ian Wienand  <ianw@vmware.com>
44776         [BZ #14080]
44777         * time/tzset.c (__tzset_parse_tz): Update default rules for
44778         daylight time changes in the Energy Policy Act of 2005.
44780 2012-05-09  Andreas Jaeger  <aj@suse.de>
44782         [BZ #13983]
44783         * elf/ldconfig.c (parse_conf): Change string to make clear that
44784         ldconfig only issued a warning if ld.so.conf does not exist.
44786 2012-05-08  David S. Miller  <davem@davemloft.net>
44788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44789         movxtod instead of popping the value on the stack.
44791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44793 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44795         * config.h.in: Add HAVE_ARM_PCS_VFP.
44797 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44799         [BZ #13979]
44800         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44801         checking but the checks are disabled for any reason.
44803 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44805         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44806         and ELF64_R_TYPE with ELFW(R_TYPE).
44808 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44810         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44811         (ulimit): Likewise.
44813         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44814         (settimeofday): Likewise.
44816 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44818         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44819         a struct th_u2 inside the union, and move tu_block/tu_code into
44820         a new th_u3 union of tu_block/tu_code inside of that.  Move
44821         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44822         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44823         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44824         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44825         (th_stuff): Change to th_u1.tu_stuff.
44826         (th_data): Define.
44827         (th_msg): Change to th_u1.th_u2.tu_data.
44829 2012-05-07  David S. Miller  <davem@davemloft.net>
44831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44833         [BZ #14074]
44834         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44835         (SETUP_PIC_REG): Use it.
44836         (SETUP_PIC_REG_LEAF): Use it.
44838 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44840         [BZ #13885]
44841         [BZ #13923]
44842         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44843         USE_AS_EXPM1L.
44844         (EXPL_FINITE): Likewise.
44845         (FLDLOG): Likewise.
44846         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44847         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44848         e_expl.S.
44849         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44850         USE_AS_EXPM1L.
44851         (EXPL_FINITE): Likewise.
44852         (FLDLOG): Likewise.
44853         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44854         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44855         e_expl.S.
44856         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44857         test of -max_value argument for long double.
44858         * sysdeps/i386/fpu/libm-test-ulps: Update.
44859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44861 2012-05-06  David S. Miller  <davem@davemloft.net>
44863         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44864         quad soft-float symbols whose references which are compiler
44865         generated.
44866         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44868 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44870         [BZ #13884]
44871         [BZ #13914]
44872         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44873         USE_AS_EXP10L.
44874         (EXPL_FINITE): Likewise.
44875         (FLDLOG): Likewise.
44876         (c0): Likewise.
44877         (c1): Likewise.
44878         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44879         Adjust comments for base varying.
44880         (__expl_finite): Change alias to EXPL_FINITE.
44881         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44882         e_expl.S.
44883         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44884         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44885         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44886         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44887         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44888         USE_AS_EXP10L.
44889         (EXPL_FINITE): Likewise.
44890         (FLDLOG): Likewise.
44891         (c0): Likewise.
44892         (c1): Likewise.
44893         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44894         Adjust comments for base varying.
44895         (__expl_finite): Change alias to EXPL_FINITE.
44896         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44897         tests for bugs.
44898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44900         [BZ #14064]
44901         * math/libm-test.inc (check_float_internal): Correct ulp
44902         calculation for subnormal expected results.
44904 2012-05-06  Andreas Jaeger  <aj@suse.de>
44906         * Makeconfig (+math-flags): New, set to -frounding-math.
44907         (+cflags): Add +math-flags so that all of glibc gets compiled with
44908         it.
44910         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44912 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44914         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44915         Disable one test.
44917         [BZ #13787]
44918         [BZ #13922]
44919         [BZ #14036]
44920         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44921         (__ieee754_expl): Allow for and saturate large arguments.
44922         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44923         (u_threshold): Likewise.
44924         (__exp): Call __ieee754_exp before checking for overflow and
44925         underflow.
44926         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44927         (u_threshold): Likewise.
44928         (__expf): Call __ieee754_expf before checking for overflow and
44929         underflow.
44930         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44931         (u_threshold): Likewise.
44932         (__expl): Call __ieee754_expl before checking for overflow and
44933         underflow.
44934         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44935         (__ieee754_expl): Allow for and saturate large arguments.
44936         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44937         missing overflow exception on overflow.
44938         (expm1_test): Do not allow missing overflow exception on overflow.
44940         * sysdeps/i386/fpu/e_expl.c: Move to ...
44941         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44942         rather than using inline asm.
44943         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44944         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44945         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44947         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44948         (nice): Likewise.
44949         (poll): Likewise.
44950         (signal): Likewise.
44951         (time): Likewise.
44952         (times): Likewise.
44954 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44956         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44957         sysdeps/unix/common/syscalls.list.
44958         (fchmod): Likewise.
44959         (fchown): Likewise.
44960         (ftruncate): Likewise.
44961         (getrusage): Likewise.
44962         (gettimeofday): Likewise.
44963         (setpgid): Likewise.
44964         (setregid): Likewise.
44965         (setreuid): Likewise.
44966         (sigaction): Likewise.
44967         (truncate): Likewise.
44968         (vhangup): Likewise.
44969         * sysdeps/unix/common/syscalls.list: Remove file.
44970         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44971         * sysdeps/unix/sysv/linux/Implies: Likewise.
44973 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44975         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44977         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44978         Moved to ...
44979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44980         Here.
44981         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44982         to ...
44983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44984         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44985         to ...
44986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44987         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44988         to ...
44989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44990         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44991         to ...
44992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44993         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44994         to ...
44995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44996         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44997         to ...
44998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44999         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45000         to ...
45001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45002         Here.
45003         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45004         to ...
45005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45006         Here.
45007         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45008         to ...
45009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45010         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45011         Moved to ...
45012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45013         Here.
45014         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45015         to ...
45016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45018 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45020         * sysdeps/unix/common/bits/dirent.h: Remove file.
45021         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45023         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45024         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45025         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45026         * sysdeps/unix/bsd/isatty.c: Likewise.
45027         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45028         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45029         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45031 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45033         [BZ #13563]
45034         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45035         long double comparison inaccuracies.
45036         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45039 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45041         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45042         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45044 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45046         [BZ #14049]
45047         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45048         nonzero digits before rounding a hex value.
45049         * stdlib/tst-strtod.c (tests): Add another test.
45051 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45053         * sysdeps/s390/fpu/libm-test-ulps: Update.
45055 2012-05-03  Andreas Jaeger  <aj@suse.de>
45057         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45058         does not get optimized out.
45059         (malloc_opt_barrier): New.
45061 2012-05-03  Andreas Jaeger  <aj@suse.de>
45062             Roland McGrath  <roland@hack.frob.com>
45064         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45065         intermediate file deletion.
45066         (generated): Add .symlist files.
45068 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45070         [BZ #13775]
45071         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45072         Redirect under this condition.
45073         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45074         [__USE_GNU] (__dprintf_chk): Not under this condition.
45075         [__USE_GNU] (__vdprintf_chk): Likewise.
45076         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45077         under this condition.
45078         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45079         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45080         [__USE_XOPEN2K8] (vdprintf): Likewise.
45081         [__USE_GNU] (__dprintf_chk): Not under this condition.
45082         [__USE_GNU] (__vdprintf_chk): Likewise.
45083         [__USE_GNU] (dprintf): Likewise.
45084         [__USE_GNU] (vdprintf): Likewise.
45086 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45088         * elf/Makefile (common-generated): Set this instead of generated for
45089         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45090         $(all-built-dso)-derived lists.
45092 2012-05-03  Andreas Jaeger  <aj@suse.de>
45094         * sysdeps/i386/fpu/libm-test-ulps: Update.
45096         * FAQ: Removed.
45097         * FAQ.in: Likewise.
45098         * scripts/gen-FAQ.pl: Likewise.
45099         * manual/install.texi (Installation): Point to online location of
45100         FAQ.
45101         * Makefile (files-for-dist): Remove FAQ.
45102         (FAQ): Remove.
45104 2012-05-02  Allan McRae  <allan@archlinux.org>
45106         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45107         (LDFLAGS-reldepmod5.so): Likewise.
45108         (LDFLAGS-reldep6mod1.so): Likewise.
45109         (LDFLAGS-reldep6mod4.so): Likewise.
45110         (LDFLAGS-reldep8mod3.so): Likewise.
45111         (LDFLAGS-unload4mod1.so): Likewise.
45112         (LDFLAGS-unload4mod2.so): Likewise.
45113         (LDFLAGS-tst-initorder): Likewise.
45114         (LDFLAGS-tst-initordera2.so): Likewise.
45115         (LDFLAGS-tst-initordera3.so): Likewise.
45116         (LDFLAGS-tst-initordera4.so): Likewise.
45117         (LDFLAGS-tst-initorderb2.so): Likewise.
45118         (LDFLAGS-noload): Likewise.
45119         (LDFLAGS-next): Likewise.
45120         (LDFLAGS-order2mod1.so): Likewise.
45121         (LDFLAGS-order2mod2.so): Likewise.
45122         (LDFLAGS-tst-initorder2): Likewise.
45123         (LDFLAGS-tst-initorder2a.so): Likewise.
45124         (LDFLAGS-tst-initorder2b.so): Likewise.
45125         (LDFLAGS-tst-initorder2c.so): Likewise.
45126         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45128 2012-05-02  David S. Miller  <davem@davemloft.net>
45130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45132 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45134         [BZ #14055]
45135         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45137 2012-05-02  Andreas Jaeger  <aj@suse.de>
45139         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45140         since we manipulate rounding mode.
45141         (CPPFLAGS-test-idouble.c): Likewise.
45142         (CPPFLAGS-test-ifloat.c): Likewise.
45143         (CFLAGS-test-ldouble.c): Likewise.
45144         (CFLAGS-test-double.c): Likewise.
45145         (CFLAGS-test-float.c): Likewise.
45146         (CFLAGS-test-misc.c): Likewise.
45147         (CFLAGS-test-test-fenv.c): Likewise.
45149 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45151         [BZ #2550]
45152         [BZ #2570]
45153         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45154         comparisons to determine direction to adjust input.
45156 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45158         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45159         output to the target.
45161         * scripts/localplt.awk: New file.
45162         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45163         (check-localplt-CFLAGS): Variable removed.
45164         ($(all-built-dso:=.jmprel)): New static pattern rule.
45165         (generated): Add those targets.
45166         (localplt-built-dso): New variable.
45167         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45169         * elf/check-localplt.c: File removed.
45171         * scripts/check-execstack.awk: New file.
45172         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45173         (check-execstack-CFLAGS): Variable removed.
45174         ($(objpfx)check-execstack.h): Target removed.
45175         ($(objpfx)execstack-default): New target.
45176         (generated): Add that instead of check-execstack.h.
45177         ($(all-built-dso:=.phdr)): New static pattern rule.
45178         (generated): Add those targets.
45179         * elf/check-execstack.c: File removed.
45181         * scripts/check-textrel.awk: New file.
45182         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45183         (check-textrel-CFLAGS): Variable removed.
45184         (all-built-dso): Use := to define.o
45185         ($(all-built-dso:=.dyn)): New static pattern rule.
45186         (generated): Add those targets.
45187         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45188         * config.make.in (READELF): New substituted variable.
45189         * elf/check-textrel.c: File removed.
45191 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45193         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45194         allow.
45195         * conform/data/ctype.h-data [C99-based standards] (isblank):
45196         Expect function.
45197         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45198         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45199         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45200         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45201         Specify type.  Require positive value.
45202         (EILSEQ): Likewise.
45203         (ERANGE): Likewise.
45204         [ISO || POSIX] (EILSEQ): Do not expect.
45205         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45206         Specify type.  Require positive value.
45207         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45208         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45209         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45210         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45211         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45212         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45213         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45214         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45215         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45216         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45217         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45218         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45219         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45220         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45221         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45222         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45223         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45224         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45225         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45226         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45227         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45228         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45229         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45230         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45231         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45232         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45233         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45234         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45235         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45236         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45237         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45238         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45239         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45240         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45241         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45242         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45243         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45244         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45245         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45246         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45247         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45248         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45249         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45250         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45251         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45252         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45253         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45254         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45255         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45256         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45257         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45258         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45259         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45260         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45261         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45262         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45263         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45264         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45265         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45266         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45267         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45268         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45269         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45270         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45271         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45272         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45273         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45274         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45275         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45276         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45277         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45278         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45279         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45280         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45281         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45282         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45283         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45284         Require >= 2.
45285         (FLT_ROUNDS): Expect as macro, not constant.
45286         (FLT_MANT_DIG): Use macro-int-constant.
45287         (DBL_MANT_DIG): Likewise.
45288         (LDBL_MANT_DIG): Likewise.
45289         (FLT_DIG): Likewise.
45290         (DBL_DIG): Likewise.
45291         (LDBL_DIG): Likewise.
45292         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45293         (DBL_MIN_EXP): Likewise.
45294         (LDBL_MIN_EXP): Likewise.
45295         (FLT_MAX_EXP): Use macro-int-constant.
45296         (DBL_MAX_EXP): Likewise.
45297         (LDBL_MAX_EXP): Likewise.
45298         (FLT_MAX_10_EXP): Likewise.
45299         (DBL_MAX_10_EXP): Likewise.
45300         (LDBL_MAX_10_EXP): Likewise.
45301         (FLT_MAX): Use macro-constant.
45302         (DBL_MAX): Likewise.
45303         (LDBL_MAX): Likewise.
45304         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45305         (DBL_EPSILON): Likewise.
45306         (LDBL_EPSILON): Likewise.
45307         (FLT_MIN): Likewise.
45308         (DBL_MIN): Likewise.
45309         (LDBL_MIN): Likewise.
45310         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45311         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45312         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45313         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45314         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45315         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45316         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45317         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45318         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45319         [ISO11] (FLT_TRUE_MIN): Likewise.
45320         [ISO11] (LDBL_TRUE_MIN): Likewise.
45321         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45322         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45323         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45324         (SCHAR_MAX): Likewise.
45325         (UCHAR_MAX): Likewise.
45326         (CHAR_MIN): Likewise.
45327         (CHAR_MAX): Likewise.
45328         (MB_LEN_MAX): Use macro-int-constant.
45329         (SHRT_MIN): Use macro-int-constant.  Specify type.
45330         (SHRT_MAX): Likewise.
45331         (USHRT_MAX): Likewise.
45332         (INT_MAX): Likewise.
45333         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45334         bound negative.
45335         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45336         bound with "U".
45337         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45338         bound with "L".
45339         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45340         bound negative.  Suffix upper bound with "L".
45341         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45342         bound with "UL".
45343         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45344         Specify type.
45345         [C99-based standards] (LLONG_MAX): Likewise.
45346         [C99-based standards] (ULLONG_MAX): Likewise.
45347         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45348         == 0.
45349         [ISO11] (max_align_t): Require type.
45350         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45352         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45353         from $CFLAGS, without defining away __attribute__ calls.
45354         (checknamespace): Use $CFLAGS_namespace.
45356         * conform/conformtest.pl (@keywords): Only include C99 keywords
45357         for standards based on C99 or C11.
45359         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45360         Disable tests.
45361         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45362         UNIX98]: Likewise.
45364         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45365         usability of symbols in #if.
45367         * conform/conformtest.pl: If macro or constant types start
45368         "promoted:", expect the symbol to be of the following type
45369         promoted by the integer promotions.
45371         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45372         in one place.  Also handle "macro-constant".
45374         * conform/conformtest.pl: Only accept expected macro values with
45375         "==".  Parse all "macro" lines in one place.
45376         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45378         * conform/conformtest.pl: Handle braced types on "constant" lines
45379         instead of handling "typed-constant".
45380         * conform/data/signal.h-data: Use "constant" instead of
45381         "typed-constant".
45383         * conform/conformtest.pl: Handle "optional-" at start of lines in
45384         one place rather than duplicating several cases.  Handle each
45385         format of "macro" line with initial "optional-".
45387         * conform/conformtest.pl: Only accept expected constant or
45388         optional-constant values with "==".  Parse all "constant" lines in
45389         one place.  Parse all "optional-constant" lines in one place.
45390         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45391         * conform/data/fmtmsg.h-data: Likewise.
45392         * conform/data/netinet/in.h-data: Likewise.
45393         * conform/data/tar.h-data: Likewise.
45394         * conform/data/limits.h-data: Use "==" form on "constant" and
45395         "optional-constant" lines.
45397         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45398         Use -std=c99 for XOPEN2K.
45399         (@knownproblems): Remove.
45400         (newtoken): Don't check %isknown.
45402         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45403         Do not expect macro.
45404         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45405         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45406         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45407         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45408         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45409         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45410         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45411         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45412         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45413         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45414         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45415         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45416         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45417         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45418         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45419         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45420         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45421         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45422         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45423         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45424         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45425         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45426         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45427         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45428         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45429         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45430         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45431         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45432         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45433         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45434         [XPG3] (acosh): Likewise.
45435         [XPG3] (asinh): Likewise.
45436         [XPG3] (atanh): Likewise.
45437         [XPG3] (cbrt): Likewise.
45438         [XPG3] (expm1): Likewise.
45439         [XPG3] (ilogb): Likewise.
45440         [XPG3] (log1p): Likewise.
45441         [XPG3] (logb): Likewise.
45442         [XPG3] (nextafter): Likewise.
45443         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45444         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45445         [XPG3] (remainder): Likewise.
45446         [XPG3] (rint): Likewise.
45447         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45448         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45449         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45450         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45451         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45452         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45453         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45454         [UNIX98 || XOPEN2K] (scalb): Expect.
45455         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45456         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45457         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45458         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45459         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45460         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45461         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45462         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45463         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45464         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45465         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45466         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45467         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45468         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45469         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45470         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45471         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45472         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45473         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45474         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45475         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45476         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45477         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45478         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45479         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45480         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45481         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45482         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45483         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45484         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45485         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45486         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45487         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45488         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45489         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45490         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45491         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45492         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45493         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45494         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45495         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45496         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45497         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45498         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45499         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45500         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45501         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45502         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45503         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45504         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45505         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45506         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45507         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45508         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45509         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45510         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45511         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45512         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45513         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45514         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45515         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45516         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45517         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45518         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45519         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45520         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45521         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45522         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45523         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45524         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45525         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45526         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45527         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45528         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45529         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45530         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45531         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45532         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45533         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45534         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45535         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45536         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45537         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45538         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45539         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45540         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45541         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45542         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45543         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45544         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45545         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45546         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45547         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45548         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45549         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45550         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45551         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45552         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45553         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45554         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45555         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45556         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45557         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45558         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45559         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45560         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45561         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45562         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45563         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45564         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45565         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45566         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45567         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45568         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45569         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45570         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45571         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45572         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45573         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45574         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45575         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45576         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45577         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45578         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45579         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45580         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45581         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45582         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45583         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45584         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45585         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45586         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45587         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45588         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45589         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45590         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45591         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45593         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45594         _XOPEN_SOURCE_EXTENDED for XPG4.
45596         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45598         * Makeconfig (localtime): Remove variable.
45599         (inst_localtime-file): Likewise.
45601 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45604         Update.
45605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45606         Update.
45607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45608         Update.
45609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45610         Update.
45611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45612         Update.
45613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45614         Update.
45615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45616         Update.
45617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45618         Update.
45619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45620         Update.
45622 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45624         [BZ #2550]
45625         [BZ #2570]
45626         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45627         comparisons to determine direction to adjust input.
45628         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45629         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45630         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45631         Likewise.
45632         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45633         Likewise.
45634         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45635         Likewise.
45636         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45637         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45638         Likewise.
45639         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45640         Likewise.
45641         * math/libm-test.inc (nexttoward_test): Add more tests.
45643 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45645         [BZ #14040]
45646         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45647         in version GLIBC_2.1, not GLIBC_2.0.
45648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45649         Likewise.
45651 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45653         [BZ #13942]
45654         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45655         (1 - x) * (1 + x).
45656         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45657         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45658         * math/libm-test.inc (acos_test): Add more tests.
45659         (asin_test): Likewise.
45660         * sysdeps/i386/fpu/libm-test-ulps: Update.
45661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45663         [BZ #14034]
45664         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45665         of square root.
45666         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45667         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45668         * math/libm-test.inc (acos_test_tonearest): New function.
45669         (acos_test_towardzero): Likewise.
45670         (acos_test_downward): Likewise.
45671         (acos_test_upward): Likewise.
45672         (asin_test_tonearest): Likewise.
45673         (asin_test_towardzero): Likewise.
45674         (asin_test_downward): Likewise.
45675         (asin_test_upward): Likewise.
45676         (main): Call the new functions.
45677         * sysdeps/i386/fpu/libm-test-ulps: Update.
45678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45680         [BZ #13884]
45681         [BZ #13924]
45682         * math/e_exp10.c: Include <float.h>.
45683         (__ieee754_exp10): Handle underflow here rather than multiplying
45684         large negative argument by M_LN10.
45685         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45686         of __ieee754_expf.
45687         * math/e_exp10l.c: Include <float.h>.
45688         (__ieee754_exp10l): Handle underflow here rather than multiplying
45689         large negative argument by M_LN10l.
45690         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45691         spurious overflow exception on underflow.
45693 2012-04-29  Marek Polacek  <polacek@redhat.com>
45695         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45696         (__fortify_function): New macro.
45697         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45698         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45699         __extern_always_inline.
45700         * libio/bits/stdio2.h: Likewise.
45701         * libio/bits/stdio.h: Likewise.
45702         * string/string.h: Likewise.
45703         * string/bits/string3.h: Likewise.
45704         * include/stdio.h: Likewise.
45705         * stdlib/bits/stdlib.h: Likewise.
45706         * stdlib/stdlib.h: Likewise.
45707         * rt/bits/mqueue2.h: Likewise.
45708         * rt/mqueue.h: Likewise.
45709         * posix/bits/unistd.h: Likewise.
45710         * posix/unistd.h: Likewise.
45711         * io/bits/poll2.h: Likewise.
45712         * io/bits/fcntl2.h: Likewise.
45713         * io/fcntl.h: Likewise.
45714         * io/sys/poll.h: Likewise.
45715         * misc/bits/syslog.h: Likewise.
45716         * misc/bits/syslog-ldbl.h: Likewise.
45717         * misc/sys/syslog.h: Likewise.
45718         * socket/bits/socket2.h: Likewise.
45719         * socket/sys/socket.h: Likewise.
45720         * debug/tst-chk1.c: Likewise.
45721         * wcsmbs/bits/wchar2.h: Likewise.
45722         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45723         * wcsmbs/wchar.h: Likewise.
45725 2012-04-29  Andreas Jaeger  <aj@suse.de>
45727         * Makerules (tests): Remove enable-check-abi protection.
45728         (check-abi-warn): Remove.
45729         (check-abi-%): Remove check-abi-warn usage.
45731         * configure.in: Remove check-abi configure option.
45732         * configure: Regenerated.
45733         * config.make.in (enable-check-abi): Remove.
45735 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45737         [BZ #14033]
45738         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45739         double functions to double *_finite functions.
45741         [BZ #13941]
45742         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45743         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45744         LDBL_MIN_EXP.
45745         * stdio-common/Makefile (tests): Add tst-sprintf3.
45746         * stdio-common/tst-sprintf3.c: New file.
45748         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45749         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45751 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45753         * conform/conformtest.pl: Remove duplicate typed-constant
45754         handling.
45756 2012-04-28  David S. Miller  <davem@davemloft.net>
45758         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45759         (check-abi-%): Remove AWK script prerequisite and explicit
45760         abilist directory.
45761         (check-abi): Rewrite to just diff the symlist with the abilist.
45762         (config-tls, config-abi-config): Delete, no longer used.
45763         (update-abi-%): Remove AWK script and explicit abilist directory.
45764         (update-abi): Rewrite to simply compare and conditionally copy the
45765         symlist and the sysdep abilist file.  Remove update-abi-config
45766         checks.
45767         * abilist/ld.abilist: Remove.
45768         * abilist/libBrokenLocale.abilist: Remove.
45769         * abilist/libanl.abilist: Remove.
45770         * abilist/libcrypt.abilist: Remove.
45771         * abilist/libdl.abilist: Remove.
45772         * abilist/librt.abilist: Remove.
45773         * abilist/libthread_db.abilist: Remove.
45774         * abilist/libutil.abilist: Remove.
45775         * scripts/extract-abilist.awk: Remove.
45776         * scripts/merge-abilist.awk: Remove.
45777         * sysdeps/generic/libcidn.abilist: New file.
45778         * sysdeps/generic/libnss_compat.abilist: New file.
45779         * sysdeps/generic/libnss_db.abilist: New file.
45780         * sysdeps/generic/libnss_dns.abilist: New file.
45781         * sysdeps/generic/libnss_files.abilist: New file.
45782         * sysdeps/generic/libnss_hesiod.abilist: New file.
45783         * sysdeps/generic/libnss_nis.abilist: New file.
45784         * sysdeps/generic/libnss_nisplus.abilist: New file.
45785         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45786         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45787         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45788         file.
45789         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45790         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45791         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45792         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45793         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45794         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45795         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45796         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45797         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45798         file.
45799         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45800         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45801         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45802         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45803         file.
45804         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45805         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45806         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45807         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45808         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45809         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45810         file.
45811         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45812         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45813         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45814         file.
45815         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45817         New file.
45818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45819         New file.
45820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45821         New file.
45822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45823         New file.
45824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45825         New file.
45826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45827         New file.
45828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45829         New file.
45830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45831         New file.
45832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45833         New file.
45834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45835         New file.
45836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45837         New file.
45838         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45839         New file.
45840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45841         New file.
45842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45843         file.
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45845         New file.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45847         New file.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45849         file.
45850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45851         New file.
45852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45853         New file.
45854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45855         file.
45856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45857         New file.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45859         New file.
45860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45861         New file.
45862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45863         New file.
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45865         New file.
45866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45867         New file.
45868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45870         file.
45871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45872         New file.
45873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45874         file.
45875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45876         file.
45877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45878         file.
45879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45880         file.
45881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45882         file.
45883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45884         New file.
45885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45886         file.
45887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45888         file.
45889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45890         New file.
45891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45892         file.
45893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45895         file.
45896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45897         New file.
45898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45899         file.
45900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45901         file.
45902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45903         file.
45904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45905         file.
45906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45907         file.
45908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45909         New file.
45910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45911         file.
45912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45913         file.
45914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45915         New file.
45916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45917         file.
45918         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45919         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45920         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45921         file.
45922         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45923         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45924         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45925         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45926         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45927         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45928         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45929         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45930         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45931         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45934         file.
45935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45936         New file.
45937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45938         file.
45939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45940         file.
45941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45942         file.
45943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45944         file.
45945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45946         file.
45947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45948         New file.
45949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45950         New file.
45951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45952         file.
45953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45954         New file.
45955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45956         file.
45957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45959         file.
45960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45961         New file.
45962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45963         file.
45964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45965         file.
45966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45967         file.
45968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45969         file.
45970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45971         file.
45972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45973         New file.
45974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45975         New file.
45976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45977         file.
45978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45979         New file.
45980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45981         file.
45983 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45985         * conform/conformtest.pl: Fix typo in handling typed-constant from
45986         allow-header.
45988 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45990         * README: Cut down references to pre-2.6 Linux kernels and
45991         Linuxthreads.  Update lists of configurations in libc and ports
45992         and sort alphabetically.  Say "or newer" with Linux kernel version
45993         requirements.
45995         * config.h.in [IS_IN_build]: Allow compiling without optimization.
45997 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45999         [BZ #887]
46000         * math/libm-test.inc (logb_test_downward): New test to expose
46001         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46002         rounding mode.
46004 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46006         [BZ #14027]
46007         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46008         to be done.
46009         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46010         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46012 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46014         * sysdeps/unix/i386/brk.S: Remove file.
46015         * sysdeps/unix/i386/dl-brk.S: Likewise.
46016         * sysdeps/unix/i386/pipe.S: Likewise.
46017         * sysdeps/unix/i386/sigreturn.S: Likewise.
46018         * sysdeps/unix/i386/syscall.S: Likewise.
46019         * sysdeps/unix/i386/vfork.S: Likewise.
46020         * sysdeps/unix/i386/wait.S: Likewise.
46022         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46023         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46025         * configure.in (arm*-none*): Do not allow without
46026         --enable-hacker-mode.
46027         (netbsd*): Remove case setting base_os.
46028         (386bsd*): Likewise.
46029         (freebsd*): Likewise.
46030         (bsdi*): Likewise.
46031         (osf*): Likewise.
46032         (sunos*): Likewise.
46033         (ultrix*): Likewise.
46034         (newsos*): Likewise.
46035         (dynix*): Likewise.
46036         (*bsd*): Likewise.
46037         (sysv*): Likewise.
46038         (isc*): Likewise.
46039         (esix*): Likewise.
46040         (sco*): Likewise.
46041         (minix*): Likewise.
46042         (irix4*): Likewise.
46043         (irix6*): Likewise.
46044         (solaris[2-9]*): Likewise.
46045         (none): Likewise.
46046         * configure: Regenerated.
46048 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46050         [BZ #11521]
46051         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46052         overflow or cancellation in calculating denominator.
46053         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46054         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46055         down expression to avoid unexpected rounding in newer GCCs.
46056         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46058 2012-04-26  David S. Miller  <davem@davemloft.net>
46060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46061         long-double compat symbols.
46062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46076 2012-04-25  David S. Miller  <davem@davemloft.net>
46078         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46079         HWCAP_* values only after the memory barriers have been defined.
46080         (atomic_full_barrier): Define.
46081         (atomic_read_barrier): Define.
46082         (atomic_write_barrier): Define.
46084 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46086         * shlib-versions: Add libgcc_s version information.
46087         * sysdeps/generic/libgcc_s.h: Remove.
46088         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46089         libgcc_s.h.
46090         * sysdeps/gnu/unwind-resume.c: Likewise.
46091         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46093 2012-04-25  David S. Miller  <davem@davemloft.net>
46095         * sysdeps/unix/sparc/brk.S: Delete.
46096         * sysdeps/unix/sparc/dl-brk.S: Delete.
46097         * sysdeps/unix/sparc/pipe.S: Delete.
46098         * sysdeps/unix/sparc/sysdep.S: Delete.
46099         * sysdeps/unix/sparc/sysdep.h: Delete.
46100         * sysdeps/unix/sparc/vfork.S: Delete.
46101         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46102         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46103         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46104         (ret_ERRVAL, r0, r1, MOVE): Define.
46105         (JUMPTARGET): Remove.
46106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46107         sysdeps/unix/sparc/sysdep.h
46108         (ENTRY, END): Remove.
46109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46111 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46113         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46114         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46115         -DIS_IN_build.
46117         * timezone/README: Update upstream location and email address for
46118         tzcode and tzdata.
46119         * timezone/zdump.c: Update from tzcode 2012b.
46120         * timezone/zic.c: Likewise.
46122         * configure.in (libc_cv_as_needed): Remove test.
46123         * configure: Regenerated.
46124         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46125         conditional definition.
46126         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46127         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46128         * config.make.in (have-as-needed): Remove variable.
46130 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46131             Paul Pluzhnikov  <ppluzhnikov@google.com>
46133         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46134         strings correctly.
46136 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46138         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46139         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46140         * sysdeps/sh/strlen.S: Likewise.
46142 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46144         * sysdeps/unix/fork.S: Remove file.
46145         * sysdeps/unix/i386/fork.S: Likewise.
46146         * sysdeps/unix/sparc/fork.S: Likewise.
46148         * sysdeps/unix/system.c: Remove file.
46149         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46151         * sysdeps/unix/getegid.S: Remove file.
46152         * sysdeps/unix/geteuid.S: Likewise.
46154 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46156         * scripts/check-localplt.awk: New file.
46157         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46158         of diff.
46159         * scripts/data/localplt-generic.data: Add a comment.
46161         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46162         NODE when __dir_mkfile failed.
46163         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46164         Reported by Ludovic Courtès <ludo@gnu.org>.
46166 2012-04-24  Andreas Jaeger  <aj@suse.de>
46168         * Makerules (common-clean): Also remove gen-as-const-headers
46169         files.
46171 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46173         * Makerules (native-compile): Do not change working directory for
46174         build.  Use $(OUTPUT_OPTION) in command.
46175         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46177 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46179         [BZ #13886]
46180         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46181         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46182         * math/libm-test.inc (floor_test): Add more tests.
46183         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46185 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46187         * sysdeps/unix/getdents.c: Remove file.
46188         * sysdeps/unix/sysv/getdents.c: Likewise.
46189         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46191         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46192         sysdeps/unix/mman/syscalls.list.
46193         (mmap): Likewise.
46194         (mprotect): Likewise.
46195         (msync): Likewise.
46196         (munmap): Likewise.
46197         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46198         * sysdeps/unix/mman/syscalls.list: Remove.
46199         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46201         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46202         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46203         * configure: Regenerated.
46204         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46205         $(libgcc_s_suffix).
46206         * config.make.in (libgcc_s_suffix): Remove variable.
46208 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46210         * sysdeps/unix/sysv/gethostname.c: Move to ...
46211         * sysdeps/posix/gethostname.c: ... here.
46213         * sysdeps/unix/execve.S: Remove file.
46215         * sysdeps/unix/_exit.S: Remove file.
46217 2012-04-23  Andreas Jaeger  <aj@suse.de>
46219         [BZ #13739]
46220         * manual/Makefile: Remove make dist support, there's no
46221         need for a stand-alone documentation tar ball.
46222         (TEXI2DVI): Define always, it's not in Makeconfig.
46223         (dist): Removed.
46224         (tar-it): Removed.
46225         (edition): Removed.
46226         (glibc-doc-$(edition).tar): Removed
46227         (%.Z): Removed.
46228         (%.gz): Removed.
46229         (%.uu): Removed.
46230         (ETAGS): Remove, it's in Makeconfig.
46231         (move-if-change): Remove, it's in Makeconfig.
46233 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46235         [BZ #13970]
46236         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46237         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46238         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46239         (strtod_l, strtof_l, strtold_l): Remove __wur.
46240         It is not necessarily an error to ignore strtol's return value.
46241         One can reliably look at the stored endptr to decide whether
46242         the number had valid syntax.
46244 2012-04-21  Andreas Jaeger  <aj@suse.de>
46246         [BZ #13739]
46247         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46249 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46251         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46252         * sysdeps/unix/sysv/Versions: Remove file.
46254 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46256         [BZ #13927]
46257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46259 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46261         [BZ #7064]
46262         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46263         version from __vm86.
46265 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46267         * sysdeps/unix/common/lxstat.c: Remove file.
46268         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46270         * sysdeps/unix/sysv/Makefile: Remove file.
46272         * sysdeps/unix/sysv/direct.h: Remove file.
46274         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46275         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46276         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46277         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46278         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46279         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46280         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46282         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46284         * sysdeps/unix/xmknod.c: Remove file.
46285         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46287         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46289         * sysdeps/unix/sysv/i386/time.S: Remove file.
46291         * sysdeps/unix/fxstat.c: Remove file.
46292         * sysdeps/unix/xstat.c: Likewise.
46293         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46295         * sysdeps/unix/sysv/sigaction.c: Remove file.
46297         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46298         (sysdep_headers): Remove variable.
46299         [termio.h not in sysdep_headers] (generated): Likewise.
46300         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46301         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46302         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46303         * sysdeps/unix/sysv/tcflow.c: Likewise.
46304         * sysdeps/unix/sysv/tcflush.c: Likewise.
46305         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46306         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46307         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46308         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46309         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46311         * sysdeps/unix/siglist.c: Remove file.
46313         * sysdeps/unix/getppid.S: Remove file.
46315         * sysdeps/unix/mkdir.c: Remove file.
46316         * sysdeps/unix/rmdir.c: Likewise.
46318 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46320         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46321         ERR_MAX value.
46322         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46323         errlist-compat value.
46325 2012-04-18  David S. Miller  <davem@davemloft.net>
46327         * sysdeps/generic/memcopy.h (reg_char): Delete.
46328         * debug/strcat_chk.c: Use char, not reg_char.
46329         * debug/strcpy_chk.c: Likewise.
46330         * debug/strncat_chk.c: Likewise.
46331         * debug/strncpy_chk.c: Likewise.
46332         * string/memchr.c: Likewise.
46333         * string/memrchr.c: Likewise.
46334         * string/rawmemchr.c: Likewise.
46335         * string/strcat.c: Likewise.
46336         * string/strchr.c: Likewise.
46337         * string/strchrnul.c: Likewise.
46338         * string/strcmp.c: Likewise.
46339         * string/strcpy.c: Likewise.
46340         * string/strncat.c: Likewise.
46341         * string/strncmp.c: Likewise.
46342         * string/strncpy.c: Likewise.
46344 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46346         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46347         __builtin_memcopy is called when src and dest ranges are known to not
46348         overlap.
46350 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46352         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46353         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46354         fwd_align_merge macro call.
46355         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46356         bwd_align_merge macro call.
46357         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46359 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46361         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46362         bwd_align_merge macros.
46363         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46364         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46365         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46367 2012-04-18  David S. Miller  <davem@davemloft.net>
46369         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46371 2012-04-18  Andreas Jaeger  <aj@suse.de>
46373         [BZ# 6794]
46374         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46375         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46376         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46378         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46379         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46380         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46382         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46383         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46384         Adjust for changed ldbl-128 files.
46386         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46387         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46388         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46390 2012-04-17  David S. Miller  <davem@davemloft.net>
46392         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46394 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46396         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46397         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46398         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46399         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46400         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46401         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46403 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46405         [BZ #6794]
46406         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46407         * math/libm-test.inc: Add ilogb errno and exception tests.
46408         * math/w_ilogb.c: New file: ilogb wrapper.
46409         * math/w_ilogbf.c: New file: ilogbf wrapper.
46410         * math/w_ilogbl.c: New file: ilogbl wrapper.
46411         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46412         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46413         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46414         exception being thrown with 0.0 as argument.
46415         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46416         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46417         exception being thrown with 0.0 as argument.
46418         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46419         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46420         exception being thrown with 0.0 as argument.
46421         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46422         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46423         exception being thrown with 0.0 as argument.
46424         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46425         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46426         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46427         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46428         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46429         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46430         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46431         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46432         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46434 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46436         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46437         with altivec.
46439 2012-04-16  Marek Polacek  <polacek@redhat.com>
46441         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46443 2012-04-16  Marek Polacek  <polacek@redhat.com>
46445         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46446         operands of fdivp instruction.
46448 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46450         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46451         * elf/tst-auditmod3b.c: Likewise.
46452         * elf/tst-auditmod4b.c: Likewise.
46453         * elf/tst-auditmod5b.c: Likewise.
46454         * elf/tst-auditmod6b.c: Likewise.
46455         * elf/tst-auditmod6c.c: Likewise.
46456         * elf/tst-auditmod7b.c: Likewise.
46457         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46458         * sysdeps/x86_64/preconfigure.in: Likewise.
46459         * sysdeps/x86_64/preconfigure: Regenerated.
46461 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46463         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46464         __ILP32__.
46466 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46468         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46469         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46471 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46473         [BZ #13973]
46474         * locale/iso-639.def: Fix gl language name. Spotted by
46475         Yaron Shahrabani.
46477 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46479         [BZ #2074]
46480         * libio/libio.h (__io_write_fn): Update comment.
46482 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46484         [BZ #2074]
46485         * stdio.texi (Hook Functions): The user provided writer function
46486         is not allowed to return -1.
46488 2012-04-11  David S. Miller  <davem@davemloft.net>
46490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46492 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46494         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46495         Add a leading slash to rtkaio.
46497 2012-04-11  Jim Meyering  <meyering@redhat.com>
46499         [BZ #11959]
46500         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46501         It is not necessarily an error to ignore fwrite's return
46502         value.  One can reliably use ferror to test for errors after
46503         the fact.
46505 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46507         * bits/types.h (__snseconds_t): New type.
46508         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46510         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46511         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46512         (__SNSECONDS_T_TYPE): Likewise.
46513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46514         (__SNSECONDS_T_TYPE): Likewise.
46515         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46516         (__SNSECONDS_T_TYPE): Likewise.
46518 2012-04-10  Andreas Jaeger  <aj@suse.de>
46520         [BZ #2636]
46521         * manual/time.texi (Processor Time): Return type of times is
46522         elapsed real time since an arbitrary point in the past.
46523         (CPU Time): Move CLK_TCK from here...
46524         (Processor Time): ...to here.  Correct description.
46525         * manual/conf.texi (Constants for Sysconf): Correct description of
46526         _SC_CLK_TCK.
46528 2012-04-10  David S. Miller  <davem@davemloft.net>
46530         [BZ #13967]
46531         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46532         where the is a gap between DT_REL(A) and DT_JMPREL.
46534 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46536         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46537         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46538         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46540 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46542         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46543         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46544         (dl_main): Handle --inhibit-cache.
46545         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46546         _dl_inhibit_cache.
46547         * elf/dl-load.c (_dl_map_object): Use it.
46548         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46550 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46552         [BZ #13872]
46553         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46554         (__ieee754_powl): Saturate large exponents rather than testing for
46555         overflow of y*log2(x).
46556         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46557         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46558         exceptions.
46560         [BZ #11521]
46561         * math/s_ctan.c: Include <float.h>.
46562         (__ctan): Avoid internal overflow or cancellation in calculating
46563         denominator.
46564         * math/s_ctanf.c: Likewise.
46565         * math/s_ctanl.c: Likewise.
46566         * math/s_ctanh.c: Likewise.
46567         * math/s_ctanhf.c: Likewise.
46568         * math/s_ctanhl.c: Likewise.
46569         * math/libm-test.inc (ctan_test): Add more tests.
46570         (ctanh_test): Likewise.
46571         * sysdeps/i386/fpu/libm-test-ulps: Update.
46572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46574 2012-04-09  Andreas Jaeger  <aj@suse.de>
46576         [BZ #6894]
46577         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46578         is an optional BSD extension.
46580         [BZ #10254]
46581         * manual/stdio.texi (Opening Streams): Document additional fopen
46582         parameters.
46584 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46586         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46587         %eax without telling the compiler.
46589 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46591         [BZ # 13963]
46592         * manual/install.texi: Use sourceware.org.
46594 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46596         [BZ #13873]
46597         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46598         (__ieee754_pow): Generate overflow and underflow using huge*huge
46599         and tiny*tiny rather than just returning constant infinity or zero
46600         for large exponents.
46601         * math/libm-test.inc (pow_test): Require overflow exceptions for
46602         applicable cases of large exponents.
46604         [BZ #706]
46605         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46606         (__ieee754_pow): Use iterative multiplication algorithm only for
46607         integer exponents with absolute value below 1024.  Check for odd
46608         integer exponents when using algorithm for real exponents.
46609         * math/libm-test.inc (pow_test): Add more tests.
46610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46612 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46614         [BZ #13705]
46615         * math/libm-test.inc (exp_test): Do not allow overflow exception
46616         on underflow test.
46618 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46620         [BZ #13705]
46621         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46622         instead of __kernel_standard_f.
46624 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46626         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46627         * sysdeps/x86_64/memset_chk.S: Likewise.
46629 2012-04-08  Andreas Jaeger  <aj@suse.de>
46631         [BZ #10153]
46632         * manual/startup.texi (Environment Access): Describe return value
46633         for putenv and setenv.
46635         [BZ #6895]
46636         * manual/filesys.texi (Directory Entries): Add description for
46637         DT_LNK.
46639         [BZ #6890]
46640         * manual/filesys.texi (Directory Entries): Clarify that it's file
46641         system not operating system in the description of DT_UNKNOWN.
46643         [BZ #6578]
46644         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46646 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46648         [BZ #6649]
46649         * manual/llio.texi (Opening and Closing Files): Add cross
46650         reference to explain mode argument.
46652 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46654         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46655         * sysdeps/x86_64/memset_chk.S: Likewise.
46657 2012-04-07  David S. Miller  <davem@davemloft.net>
46659         * elf/elf.h (R_SPARC_WDISP10): Define.
46660         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46661         R_SPARC_SIZE32.
46662         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46663         R_SPARC_SIZE64 and R_SPARC_H34.
46665 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46667         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46668         conditions and remove no longer applicable assertion.
46670 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46672         * bits/byteswap.h: Include <features.h>.
46673         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46674         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46676 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46678         * bits/byteswap.h (__bswap_16): Removed.
46679         Include <bits/byteswap-16.h> to get __bswap_16.
46680         * sysdeps/i386/bits/byteswap.h: Likewise.
46681         * sysdeps/s390/bits/byteswap.h: Likewise.
46682         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46683         * bits/byteswap-16.h: New file.
46684         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46685         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46686         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46687         * string/Makefile (headers): Add bits/byteswap-16.h.
46689 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46691         [BZ #13895]
46692         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46693         extra indirection.
46694         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46695         * nss/tst-nss-static.c: New.
46697 2012-04-06  Robert Millan  <rmh@gnu.org>
46699         [BZ #6486]
46700         * manual/llio.texi (File Position Primitive): lseek
46701         refers to WHENCE when it really means OFFSET.
46703 2012-04-06  Andreas Jaeger  <aj@suse.de>
46705         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46706         strncmp declarations.
46708         * abilist/libc.abilist: Add __poll and __ppoll.
46710 2012-04-05  David S. Miller  <davem@davemloft.net>
46712         * scripts/check-local-headers.sh: Accept a host triplet in the
46713         path matched by the exclude regexp.
46715         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46716         definition.
46717         * sysdeps/powerpc/powerpc32/dl-machine.h
46718         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46719         * sysdeps/s390/s390-32/dl-machine.h
46720         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46721         * sysdeps/sparc/sparc32/dl-machine.h
46722         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46723         * sysdeps/sparc/sparc64/dl-machine.h
46724         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46726         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46727         lazy binding.
46728         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46729         undefined symbol errors.
46731         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46732         DT_NEEDED entries.
46734 2012-04-05  Michael Matz  <matz@suse.de>
46736         [BZ #13592]
46737         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46739 2012-04-05  Andreas Jaeger  <aj@suse.de>
46741         [BZ #13908]
46742         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46743         comment.
46745 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46747         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46748         which ROUND is no valid rounding mode.
46750 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46752         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46753         read again.
46754         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46756 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46758         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46759         an exception using FPU order intentionally.
46761 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46763         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46764         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46765         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46766         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46768 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46770         [BZ #12340]
46771         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46772         EINVAL when BUFLEN is too smal.
46774 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46776         [BZ #13553]
46777         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46778         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46780 2012-04-03  Andreas Jaeger  <aj@suse.de>
46782         [BZ #13938]
46783         * manual/setjmp.texi (System V contexts): Fix sentence.
46785         [BZ #13926]
46786         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46787         New macro for this case.
46788         [!__GNUC__] (__bswap_64): New inline function for this case.
46789         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46790         * bits/byteswap.h: Likewise.
46791         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46792         ull, guard with __GLIBC_HAVE_LONG_LONG.
46794         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46795         __GLIBC_HAVE_LONG_LONG.
46797         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46798         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46800 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46802         [BZ #13691]
46803         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46804         inptr and inend, rather than using last_ch.
46806 2012-04-02  David S. Miller  <davem@davemloft.net>
46808         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46809         * stdio-common/printf-parse.h (read_int): Change return type to
46810         'int', return -1 on INT_MAX overflow.
46811         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46812         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46813         overflows INT_MAX.  Check for overflow of in-format-string precision
46814         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46815         SIZE_MAX not INT_MAX for integer overflow test.
46816         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46817         skip the construct in the format string but do not record anything.
46818         * stdio-common/bug22.c: Adjust to test both width/prevision
46819         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46820         explicitly for proper errno values.
46822 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46824         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46825         CHAR_MAX.
46826         * string/test-strcmp.c [! WIDE]: Likewise.
46827         * time/tst-mktime2.c: Likewise for INT_MAX.
46828         * string/test-string.h: #include <sys/param.h> for MIN.
46830         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46831         * sysdeps/i386/init-first.c (init): Likewise.
46832         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46833         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46834         * sysdeps/sh/init-first.c (init): Likewise.
46836 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46838         * po/ru.po: Update from translation team.
46839         * po/vi.po: Likewise.
46841 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46843         * resolv/nss_dns/dns-host.c: Merge copyright years.
46845 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46847         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46848         Optimize memcpy with prefetch if
46849         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46850         src, dst pointers have unequal 16 byte alignments.
46852 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46854         [BZ #13928]
46855         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46856         from a CNAME entry and return the minimum ttl for the query.
46857         (gaih_getanswer_slice): Likewise.
46859 2012-03-30  Jeff Law  <law@redhat.com>
46861         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46862         due to long keys.
46863         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46864         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46866         * resolv/nss_dns/dns-host.c: Update copyright year.
46868 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46870         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46871         requests to save a system call.  Fix check that all bytes are sent.
46873         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46874         comments for sendmmsg.
46876 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46878         [BZ #13691]
46879         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46880         with only 1 character between 0x0041 and 0x01b0.
46881         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46882         * wcsmbs/tst-mbsnrtowcs.c: New file.
46884 2012-03-29  David S. Miller  <davem@davemloft.net>
46886         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46887         small copies by hand.
46889 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46891         [BZ #13761]
46892         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46893         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46894         group memberships.
46896 2012-03-28  David S. Miller  <davem@davemloft.net>
46898         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46899         that branches into memcpy.
46900         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46901         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46903         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46904         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46905         bits.
46906         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46907         implementation too.
46908         * sysdeps/sparc/mempcpy.S: New file.
46910         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46911         the IFUNC routine in the libc case.
46912         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46914         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46915         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46916         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46917         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46918         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46919         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46920         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46921         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46923         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46924         loop to 256 bytes instead of 64 bytes and fix test signedness.
46926         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46927         * sysdeps/sparc/sparc32/Makefile: rather than here...
46928         * sysdeps/sparc/sparc64/Makefile: and here.
46930 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46932         * malloc/mallocbug.c: Avoid warnings about unused variables.
46934 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46936         [BZ #13760]
46937         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46938         in the right place. Discard and retry query if response is
46939         larger than input buffer size.
46941 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46943         [BZ #369]
46944         [BZ #2678]
46945         [BZ #3866]
46946         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46947         x for large integer exponent.
46948         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46949         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46950         sign of result as needed afterwards.
46951         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46952         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46953         result for underflowing pow the same as for overflow.
46954         (__kernel_standard_l): Handle powl overflow and underflow here
46955         rather than calling __kernel_standard.
46956         * math/libm-test.inc (pow_test): Add more tests.
46958         [BZ #3868]
46959         [BZ #13879]
46960         [BZ #13910]
46961         [BZ #13911]
46962         [BZ #13912]
46963         [BZ #13913]
46964         [BZ #13915]
46965         [BZ #13916]
46966         [BZ #13917]
46967         [BZ #13918]
46968         [BZ #13919]
46969         [BZ #13920]
46970         [BZ #13921]
46971         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46972         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46973         (__kernel_standard_l): New function.
46974         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46975         __kernel_standard.
46976         * math/w_acosl.c (__acosl): Likewise.
46977         * math/w_asinl.c (__asinl): Likewise.
46978         * math/w_atan2l.c (__atan2l): Likewise.
46979         * math/w_atanhl.c (__atanhl): Likewise.
46980         * math/w_coshl.c (__coshl): Likewise.
46981         * math/w_exp10l.c (__exp10l): Likewise.
46982         * math/w_exp2l.c (__exp2l): Likewise.
46983         * math/w_fmodl.c (__fmodl): Likewise.
46984         * math/w_hypotl.c (__hypotl): Likewise.
46985         * math/w_j0l.c (__j0l, __y0l): Likewise.
46986         * math/w_j1l.c (__j1l, __y1l): Likewise.
46987         * math/w_jnl.c (__jnl, __ynl): Likewise.
46988         * math/w_lgammal.c (__lgammal): Likewise.
46989         * math/w_log10l.c (__log10l): Likewise.
46990         * math/w_log2l.c (__log2l): Likewise.
46991         * math/w_logl.c (__logl): Likewise.
46992         * math/w_powl.c (__powl): Likewise.
46993         * math/w_remainderl.c (__remainderl): Likewise.
46994         * math/w_scalbl.c (sysv_scalbl): Likewise.
46995         * math/w_sinhl.c (__sinhl): Likewise.
46996         * math/w_sqrtl.c (__sqrtl): Likewise.
46997         * math/w_tgammal.c (__tgammal): Likewise.
46998         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46999         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47000         * math/libm-test.inc (acos_test): Add more tests.
47001         (acosh_test): Likewise.
47002         (asin_test): Likewise.
47003         (atanh_test): Likewise.
47004         (exp_test): Likewise.
47005         (exp10_test): Likewise.
47006         (exp2_test): Likewise.
47007         (expm1_test): Likewise.
47008         (lgamma_test): Likewise.
47009         (log_test): Likewise.
47010         (log10_test): Likewise.
47011         (log1p_test): Likewise.
47012         (log2_test): Likewise.
47013         (pow_test): Do not allow some spurious overflow exceptions.
47014         (sqrt_test): Add more tests.
47015         (tgamma_test): Likewise.
47016         (y0_test): Likewise.
47017         (y1_test): Likewise.
47018         (yn_test): Likewise.
47020 2012-03-27  Anton Blanchard  <anton@samba.org>
47022         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47023         MAP_HUGETLB.
47024         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47025         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47026         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47028 2012-03-27  David S. Miller  <davem@davemloft.net>
47030         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47032         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47033         have-as-vis3 check.
47035 2012-03-27  Andreas Jaeger  <aj@suse.de>
47037         * sysdeps/x86_64/elf/configure.in: Moved to ...
47038         * sysdeps/x86_64/configure.in: ... here.
47039         * sysdeps/x86_64/elf/start.S: Moved to ...
47040         * sysdeps/x86_64/start.S: ... here.
47041         * sysdeps/x86_64/elf/configure: Delete.
47043         * sysdeps/x86_64/configure.in: Merge contents from
47044         sysdeps/i386/configure.in (without i686 check).
47046         * sysdeps/i386/elf/Versions: Merge into ...
47047         * sysdeps/i386/Versions: ... this.
47048         * sysdeps/i386/elf/Versions: Delete file.
47049         * sysdeps/i386/elf/start.S: Moved to ...
47050         * sysdeps/i386/start.S: ...here.
47051         * sysdeps/i386/elf/configure.in: Merge into...
47052         * sysdeps/i386/configure.in: ...here.
47053         * sysdeps/i386/elf/configure.in: Delete file.
47054         * sysdeps/i386/elf/configure: Delete file.
47056         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47057         * debug/backtracesyms.c: ... here.
47058         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47059         * debug/backtracesymsfd.c: ... here.
47060         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47061         * sysdeps/generic/ifunc-sel.h: ... here.
47063         * sysdeps/unix/i386/start.c: Delete file.
47064         * sysdeps/unix/sparc/start.c: Delete file.
47065         * sysdeps/unix/start.c: Delete file.
47067         * sysdeps/sh/elf/configure.in: Moved to ...
47068         * sysdeps/sh/configure.in: ... here.
47069         * sysdeps/sh/elf/start.S: Moved to ...
47070         * sysdeps/sh/start.S: ... here.
47071         * sysdeps/sh/elf/configure: Delete file.
47073         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47074         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47075         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47076         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47077         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47078         * sysdeps/powerpc/powerpc64/start.S: here.
47079         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47080         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47081         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47082         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47083         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47085         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47086         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47087         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47088         * sysdeps/powerpc/powerpc32/start.S: ... here.
47089         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47090         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47091         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47093         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47094         * sysdeps/powerpc/ifunc-sel.h: ... here.
47095         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47096         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47098         * sysdeps/sparc/elf/configure.in: Moved to ...
47099         * sysdeps/sparc/configure.in: ... here.
47100         * sysdeps/sparc/elf/configure: Delete file.
47101         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47102         * sysdeps/sparc/sparc32/start.S: ... here.
47103         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47104         * sysdeps/sparc/sparc64/start.S: ... here.
47105         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47106         * sysdeps/sparc/sparc32/Makefile: ... this.
47107         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47108         * sysdeps/sparc/sparc64/Makefile: ... this.
47110         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47111         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47112         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47113         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47114         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47115         * sysdeps/s390/s390-32/setjmp.S: ... here.
47116         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47117         * sysdeps/s390/s390-32/configure.in: ... here.
47118         * sysdeps/s390/s390-32/elf/configure: Delete file.
47119         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47120         * sysdeps/s390/s390-32/start.S: ... here.
47122         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47123         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47124         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47125         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47126         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47127         * sysdeps/s390/s390-64/setjmp.S: ... here.
47128         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47129         * sysdeps/s390/s390-64/configure.in: ... here
47130         * sysdeps/s390/s390-64/elf/configure: Delete file.
47131         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47132         * sysdeps/s390/s390-64/start.S: ... here.
47133         * sysdeps/s390/s390-64/elf/configure: Delete.
47135         * configure.in: Remove support for elf directories in sysdeps.
47137         * configure: Regenerated.
47138         * sysdeps/i386/configure: Regenerated.
47139         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47140         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47141         * sysdeps/s390/s390-32/configure: Regenerated.
47142         * sysdeps/s390/s390-64/configure: Regenerated.
47143         * sysdeps/sh/configure: Regenerated.
47144         * sysdeps/sparc/configure: Regenerated.
47145         * sysdeps/x86_64/configure: Regenerated.
47147 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47151         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47152         denormal result into account.
47154 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47156         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47157         Reported by Allan McRae <allan@archlinux.org>.
47159 2012-03-23  Jeff Law  <law@redhat.com>
47161         * nss/getnssent.c (__nss_getent): Fix typo.
47163 2012-03-23  David S. Miller  <davem@davemloft.net>
47165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47167 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47169         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47170         to pad to uint64_t for each field.
47171         (dl_tls_index): Replace unsigned long with uint64_t.
47173 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47174         Paul Pluzhnikov  <ppluzhnikov@google.com>
47176         [BZ #6528]
47177         * grp/Makefile (otherlibs): Don't set it.
47178         * inet/Makefile (otherlibs): Likewise.
47179         * login/Makefile (otherlibs): Likewise.
47180         * nscd/Makefile (otherlibs): Likewise.
47181         * posix/Makefile (otherlibs): Likewise.
47182         * pwd/Makefile (otherlibs): Likewise.
47183         * rt/Makefile (otherlibs): Likewise.
47184         * sunrpc/Makefile (otherlibs): Likewise.
47185         * nss/Makefile (otherlibs): Likewise.
47186         Add libnss_files to routines and static-only-routines.
47187         ($(objpfx)getent): Remove rule.
47188         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47189         static-only-routines.
47191 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47193         [BZ #13892]
47194         * math/s_cexp.c: Include <float.h>.
47195         (__cexp): Handle exp result overflowing not necessarily
47196         overflowing both real and imaginary parts of result.
47197         * math/s_cexpf.c: Likewise.
47198         * math/s_cexpl.c: Likewise.
47199         * math/libm-test.inc (cexp_test): Add more tests.
47200         * sysdeps/i386/fpu/libm-test-ulps: Update.
47201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47203 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47205         * include/link.h (ELFW): New macro.
47206         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47207         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47209 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47211         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47212         with uint64_t.
47214 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47216         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47217         declaration.
47218         (struct La_x32_retval): Likewise.
47220 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47222         * sysdeps/x86_64/preconfigure.in: New file.
47223         * sysdeps/x86_64/preconfigure: New generated file.
47225 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47227         [BZ #13824]
47228         * math/e_exp2l.c: Include <float.h>.
47229         (__ieee754_exp2l): Handle overflow and underflow cases
47230         separately.  Only pass fractional part of argument to
47231         __ieee754_expl.
47232         * math/libm-test.inc (exp2_test): Add more tests.
47234         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47235         negating x to take absolute value.
47236         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47237         Likewise.
47238         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47239         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47240         Likewise.
47241         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47242         computing low part if x was negated.
47243         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47245 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47247         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47248         la_x32_gnu_pltexit.
47249         (pltexit): Cast int_retval to ptrdiff_t.
47250         * elf/tst-auditmod3b.c: Likewise.
47251         * elf/tst-auditmod4b.c: Likewise.
47252         * elf/tst-auditmod5b.c: Likewise.
47253         * elf/tst-auditmod6b.c: Likewise.
47254         * elf/tst-auditmod6c.c: Likewise.
47255         * elf/tst-auditmod7b.c: Likewise.
47257         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47258         and x32_gnu_pltexit.
47260         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47261         __ELF_NATIVE_CLASS.
47262         (La_x32_regs): New macro.
47263         (La_x32_retval): Likewise.
47264         (la_x32_gnu_pltenter): New function prototype.
47265         (la_x32_gnu_pltexit): Likewise.
47267 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47269         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47270         exponent.
47272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47274         * configure.in (libc_cv_cc_nofma): Check for option to disable
47275         generation of FMA instructions.
47276         * configure: Regenerate.
47277         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47278         * sysdeps/ieee754/dbl-64/Makefile: New file.
47279         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47280         Remove brandred-fma4.
47281         (CFLAGS-brandred-fma4.c): Remove.
47282         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47283         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47284         define.
47285         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47286         define.
47288 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47290         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47291         LLONG_MAX != LONG_MAX.
47292         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47293         (_fitoa_word): Likewise.
47294         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47295         LLONG_MAX != LONG_MAX.
47296         * stdio-common/_itowa.h: Include <_itoa.h>.
47297         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47298         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47299         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47300         only if not defined.
47301         (_ITOA_WORD_TYPE): Likewise.
47302         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47303         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47305 2012-03-21  David S. Miller  <davem@davemloft.net>
47307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47309 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47311         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47312         of x86_64 when setting libc_cv_slibdir, libdir and
47313         libc_cv_localedir.
47314         * sysdeps/unix/sysv/linux/configure: Regenerated.
47316 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47318         * manual/lang.texi (Old Varargs): Remove section.
47319         (How Variadic): Update menu.
47320         (va_start): Do not mention varargs.h.
47322 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47323             Joseph Myers  <joseph@codesourcery.com>
47325         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47326         link test.
47327         * configure: Regenerated.
47329 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47331         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47332         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47333         conformtest.pl
47335 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47337         * NOTES: Remove.
47338         * Makefile (files-for-dist): Remove NOTES.
47339         (NOTES): Remove rule.
47340         * README: Don't refer to NOTES.
47341         * manual/creature.texi: Don't include macros.texi.
47342         * manual/intro.texi (creature.texi): Remove comment referring to
47343         NOTES.
47345         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47346         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47347         * configure: Regenerated.
47348         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47349         LIBC_TRY_CC_OPTION.
47350         (libc_cv_as_i686): Likewise.
47351         (libc_cv_cc_avx): Likewise.
47352         (libc_cv_cc_sse2avx): Likewise.
47353         (libc_cv_cc_fma4): Likewise.
47354         (libc_cv_cc_novzeroupper): Likewise.
47355         * sysdeps/i386/configure: Regenerated.
47357         [BZ #13883]
47358         * sysdeps/i386/fpu/s_cexp.S: Remove.
47359         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47360         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47361         * math/libm-test.inc (cexp_test): Add more tests.
47362         * sysdeps/i386/fpu/libm-test-ulps: Update.
47363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47365 2012-03-21  Allan McRae  <allan@archlinux.org>
47367         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47369 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47371         [BZ #13871]
47372         * math/w_exp2.c: Do not include <float.h>.
47373         (o_threshold, u_threshold): Remove.
47374         (__exp2): Calculate result before checking finiteness and calling
47375         __kernel_standard.
47376         * math/w_exp2f.c: Likewise.
47377         * math/w_exp2l.c: Likewise.
47378         * math/libm-test.inc (exp2_test): Require overflow exception for
47379         1e6 input.
47381         [BZ #3866]
47382         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47383         range of signed 64-bit integers before using fistpll.  Remove
47384         checks for whether integers fit in mantissa bits.
47385         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47386         the range of signed 32-bit integers before using fistpl.  Remove
47387         checks for whether integers fit in mantissa bits.
47388         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47389         (__ieee754_powl): Test for y outside the range of signed 64-bit
47390         integers before using fistpll.  Reduce 64-bit values to 63-bit
47391         ones as needed.
47392         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47393         divide-by-zero is raised for zero to large negative powers.
47394         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47395         (__ieee754_powl): Test for y outside the range of signed 64-bit
47396         integers before using fistpll.  Reduce 64-bit values to 63-bit
47397         ones as needed.
47398         * math/libm-test.inc (pow_test): Add more tests.
47400 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47402         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47403         <stdio-common/_itoa.h>.
47404         * debug/segfault.c: Likewise.
47405         * elf/dl-cache.c: Likewise.
47406         * elf/dl-minimal.c: Likewise.
47407         * elf/dl-misc.c: Likewise.
47408         * elf/dl-sysdep.c: Likewise.
47409         * elf/dl-version.c: Likewise.
47410         * elf/rtld.c: Likewise.
47411         * hurd/hurdsock.c: Likewise.
47412         * hurd/lookup-retry.c: Likewise.
47413         * malloc/malloc.c: Likewise.
47414         * malloc/mtrace.c: Likewise.
47415         * nscd/nscd_getgr_r.c: Likewise.
47416         * nscd/nscd_getpw_r.c: Likewise.
47417         * nscd/nscd_getserv_r.c: Likewise.
47418         * posix/getopt_init.c: Likewise.
47419         * posix/wordexp.c: Likewise.
47420         * stdio-common/_itoa.c: Likewise.
47421         * stdio-common/printf_fphex.c: Likewise.
47422         * stdio-common/vfprintf.c: Likewise.
47423         * string/_strerror.c: Likewise.
47424         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47425         * sysdeps/i386/i686/hp-timing.h: Likewise.
47426         * sysdeps/mach/_strerror.c: Likewise.
47427         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47428         * sysdeps/mach/hurd/sethostid.c: Likewise.
47429         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47430         * sysdeps/mach/xpg-strerror.c: Likewise.
47431         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47432         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47433         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47434         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47435         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47436         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47437         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47438         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47439         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47440         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47441         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47442         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47443         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47444         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47445         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47446         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47447         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47448         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47449         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47450         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47451         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47453         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47455         * stdio-common/_itoa.h: Moved to ...
47456         * sysdeps/generic/_itoa.h: Here.
47458         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47460         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47461         instead of "_itoa.h" and "_itowa.h".
47462         * stdio-common/vfprintf.: Likewise.
47464 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47466         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47467         <bits/wordsize.h>.
47468         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47469         (__signbit): Likwise.
47470         (llrintf): Likwise.
47471         (llrint): Likwise.
47473 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47475         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47476         __WORDSIZE != 64.
47478 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47480         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47481         OVERFLOW_EXCEPTION_OK.
47482         * math/libm-test.inc ("Philosophy"): Update comment about
47483         exception testing.
47484         (OVERFLOW_EXCEPTION): Define.
47485         (OVERFLOW_EXCEPTION_OK): Likewise.
47486         (INVALID_EXCEPTION_OK): Renumber.
47487         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47488         (IGNORE_ZERO_INF_SIGN): Likewise.
47489         (test_exceptions): Handle FE_OVERFLOW.
47490         (exp10_test): Expect overflow exceptions.
47491         (exp2_test): Likewise.
47492         (expm1_test): Likewise.
47493         (nextafter_test): Likewise.
47494         (pow_test): Likewise.
47495         (scalbn_test): Likewise.
47496         (scalbln_test): Likewise.
47498 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47500         * sysdeps/x86_64/bits/atomic.h
47501         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47502         64bit integer.
47503         (atomic_exchange_acq): Likewise.
47504         (__arch_exchange_and_add_body): Likewise.
47505         (__arch_add_body): Likewise.
47506         (atomic_add_negative): Likewise.
47507         (atomic_add_zero): Likewise.
47509 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47511         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47512         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47516         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47517         Check __x86_64__ instead of __WORDSIZE.
47519 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47521         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47523 2012-03-19  David S. Miller  <davem@davemloft.net>
47525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47527         * sysdeps/sparc/fpu/fenv_private.h: New file.
47528         * sysdeps/sparc/fpu/math_private.h: Use it.
47529         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47530         Remove.
47531         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47532         (libc_feholdexcept_setroundl): Remove.
47533         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47534         Remove.
47535         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47536         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47538 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47540         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47541         int64_t instead of long int.
47542         (INSERT_WORDS64): Likwise.
47544 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47546         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47547         _Unwind_GetCFA return to _Unwind_Ptr first.
47549 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47551         [BZ #13629]
47552         * math/s_clog.c: Include <float.h>.
47553         (__clog): Scale large or subnormal inputs.
47554         * math/s_clogf.c: Likewise.
47555         * math/s_clogl.c: Likewise.
47556         * math/s_clog10.c: Include <float.h>.
47557         (M_LOG10_2): Define.
47558         (__clog10): Scale large or subnormal inputs.
47559         * math/s_clog10f.c: Likewise.
47560         * math/s_clog10l.c: Likewise.
47561         * math/libm-test.inc (clog_test): Add more tests.
47562         (clog10_test): Likewise.
47563         * sysdeps/i386/fpu/libm-test-ulps: Update.
47564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47566         [BZ #11451]
47567         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47568         x and y.
47569         * math/libm-test.inc (atan2_test): Add another test.
47571         * Makerules (common-objdir-compile): Remove.
47572         * sysdeps/unix/Makefile (config-generated): Do not add
47573         $(unix-generated) to variable.
47574         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47575         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47576         Remove rule.
47577         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47578         Likewise.
47579         [generic bits/local_lim.h] (before-compile): Do not append to
47580         variable.
47581         [generic bits/local_lim.h] (common-generated): Likewise.
47582         [generic sys/param.h] (before-compile): Do not append to variable.
47583         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47584         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47585         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47586         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47587         include.
47588         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47589         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47590         [generic sys/param.h] ($(addprefix
47591         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47592         [generic sys/param.h] (common-generated): Do not append to
47593         variable.
47594         [generic sys/param.h] (sysdep_headers): Likewise.
47595         [generic bits/errno.h] (before-compile): Do not append to
47596         variable.
47597         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47598         rule.
47599         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47600         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47601         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47602         [generic bits/errno.h] (common-generated): Do not append to
47603         variable.
47604         [generic bits/ioctls.h] (before-compile): Do not append to
47605         variable.
47606         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47607         rule.
47608         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47609         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47610         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47611         rule.
47612         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47613         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47614         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47615         [generic bits/ioctls.h] (common-generated): Do not append to
47616         variable.
47617         [generic sys/syscall.h] (syscall.h): Remove variable.
47618         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47619         rule.
47620         [generic sys/syscall.h] (before-compile): Do not append to
47621         variable.
47622         [generic sys/syscall.h] (common-generated): Likewise.
47623         * sysdeps/unix/errnos-tmpl.c: Remove file.
47624         * sysdeps/unix/errnos.awk: Likewise.
47625         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47626         * sysdeps/unix/ioctls.awk: Likewise.
47627         * sysdeps/unix/mk-local_lim.c: Likewise.
47628         * sysdeps/unix/snarf-ioctls: Likewise.
47630 2012-03-19  Richard Henderson  <rth@twiddle.net>
47632         * sysdeps/i386/fpu/fenv_private.h: New file.
47633         * sysdeps/i386/fpu/math_private.h: Use it.
47634         (math_opt_barrier, math_force_eval): Remove.
47635         (libc_feholdexcept_setround_53bit): Remove.
47636         (libc_feupdateenv_53bit): Remove.
47637         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47638         (math_opt_barrier, math_force_eval): Remove.
47639         (libc_feholdexcept): Remove.
47640         (libc_feholdexcept_setround): Remove.
47641         (libc_fetestexcept, libc_fesetenv): Remove.
47642         (libc_feupdateenv_test): Remove.
47643         (libc_feupdateenv, libc_feholdsetround): Remove.
47644         (libc_feresetround): Remove.
47646         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47647         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47649         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47650         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47651         (libc_feupdateenv_testl): New.
47652         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47653         (libc_feupdateenv_testf): New.
47654         (libc_feupdateenv): Use libc_feupdateenv_test.
47655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47656         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47658         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47659         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47660         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47661         (libc_feresetround_noex): New.
47662         (libc_feresetround_noexf): New.
47663         (libc_feresetround_noexl): New.
47664         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47665         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47666         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47667         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47668         SET_RESTORE_ROUND.
47669         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47670         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47671         (__cos): Likewise.
47672         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47673         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47674         SET_RESTORE_ROUND_NOEX.
47675         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47676         SET_RESTORE_ROUND_NOEXF.
47677         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47678         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47679         (libc_feholdsetroundf): New.
47680         (libc_feresetround, libc_feresetroundf): New.
47682         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47683         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47684         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47686         * sysdeps/generic/math_private.h: Include <fenv.h>.
47687         (default_libc_feholdexcept): New.
47688         (default_libc_feholdexcept_setround): New.
47689         (default_libc_fesetenv, default_libc_feupdateenv): New.
47690         (libc_feholdexcept): Only define if undefined.
47691         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47692         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47693         (libc_feholdexcept_setroundl): Likewise.
47694         (libc_feholdexcept_setround_53bit): Likewise.
47695         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47696         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47697         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47698         (libc_feupdateenv_53bit): Likewise.
47699         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47700         (libc_feholdexcept): Convert from macro to inline function.
47701         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47702         (libc_fesetenv, libc_feupdateenv): Likewise.
47704         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47705         not previously defined.
47706         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47707         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47708         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47709         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47710         * sysdeps/ieee754/flt-32/math_private.h: New file.
47711         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47712         math_private.h below SET_FLOAT_WORD.
47713         (__isnan, __isinf_ns, __finite): Remove.
47714         (__isnanf, __isinf_nsf, __finitef): Remove.
47716 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47720 2012-03-17  David S. Miller  <davem@davemloft.net>
47722         [BZ #6471]
47723         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47724         for 2.16.
47726 2012-03-16  David S. Miller  <davem@davemloft.net>
47728         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47729         warnings.
47731         [BZ #6471]
47732         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47733         properly.
47734         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47735         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47736         sysdep_routines when subdir is sysvipc.
47737         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47738         __getshmlba helper.
47740         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47742 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47744         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47745         [__LP64__].
47747 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47749         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47750         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47751         (__lround): Renamed to ...
47752         (__llround): This.  Replace long int with long long int.
47753         Define lround functions as aliases of llround functions.
47754         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47756 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47758         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47759         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47760         adresses to uintptr_t.  Replace "long int" and "unsigned long
47761         int" with "greg_t" on va_arg.
47763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47765         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47766         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47768         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47769         Move e_machine check before EI_CLASS check.  Handle x32
47770         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47771         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47772         SKIP_EM_IA_64 and include
47773         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47775         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47776         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47777         (add_system_dir): New macro.
47779         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47780         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47782 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47784         [BZ #2551]
47785         [BZ #2552]
47786         [BZ #2553]
47787         [BZ #2554]
47788         [BZ #2562]
47789         [BZ #2563]
47790         [BZ #2565]
47791         [BZ #2566]
47792         [BZ #2576]
47793         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47794         (y0): Likewise.
47795         * math/w_j0f.c (j0f): Likewise.
47796         (y0f): Likewise.
47797         * math/w_j0l.c (__j0l): Likewise.
47798         (__y0l): Likewise.
47799         * math/w_j1.c (j1): Likewise.
47800         (y1): Likewise.
47801         * math/w_j1f.c (j1f): Likewise.
47802         (y1f): Likewise.
47803         * math/w_j1l.c (__j1l): Likewise.
47804         (__y1l): Likewise.
47805         * math/w_jn.c (jn): Likewise.
47806         (yn): Likewise.
47807         * math/w_jnf.c (jnf): Likewise.
47808         (ynf): Likewise.
47809         * math/w_jnl.c (__jnl): Likewise.
47810         (__ynl): Likewise.
47811         * math/libm-test.inc (j0_test): Add more tests.
47812         (j1_test): Likewise.
47813         (jn_test): Likewise.  Add trailing semicolon to existing test.
47814         (y0_test): Likewise.
47815         (y1_test): Likewise.
47816         * sysdeps/i386/fpu/libm-test-ulps: Update.
47817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47819         [BZ #13851]
47820         [BZ #13854]
47821         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47822         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47823         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47824         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47825         (__tanl): Set errno for infinite argument.
47826         * sysdeps/i386/fpu/mptan.c: Remove.
47827         * sysdeps/i386/fpu/s_tan.S: Likewise.
47828         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47829         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47830         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47831         * math/libm-test.inc (tan_test): Add more tests and enable more
47832         tests for double and long double.
47833         * sysdeps/i386/fpu/libm-test-ulps: Update.
47834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47836 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47838         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47839         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47841 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47843         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47844         * configure.in: Use it for both main tree and add-ons.
47845         * configure: Regenerated.
47847 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47849         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47851 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47853         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47854         in comment.
47856         [BZ #13851]
47857         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47858         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47859         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47860         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47861         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47862         infinite argument.
47863         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47864         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47865         != 0 for prec == 2.
47866         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47867         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47868         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47869         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47870         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47871         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47872         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47873         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47874         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47875         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47876         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47877         * math/libm-test.inc (cos_test): Add more tests and enable more
47878         tests for long double.
47879         (sin_test): Likewise.
47880         (sincos_test): Likewise.
47881         * sysdeps/i386/fpu/libm-test-ulps: Update.
47882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47884 2012-03-16  David S. Miller  <davem@davemloft.net>
47886         * sysdeps/sparc/fpu/math_private.h: New file.
47888 2012-03-15  David S. Miller  <davem@davemloft.net>
47890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47891         file.
47892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47894         file.
47895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47900         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47901         sysdep routines.
47902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47904         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47905         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47907         * sysdeps/sparc/sparc-ifunc.h: New file.
47908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47909         sparc-ifunc.h
47910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47912         Likewise.
47913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47914         Likewise.
47915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47919         Likewise.
47920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47925         Likewise.
47926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47927         Likewise.
47928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47934         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47935         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47940         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47941         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47942         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47943         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47944         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47945         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47946         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47947         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47948         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47949         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47950         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47951         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47953 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47955         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47956         scaling.
47957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47959 2012-03-15  Andreas Jaeger  <aj@suse.de>
47961         [BZ #13852]
47962         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47963         ieee754/flt-32 implementation for sin, cos and sincos.
47964         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47965         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47966         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47967         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47968         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47969         ieee754/flt-32 implementation for tan.
47971         * math/libm-test.inc (cos_test): Enable some large input tests for
47972         float as well
47973         (sin_test): Likewise.
47974         (sincos_test): Likewise.
47975         (tan_test): Add tests for large input.
47977         * sysdeps/i386/fpu/libm-test-ulps: Update.
47979 2012-03-15  Andreas Jaeger  <aj@suse.de>
47981         [BZ #13658]
47982         * math/libm-test.inc (cos_test): Add more test cases.
47983         (sin_test): Likewise.
47984         (sincos_test): Likewise.
47986 2012-03-15  Andreas Jaeger  <aj@suse.de>
47988         [BZ #13837]
47989         * math/libm-test.inc (cos_test): Add a test case for large input
47990         value.
47991         (sin_test): Likewise.
47992         (sincos_test): Likewise.
47994 2012-03-15  Andreas Jaeger  <aj@suse.de>
47995             Joseph Myers  <joseph@codesourcery.com>
47997         [BZ #13658]
47998         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47999         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48000         * sysdeps/i386/fpu/branred.c: Likewise.
48001         * sysdeps/i386/fpu/dosincos.c: Likewise.
48002         * sysdeps/i386/fpu/mpa.c: Likewise.
48003         * sysdeps/i386/fpu/s_cos.S: Likewise.
48004         * sysdeps/i386/fpu/s_sin.S: Likewise.
48005         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48006         * sysdeps/i386/fpu/sincos32.c: Likewise.
48008         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48009         Define.
48010         (libc_feupdateenv_53bit): Define.
48011         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48012         Define.
48013         (libc_feupdateenv_53bit): Define.
48015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48016         53 bit (without extend i386 double precision).
48018         * math/libm-test.inc (sincos_test): Add tests for large input.
48019         (sin): Likewise.
48020         (cos): Likewise.
48022         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48024 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48028 2012-03-15  David S. Miller  <davem@davemloft.net>
48030         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48031         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48032         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48033         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48041         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48042         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48046         file.
48047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48049         file.
48050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48052         file.
48053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48055         file.
48056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48057         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48058         fmin/fmax sysdep routines.
48059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48061 2012-03-14  David S. Miller  <davem@davemloft.net>
48063         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48065         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48067         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48068         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48069         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48070         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48072         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48073         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48074         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48083         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48084         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48085         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48086         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48087         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48088         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48089         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48090         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48091         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48092         routines.
48093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48094         file.
48095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48097         file.
48098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48100         file.
48101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48103         file.
48104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48106         file.
48107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48109         file.
48110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48111         file.
48112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48113         file.
48114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48115         file.
48116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48117         New file.
48118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48119         file.
48120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48121         file.
48122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48124         file.
48125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48127         file.
48128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48130         file.
48131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48133         VIS3 routines.
48135         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48136         New file.
48138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48140         * sysdeps/sparc/configure.in: New file.
48141         * sysdeps/sparc/configure: Generate.
48142         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48143         * configure: Regenerate.
48144         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48145         * config.make.in (have-as-vis3): New.
48146         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48147         available use -Av9d instead of -Av9a.
48148         * sysdeps/sparc/sparc64/Makefile: Likewise.
48149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48151         New file.
48152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48153         file.
48154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48155         New file.
48156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48157         file.
48158         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48161         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48162         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48164         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48165         fzeros/fnegs to load 0x80000000 into a float register instead of
48166         using the stack.
48167         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48169 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48172         bits/syscall.h.
48173         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48174         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48175         ($(inst_includedir)/bits/syscall.h): Remove rule.
48176         ($(objpfx)bits/syscall.d): Include instead of
48177         $(objpfx)syscall-list.d.
48178         (generated): Change syscall-list.h and syscall-list.d to
48179         bits/syscall.h and bits/syscall.d.
48181 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48183         [BZ #13846]
48184         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48186 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48188         [BZ #13841]
48189         * math/s_csqrt.c: Include <float.h>.
48190         (__csqrt): Scale large or subnormal inputs.
48191         * math/s_csqrtf.c: Likewise.
48192         * math/s_csqrtl.c: Likewise.
48193         * math/libm-test.inc (csqrt_test): Add more tests.
48194         * sysdeps/i386/fpu/libm-test-ulps: Update.
48195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48197         [BZ #13840]
48198         * math/libm-test.inc (hypot_test): Add more tests.
48200 2012-03-13  David S. Miller  <davem@davemloft.net>
48202         [BZ #13840]
48203         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48204         double-precision for the calculation instead of scaling.
48206 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48208         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48209         manipulate bits before adding and subtracting TWO52[sx].
48210         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48211         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48212         Likewise.
48213         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48215 2012-03-13  David S. Miller  <davem@davemloft.net>
48217         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48218         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48219         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48220         rtld-global-offsets.h
48221         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48223         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48224         large parameters.
48226         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48228         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48229         'err' in the ifdef scope in which it is actually used.
48231         * nss/nss_db/db-init.c: Include string.h
48233 2012-03-12  David S. Miller  <davem@davemloft.net>
48235         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48236         masking out of the most significant byte of random value used.
48237         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48238         Fix coding style in previous change.
48240         * sysdeps/unix/sysv/linux/kernel-features.h
48241         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48242         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48243         expression.
48244         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48245         later.
48247 2012-03-11  David S. Miller  <davem@davemloft.net>
48249         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48250         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48251         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48252         for 'resultvar' otherwise things get truncated on 64-bit.
48254         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48255         Fix masking out of the most significant byte of random value used.
48257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48259 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48263 2012-03-09  David S. Miller  <davem@davemloft.net>
48265         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48266         variables with appropriate CPP guards.
48267         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48268         from the frame pointer, not the stack pointer.  Correct layout
48269         comments.  Fix test on resulting framesize and the management of
48270         the outregs buffer for pltexit.  Preserve floating point return
48271         values across _dl_call_pltexit call.
48272         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48273         framesize and the management of the outregs buffer for pltexit.
48274         Preserve floating point return values across _dl_call_pltexit
48275         call.
48276         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48277         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48278         (la_sparc64_gnu_pltexit): New functions.
48279         (print_exit): Fix format string for return register value.
48281 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48283         * sunrpc/Makefile (others): Add rpcgen.
48284         ($(objpfx)rpcgen): Remove special build rule and dependency on
48285         libc.
48286         * sunrpc/rpcgen.c: New file.
48288 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48290         [BZ #13673]
48291         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48292         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48293         * sysdeps/i386/crti.S: Likewise.
48294         * sysdeps/i386/crtn.S: Likewise.
48295         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48296         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48297         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48298         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48299         * sysdeps/sh/crti.S: Likewise.
48300         * sysdeps/sh/crtn.S: Likewise.
48301         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48303         [BZ #13673]
48304         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48305         with URL.
48306         * locale/programs/locfile-kw.gperf: Likewise.
48307         * locale/programs/charmap-kw.h: Regenerated.
48308         * locale/programs/locfile-kw.h: Likewise.
48310         [BZ #13673]
48311         * intl/plural.y: Replace FSF snail mail address with URL.
48312         * intl/plural.c: Regenerated.
48314 2012-03-09  Richard Henderson  <rth@twiddle.net>
48316         * include/math_private.h: Remove file.
48317         * math/math_private.h: Move file ...
48318         * sysdeps/generic/math_private.h: ... here.
48320         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48321         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48322         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48324         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48325         and <math_private.h>.
48326         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48327         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48328         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48329         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48330         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48331         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48332         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48333         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48334         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48335         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48337         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48338         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48339         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48340         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48341         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48342         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48343         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48344         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48345         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48346         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48347         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48348         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48349         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48350         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48351         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48352         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48353         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48354         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48355         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48356         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48357         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48358         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48359         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48360         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48361         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48362         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48363         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48364         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48365         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48366         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48367         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48368         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48369         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48370         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48371         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48372         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48373         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48374         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48375         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48376         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48377         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48378         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48379         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48380         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48381         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48382         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48383         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48384         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48385         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48386         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48387         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48389         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48390         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48391         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48392         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48393         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48394         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48395         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48396         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48397         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48398         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48399         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48400         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48401         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48402         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48403         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48404         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48405         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48406         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48407         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48408         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48409         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48410         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48411         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48412         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48413         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48414         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48415         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48416         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48417         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48418         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48419         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48420         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48421         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48422         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48423         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48424         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48425         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48426         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48427         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48428         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48429         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48430         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48431         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48432         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48433         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48434         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48435         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48436         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48437         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48438         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48439         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48440         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48441         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48442         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48443         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48444         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48445         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48446         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48447         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48448         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48449         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48450         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48451         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48452         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48453         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48454         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48455         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48456         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48457         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48458         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48459         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48460         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48461         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48462         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48463         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48464         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48465         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48466         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48467         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48468         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48469         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48470         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48471         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48472         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48473         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48474         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48475         * sysdeps/ieee754/k_standard.c: Likewise.
48476         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48477         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48478         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48479         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48480         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48481         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48482         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48483         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48484         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48485         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48486         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48487         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48488         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48489         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48490         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48491         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48492         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48493         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48494         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48495         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48496         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48497         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48498         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48499         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48500         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48501         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48502         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48503         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48504         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48505         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48506         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48507         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48508         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48509         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48510         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48511         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48512         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48513         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48515         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48523         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48525         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48526         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48527         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48528         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48530         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48532         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48533         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48534         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48535         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48536         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48537         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48538         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48539         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48540         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48541         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48542         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48544         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48545         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48546         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48547         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48548         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48549         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48550         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48551         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48552         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48553         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48554         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48555         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48556         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48557         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48558         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48559         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48560         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48561         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48562         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48563         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48564         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48565         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48566         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48567         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48570         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48571         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48572         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48574         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48575         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48576         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48577         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48578         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48579         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48580         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48581         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48582         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48583         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48584         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48585         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48586         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48587         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48588         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48589         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48590         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48591         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48592         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48593         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48594         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48595         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48596         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48598         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48599         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48600         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48601         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48602         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48603         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48605         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48606         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48607         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48608         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48609         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48610         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48615         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48617         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48619         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48620         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48621         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48623         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48624         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48625         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48626         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48628         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48629         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48630         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48631         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48632         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48634         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48635         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48636         * sysdeps/ieee754/s_lib_version.c: Likewise.
48637         * sysdeps/ieee754/s_matherr.c: Likewise.
48638         * sysdeps/ieee754/s_signgam.c: Likewise.
48639         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48640         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48641         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48642         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48643         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48644         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48645         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48646         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48647         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48648         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48649         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48650         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48651         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48652         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48653         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48654         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48655         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48656         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48657         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48658         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48659         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48661 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48663         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48664         * sunrpc/rpc_main.c: Likewise.
48665         * sunrpc/rpc_svcout.c: Likewise.
48667 2012-03-09  David S. Miller  <davem@davemloft.net>
48669         * include/math_private.h: New file.
48671 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48673         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48674         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48675         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48676         from <bits/socket_type.h>.
48677         (enum __socket_type): Don't define here.
48678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48680         bits/socket_type.h.
48682         [BZ #13566]
48683         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48684         checking __USE_GNU.
48686         * Makerules ($(inst_includedir)/%.h): New rule.
48687         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48688         (install-others): Remove variable setting.
48689         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48691 2012-03-08  Richard Henderson  <rth@twiddle.net>
48693         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48694         from macro to inline function; merge with the
48695         !__LIBC_INTERNAL_MATH_INLINES version.
48696         (__ieee754_sqrtf): Likewise.
48698         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48699         to inline function.
48700         (__rintf, __floor, __floorf): Likewise.
48702         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48703         macro to inline function.
48704         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48706         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48707         not <math/math_private.h>.
48709 2012-03-08  David S. Miller  <davem@davemloft.net>
48711         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48712         copyright year.
48713         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48715 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48717         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48718         normalization.
48719         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48720         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48722 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48724         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48725         be defined individually, they must be defined as a block.  Define
48726         S for printing a string instead of hidint the different by using a
48727         macro for adding the 'l'.
48728         * stdio-common/tst-fphex-wide.c: Adjust.
48730 2012-03-07  Marek Polacek  <polacek@redhat.com>
48732         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48734 2012-03-08  Marek Polacek  <polacek@redhat.com>
48736         [BZ #13806]
48737         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48738         * stdio-common/tst-fphex.c: Define a few macros to make the
48739         test reusable.  Use them.
48740         * stdio-common/tst-fphex-wide.c: New file.
48742 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48744         [BZ #6911]
48745         * manual/macros.texi (gnusystems): New macro.
48746         (nongnusystems): Likewise.
48747         (gnulinuxhurdsystems): Likewise.
48748         (gnuhurdsystems): Likewise..
48749         (gnulinuxsystems): Likewise.
48750         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48751         variants of the GNU system, not "GNU system".
48752         * manual/conf.texi: Likewise.
48753         * manual/errno.texi: Likewise.  Update example of errno macro
48754         expansion.
48755         * manual/filesys.texi: Likewise.
48756         (getumask): Document as specific to GNU/Hurd.
48757         * manual/install.texi: Likewise.  Reword some references to
48758         GNU/Linux.
48759         * manual/intro.texi: Likewise.
48760         * manual/io.texi: Likewise.
48761         (File Name Portability): Detail which constraints are inapplicable
48762         to all GNU systems and which are only inapplicable to GNU/Hurd.
48763         * manual/job.texi: Likewise.
48764         * manual/llio.texi: Likewise.
48765         (O_NOCTTY): Document as present on GNU/Linux.
48766         * manual/maint.texi: Likewise.
48767         * manual/memory.texi: Likewise.
48768         * manual/pattern.texi: Likewise.
48769         * manual/pipe.texi: Likewise.
48770         * manual/process.texi: Likewise.
48771         * manual/resource.texi: Likewise.
48772         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48773         child on GNU/Hurd.
48774         * manual/setjmp.texi: Likewise.
48775         * manual/signal.texi: Likewise.
48776         * manual/startup.texi: Likewise.
48777         * manual/stdio.texi: Likewise.
48778         * manual/terminal.texi: Likewise.
48779         (ONLCR): Document as POSIX.
48780         (OXTABS): Document availability on GNU/Linux as XTABS.
48781         (ONOEOT): Document availability separately from other bits.
48782         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48783         * manual/time.texi: Likewise.
48784         * manual/users.texi: Likewise.
48785         * INSTALL: Regenerated.
48786         * sysdeps/gnu/errlist.c: Regenerated.
48788         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48789         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48790         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48791         puts.
48792         * configure: Regenerated.
48794 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48796         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48797         default includes instead of AC_HEADER_CHECK.
48798         * sysdeps/i386/configure: Regenerated.
48800         [BZ #10716]
48801         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48802         * math/s_cacoshf.c (__cacoshf): Likewise.
48803         * math/s_cacoshl.c (__cacoshl): Likewise.
48804         * math/s_casinh.c (__casinh): Set signs of result from argument.
48805         * math/s_casinhf.c (__casinhf): Likewise.
48806         * math/s_casinhl.c (__casinhl): Likewise.
48807         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48808         (casinh_test): Add more tests.
48809         * sysdeps/i386/fpu/libm-test-ulps: Update.
48810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48812 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48814         * po/zh_TW.po: Update from translation team.
48816         * login/Makefile (distribute): Remove variable.
48817         * catgets/Makefile: Likewise.
48818         * mach/Makefile: Likewise.
48819         * malloc/Makefile: Likewise.
48820         * misc/Makefile: Likewise.
48821         * iconv/Makefile: Likewise.
48822         * nscd/Makefile: Likewise.
48823         * hurd/Makefile: Likewise.
48824         * manual/Makefile: Likewise.
48825         * locale/Makefile: Likewise.
48826         * intl/Makefile: Likewise.
48827         * conform/Makefile: Likewise.
48828         * nss/Makefile: Likewise.
48829         * time/Makefile: Likewise.
48830         * soft-fp/Makefile: Likewise.
48831         * dirent/Makefile: Likewise.
48832         * gmon/Makefile: Likewise.
48833         * po/Makefile: Likewise.
48834         * rt/Makefile: Likewise.
48835         * socket/Makefile: Likewise.
48836         * math/Makefile: Likewise.
48837         * signal/Makefile: Likewise.
48838         * debug/Makefile: Likewise.
48839         * elf/Makefile: Likewise.
48840         * timezone/Makefile: Likewise.
48841         * stdlib/Makefile: Likewise.
48842         * iconvdata/Makefile: Likewise.
48843         * sunrpc/Makefile: Likewise.
48844         * io/Makefile: Likewise.
48845         * argp/Makefile: Likewise.
48846         * inet/Makefile: Likewise.
48847         * hesiod/Makefile: Likewise.
48848         * grp/Makefile: Likewise.
48849         * csu/Makefile: Likewise.
48850         * wctype/Makefile: Likewise.
48851         * crypt/Makefile: Likewise.
48852         * libio/Makefile: Likewise.
48853         * string/Makefile: Likewise.
48854         * nis/Makefile: Likewise.
48855         * resolv/Makefile: Likewise.
48856         * stdio-common/Makefile: Likewise.
48857         * wcsmbs/Makefile: Likewise.
48858         * dlfcn/Makefile: Likewise.
48859         * posix/Makefile: Likewise.
48861         [BZ #6959]
48862         * timezone/Makefile: Don't install timezone files, just the programs
48863         and scripts.
48865 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48867         * nss/databases.def: Add missing gshadow entry.
48869         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48871 2012-03-06  Marek Polacek  <polacek@redhat.com>
48873         [BZ #13726]
48874         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48875         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48876         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48877         * stdio-common/tst-long-dbl-fphex.c: New file.
48879 2012-03-06  David S. Miller  <davem@davemloft.net>
48881         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48882         (set_obp_int): New function.
48883         (get_obp_int): New function.
48884         (__get_clockfreq_via_dev_openprom): Likewise.
48885         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48886         Avoid unused variable warnings on 'val' and use builtin_expect.
48887         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48888         __builtin_expect.
48889         (INLINE_CLONE_SYSCALL): Likewise.
48891 2012-03-05  David S. Miller  <davem@davemloft.net>
48893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48895 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48899         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48900         only for |x| >= 40.
48901         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48903 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48905         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48906         Replace gettimeofday with __vdso_gettimeofday.
48908         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48909         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48910         __vdso_clock_gettime and __vdso_getcpu.
48912         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48913         time with __vdso_time.
48915 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48917         * manual/lang.texi (size_t): Note types to which size_t may be
48918         equivalent with the GNU C Library, but do not describe when
48919         differences between them are significant.
48921 2012-03-05  Andreas Jaeger  <aj@suse.de>
48923         * sysdeps/i386/fpu/libm-test-ulps: Update.
48925 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48927         [BZ #3976]
48928         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48929         (__ieee754_pow): Save and restore rounding mode and use
48930         round-to-nearest for main computations.
48931         * math/libm-test.inc (pow_test_tonearest): New function.
48932         (pow_test_towardzero): Likewise.
48933         (pow_test_downward): Likewise.
48934         (pow_test_upward): Likewise.
48935         (main): Call the new functions.
48936         * sysdeps/i386/fpu/libm-test-ulps: Update.
48937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48939         [BZ #3976]
48940         * math/libm-test.inc (cosh_test_tonearest): New function.
48941         (cosh_test_towardzero): Likewise.
48942         (cosh_test_downward): Likewise.
48943         (cosh_test_upward): Likewise.
48944         (sinh_test_tonearest): Likewise.
48945         (sinh_test_towardzero): Likewise.
48946         (sinh_test_downward): Likewise.
48947         (sinh_test_upward): Likewise.
48948         (main): Call the new functions.
48949         * sysdeps/i386/fpu/libm-test-ulps: Update.
48950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48952 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48954         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48955         default stack guard is set in last bytes.
48956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48958 2012-03-05  Kees Cook  <keescook@chromium.org>
48960         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48962         [BZ #13656]
48963         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48964         possibly allocate from heap instead of stack.
48965         * stdio-common/bug-vfprintf-nargs.c: New file.
48966         * stdio-common/Makefile (tests): Add nargs overflow test.
48968 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48972 2012-03-03  Marek Polacek  <polacek@redhat.com>
48974         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48975         * math/math_private.h: Likewise.
48976         * stdlib/tst-strtod.c: Likewise.
48977         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48978         * sysdeps/x86_64/bits/atomic.h: Likewise.
48980 2012-03-02  David S. Miller  <davem@davemloft.net>
48982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48986         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48987         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48988         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48989         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48991 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48993         [BZ #13792]
48994         * manual/examples/README: New file, says the example source files
48995         can be used under GPL>=2.
48996         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48997         line containing just "*/".
48998         * manual/examples/add.c: Add copyright header (GPL>=2).
48999         * manual/examples/argp-ex1.c: Likewise.
49000         * manual/examples/argp-ex2.c: Likewise.
49001         * manual/examples/argp-ex3.c: Likewise.
49002         * manual/examples/argp-ex4.c: Likewise.
49003         * manual/examples/atexit.c: Likewise.
49004         * manual/examples/db.c: Likewise.
49005         * manual/examples/dir.c: Likewise.
49006         * manual/examples/dir2.c: Likewise.
49007         * manual/examples/execinfo.c: Likewise.
49008         * manual/examples/filecli.c: Likewise.
49009         * manual/examples/filesrv.c: Likewise.
49010         * manual/examples/fmtmsgexpl.c: Likewise.
49011         * manual/examples/genpass.c: Likewise.
49012         * manual/examples/inetcli.c: Likewise.
49013         * manual/examples/inetsrv.c: Likewise.
49014         * manual/examples/isockad.c: Likewise.
49015         * manual/examples/longopt.c: Likewise.
49016         * manual/examples/memopen.c: Likewise.
49017         * manual/examples/memstrm.c: Likewise.
49018         * manual/examples/mkfsock.c: Likewise.
49019         * manual/examples/mkisock.c: Likewise.
49020         * manual/examples/mygetpass.c: Likewise.
49021         * manual/examples/pipe.c: Likewise.
49022         * manual/examples/popen.c: Likewise.
49023         * manual/examples/rprintf.c: Likewise.
49024         * manual/examples/search.c: Likewise.
49025         * manual/examples/select.c: Likewise.
49026         * manual/examples/setjmp.c: Likewise.
49027         * manual/examples/sigh1.c: Likewise.
49028         * manual/examples/sigusr.c: Likewise.
49029         * manual/examples/stpcpy.c: Likewise.
49030         * manual/examples/strdupa.c: Likewise.
49031         * manual/examples/strftim.c: Likewise.
49032         * manual/examples/strncat.c: Likewise.
49033         * manual/examples/subopt.c: Likewise.
49034         * manual/examples/swapcontext.c: Likewise.
49035         * manual/examples/termios.c: Likewise.
49036         * manual/examples/testopt.c: Likewise.
49037         * manual/examples/testpass.c: Likewise.
49038         * manual/examples/timeval_subtract.c: Likewise.
49040         [BZ #13792]
49041         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49042         function to ...
49043         * manual/timeval_subtract.c.texi: ... here, new file.
49045 2012-03-02  David S. Miller  <davem@davemloft.net>
49047         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49049 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49051         [BZ #3976]
49052         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49053         (__sin): Save and restore rounding mode and use round-to-nearest
49054         for all computations.
49055         (__cos): Save and restore rounding mode and use round-to-nearest
49056         for all computations.
49057         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49058         <fenv.h>.
49059         (tan): Save and restore rounding mode and use round-to-nearest for
49060         all computations.
49061         * math/libm-test.inc (cos_test_tonearest): New function.
49062         (cos_test_towardzero): Likewise.
49063         (cos_test_downward): Likewise.
49064         (cos_test_upward): Likewise.
49065         (sin_test_tonearest): Likewise.
49066         (sin_test_towardzero): Likewise.
49067         (sin_test_downward): Likewise.
49068         (sin_test_upward): Likewise.
49069         (tan_test_tonearest): Likewise.
49070         (tan_test_towardzero): Likewise.
49071         (tan_test_downward): Likewise.
49072         (tan_test_upward): Likewise.
49073         (main): Call the new functions.
49074         * sysdeps/i386/fpu/libm-test-ulps: Update.
49075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49077         [BZ #10135]
49078         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49079         small n, then large n, before computing and testing k+n.
49080         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49081         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49082         Likewise.
49083         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49084         Likewise.
49085         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49086         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49087         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49088         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49089         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49090         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49091         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49092         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49093         * math/libm-test.inc (scalbn_test): Add more tests.
49094         (scalbln_test): Likewise.
49096         * manual/filesys.texi (mode_t): Describe constraints on size and
49097         signedness, not exact equivalence to a particular type.
49098         (ino_t): Likewise.
49099         (ino64_t): Likewise.
49100         (dev_t): Likewise.
49101         (nlink_t): Likewise.
49102         (blkcnt_t): Likewise.
49103         (blkcnt64_t): Likewise.
49104         * manual/llio.texi (off_t): Likewise.
49106         [BZ #3976]
49107         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49108         (__ieee754_exp): Save and restore rounding mode and use
49109         round-to-nearest for all computations.
49110         * math/libm-test.inc (exp_test_tonearest): New function.
49111         (exp_test_towardzero): Likewise.
49112         (exp_test_downward): Likewise.
49113         (exp_test_upward): Likewise.
49114         (main): Call the new functions.
49115         * sysdeps/i386/fpu/libm-test-ulps: Update.
49116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49118 2012-03-01  Chris Demetriou  <cgd@google.com>
49120         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49121         have predictable order.
49123 2012-03-01  David S. Miller  <davem@davemloft.net>
49125         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49127         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49128         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49129         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49130         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49132         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49133         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49134         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49136         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49137         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49138         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49139         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49140         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49144         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49145         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49146         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49148         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49149         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49150         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49151         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49152         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49153         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49154         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49155         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49156         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49157         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49158         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49159         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49161         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49162         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49164         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49165         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49166         * sysdeps/sparc/elf/configure: Regenerated.
49168 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49170         * configure.in (AS, LD): Require binutils 2.20 or later.
49171         * configure: Regenerated.
49172         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49173         as required minimum version.
49174         * INSTALL: Regenerated.
49176         [BZ #2541]
49177         [BZ #4108]
49178         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49179         before squaring exponent.
49180         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49181         bottom long double and 27 bits of top long double before squaring
49182         exponent.
49183         * math/libm-test.inc (erfc_test): Add more tests.
49184         * sysdeps/i386/fpu/libm-test-ulps: Update.
49185         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49188 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49190         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49191         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49192         containing bit-fields.
49193         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49194         * soft-fp/single.h (_FP_UNION_S): Likewise.
49195         * soft-fp/double.h (_FP_UNION_D): Likewise.
49197 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49199         [BZ #13786]
49200         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49201         not include ../strcmp.S.
49202         [USE_AS_STRNCASECMP_L]: Likewise.
49203         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49204         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49205         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49206         (__strncasecmp_l_ia32): Define as alias to
49207         __strncasecmp_l_nonascii.
49209         [BZ #5794]
49210         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49211         * sysdeps/i386/fpu/libm-test-ulps: Update.
49212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49214         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49217 2012-02-29  Jeff Law  <law@redhat.com>
49219         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49220         out of bounds read.
49222 2012-02-29  Marek Polacek  <polacek@redhat.com>
49224         [BZ #13706]
49225         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49226         * elf/Makefile: Add rules to run tst-unused-dep.out.
49228 2012-02-28  David S. Miller  <davem@davemloft.net>
49230         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49231         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49232         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49233         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49234         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49235         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49237 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49239         * math/libm-test.inc (llround_test): Move one test from
49240         lround_test.  Use TEST_f_L in moved test.
49241         (lround_test): Move misplaced test to llround_test.  Add testcase
49242         from bug 2561.
49244 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49246         * sysdeps/x86_64/fpu/e_expf.S: New file.
49247         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49249 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49251         [BZ #13637]
49252         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49253         of remain_len that may cause incomplete multi-byte character and
49254         false match.
49255         * posix/bug-regex33.c: New file.
49256         * posix/Makefile (tests): Add bug-regex33.
49258 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49260         * manual/macros.texi: New file.
49261         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49262         * manual/libc.texinfo: Include macros.texi.
49263         * manual/creatute.texi: Likewise.
49264         * manual/install.texi: Likewise.
49265         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49266         @glibcadj{} in references to the GNU C Library.
49267         * manual/charset.texi: Likewise.
49268         * manual/conf.texi: Likewise.
49269         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49270         when not using those macros.
49271         * manual/creature.texi: Likewise.
49272         * manual/crypt.texi: Likewise.
49273         * manual/errno.texi: Likewise.
49274         * manual/filesys.texi: Likewise.
49275         * manual/header.texi: Likewise.
49276         * manual/install.texi: Likewise.
49277         * manual/intro.texi: Likewise.
49278         * manual/io.texi: Likewise.
49279         * manual/job.texi: Likewise.
49280         * manual/lang.texi: Likewise.
49281         * manual/libc.texiinfo: Likewise.
49282         * manual/llio.texi: Likewise.
49283         * manual/locale.texi: Likewise.
49284         * manual/maint.texi: Likewise.
49285         * manual/math.texi: Likewise.
49286         * manual/memory.texi: Likewise.
49287         * manual/message.texi: Likewise.
49288         * manual/nss.texi: Likewise.
49289         * manual/pattern.texi: Likewise.
49290         * manual/process.texi: Likewise.
49291         * manual/resource.texi: Likewise.
49292         * manual/search.texi: Likewise.
49293         * manual/setjmp.texi: Likewise.
49294         * manual/signal.texi: Likewise.
49295         * manual/socket.texi: Likewise.
49296         * manual/startup.texi: Likewise.
49297         * manual/stdio.texi: Likewise.
49298         * manual/string.texi: Likewise.
49299         * manual/sysinfo.texi: Likewise.
49300         * manual/syslog.texi: Likewise.
49301         * manual/terminal.texi: Likewise.
49302         * manual/time.texi: Likewise.
49303         * manual/users.texi: Likewise.
49304         * INSTALL: Regenerated.
49305         * NOTES: Regenerated.
49306         * sysdeps/gnu/errlist.c: Regenerated.
49308 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49310         * include/dirent.h: Include <dirstream.h> before
49311         <dirent/dirent.h>.
49313 2012-02-28  David S. Miller  <davem@davemloft.net>
49315         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49316         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49317         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49318         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49320 2012-02-27  David S. Miller  <davem@davemloft.net>
49322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49324         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49325         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49328         frame pointer instead of stack pointer relative arg slot.
49329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49330         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49331         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49333 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49335         [BZ #3992]
49336         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49338 2012-02-27  David S. Miller  <davem@davemloft.net>
49340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49344         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49345         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49346         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49347         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49349 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49351         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49352         later.  Allow versions 5-9.
49353         * configure: Regenerated.
49354         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49355         required minimum version and 4.6 as recommended version.  Do not
49356         mention bugs in GCC 2.7 and 2.8.
49357         * INSTALL: Regenerated.
49359 2012-02-27  David S. Miller  <davem@davemloft.net>
49361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49365         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49366         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49367         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49368         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49370         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49371         manipulate bits before adding and subtracting TWO112[sx].
49372         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49374 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49376         [BZ #13775]
49377         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49378         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49379         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49380         being in POSIX, because they are in 1003.1-2008.
49382         * rt/tst-aio.c: Include <fcntl.h>.
49383         * rt/tst-aio7.c: Likewise.
49384         * rt/tst-aio64.c: Likewise.
49386         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49388 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49390         * manual/install.texi (--with-headers): Describe headers as
49391         interface headers, not private headers.
49392         (Specific advice for GNU/Linux systems): Describe use of headers
49393         from "make headers_install", not private headers from older
49394         kernels.
49395         * INSTALL: Regenerated.
49396         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49397         Change to 2.6.19.
49398         * sysdeps/unix/sysv/linux/configure: Regenerated.
49400         * manual/llio.texi (fclean): Remove documentation.
49402         * manual/Makefile (libc-texi-generated): New variable.  Include
49403         version.texi.
49404         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49405         $(libc-texi-generated), not duplicated list of files.
49406         (version.texi, stamp-version): New rules.
49407         (realclean): Remove $(libc-texi-generated), not individual files
49408         from that list.  Do not remove dir-add.texinfo.
49409         * manual/libc.texinfo: Comment out uses of edition numbers and
49410         references to printed manual.  Remove last-updated dates.
49411         (EDITION): Comment out.
49412         (ISBN): Likewise.
49413         (VERSION, UPDATED): Remove.
49414         (version.texi): Include.
49416 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49418         * sysdeps/posix/spawni.c: Include <signal.h>.
49419         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49420         * sysdeps/pthread/aio_fsync.c: Likewise.
49422 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49424         * conform/Makefile (tests): Run only when not cross-compiling and
49425         when fast-check is not defined.
49427         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49428         * conform/data/limits.h-data: Fixes for POSIX2008.
49429         * conform/run-conformtest.sh: Run all tests.
49430         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49431         headers.
49432         * include/bits/dlfcn.h: Likewise.
49433         * include/langinfo.h: Likewise.
49434         * include/monetary.h: Likewise.
49435         * include/sys/poll.h: Likewise.
49437         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49438         for __USE_GNU.
49439         * posix/spawn.h: Define __need_sigset_t.
49440         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49441         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49442         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49443         to get sigevent_t only.
49444         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49445         only for __USE_GNU.
49446         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49447         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49448         process_vm_writev only for __USE_GNU.
49449         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49451         * conform/Makefile: For now ignore errors from run-conformtest.
49452         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49453         POSIX to avoid namespace pollution.  Don't prepend headers.
49454         * conform/data/aio.h-data: Fixes for POSIX testing.
49455         * conform/data/fcntl.h-data: Likewise.
49456         * conform/data/glob.h-data: Likewise.
49457         * conform/data/grp.h-data: Likewise.
49458         * conform/data/pthread.h-data: Likewise.
49459         * conform/data/pwd.h-data: Likewise.
49460         * conform/data/signal.h-data: Likewise.
49461         * conform/data/spawn.h-data: Likewise.
49462         * conform/data/stdio.h-data: Likewise.
49463         * conform/data/stdlib.h-data: Likewise.
49464         * conform/data/stropts.h-data: Likewise.
49465         * conform/data/sys/mman.h-data: Likewise.
49466         * conform/data/sys/stat.h-data: Likewise.
49467         * conform/data/sys/types.h-data: Likewise.
49468         * conform/data/sys/wait.h-data: Likewise.
49469         * conform/data/time.h-data: Likewise.
49470         * conform/data/unistd.h-data: Likewise.
49471         * conform/data/utime.h-data: Likewise.
49473         * io/sys/stat.h: fchmod was always in POSIX.
49474         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49475         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49476         * rt/aio.h: Define __need_timespec before including <time.h>.
49477         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49478         struct.  Add forward declaration of pthread_attr_t and use it in
49479         sigevent.
49480         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49481         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49482         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49483         always remove CLK_TCK definition.
49485 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49487         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49489 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49491         * conform/run-conformtest.sh: New file.
49492         * conform/Makefile: Run run-conformtest for tests.
49493         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49494         support.
49496         * conform/data/uchar.h-data: New file.
49497         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49498         * conform/data/arpa/inet.h-data: Likewise.
49499         * conform/data/assert.h-data: Likewise.
49500         * conform/data/complex.h-data: Likewise.
49501         * conform/data/cpio.h-data: Likewise.
49502         * conform/data/ctype.h-data: Likewise.
49503         * conform/data/dirent.h-data: Likewise.
49504         * conform/data/dlfcn.h-data: Likewise.
49505         * conform/data/errno.h-data: Likewise.
49506         * conform/data/fcntl.h-data: Likewise.
49507         * conform/data/float.h-data: Likewise.
49508         * conform/data/fmtmsg.h-data: Likewise.
49509         * conform/data/fnmatch.h-data: Likewise.
49510         * conform/data/ftw.h-data: Likewise.
49511         * conform/data/glob.h-data: Likewise.
49512         * conform/data/grp.h-data: Likewise.
49513         * conform/data/iconv.h-data: Likewise.
49514         * conform/data/inttypes.h-data: Likewise.
49515         * conform/data/langinfo.h-data: Likewise.
49516         * conform/data/libgen.h-data: Likewise.
49517         * conform/data/limits.h-data: Likewise.
49518         * conform/data/locale.h-data: Likewise.
49519         * conform/data/math.h-data: Likewise.
49520         * conform/data/monetary.h-data: Likewise.
49521         * conform/data/mqueue.h-data: Likewise.
49522         * conform/data/ndbm.h-data: Likewise.
49523         * conform/data/net/if.h-data: Likewise.
49524         * conform/data/netdb.h-data: Likewise.
49525         * conform/data/netinet/in.h-data: Likewise.
49526         * conform/data/nl_types.h-data: Likewise.
49527         * conform/data/poll.h-data: Likewise.
49528         * conform/data/pthread.h-data: Likewise.
49529         * conform/data/pwd.h-data: Likewise.
49530         * conform/data/regex.h-data: Likewise.
49531         * conform/data/sched.h-data: Likewise.
49532         * conform/data/search.h-data: Likewise.
49533         * conform/data/semaphore.h-data: Likewise.
49534         * conform/data/setjmp.h-data: Likewise.
49535         * conform/data/signal.h-data: Likewise.
49536         * conform/data/spawn.h-data: Likewise.
49537         * conform/data/stdarg.h-data: Likewise.
49538         * conform/data/stdio.h-data: Likewise.
49539         * conform/data/stdlib.h-data: Likewise.
49540         * conform/data/string.h-data: Likewise.
49541         * conform/data/strings.h-data: Likewise.
49542         * conform/data/stropts.h-data: Likewise.
49543         * conform/data/sys/ipc.h-data: Likewise.
49544         * conform/data/sys/mman.h-data: Likewise.
49545         * conform/data/sys/msg.h-data: Likewise.
49546         * conform/data/sys/resource.h-data: Likewise.
49547         * conform/data/sys/select.h-data: Likewise.
49548         * conform/data/sys/sem.h-data: Likewise.
49549         * conform/data/sys/shm.h-data: Likewise.
49550         * conform/data/sys/socket.h-data: Likewise.
49551         * conform/data/sys/stat.h-data: Likewise.
49552         * conform/data/sys/statvfs.h-data: Likewise.
49553         * conform/data/sys/time.h-data: Likewise.
49554         * conform/data/sys/timeb.h-data: Likewise.
49555         * conform/data/sys/times.h-data: Likewise.
49556         * conform/data/sys/types.h-data: Likewise.
49557         * conform/data/sys/uio.h-data: Likewise.
49558         * conform/data/sys/un.h-data: Likewise.
49559         * conform/data/sys/utsname.h-data: Likewise.
49560         * conform/data/sys/wait.h-data: Likewise.
49561         * conform/data/syslog.h-data: Likewise.
49562         * conform/data/tar.h-data: Likewise.
49563         * conform/data/termios.h-data: Likewise.
49564         * conform/data/utime.h-data: Likewise.
49565         * conform/data/utmpx.h-data: Likewise.
49566         * conform/data/varargs.h-data: Likewise.
49567         * conform/data/wchar.h-data: Likewise.
49568         * conform/data/wctype.h-data: Likewise.
49569         * conform/data/wordexp.h-data: Likewise.
49571         * include/stropts.h: New file.
49572         * include/uchar.h: New file.
49573         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49574         * include/assert.h: Likewise.
49575         * include/ctype.h: Likewise.
49576         * include/dirent.h: Likewise.
49577         * include/dlfcn.h: Likewise.
49578         * include/fcntl.h: Likewise.
49579         * include/fnmatch.h: Likewise.
49580         * include/glob.h: Likewise.
49581         * include/grp.h: Likewise.
49582         * include/libio.h: Likewise.
49583         * include/locale.h: Likewise.
49584         * include/math.h: Likewise.
49585         * include/net/if.h: Likewise.
49586         * include/netdb.h: Likewise.
49587         * include/netinet/in.h: Likewise.
49588         * include/pthread.h: Likewise.
49589         * include/pwd.h: Likewise.
49590         * include/regex.h: Likewise.
49591         * include/sched.h: Likewise.
49592         * include/search.h: Likewise.
49593         * include/setjmp.h: Likewise.
49594         * include/signal.h: Likewise.
49595         * include/stdio.h: Likewise.
49596         * include/stdlib.h: Likewise.
49597         * include/string.h: Likewise.
49598         * include/sys/cdefs.h: Likewise.
49599         * include/sys/mman.h: Likewise.
49600         * include/sys/msg.h: Likewise.
49601         * include/sys/resource.h: Likewise.
49602         * include/sys/select.h: Likewise.
49603         * include/sys/socket.h: Likewise.
49604         * include/sys/stat.h: Likewise.
49605         * include/sys/statvfs.h: Likewise.
49606         * include/sys/time.h: Likewise.
49607         * include/sys/times.h: Likewise.
49608         * include/sys/uio.h: Likewise.
49609         * include/sys/utsname.h: Likewise.
49610         * include/sys/wait.h: Likewise.
49611         * include/termios.h: Likewise.
49612         * include/time.h: Likewise.
49613         * include/ulimit.h: Likewise.
49614         * include/unistd.h: Likewise.
49615         * include/utime.h: Likewise.
49616         * include/wchar.h: Likewise.
49617         * include/wctype.h: Likewise.
49618         * include/wordexp.h: Likewise.
49620         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49622         * time/time.h: TIME_UTC must be a macro.
49623         Make timespec_get available for ISO C11 only as well.
49625 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49627         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49628         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49630 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49632         * configure.in: Use -o not -a in test for unsupported multi-arch.
49634 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49636         * manual/texinfo.tex: Update to version 2012-01-19.16.
49638 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49640         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49642 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49644         [BZ #13738]
49645         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49646         * manual/fdl-1.3.texi: New file.
49647         * manual/fdl-1.1.texi: File removed.
49649         [BZ #13738]
49650         * manual/libc.texinfo (FDL_VERSION): New @set.
49651         Use it for mention of FDL in cover text.
49652         (Documentation License): Use it in @include file name.
49654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49655             Roland McGrath  <roland@hack.frob.com>
49657         [BZ #5461]
49658         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49659         (not LONG_LONG_MAX and LONG_LONG_MIN.
49660         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49661         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49662         name.
49663         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49665 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49667         [BZ #2547]
49668         [BZ #11365]
49669         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49670         manipulate bits before adding and subtracting TWO23[sx].
49671         * math/libm-test.inc (nearbyint_test): Add more tests.
49673 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49675         [BZ #2548]
49676         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49677         bits before adding and subtracting TWO23[sx].
49678         * math/libm-test.inc (rint_test): Add more tests.
49679         (rint_test_tonearest): Likewise.
49680         (rint_test_towardzero): Likewise.
49681         (rint_test_downward): Likewise.
49682         (rint_test_upward: Likewise.
49684 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49686         [BZ #10110]
49687         * include/stdc-predef.h: New file.  Extracted from features.h.
49688         * include/features.h: Include stdc-predef.h.
49689         * Makefile (headers): Add stdc-predef.h.
49690         * CONFORMANCE (Compiler limitations): Update.
49692 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49694         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49696 2012-02-21  David S. Miller  <davem@davemloft.net>
49698         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49699         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49701 2012-02-20  David S. Miller  <davem@davemloft.net>
49703         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49704         using a normal save/restore sequence, rather than allocating a
49705         dummy stack frame just to store a frame pointer and restore.
49706         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49708 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49710         * manual/install.texi: Fix stray word in line-wrapped comment.
49712 2012-02-20  David S. Miller  <davem@davemloft.net>
49714         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49715         both binutils and gcc support GOTDATA.
49717         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49718         "rd %pc" in the PIC register setup sequences.
49720         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49721         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49722         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49723         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49724         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49726         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49727         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49729         (SYSCALL_ERROR_HANDLER): Likewise.
49730         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49731         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49733         (SYSCALL_ERROR_HANDLER): Likewise.
49735         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49736         (HAVE_GCC_GOTDATA): New.
49737         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49738         relocation support in both binutils and gcc.
49739         * sysdeps/sparc/elf/configure: Regenerate.
49741         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49742         * sysdeps/sparc/sparc32/elf/configure: Delete.
49743         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49744         * sysdeps/sparc/sparc64/elf/configure: Delete.
49745         * sysdeps/sparc/elf/configure.in: New file.
49746         * sysdeps/sparc/elf/configure: Generate.
49748         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49749         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49750         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49751         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49752         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49754 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49756         * manual/install.texi: Do not mention specific glibc version
49757         numbers.
49758         * manual/libc.texinfo (VERSION, UPDATED): Update.
49759         (@copying): Use @copyright{} and range of years.
49761 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49763         [BZ #13695]
49764         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49765         [crti.S not in sysdirs] (generated): Do not append.
49766         [crti.S not in sysdirs] (omit-deps): Likewise.
49767         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49768         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49769         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49770         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49771         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49772         Likewise.
49773         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49774         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49775         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49776         * csu/defs.awk: Remove file.
49777         * sysdeps/generic/initfini.c: Likewise.
49778         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49779         variable.
49780         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49781         Likewise.
49783 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49785         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49786         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49787         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49788         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49789         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49790         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49791         <bits/epoll.h>.
49792         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49793         (__EPOLL_PACKED): Define to empty if not defined by
49794         <bits/epoll.h>.
49795         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49797         bits/epoll.h.
49799 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49801         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49802         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49803         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49804         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49805         <bits/timerfd.h>.
49806         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49807         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49808         bits/timerfd.h.
49810 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49812         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49813         in C locale.
49814         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49815         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49816         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49819 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49821         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49822         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49824 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49826         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49827         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49828         defined.
49829         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49830         Likewise.
49831         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49832         entry for 2.16.
49834 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49836         * math/w_acos.c: Use non-signaling floating-point comparisons.
49837         * math/w_acosf.c: Likewise.
49838         * math/w_acosh.c: Likewise.
49839         * math/w_acoshf.c: Likewise.
49840         * math/w_acoshl.c: Likewise.
49841         * math/w_acosl.c: Likewise.
49842         * math/w_asin.c: Likewise.
49843         * math/w_asinf.c: Likewise.
49844         * math/w_asinl.c: Likewise.
49845         * math/w_atanh.c: Likewise.
49846         * math/w_atanhf.c: Likewise.
49847         * math/w_atanhl.c: Likewise.
49848         * math/w_exp2.c: Likewise.
49849         * math/w_exp2f.c: Likewise.
49850         * math/w_exp2l.c: Likewise.
49851         * math/w_j0.c: Likewise.
49852         * math/w_j0f.c: Likewise.
49853         * math/w_j0l.c: Likewise.
49854         * math/w_j1.c: Likewise.
49855         * math/w_j1f.c: Likewise.
49856         * math/w_j1l.c: Likewise.
49857         * math/w_jn.c: Likewise.
49858         * math/w_jnf.c: Likewise.
49859         * math/w_log.c: Likewise.
49860         * math/w_log10.c: Likewise.
49861         * math/w_log10f.c: Likewise.
49862         * math/w_log10l.c: Likewise.
49863         * math/w_log2.c: Likewise.
49864         * math/w_log2f.c: Likewise.
49865         * math/w_log2l.c: Likewise.
49866         * math/w_logf.c: Likewise.
49867         * math/w_logl.c: Likewise.
49868         * math/w_sqrt.c: Likewise.
49869         * math/w_sqrtf.c: Likewise.
49870         * math/w_sqrtl.c: Likewise.
49871         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49872         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49873         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49874         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49875         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49877 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49879         [BZ #9739]
49880         * manual/string.texi (strnlen): Use correct parameter name in
49881         equivalent expression.
49883 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49885         [BZ #11174]
49886         * manual/users.texi (seteuid): Consistently use neweuid for
49887         argument name.
49889 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49891         [BZ #13704]
49892         * manual/nss.texi (Services in the NSS configuration): Correct
49893         list of services in example configuration file.
49895 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49897         [BZ #11322]
49898         * manual/arith.texi: Remove statements about negative zero
49899         behaving identically to zero.
49901 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49903         [BZ #5993]
49904         * manual/install.texi: Do not document upgrading from libc5.
49906 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49908         [BZ #4596]
49909         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49911 2012-02-18  David S. Miller  <davem@davemloft.net>
49913         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49914         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49915         %o7 across the call.
49916         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49917         instead.
49918         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49919         SETUP_PIC_REG_LEAF.
49920         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49921         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49922         * sysdeps/sparc/crtn.S: Likewise.
49924 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49926         * aout/Makefile: Remove.
49928 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49930         [BZ #13058]
49931         * manual/examples/argp-ex1.c (main): Format definition in GNU
49932         style.
49933         * manual/examples/argp-ex2.c (main): Likewise.
49934         * manual/examples/argp-ex3.c (main): Likewise.
49935         * manual/examples/argp-ex4.c (main): Likewise.
49936         * manual/examples/longopt.c (main): Use new-style prototype
49937         definition.
49938         * manual/examples/strncat.c (main): Specify return type and use
49939         (void) for arguments.
49940         * manual/examples/subopt.c (main): Use char **argv argument.
49942 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49944         [BZ #5077]
49945         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49946         rounding modes.
49948 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49950         [BZ #6907]
49951         * manual/string.texi (strchr): Change when strchrnul is
49952         recommended.
49954 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49956         [BZ #174]
49957         * manual/locale.texi (setlocale): Document LOCPATH.
49959 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49961         [BZ #10210]
49962         * manual/process.texi (execle): Move @dots{} before last argument.
49964 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49966         [BZ #12047]
49967         * manual/charset.texi (Generic Charset Conversion): Fix typo
49968         (LC_TYPE -> LC_CTYPE).
49970 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49972         [BZ #5805]
49973         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49974         (scalbnf): Likewise.
49975         (scalbnl): Likewise.
49976         (scalbln): Likewise.
49977         (scalblnf): Likewise.
49978         (scalblnl): Likewise.
49979         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49980         (vwarnx): Likewise.
49981         (verr): Likewise.
49982         (verrx): Likewise.
49983         * manual/filesys.texi (telldir): Use braces around return type.
49984         * manual/llio.texi (mmap): Add space after comma.
49985         (mmap64): Likewise.
49986         * manual/math.texi (jn): Use @var{} on parameter names.
49987         (jnf): Likewise.
49988         (jnl): Likewise.
49989         (yn): Likewise.
49990         (ynf): Likewise.
49991         (ynl): Likewise.
49992         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49993         line.
49994         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49995         "...".
49996         (sched_get_priority_min): Remove semicolon on @deftypefun line.
49997         (sched_get_priority_max): Likewise.
49998         * manual/signal.texi (sigvec): Add space after comma.
49999         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50000         names.
50001         (if_indextoname): Likewise.
50002         (if_freenameindex): Likewise.
50003         (sendto): Use ',' instead of '.' in prototype.
50004         * manual/startup.texi (syscall): Use @dots{} instead of literal
50005         "...".
50006         * manual/stdio.texi (__fpending): Separate initial words of
50007         paragraph from @deftypefun line.
50008         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50009         "...".
50010         (vsyslog): Use @var{} on parameter names.
50011         * manual/terminal.texi (stty): Use @var{} on parameter names.
50012         * manual/users.texi (getutmp): Use @var{} on parameter names.
50013         (getutmpx): Likewise.
50015 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50017         [BZ #6884]
50018         * manual/stdio.texi (fopen): Fix typos in description of
50019         ",ccs=STRING".
50021 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50023         [BZ #4026]
50024         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50025         get clock_id definition.
50027 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50029         [BZ #4822]
50030         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50031         (madvise): Cast every argument to void on its own.
50033 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50035         [BZ #9902]
50036         * manual/startup.texi (Exit Status): Fix typo.
50038 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50040         [BZ #10140]
50041         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50042         * manual/examples/argp-ex2.c: Likewise.
50043         * manual/examples/argp-ex3.c: Likewise.
50045 2012-02-16  Richard Henderson  <rth@redhat.com>
50047         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50048         * sysdeps/s390/s390-32/initfini.c: Remove.
50049         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50050         * sysdeps/s390/s390-64/initfini.c: Remove.
50052 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50054         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50055         compiler output for sysdeps/generic/initfini.c.
50056         * sysdeps/sh/elf/initfini.c: Remove file.
50058 2012-02-16  David S. Miller  <davem@davemloft.net>
50060         [BZ #11494]
50061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50063         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50064         * sysdeps/sparc/crti.S: New file.
50065         * sysdeps/sparc/crtn.S: New file.
50066         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50067         * sysdeps/sparc/sparc64/Makefile: Likewise.
50069 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50071         [BZ #3335]
50072         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50074 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50076         [BZ #4822]
50077         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50079         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50080         (write, read, close): Likewise.
50081         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50083 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50085         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50086         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50087         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50088         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50089         <bits/signalfd.h>.
50090         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50092         bits/signalfd.h.
50094 2012-02-14  Marek Polacek  <polacek@redhat.com>
50096         * sysdeps/x86_64/crti.S: New file.
50097         * sysdeps/x86_64/crtn.S: New file.
50098         * sysdeps/x86_64/elf/initfini.c: Remove file.
50100 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50102         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50103         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50104         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50105         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50106         <bits/inotify.h>.
50107         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50109         bits/inotify.h.
50111 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50113         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50114         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50115         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50116         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50117         <bits/eventfd.h>.
50118         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50120         bits/eventfd.h.
50122 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50124         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50125         __feraiseexcept instead of feraiseexcept.
50127         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50128         nanosleep invocations.
50129         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50130         strings, and add error checking for a nanosleep invocations.
50132 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50134         Replace FSF snail mail address with URLs, as per GNU coding standards.
50135         Most of the snail mail addresses were wrong anyway, and omitting
50136         them makes the source code easier to maintain.  Almost all of the
50137         changes are to license notices and to locale LC_IDENTIFICATION
50138         addresses, except for this one:
50139         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50140         not its snail mail address.
50142 2012-02-09  Richard Henderson  <rth@twiddle.net>
50144         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50145         of kernel-features.h.
50147         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50149 2012-02-08  Marek Polacek  <polacek@redhat.com>
50151         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50152         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50153         * sysdeps/gnu/_G_config.h: Likewise.
50154         * sysdeps/generic/_G_config.h: Likewise.
50156 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50158         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50159         tests.
50160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50162         * sysdeps/powerpc/powerpc32/crti.S: New file.
50163         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50164         * sysdeps/powerpc/powerpc64/crti.S: New file.
50165         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50167         * Makeconfig (have-initfini): Don't set.
50168         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50169         * configure.in (nopic_initfini): Don't substitute.
50170         * config.h.in (HAVE_INITFINI): Don't #undef.
50171         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50172         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50174 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50176         Support crti.S and crtn.S provided directly by architectures.
50177         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50178         [crti.S in sysdirs] (omit-deps): Likewise.
50179         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50180         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50181         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50182         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50183         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50184         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50185         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50186         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50187         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50188         compiler output for sysdeps/generic/initfini.c.
50189         * sysdeps/i386/elf/Makefile: Remove file.
50190         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50192 2012-02-07  Marek Polacek  <polacek@redhat.com>
50194         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50195         * sysdeps/gnu/_G_config.h: Likewise.
50196         * sysdeps/mach/hurd/_G_config.h: Likewise.
50198 2012-02-07  Marek Polacek  <polacek@redhat.com>
50200         * math/Makefile (tests): Add tst-CMPLX2.
50201         * math/tst-CMPLX2.c: New file.
50203 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50205         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50207         * math/libm-test.inc (jn_test): Add missing L suffix.
50209 2012-02-06  Marek Polacek  <polacek@redhat.com>
50211         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50212         * sysdeps/i386/fpu/e_powf.S: Likewise.
50213         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50214         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50215         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50216         * sysdeps/i386/fpu/e_pow.S: Likewise.
50217         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50218         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50219         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50220         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50221         * sysdeps/i386/fpu/e_log2.S: Likewise.
50222         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50223         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50224         * sysdeps/i386/fpu/e_powl.S: Likewise.
50225         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50226         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50227         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50228         * sysdeps/i386/fpu/e_logl.S: Likewise.
50229         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50230         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50231         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50232         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50233         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50234         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50235         * sysdeps/i386/fpu/e_log.S: Likewise.
50236         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50237         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50238         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50239         * sysdeps/i386/fpu/e_logf.S: Likewise.
50240         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50241         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50242         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50243         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50244         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50245         * sysdeps/i386/fpu/e_log10.S: Likewise.
50246         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50247         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50248         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50249         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50250         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50251         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50252         * sysdeps/i386/asm-syntax.h: Likewise.
50253         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50254         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50255         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50256         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50257         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50258         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50259         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50260         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50261         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50262         * sysdeps/powerpc/sysdep.h: Likewise.
50263         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50264         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50266 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50268         [BZ #411]
50269         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50271 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50273         * sysdeps/i386/sysdep.h: Include <features.h>.
50274         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50275         version.
50277 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50279         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50280         Define.
50281         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50282         LOAD_PIC_REG_STR.
50284 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50286         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50287         (SETUP_PIC_REG): Use GET_PC_THUNK.
50288         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50289         macro.
50291 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50293         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50294         for non-PIC compilation.
50295         (SETUP_PIC_REG): Add .p2align directive.
50296         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50297         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50298         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50299         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50300         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50301         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50302         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50303         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50304         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50305         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50306         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50307         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50308         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50309         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50310         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50311         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50312         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50313         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50314         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50315         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50316         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50317         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50318         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50319         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50320         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50321         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50322         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50323         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50324         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50325         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50326         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50327         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50328         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50329         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50330         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50331         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50332         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50333         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50334         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50335         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50336         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50338 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50340         * math/tst-CMPLX.c: Include <stdio.h>.
50342 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50344         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50345         float.
50346         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50347         * sysdeps/sparc/bits/mathdef.h: Likewise.
50349 2012-01-31  Marek Polacek  <polacek@redhat.com>
50351         * libio/libio.h: Don't define _PARAMS.
50352         * locale/programs/config.h: Don't define PARAMS.
50353         * stdlib/strtol_l.c: Likewise.
50354         (__strtol_l): Remove PARAMS from the prototype.
50356 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50358         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50359         names.  Just use the correct names.  Remove unnecessary wrapper
50360         functions.
50361         * malloc/arena.c: Likewise.
50362         * malloc/hooks.c: Likewise.
50364         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50365         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50366         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50368 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50370         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50371         into tail calls.
50372         (update_get_addr): New function.
50373         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50374         GET_ADDR_MODULE parameter.
50376 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50378         * crypt/cert.c: Remove __STDC__ conditionals.
50379         * crypt/crypt-entry.c: Likewise.
50380         * crypt/crypt_util.c: Likewise.
50381         * libio/filedoalloc.c: Likewise.
50382         * libio/fileops.c: Likewise.
50383         * libio/genops.c: Likewise.
50384         * libio/iofclose.c: Likewise.
50385         * libio/iofdopen.c: Likewise.
50386         * libio/iofopen.c: Likewise.
50387         * libio/iofopen64.c: Likewise.
50388         * libio/iogetdelim.c: Likewise.
50389         * libio/iopopen.c: Likewise.
50390         * libio/obprintf.c: Likewise.
50391         * libio/oldfileops.c: Likewise.
50392         * libio/oldiofclose.c: Likewise.
50393         * libio/oldiofdopen.c: Likewise.
50394         * libio/oldiofopen.c: Likewise.
50395         * libio/oldiopopen.c: Likewise.
50396         * libio/wfiledoalloc.c: Likewise.
50397         * libio/wgenops.c: Likewise.
50398         * locale/programs/xmalloc.c: Likewise.
50399         * misc/syslog.c: Likewise.
50400         * stdio-common/xbug.c: Likewise.
50401         * string/memchr.c: Likewise.
50402         * string/memcmp.c: Likewise.
50403         * string/memrchr.c: Likewise.
50404         * string/rawmemchr.c: Likewise.
50405         * sysdeps/posix/getcwd.c: Likewise.
50406         * time/strftime_l.c: Likewise.
50408 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50410         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50411         * config.make.in (config-cflags-sse2avx): Define.
50412         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50413         Fix typo.
50415 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50417         * scripts/config.guess: Update from upstream config git repository.
50418         * scripts/config.sub: Likewise.
50420 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50422         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50423         (EM_NUM): Update.
50424         (R_TILEPRO_*, R_TILEGX_*): New macros.
50426         * scripts/firstversions.awk: Fix bug in version range handling.
50428         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50430         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50432         * include/sys/epoll.h: New file.
50433         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50434         libc_hidden_def.
50436 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50438         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50439         Avoid unnecessary __WORDSIZE == 64 test.
50440         (fmaxf): Use VEX format if possible.
50441         (fmax): Likewise.
50442         (fminf): Likewise.
50443         (fmin): Likewise.
50445         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50446         * math/math_private.h: Remove libc_fegetround* and
50447         libc_fesetround*.
50448         * sysdeps/i386/configure.in: Check for -msse2avx.
50449         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50450         also if SSE2AVX is defined.
50451         Remove libc_fegetround* and libc_fesetround*.
50452         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50453         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50454         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50455         of HAS_YMM_USABLE.
50456         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50457         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50458         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50459         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50460         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50462         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50464 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50466         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50467         size is not set.
50468         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50470 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50472         [BZ #13618]
50473         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50474         relocation.
50475         * Makeconfig (libm): Define.
50476         * elf/Makefile: Add rules to build and run tst-relsort1.
50477         * elf/tst-relsort1.c: New file.
50478         * elf/tst-relsort1mod1.c: New file.
50479         * elf/tst-relsort1mod2.c: New file.
50481 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50483         * math/s_ldexp.c: Remove __STDC__ conditionals.
50484         * math/s_ldexpf.c: Likewise.
50485         * math/s_ldexpl.c: Likewise.
50486         * math/s_nextafter.c: Likewise.
50487         * math/s_nexttowardf.c: Likewise.
50488         * math/s_significand.c: Likewise.
50489         * math/s_significandf.c: Likewise.
50490         * math/s_significandl.c: Likewise.
50491         * math/w_jnl.c: Likewise.
50492         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50493         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50494         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50495         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50496         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50497         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50498         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50499         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50500         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50501         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50502         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50503         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50504         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50505         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50506         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50507         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50508         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50509         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50511         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50512         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50513         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50514         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50515         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50516         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50517         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50518         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50519         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50520         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50521         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50522         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50523         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50524         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50525         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50526         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50527         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50528         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50529         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50530         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50531         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50532         * sysdeps/ieee754/k_standard.c: Likewise.
50533         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50534         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50535         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50536         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50537         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50538         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50539         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50540         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50541         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50542         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50543         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50544         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50545         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50546         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50547         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50548         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50549         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50550         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50551         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50552         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50553         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50554         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50555         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50556         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50557         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50558         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50561         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50562         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50563         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50564         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50565         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50566         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50567         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50568         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50569         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50570         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50571         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50572         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50573         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50575         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50576         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50577         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50578         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50579         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50580         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50581         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50582         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50583         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50584         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50585         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50586         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50587         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50588         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50589         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50590         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50591         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50592         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50593         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50594         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50595         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50596         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50597         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50598         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50599         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50600         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50601         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50602         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50603         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50604         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50605         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50606         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50608         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50609         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50610         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50611         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50612         * sysdeps/ieee754/s_matherr.c: Likewise.
50613         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50614         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50615         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50616         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50618 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50620         * crypt/md5.h: Remove __STDC__ conditionals.
50621         * libio/libioP.h: Likewise.
50622         * locale/programs/config.h: Likewise.
50623         * sysdeps/generic/sysdep.h: Likewise.
50624         * sysdeps/i386/asm-syntax.h: Likewise.
50625         * sysdeps/s390/asm-syntax.h: Likewise.
50626         * sysdeps/unix/sysdep.h: Likewise.
50627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50630 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50632         * libio/libio.h: Remove __STDC__ conditionals.
50633         * malloc/obstack.h: Likewise.
50634         * math/complex.h: Likewise.
50635         * math/math.h: Likewise.
50636         * sysdeps/generic/_G_config.h: Likewise.
50637         * sysdeps/gnu/_G_config.h: Likewise.
50638         * sysdeps/mach/hurd/_G_config.h: Likewise.
50639         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50640         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50641         * sysdeps/sparc/bits/mathdef.h: Likewise.
50643 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50645         [BZ #13583]
50646         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50647         Clean up HAS_* macros.
50648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50649         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50650         possible.
50651         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50652         HAS_AVX.
50653         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50654         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50655         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50656         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50657         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50659 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50661         * elf/tst-unique3.cc (gets): Remove declaration.
50662         * elf/tst-unique3lib.cc (gets): Likewise.
50663         * elf/tst-unique3lib2.cc (gets): Likewise.
50664         * elf/tst-unique4.cc (gets): Likewise.
50666 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50668         * include/stdio.h: Add C++ protection.  Add gets declarations and
50669         definitions.
50670         * debug/tst-chk1.c: Don't declare gets here.
50671         * stdio-common/tst-gets.c: Likewise.
50673 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50675         * posix/glob: Remove directory.
50677 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50679         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50681 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50683         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50684         of the non-standard EPFNOSUPPORT.
50686 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50688         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50689         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50690         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50692 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50694         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50696 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50698         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50699         transient errors.
50700         * nscd/grpcache.c (cache_addgr): Likewise.
50701         * nscd/hstcache.c (cache_addhst): Likewise.
50702         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50703         * nscd/pwdcache.c (cache_addpw): Likewise.
50704         * nscd/servicescache.c (cache_addserv): Likewise.
50706 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50708         * malloc/malloc.c: Various cleanups.
50709         * malloc/hooks.c: Likewise.
50711         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50712         * stdlib/bug-fmtmsg1.c: New file.
50714         * stdlib/fmtmsg.c (init): Add missing unlock.
50715         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50717 2012-01-12  Marek Polacek  <polacek@redhat.com>
50719         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50720         and _GNU_SOURCE.
50722 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50724         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50725         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50726         macro to ensure uniqueness of label name.
50727         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50728         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50730 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50732         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50734         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50735         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50736         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50739 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50741         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50743         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50744         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50745         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50747         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50749         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50750         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50751         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50754         * math/bits/math-finite.h: Add ldexp support.
50756 2012-01-10  Marek Polacek  <polacek@redhat.com>
50758         * locale/programs/localedef.h (show_archive_content): Add noreturn
50759         attribute.
50761 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50763         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50765 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50767         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50769         * io/Makefile (headers): Add bits/poll2.h.
50771 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50774         typo #include statement.
50776 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50778         * include/sys/cdefs.h: Define __attribute_alloc_size.
50779         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50780         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50781         * elf/pldd.c: Likewise.
50782         * iconv/iconv_charmap.c: Likewise.
50783         * iconv/iconvconfig.c: Likewise.
50784         * iconv/strtab.c: Likewise.
50785         * locale/programs/locale.c: Likewise.
50786         * locale/programs/localedef.h: Likewise.
50787         * locale/programs/simple-hash.c: Likewise.
50788         * nscd/nscd.h: Likewise.
50789         * nss/makedb.c: Likewise.
50790         * sysdeps/generic/ldconfig.h: Likewise.
50791         * locale/programs/localedef.c: Remove xmalloc prototype.
50792         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50794 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50796         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50797         appropriate.
50799 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50801         * math/Makefile (tests): Add tst-CMPLX.
50802         * math/tst-CMPLX.c: New file.
50804         * math/complex.h (CMPLXL): Fix typo.
50806         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50807         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50808         GLIBC_2.16.
50809         * debug/tst-chk1.c: Add poll and ppoll tests.
50810         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50811         * include/sys/poll.h: Add hidden proto for ppoll.
50812         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50813         * sysdeps/mach/hurd/ppoll.c: Likewise.
50814         * io/ppoll.c: Likewise.
50815         * debug/poll_chk.c: New file.
50816         * debug/ppoll_chk.c: New file.
50817         * include/bits/poll2.h: New file.
50818         * io/bits/poll2.h: New file.
50820         [BZ #1350]
50821         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50823         * configure.in: static is always set to yes.  Remove.
50824         * config.make.in: Don't set build-static.
50825         * Makeconfig: Remove use of build-static.
50826         * dlfcn/Makefile: Likewise.
50827         * elf/Makefile: Likewise.
50828         * math/Makefile: Likewise.
50829         * misc/Makefile: Likewise.
50830         * nptl/Makefile: Likewise.
50831         * sysdeps/mach/hurd/Makefile: Likewise.
50833         * configure.in: PWD_P is not used anymore.
50834         * config.make.in: Remove PWD_P entry.
50836         * configure.in: Remove last remnants of RANLIB.
50837         No need to check for signed size_t anymore.
50838         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50839         and IA-64.
50840         Remove __builtin_expect test because we require at least gcc 3.4.
50841         * aclocal.m4: Likewise.
50843         * wcsmbs/mbrtoc16.c: Implement using towc function.
50844         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50845         * wcsmbs/wcsmbsload.c: Likewise.
50846         * iconv/gconv_simple.c: Likewise.
50847         * iconv/gconv_int.h: Likewise.
50848         * iconv/gconv_builtin.h: Likewise.
50849         * iconv/iconv_prog.c: Remove CHAR16 handling.
50851         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50853         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50855         * configure.in: Remove --with-elf and --enable-bounded options.
50856         Dont set base_machine for ia64.  More non-ELF conditions removed.
50857         Remove testing and setting of leading underscore information.
50858         * config.make.in (build-bounded): Set to no.
50859         * config.h.in: Remove NO_UNDERSCORES entry.
50860         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50861         them.
50862         * csu/start.c: Remove !NO_UNDERSCORE code.
50863         * locale/localeinfo.h: Likewise.
50864         * sysdeps/generic/machine-gmon.h: Likewise.
50865         * sysdeps/generic/sysdep.h: Likewise.
50866         * sysdeps/i386/sysdep.h: Likewise.
50867         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50868         * sysdeps/mach/sysdep.h: Likewise.
50869         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50870         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50871         * sysdeps/sh/sysdep.h: Likewise.
50872         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50873         * sysdeps/unix/i386/sysdep.S: Likewise.
50874         * sysdeps/unix/sparc/start.c: Likewise.
50875         * sysdeps/unix/sparc/sysdep.S: Likewise.
50876         * sysdeps/unix/sparc/sysdep.h: Likewise.
50877         * sysdeps/unix/start.c: Likewise.
50878         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50879         * sysdeps/x86_64/sysdep.h: Likewise.
50881 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50883         [BZ #13553]
50884         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50885         for non-gcc.
50886         * argp/argp-fmtstream.h: Use const instead __const.
50887         * argp/argp.h: Likewise.
50888         * assert/assert.h: Likewise.
50889         * bits/fenv.h: Likewise.
50890         * bits/sched.h: Likewise.
50891         * bits/sigset.h: Likewise.
50892         * bits/sigthread.h: Likewise.
50893         * catgets/nl_types.h: Likewise.
50894         * conform/data/pthread.h-data: Likewise.
50895         * crypt/crypt-private.h: Likewise.
50896         * crypt/crypt.h: Likewise.
50897         * crypt/crypt_util.c: Likewise.
50898         * ctype/ctype.h: Likewise.
50899         * debug/execinfo.h: Likewise.
50900         * debug/mbsnrtowcs_chk.c: Likewise.
50901         * debug/mbsrtowcs_chk.c: Likewise.
50902         * debug/wcsnrtombs_chk.c: Likewise.
50903         * debug/wcsrtombs_chk.c: Likewise.
50904         * debug/wcstombs_chk.c: Likewise.
50905         * dirent/dirent.h: Likewise.
50906         * dlfcn/dlfcn.h: Likewise.
50907         * elf/neededtest4.c: Likewise.
50908         * grp/grp.h: Likewise.
50909         * gshadow/gshadow.h: Likewise.
50910         * iconv/gconv.h: Likewise.
50911         * iconv/gconv_int.h: Likewise.
50912         * iconv/gconv_simple.c: Likewise.
50913         * iconv/iconv.h: Likewise.
50914         * iconv/loop.c: Likewise.
50915         * iconv/skeleton.c: Likewise.
50916         * include/aio.h: Likewise.
50917         * include/aliases.h: Likewise.
50918         * include/argz.h: Likewise.
50919         * include/arpa/inet.h: Likewise.
50920         * include/assert.h: Likewise.
50921         * include/dirent.h: Likewise.
50922         * include/dlfcn.h: Likewise.
50923         * include/execinfo.h: Likewise.
50924         * include/fcntl.h: Likewise.
50925         * include/fenv.h: Likewise.
50926         * include/glob.h: Likewise.
50927         * include/grp.h: Likewise.
50928         * include/libintl.h: Likewise.
50929         * include/mntent.h: Likewise.
50930         * include/netdb.h: Likewise.
50931         * include/pwd.h: Likewise.
50932         * include/rpc/netdb.h: Likewise.
50933         * include/sched.h: Likewise.
50934         * include/search.h: Likewise.
50935         * include/shadow.h: Likewise.
50936         * include/signal.h: Likewise.
50937         * include/stdio.h: Likewise.
50938         * include/stdlib.h: Likewise.
50939         * include/string.h: Likewise.
50940         * include/sys/socket.h: Likewise.
50941         * include/sys/stat.h: Likewise.
50942         * include/sys/statfs.h: Likewise.
50943         * include/sys/statvfs.h: Likewise.
50944         * include/sys/syslog.h: Likewise.
50945         * include/sys/time.h: Likewise.
50946         * include/sys/uio.h: Likewise.
50947         * include/time.h: Likewise.
50948         * include/unistd.h: Likewise.
50949         * include/utmp.h: Likewise.
50950         * include/wchar.h: Likewise.
50951         * include/wctype.h: Likewise.
50952         * inet/aliases.h: Likewise.
50953         * inet/arpa/inet.h: Likewise.
50954         * inet/netinet/ether.h: Likewise.
50955         * inet/netinet/in.h: Likewise.
50956         * intl/libintl.h: Likewise.
50957         * io/bits/fcntl2.h: Likewise.
50958         * io/fcntl.h: Likewise.
50959         * io/ftw.h: Likewise.
50960         * io/sys/poll.h: Likewise.
50961         * io/sys/stat.h: Likewise.
50962         * io/sys/statfs.h: Likewise.
50963         * io/sys/statvfs.h: Likewise.
50964         * io/utime.h: Likewise.
50965         * libio/bits/stdio.h: Likewise.
50966         * libio/bits/stdio2.h: Likewise.
50967         * libio/libio.h: Likewise.
50968         * libio/libioP.h: Likewise.
50969         * libio/stdio.h: Likewise.
50970         * locale/lc-ctype.c: Likewise.
50971         * locale/locale.h: Likewise.
50972         * login/utmp.h: Likewise.
50973         * malloc/arena.c: Likewise.
50974         * malloc/malloc.c: Likewise.
50975         * malloc/malloc.h: Likewise.
50976         * malloc/mcheck.c: Likewise.
50977         * malloc/mtrace.c: Likewise.
50978         * math/bits/mathcalls.h: Likewise.
50979         * math/fenv.h: Likewise.
50980         * math/math_private.h: Likewise.
50981         * misc/bits/error.h: Likewise.
50982         * misc/bits/syslog.h: Likewise.
50983         * misc/err.h: Likewise.
50984         * misc/error.h: Likewise.
50985         * misc/fstab.h: Likewise.
50986         * misc/mntent.h: Likewise.
50987         * misc/regexp.h: Likewise.
50988         * misc/search.h: Likewise.
50989         * misc/sgtty.h: Likewise.
50990         * misc/sys/mman.h: Likewise.
50991         * misc/sys/syslog.h: Likewise.
50992         * misc/sys/uio.h: Likewise.
50993         * misc/sys/xattr.h: Likewise.
50994         * misc/ttyent.h: Likewise.
50995         * nis/rpcsvc/ypclnt.h: Likewise.
50996         * nss/nss.h: Likewise.
50997         * posix/bits/unistd.h: Likewise.
50998         * posix/fnmatch.h: Likewise.
50999         * posix/glob.h: Likewise.
51000         * posix/sched.h: Likewise.
51001         * posix/spawn.h: Likewise.
51002         * posix/sys/wait.h: Likewise.
51003         * posix/unistd.h: Likewise.
51004         * posix/wordexp.h: Likewise.
51005         * pwd/pwd.h: Likewise.
51006         * resolv/netdb.h: Likewise.
51007         * resource/sys/resource.h: Likewise.
51008         * rt/aio.h: Likewise.
51009         * rt/bits/mqueue2.h: Likewise.
51010         * rt/mqueue.h: Likewise.
51011         * shadow/shadow.h: Likewise.
51012         * signal/signal.h: Likewise.
51013         * socket/send.c: Likewise.
51014         * socket/sendto.c: Likewise.
51015         * socket/sys/socket.h: Likewise.
51016         * stdio-common/printf.h: Likewise.
51017         * stdlib/bits/stdlib.h: Likewise.
51018         * stdlib/fmtmsg.h: Likewise.
51019         * stdlib/monetary.h: Likewise.
51020         * stdlib/stdlib.h: Likewise.
51021         * stdlib/ucontext.h: Likewise.
51022         * streams/stropts.h: Likewise.
51023         * string/argz.h: Likewise.
51024         * string/bits/string2.h: Likewise.
51025         * string/string.h: Likewise.
51026         * string/strings.h: Likewise.
51027         * sunrpc/rpc/auth.h: Likewise.
51028         * sunrpc/rpc/auth_des.h: Likewise.
51029         * sunrpc/rpc/clnt.h: Likewise.
51030         * sunrpc/rpc/netdb.h: Likewise.
51031         * sunrpc/rpc/pmap_clnt.h: Likewise.
51032         * sunrpc/rpc/xdr.h: Likewise.
51033         * sysdeps/generic/inttypes.h: Likewise.
51034         * sysdeps/generic/net/if.h: Likewise.
51035         * sysdeps/generic/sys/swap.h: Likewise.
51036         * sysdeps/gnu/net/if.h: Likewise.
51037         * sysdeps/gnu/utmpx.h: Likewise.
51038         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51039         * sysdeps/i386/i486/bits/string.h: Likewise.
51040         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51041         * sysdeps/s390/bits/string.h: Likewise.
51042         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51043         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51044         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51045         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51046         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51047         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51048         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51049         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51050         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51051         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51052         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51053         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51054         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51055         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51056         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51057         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51058         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51059         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51060         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51061         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51062         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51063         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51064         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51065         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51066         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51067         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51068         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51069         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51070         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51071         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51072         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51073         * sysvipc/sys/ipc.h: Likewise.
51074         * sysvipc/sys/msg.h: Likewise.
51075         * sysvipc/sys/sem.h: Likewise.
51076         * sysvipc/sys/shm.h: Likewise.
51077         * termios/termios.h: Likewise.
51078         * time/sys/time.h: Likewise.
51079         * time/time.h: Likewise.
51080         * wcsmbs/bits/wchar2.h: Likewise.
51081         * wcsmbs/uchar.h: Likewise.
51082         * wcsmbs/wchar.h: Likewise.
51083         * wctype/wctype.h: Likewise.
51085         [BZ #13551]
51086         * Makeconfig: Remove all but ELF support including AIX support.
51087         * Makerules: Likewise.
51088         * config.h.in: Likewise.
51089         * config.make.in: Likewise.
51090         * configure: Likewise.
51091         * configure.in: Likewise.
51092         * csu/Makefile: Likewise.
51093         * csu/version.c: Likewise.
51094         * debug/Makefile: Likewise.
51095         * dlfcn/Makefile: Likewise.
51096         * elf/Makefile: Likewise.
51097         * extra-lib.mk: Likewise.
51098         * iconv/Makefile: Likewise.
51099         * include/libc-symbols.h: Likewise.
51100         * include/shlib-compat.h: Likewise.
51101         * resolv/Makefile: Likewise.
51102         * resolv/res_libc.c: Likewise.
51103         * rt/Makefile: Likewise.
51104         * sysdeps/i386/asm-syntax.h: Likewise.
51105         * sysdeps/i386/sysdep.h: Likewise.
51106         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51107         * sysdeps/mach/sysdep.h: Likewise.
51108         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51109         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51110         * sysdeps/s390/asm-syntax.h: Likewise.
51111         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51112         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51113         * sysdeps/sh/sysdep.h: Likewise.
51114         * sysdeps/unix/sparc/sysdep.h: Likewise.
51115         * sysdeps/wordsize-32/divdi3.c: Likewise.
51116         * sysdeps/x86_64/sysdep.h: Likewise.
51118         * argp/Versions: Remove _argp_unlock_xxx.
51120         [BZ #13559]
51121         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51122         * abilist/libBrokenLocale.abilist: Likewise.
51123         * abilist/libanl.abilist: Likewise.
51124         * abilist/libc.abilist: Likewise.
51125         * abilist/libcrypt.abilist: Likewise.
51126         * abilist/libdl.abilist: Likewise.
51127         * abilist/libm.abilist: Likewise.
51128         * abilist/libnsl.abilist: Likewise.
51129         * abilist/libpthread.abilist: Likewise.
51130         * abilist/libresolv.abilist: Likewise.
51131         * abilist/librt.abilist: Likewise.
51132         * abilist/libthread_db.abilist: Likewise.
51133         * abilist/libutil.abilist: Likewise.
51134         * abilist/libnss_db.abilist: New file.
51136         * scripts/abilist.awk: Add support for indirect functions.
51138         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51140         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51142         * shlib-versions: Remove entries for ports architectures.
51144         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51145         files in ports.
51146         * elf/stackguard-macros.h: Remove support for IA-64.
51147         * elf/tst-auditmod1.c: Likewise.
51148         * sysdeps/generic/ldsodefs.h: Likewise.
51150         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51151         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51152         configure files.
51154         [BZ #13552]
51155         * configure.in: Remove --enable-omitfp support.
51156         * FAQ.in: Adjust.
51157         * config.make.in: Likewise.
51158         * Makeconfig: Likewise.
51159         * manual/install.texi: Likewise.
51161         In case anyone cares, the IA-64 architecture could move to ports.
51162         * sysdeps/ia64/*: Removed.
51163         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51164         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51166         [BZ #13555]
51167         * configure.in: Remove entries for unsupported architectures.
51169         [BZ #13533]
51170         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51171         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51172         routines.
51173         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51174         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51175         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51176         fall back to using wcrtomb.
51177         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51178         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51179         renaming.
51180         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51181         * wcsmbs/tst-c16c32-1.c: New file.
51183         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51184         local variable.
51186         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51188         * elf/tst-unique3.cc: Add explicit declaration of gets.
51189         * elf/tst-unique3lib.cc: Likewise.
51190         * elf/tst-unique3lib2.cc: Likewise.
51191         * elf/tst-unique4.cc: Likewise.
51193         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51195 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51197         [BZ #13566]
51198         * assert/assert.h (static_assert): Don't define for C++.
51199         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51200         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51202 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51204         * iconv/loop.c (single loop): Fix assertion in storing of
51205         remaining bytes.
51207         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51209 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51211         * posix/getconf.c: Update copyright year.
51212         * nss/getent.c: Likewise.
51213         * nss/makedb.c: Likewise.
51214         * iconv/iconvconfig.c: Likewise.
51215         * iconv/iconv_prog.c: Likewise.
51216         * elf/ldconfig.c: Likewise.
51217         * elf/pldd.c: Likewise.
51218         * elf/sotruss.ksh: Likewise.
51219         * catgets/gencat.c: Likewise.
51220         * csu/version.c: Likewise.
51221         * elf/ldd.bash.in: Likewise.
51222         * elf/sprof.c (print_version): Likewise.
51223         * locale/programs/locale.c: Likewise.
51224         * locale/programs/localedef.c: Likewise.
51225         * login/programs/pt_chown.c: Likewise.
51226         * nscd/nscd.c (print_version): Likewise.
51227         * debug/xtrace.sh: Likewise.
51228         * malloc/memusage.sh: Likewise.
51229         * malloc/mtrace.pl: Likewise.
51230         * debug/catchsegv.sh: Likewise.
51232 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51234         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51235         pure attribute.
51237 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51239         [BZ #13533]
51240         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51241         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51242         transformations.
51243         * iconv/gconv_int.h: Likewise.
51244         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51245         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51246         from libc for GLIBC_2.16.
51247         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51248         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51249         * wcsmbs/uchar.h: Really define mbstate_t.
51250         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51251         * wcsmbs/c16rtomb.c: New file.
51252         * wcsmbs/mbrtoc16.c: New file.
51253         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51254         for C/POSIX locale.
51255         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51256         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51258         * wcsmbs/wchar.h: Add missing __restrict.
51260 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51262         [BZ #13532]
51263         * time/Makefile (routines): Add timespec_get.
51264         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51265         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51266         timespec for ISO C11.
51267         * time/timespec_get.c: New file.
51268         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51269         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51271         [BZ #13531]
51272         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51273         * stdlib/stdlib.h: Declare aligned_alloc.
51274         * Versions.def: Add GLIBC_2.16 for libc.
51275         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51277         [BZ 13527]
51278         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51279         ISO C11.
51281         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51282         code.
51284         [BZ #13528]
51285         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51287         [BZ #13529]
51288         * assert/assert.h (static_assert): Define.
51290         * version.h: Update for 2.16 development version.
51292         [BZ #13526]
51293         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51294         _ISOC11_SOURCE.
51296         * version.h (RELEASE): Bump for 2.15 release.
51297         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51299         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51300         Patch by Marek Polacek <mpolacek@redhat.com>.
51302         * bits/byteswap.h: Protect long long constants with __extension__.
51303         * sysdeps/i386/bits/byteswap.h: Likewise.
51304         * sysdeps/ia64/bits/byteswap.h: Likewise.
51305         * sysdeps/s390/bits/byteswap.h: Likewise.
51306         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51308 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51310         [BZ #13540]
51311         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51312         destination buffer.
51313         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51315 2011-12-23  Marek Polacek  <polacek@redhat.com>
51317         * elf/dl-addr.c (determine_info): Add inline keyword.
51318         * elf/tst-auditmod4b.c (check_avx): Likewise.
51319         * elf/tst-auditmod6b.c (check_avx): Likewise.
51320         * elf/tst-auditmod6c.c (check_avx): Likewise.
51321         * elf/tst-auditmod7b.c (check_avx): Likewise.
51323 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51325         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51326         !__SSE_MATH__.
51328 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51330         [BZ #13540]
51331         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51332         processing for last bytes.
51334 2011-08-06  Bruno Haible  <bruno@clisp.org>
51336         [BZ #13061]
51337         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51338         U+0385, not to U+1FEE.
51340         [BZ #13062]
51341         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51342         entry for U+00A5 U+0301.
51344 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51346         [BZ #13166]
51347         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51348         buffer for the output is too small.
51350         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51351         optimization.
51353         [BZ #13185]
51354         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51355         SSE flags if possible.
51357 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51359         [BZ #13540]
51360         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51361         processing for last bytes.
51363 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51365         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51366         (syscall-list-default-options, syscall-list-default-condition)
51367         (syscall-list-includes): Define.
51368         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51369         list of ABIs and options and #if conditions for each ABI.  Do not
51370         handle common syscalls between ABIs specially.
51371         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51372         Remove.
51373         (syscall-list-variants, syscall-list-32bit-options)
51374         (syscall-list-32bit-condition, syscall-list-64bit-options)
51375         (syscall-list-64bit-condition): Define.
51376         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51377         (syscall-list-variants, syscall-list-32bit-options)
51378         (syscall-list-32bit-condition, syscall-list-64bit-options)
51379         (syscall-list-64bit-condition): Define.
51380         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51381         Remove.
51382         (syscall-list-variants, syscall-list-32bit-options)
51383         (syscall-list-32bit-condition, syscall-list-64bit-options)
51384         (syscall-list-64bit-condition): Define.
51385         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51386         Remove.
51387         (syscall-list-variants, syscall-list-32bit-options)
51388         (syscall-list-32bit-condition, syscall-list-64bit-options)
51389         (syscall-list-64bit-condition): Define.
51391 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51393         * locale/iso-639.def: Add brx entry.
51395         [BZ #13328]
51396         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51397         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51399         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51400         __feraiseexcept_renamed.
51402 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51404         [BZ #13538]
51405         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51406         EPOLLET with unsigned values.
51407         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51408         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51410         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51411         to large cancellation.
51412         * math/s_cacoshf.c: Likewise.
51413         * math/s_cacoshl.c: Likewise.
51415 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51417         [BZ #13305]
51418         [BZ #12786]
51419         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51420         * math/s_cacoshf.c: Likewise.
51421         * math/s_cacoshl.c: Likewise.
51423 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51425         [BZ #13439]
51426         * iconv/gconv.h: Define __GCONV_SWAP.
51427         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51428         * iconvdata/utf-16.c: Likewise.
51429         * iconvdata/utf-32.c: Likewise.
51431 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51433         [BZ #13524]
51434         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51435         numerator after shifting it by one limb.
51437 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51439         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51440         under [__USE_EXTERN_INLINES].
51442 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51444         [BZ #13446]
51445         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51447 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51449         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51450         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51451         optimized code.
51452         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51453         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51454         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51455         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51456         for strncasecmp/strncasecmp_l compilation.
51457         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51458         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51460 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51462         [BZ #13484]
51463         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51464         of __asm__.
51466 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51468         [BZ #13506]
51469         * time/tzfile.c (__tzfile_read): Check values from file header.
51471 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51473         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51474         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51475         * powerpc/powerpc32/dl-start.S: Likewise.
51476         * powerpc/powerpc32/elf/start.S: Likewise.
51477         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51478         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51479         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51480         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51481         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51482         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51483         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51484         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51485         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51486         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51487         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51488         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51489         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51490         * powerpc/powerpc32/memset.S: Likewise.
51491         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51492         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51493         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51494         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51495         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51496         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51497         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51498         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51499         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51500         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51501         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51502         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51503         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51505 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51507         * math/libm-test.inc: Added more nearbyint tests.
51508         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51509         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51511         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51513 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51515         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51516         FD_CLOEXEC.
51518 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51520         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51521         Add wcscpy-ssse3 wcscpy-c.
51522         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51523         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51524         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51525         * sysdeps/x86_64/wcschr.S: New file.
51526         * sysdeps/x86_64/wcsrchr.S: New file.
51527         * string/test-strcmp.c: Remove checking of wcscmp function for
51528         wrong alignments.
51529         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51530         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51531         wcsrchr-sse2 wcsrchr-c.
51532         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51533         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51534         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51535         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51536         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51537         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51538         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51539         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51540         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51541         * wcsmbc/wcschr.c (WCSCHR): New macro.
51543 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51545         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51546         * wcsmbs/test-wcsrchr.c: New file.
51547         * string/test-strrchr.c: Add wcsrchr support.
51548         (WIDE): New macro.
51549         * wcsmbs/test-wcscpy.c: New file.
51550         * string/test-strcpy.c: Add wcscpy support.
51551         (WIDE): New macro.
51553 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51555         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51556         the inner loop.
51558 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51560         [BZ #13472]
51561         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51563 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51565         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51566         Minor optimizations.
51568         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51569         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51570         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51572 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51574         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51575         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51576         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51577         for gcc to avoid warnings.
51578         * inet/Makefile (tests): Add tst-checks.
51579         * inet/tst-checks.c: New file.
51581         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51582         warning.
51584         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51585         __wmemcmp_sse2.
51587         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51588         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51590         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51592 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51594         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51595         problem.
51597         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51599 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51601         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51602         conditional on GCC version.
51603         (__arch_compare_and_exchange_val_8_acq)
51604         (__arch_compare_and_exchange_val_16_acq)
51605         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51606         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51607         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51609 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51611         * sysdeps/sh/backtrace.c: New file.
51613 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51615         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51616         parenthesis.
51618 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51620         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51621         falling back to utime.
51623 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51625         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51626         expectations for float.
51628 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51630         * locale/weight.h (findidx): Add parameter len.
51631         * locale/weightwc.h (findidx): Likewise.
51632         * posix/fnmatch_loop.c (FCT): Adjust caller.
51633         * posix/regcomp.c (build_equiv_class): Likewise.
51634         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51635         * posix/regexec.c (check_node_accept_bytes): Likewise.
51636         * string/strcoll_l.c (STRCOLL): Likewise.
51637         * string/strxfrm_l.c (STRXFRM): Likewise.
51639 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51641         * Makefile.in: Remove CVSOPT handling.
51642         * configure.in: Remove use of AC_REVISION.
51643         * iconvdata/Makefile (distribute): No need to filter out CVS.
51644         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51645         handling.
51647 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51649         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51650         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51651         [USE_AS_STRNCASECMP_L]: Likewise.
51652         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51653         NO_TLS_DIRECT_SEG_REFS.
51654         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51655         Fix argument offsets for non-PIC.
51656         [USE_AS_STRNCASECMP_L]: Likewise.
51657         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51658         NO_TLS_DIRECT_SEG_REFS.
51660 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51662         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51663         O_CLOEXEC.
51664         * locale/loadlocale.c (_nl_load_locale): Likewise.
51666 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51668         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51669         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51670         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51671         (SYSCALL_GETTIME): Set errno on error.
51673         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51674         count references to noai6ai_cached.
51676 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51678         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51680         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51681         FD_CLOEXEC for /proc/self/maps.
51683         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51684         FD_CLOEXEC for /proc/meminfo.
51686         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51687         gai.conf.
51689         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51690         FD_CLOEXEC for given file.
51692         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51694         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51695         FD_CLOEXEC for /etc/hosts.
51696         (_gethtent): Likewise.
51698         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51700         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51701         cancellation and set FD_CLOEXEC for /etc/netgroup.
51703         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51704         reading /etc/publickey.
51706         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51707         allow cancellation when reading /etc/group.
51709         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51710         cancellation.
51711         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51713         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51714         when using data file.
51716         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51718         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51719         (write_nis_obj): Use "c" and "e" in fopen.
51721         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51723         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51725         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51727         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51729         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51730         locale.alias.
51732         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51734         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51736         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51738         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51739         file parsing and set FD_CLOEXEC.
51741 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51743         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51745 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51747         * malloc/arena.c (arena_get2): Don't call reused_arena when
51748         _int_new_arena failed.
51750 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51752         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51753         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51754         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51755         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51756         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51757         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51758         to compile strcasecmp and strncasecmp.
51759         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51760         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51764 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51766         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51767         locale-defines.sym to gen-as-const-headers.
51768         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51769         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51771         to compile strcasecmp and strncasecmp.
51772         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51773         strcasecmp_l and strncasecmp_l.
51774         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51775         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51776         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51777         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51778         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51779         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51780         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51781         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51782         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51783         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51784         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51786 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51788         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51789         result of SYSDEP_GETTIME_CPU to retval.
51790         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51791         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51793         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51794         variable.
51796         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51797         mantissa words.
51798         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51800         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51801         from unused variable.
51803         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51804         DWARF definitions.
51805         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51806         for assembling.
51808         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51809         over namespaces.
51811         * sunrpc/rpc_prot.c (rejected): Fix case value.
51813         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51814         unsigned long long int to avoid warnings in shift.
51816         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51817         of use of trans.
51818         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51819         variable tmp.
51821         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51822         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51823         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51825         * nis/nis_table.c (nis_list): Use variable of correct type for
51826         result of __follow_path call.
51828 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51830         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51831         of math functions ceil, trunc, floor, round, and sqrt, when
51832         avaliable on the platform.
51833         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51834         name clash.
51835         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51836         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51837         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51839 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51841         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51842         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51844 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51846         * include/unistd.h: Fix __readlink return type.
51847         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51849 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51851         * stdlib/ucontext.h: Undo last change for makecontext.
51853 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51855         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51857         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51858         * setjmp/setjmp.h: Mark functions as non-leaf.
51859         * setjmp/bits/setjmp2.h: Likewise.
51860         * stdlib/ucontext.h: Likewise.
51862 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51864         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51865         (reused_arena): Don't check arena limit.
51866         (arena_get2): Atomically check arena limit.
51868 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51870         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51871         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51873         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51874         instructions.
51876 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51878         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51879         handler when locking.
51881         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51882         Fix size of allocated buffer.
51884 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51886         [BZ #10103]
51887         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51888         declarations for long double functions.
51889         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51891         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51893 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51895         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51896         installed.
51898         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51899         is disabled.
51901 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51903         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51905 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51907         * include/alloca.h (stackinfo_alloca_round): Define.
51908         (extend_alloca): Use it.
51909         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51910         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51911         here.
51913         * scripts/check-local-headers.sh: Ignore libaudit.h.
51915         * nscd/Makefile (extra-objs): Make recursively expanded.
51917 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51919         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51920         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51922         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51923         * posix/tst-rfc3484-2.c: Likewise.
51924         * posix/tst-rfc3484-3.c: Likewise.
51926         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51927         process_vm_writev.
51928         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51929         process_vm_writev.
51930         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51931         process_vm_writev from libc using GLIBC_2.15 version.
51933         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51935 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51937         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51938         stack usage.
51940 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51942         [BZ #13367]
51943         * nss/getent.c (initgroups_keys): Show error message in case no group
51944         names are given.
51946         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51947         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51948         __bump_nl_timestamp.
51949         * nscd/connections (nscd_init): When host database is served open
51950         netlink socket and request notification about configuration changes.
51951         (main_loop_poll): Track netlink file descriptor and bump timestamp
51952         in case data becomes available.
51953         (main_loop_epoll): Likewise.
51954         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51955         (database_pers_head): Add extra_data fileds.
51956         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51957         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51958         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51959         Adjust caller.
51960         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51961         in6ai data, call __free_in6ai.
51962         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51963         Add -DHAVE_NETLINK.
51964         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51965         interface information.  Reuse previous data if netlink timestamp
51966         is not changed.
51967         (__bump_nl_timestamp): New function.
51968         (__free_in6ai): New function.
51970 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51972         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51973         close_not_cancel_no_status here.
51974         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51976 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51978         [BZ #13276]
51979         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51980         return value.
51982         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51983         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51984         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51986 2011-07-03  Andreas Jaeger  <aj@suse.de>
51988         [BZ #10709]
51989         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51990         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51991         * math/libm-test.inc (sin_test): Add test case.
51993 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51995         [BZ #13337]
51996         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51997         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51999         * elf/chroot_canon.c (chroot_canon): Cleanups.
52001         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52003         [BZ #13335]
52004         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52005         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52007         * string/test-strchr.c: Make usable for strchrnul testing.
52008         * string/test-strchrnul.c: New file.
52009         * string/Makefile (strop-tests): Add strchrnul.
52011         * po/it.po: Update from translation team.
52012         * po/es.po: Likewise.
52014 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52016         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52017         the three constants needed as parameters.  Drop the others.
52018         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52019         __m128i_strloadu_tolower.
52020         Create and initialize variable zero and use it in all the places
52021         where _mm_setzero_si128 was used.
52023         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52024         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52025         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52026         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52027         anymore.
52028         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52029         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52030         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52031         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52032         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52033         __mpranred, __mptan.
52034         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52035         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52036         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52037         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52038         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52039         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52040         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52041         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52042         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52044 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52046         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52047         redefine if SHARED.
52048         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52051         wide char related routines to wcsmbs subdir.
52053 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52055         [BZ #13344]
52056         * misc/sys/cdefs.h (__THROWNL): Define.
52057         * posix/unistd.h: Use __THREADNL instead of __THREAD
52058         for memory synchronization functions.
52060 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52062         [BZ #13349]
52063         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52064         doesn't exist.
52065         * manual/stdio.texi (Obstack Streams): Node removed.
52067 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52069         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52070         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52071         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52073         * math/math_private.h (math_force_eval): Allow non-addressable
52074         arguments.
52075         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52077 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52079         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52080         file is not needed.
52082         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52083         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52084         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52085         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52086         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52087         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52088         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52089         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52090         Add AVX variants.
52091         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52092         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52093         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52094         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52095         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52096         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52097         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52098         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52099         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52100         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52101         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52102         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52103         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52104         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52105         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52106         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52107         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52108         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52109         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52111         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52112         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52114         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52115         place.  Use VEX encoding when compiling for AVX.
52117 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52119         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52120         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52122         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52124 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52126         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52127         useless if() expression.
52128         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52129         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52130         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52131         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52132         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52133         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52134         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52135         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52136         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52137         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52138         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52139         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52140         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52141         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52142         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52143         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52144         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52145         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52146         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52148         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52150 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52152         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52153         condition.
52154         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52156 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52158         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52159         .text section.  Avoid duplicate constants.
52160         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52161         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52162         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52163         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52164         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52165         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52166         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52168         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52169         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52170         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52171         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52172         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52173         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52174         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52175         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52176         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52177         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52178         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52179         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52180         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52181         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52182         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52183         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52184         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52185         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52186         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52187         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52188         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52189         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52190         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52191         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52192         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52193         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52194         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52195         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52196         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52197         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52198         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52199         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52200         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52201         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52202         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52203         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52204         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52206 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52208         * sysdeps/x86_64/dla.h: Move to ...
52209         * sysdeps/x86_64/fpu/dla.h: ...here.
52210         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52211         situations.  Use __builtin_fma only for gcc 4.6 and up.
52213         * config.make.in: Add have-mfma4 entry.
52214         * configure.in: Substitute libc_cv_cc_fma4.
52215         * math/Makefile (dbl-only-routines): Add sincostab.
52216         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52217         Use __sincostab not sincos.
52218         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52219         name is a macro.
52220         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52222         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52223         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52224         using __copysign.
52225         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52226         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52227         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52228         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52229         and __inv.
52230         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52231         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52232         __copysign.
52233         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52234         define aliases when function name is a macro.
52235         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52236         sysdeps/ieee754/dbl-64/sincos.tbl.
52237         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52238         fma4-enabled routines.
52239         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52240         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52241         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52242         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52243         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52244         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52245         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52246         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52247         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52248         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52249         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52250         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52251         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52252         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52253         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52254         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52255         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52256         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52257         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52258         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52259         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52260         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52261         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52262         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52263         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52264         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52265         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52266         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52267         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52268         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52270         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52271         rename.
52272         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52273         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52277         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52278         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52279         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52281 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52283         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52285 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52287         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52289         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52290         prediction.
52291         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52293         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52294         Remove unused variable magic_bits.
52295         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52297         * string/strnlen.c: Define and use STRNLEN macro.
52298         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52299         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52300         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52301         * wcsmbs/wcslen.c: Define and use WCSLEN.
52302         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52303         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52304         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52305         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52306         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52307         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52308         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52310 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52313         strnlen-sse2-no-bsf.
52314         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52315         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52316         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52317         Add strnlen support.
52318         (USE_AS_STRNLEN): New macro.
52319         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52321         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52322         * sysdeps/x86_64/wcslen.S: New file.
52324 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52326         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52327         XMM-moves are used for copying on small sizes.
52329 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52331         * wcsmbs/Makefile (strop-tests): Add wcschr.
52332         * wcsmbs/test-wcschr.c: New file.
52333         * string/test-strchr.c: Update.
52334         Add wcschr support.
52335         (WIDE): New macro.
52337 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52339         * wcsmbs/Makefile (strop-tests): Add wcslen.
52340         * wcsmbs/test-wcslen.c: New file.
52341         * string/test-strlen.c: Update.
52342         Add wcslen support.
52343         (WIDE): New macro.
52345 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52347         * po/it.po: Update from translation team.
52349 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52351         * sysdeps/x86_64/wcscmp.S: Update.
52352         Fix wrong comparison semantics.
52353         wcscmp shall use signed comparison not unsigned.
52354         Don't use substraction to avoid overflow bug.
52355         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52356         * wcsmbc/wcscmp.c: Likewise.
52357         * string/test-strcmp.c: Likewise.
52358         Add new tests to check cases with negative values.
52360 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52362         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52363         * sysdeps/x86_64/dla.h: ...here.  New file.
52364         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52365         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52366         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52369         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52370         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52371         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52372         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52374 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52376         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52377         __ynl_finite aliases.
52379 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52381         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52383         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52384         define DLA_FMA.
52385         [DLA_FMA] (EMULV): Use DLA_FMA.
52386         [DLA_FMA] (MUL12): Use EMULV.
52387         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52388         that are not needed.
52389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52390         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52394         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52397 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52399         * math/s_nan.c: Undef __nan.
52400         * math/s_nanf.c: Undef __nanf.
52401         * math/s_nanl.c: Undef __nanl.
52402         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52403         "math_private.h".
52405 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52407         * math/s_catan.c: Add branch predictions.
52408         * math/s_catanf.c: Likewise.
52409         * math/s_catanh.c: Likewise.
52410         * math/s_catanhf.c: Likewise.
52411         * math/s_catanhl.c: Likewise.
52412         * math/s_catanl.c: Likewise.
52413         * math/s_cexp.c: Likewise.
52414         * math/s_cexpf.c: Likewise.
52415         * math/s_cexpl.c: Likewise.
52416         * math/s_clog.c: Likewise.
52417         * math/s_clog10.c: Likewise.
52418         * math/s_clog10f.c: Likewise.
52419         * math/s_clog10l.c: Likewise.
52420         * math/s_clogf.c: Likewise.
52421         * math/s_clogl.c: Likewise.
52422         * math/s_csqrt.c: Likewise.
52423         * math/s_csqrtf.c: Likewise.
52424         * math/s_csqrtl.c: Likewise.
52425         * math/s_ctanf.c: Likewise.
52426         * math/s_ctanh.c: Likewise.
52427         * math/s_ctanhf.c: Likewise.
52428         * math/s_ctanhl.c: Likewise.
52429         * math/s_ctanl.c: Likewise.
52431         * math/math_private.h: Define __nan, __nanf, __nanl.
52432         * math/s_cacosh.c: Include <math_private.h>.
52433         * math/s_cacoshl.c: Likewise.
52434         * math/s_casinh.c: Likewise.
52435         * math/s_casinhf.c: Likewise.
52436         * math/s_casinhl.c: Likewise.
52437         * math/s_ccos.c: Rely entire on ccosh.
52438         * math/s_ccosf.c: Rely entire on ccoshf.
52439         * math/s_ccosl.c: Rely entirely on ccoshl.
52440         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52441         Remove tests for FE_INVALID.
52442         * math/s_ccoshf.c: Likewise.
52443         * math/s_ccoshl.c: Likewise.
52444         * math/s_csin.c: Likewise.
52445         * math/s_csinf.c: Likewise.
52446         * math/s_csinh.c Likewise.
52447         * math/s_csinhf.c: Likewise.
52448         * math/s_csinhl.c: Likewise.
52449         * math/s_csinl.c: Likewise.
52450         * math/s_ctan.c: Likewise.
52451         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52452         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52453         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52455 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52458         compilation problems.
52460         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52461         __builtin_expect.
52463 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52465         * sysdeps/i386/configure.in: Test for -mfma4 option.
52466         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52467         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52468         COMMON_CPUID_INDEX_80000001.
52469         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52470         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52471         use it if FMA3 is not supported.
52472         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52474         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52475         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52477 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52479         [BZ #12892]
52480         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52481         it would create a cycle with a link time dependency.
52483 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52485         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52486         instruction.
52487         * string/Makefile (strop-tests): Add rawmemchr.
52488         * string/test-rawmemchr.c: New file.
52490         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52492         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52493         when compiling str{,n}casecmp and when AVX is available.  Hook up
52494         new optimized code in initializers.
52496 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52498         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52499         __feraiseexcept instead of feraiseexcept.
52501 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52503         * math/math_private.h: Define defaults for libc_fetestexcept and
52504         libc_feupdateenv.
52505         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52506         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52507         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52508         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52509         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52510         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52511         libc_fetestexcept and libc_feupdateenv.
52513         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52514         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52515         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52516         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52517         libc_feholdexcept_setround.
52519         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52520         Add s_nearbyint-c and s_nearbyintf-c.
52521         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52522         nearbyintf inlines.
52523         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52524         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52525         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52526         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52528         * math/math_private.h: Define defaults for libc_fegetround,
52529         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52530         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52531         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52532         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52533         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52534         standard functions.
52535         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52536         Remove comments and hacks for old compiler versions.
52537         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52538         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52539         libc_feholdexceptl.
52541 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52543         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52544         (__feraiseexcept_renamed): Add __NTH.
52545         (feraiseexcept): Add __NTH.  Rename local variables to fix
52546         namespace violations.
52548 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52550         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52552         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52554         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52555         recently added interfaces.
52556         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52558         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52559         about macro parameter expansion.
52561         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52562         __NO_MATH_INLINES is defined.  Cleanups.
52564         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52565         and __floorf is target has SSE4.1.
52566         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52567         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52568         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52569         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52571         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52572         name.
52573         (floorf): Likewise.
52575         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52577 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52579         * misc/sys/cdefs.h: Fix last change.
52581         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52582         database lookup.
52584 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52586         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52588         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52589         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52590         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52591         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52592         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52593         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52594         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52595         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52596         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52597         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52598         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52599         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52600         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52601         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52602         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52603         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52604         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52605         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52606         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52607         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52608         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52609         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52611         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52612         ceil, ceilf, floor, floorf.
52614         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52615         Perform IRELATIVE relocations last.
52617         * elf/do-rel.h: Add another parameter nrelative, replacing the
52618         local variable with the same name.  Change name of the function
52619         to end in Rel or Rela (uppercase).
52620         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52621         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52622         elf_dynamic_do_##reloc function.
52624 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52626         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52627         is sufficient, at least on modern CPUs.
52629         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52631         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52632         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52634         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52635         __expl_finite.
52636         * math/bits/math-finite.h: Add entries for exp.
52637         * math/e_expl.c: Add __*_finite alias.
52638         * sysdeps/i386/fpu/e_exp.S: Likewise.
52639         * sysdeps/i386/fpu/e_expf.S: Likewise.
52640         * sysdeps/i386/fpu/e_expl.c: Likewise.
52641         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52642         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52643         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52644         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52645         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52646         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52647         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52649         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52650         is sufficient, at least on modern CPUs.
52652         * ctype/ctype-info.c (__ctype_init): Define.
52653         * include/ctype.h (__ctype_init): Declare.
52654         (__ctype_b_loc): The variable is always initialized.
52655         (__ctype_toupper_loc): Likewise.
52656         (__ctype_tolower_loc): Likewise.
52657         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52658         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52660 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52662         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52664         * configure.in: Also look in $cxxmachine/include for C++ system
52665         headers.
52667 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52669         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52670         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52671         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52672         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52673         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52674         (USE_AS_WMEMCMP): New macro.
52675         Fixing indents.
52676         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52677         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52678         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52679         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52681         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52682         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52683         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52684         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52685         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52686         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52687         (USE_AS_WMEMCMP): New macro.
52688         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52689         * sysdeps/string/test-memcmp.c: Update.
52690         Fix simple_wmemcmp.
52691         Add new tests.
52692         * wcsmbs/wmemcmp.c: Update.
52693         (WMEMCMP): New macro.
52694         Fix overflow bug.
52696 2011-10-12  Andreas Jaeger  <aj@suse.de>
52698         [BZ #13268]
52699         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52701 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52703         * libio/iofwide.c (do_length): Avoid warning.
52705         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52707 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52709         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52711         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52712         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52713         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52714         * sysdeps/i386/i686/fpu/e_log.S: New file.
52715         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52716         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52718         * ctype/ctype.h: Add support for inlined isXXX functions when
52719         compiling C++ code.
52721 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52723         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52725         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52727 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52729         [BZ #13291]
52730         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52732 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52734         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52735         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52736         feraiseexcept.
52738         * sysdeps/x86_64/memrchr.S: Check for zero size.
52740         * string/stratcliff.c: Add memrchr tests.
52742 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52745         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52746         rawmemchr-sse2 rawmemchr-sse2-bsf.
52747         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52748         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52749         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52750         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52751         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52752         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52753         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52754         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52755         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52756         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52757         * string/memrchr.c (MEMRCHR): New macro.
52759 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52761         Add integration with gcc's -ffinite-math-only and optimize wrapper
52762         functions in libm.
52763         * Versions.def: Define GLIBC_2.15 version for libm.
52764         * math/Makefile (headers): Add bits/math-finite.h.
52765         * math/bits/math-finite.h: New file.
52766         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52767         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52768         * math/e_acoshl.c: Add __*_finite alias.
52769         * math/e_acosl.c: Likewise.
52770         * math/e_asinl.c: Likewise.
52771         * math/e_atan2l.c: Likewise.
52772         * math/e_atanhl.c: Likewise.
52773         * math/e_coshl.c: Likewise.
52774         * math/e_exp10.c: Likewise.
52775         * math/e_exp10f.c: Likewise.
52776         * math/e_exp10l.c: Likewise.
52777         * math/e_exp2l.c: Likewise.
52778         * math/e_fmodl.c: Likewise.
52779         * math/e_gammal_r.c: Likewise.
52780         * math/e_hypotl.c: Likewise.
52781         * math/e_j0l.c: Likewise.
52782         * math/e_j1l.c: Likewise.
52783         * math/e_jnl.c: Likewise.
52784         * math/e_lgammal_r.c: Likewise.
52785         * math/e_log10l.c: Likewise.
52786         * math/e_log2l.c: Likewise.
52787         * math/e_logl.c: Likewise.
52788         * math/e_powl.c: Likewise.
52789         * math/e_sinhl.c: Likewise.
52790         * math/e_sqrtl.c: Likewise.
52791         * math/e_scalb.c: Completely rewritten and optimized.
52792         * math/e_scalbf.c: Likewise.
52793         * math/e_scalbl.c: Likewise.
52794         * math/w_acos.c: Likewise.
52795         * math/w_acosf.c: Likewise.
52796         * math/w_acosl.c: Likewise.
52797         * math/w_acosh.c: Likewise.
52798         * math/w_acoshf.c: Likewise.
52799         * math/w_acoshl.c: Likewise.
52800         * math/w_asin.c: Likewise.
52801         * math/w_asinf.c: Likewise.
52802         * math/w_asinl.c: Likewise.
52803         * math/w_atan2.c: Likewise.
52804         * math/w_atan2f.c: Likewise.
52805         * math/w_atan2l.c: Likewise.
52806         * math/w_atanh.c: Likewise.
52807         * math/w_atanhf.c: Likewise.
52808         * math/w_atanhl.c: Likewise.
52809         * math/w_exp10.c: Likewise.
52810         * math/w_exp10f.c: Likewise.
52811         * math/w_exp10l.c: Likewise.
52812         * math/w_fmod.c: Likewise.
52813         * math/w_fmodf.c: Likewise.
52814         * math/w_fmodl.c: Likewise.
52815         * math/w_j0.c: Likewise.
52816         * math/w_j0f.c: Likewise.
52817         * math/w_j0l.c: Likewise.
52818         * math/w_j1.c: Likewise.
52819         * math/w_j1f.c: Likewise.
52820         * math/w_j1l.c: Likewise.
52821         * math/w_jn.c: Likewise.
52822         * math/w_jnf.c: Likewise.
52823         * math/w_log.c: Likewise.
52824         * math/w_logf.c: Likewise.
52825         * math/w_logl.c: Likewise.
52826         * math/w_log10.c: Likewise.
52827         * math/w_log10f.c: Likewise.
52828         * math/w_log10l.c: Likewise.
52829         * math/w_log2.c: Likewise.
52830         * math/w_log2f.c: Likewise.
52831         * math/w_log2l.c: Likewise.
52832         * math/w_pow.c: Likewise.
52833         * math/w_powf.c: Likewise.
52834         * math/w_powl.c: Likewise.
52835         * math/w_remainder.c: Likewise.
52836         * math/w_remainderf.c: Likewise.
52837         * math/w_remainderl.c: Likewise.
52838         * math/w_scalb.c: Likewise.
52839         * math/w_scalbf.c: Likewise.
52840         * math/w_scalbl.c: Likewise.
52841         * math/w_sqrt.c: Likewise.
52842         * math/w_sqrtf.c: Likewise.
52843         * math/w_sqrtl.c: Likewise.
52844         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52845         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52846         used.
52847         * math/math_private.h: Declare __kernel_standard_f.
52848         * math/w_cosh.c: Remove cruft and optimize a bit.
52849         * math/w_coshf.c: Likewise.
52850         * math/w_coshl.c: Likewise.
52851         * math/w_exp2.c: Likewise.
52852         * math/w_exp2f.c: Likewise.
52853         * math/w_exp2l.c: Likewise.
52854         * math/w_hypot.c: Likewise.
52855         * math/w_hypotf.c: Likewise.
52856         * math/w_hypotl.c: Likewise.
52857         * math/w_lgamma.c: Likewise.
52858         * math/w_lgamma_r.c: Likewise.
52859         * math/w_lgammaf.c: Likewise.
52860         * math/w_lgammaf_r.c: Likewise.
52861         * math/w_lgammal.c: Likewise.
52862         * math/w_lgammal_r.c: Likewise.
52863         * math/w_sinh.c: Likewise.
52864         * math/w_sinhf.c: Likewise.
52865         * math/w_sinhl.c: Likewise.
52866         * math/w_tgamma.c: Likewise.
52867         * math/w_tgammaf.c: Likewise.
52868         * math/w_tgammal.c: Likewise.
52869         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52870         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52871         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52872         Minor optimizations.  Pretty printing.  Remove cruft.
52873         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52874         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52875         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52876         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52877         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52878         * sysdeps/i386/fpu/e_asin.S: Likewise.
52879         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52880         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52881         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52882         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52883         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52884         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52885         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52886         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52887         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52888         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52889         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52890         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52891         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52892         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52893         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52894         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52895         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52896         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52897         * sysdeps/i386/fpu/e_log.S: Likewise.
52898         * sysdeps/i386/fpu/e_log10.S: Likewise.
52899         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52900         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52901         * sysdeps/i386/fpu/e_log2.S: Likewise.
52902         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52903         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52904         * sysdeps/i386/fpu/e_logf.S: Likewise.
52905         * sysdeps/i386/fpu/e_logl.S: Likewise.
52906         * sysdeps/i386/fpu/e_pow.S: Likewise.
52907         * sysdeps/i386/fpu/e_powf.S: Likewise.
52908         * sysdeps/i386/fpu/e_powl.S: Likewise.
52909         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52910         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52911         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52912         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52913         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52914         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52915         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52916         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52917         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52918         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52919         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52920         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52921         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52922         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52923         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52924         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52925         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52926         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52927         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52928         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52929         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52930         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52931         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52932         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52933         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52934         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52935         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52936         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52937         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52938         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52939         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52940         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52941         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52942         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52943         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52944         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52945         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52946         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52947         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52948         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52949         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52950         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52951         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52952         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52953         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52954         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52955         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52956         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52957         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52958         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52959         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52960         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52961         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52962         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52963         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52964         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52965         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52966         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52967         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52968         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52970         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52971         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52972         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52973         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52974         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52977         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52978         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52981         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52983         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52984         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52986         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52987         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52989         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52990         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52991         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52993         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52994         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52995         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52996         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52997         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52998         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52999         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53000         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53001         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53002         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53003         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53004         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53005         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53006         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53007         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53008         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53009         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53010         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53011         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53012         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53013         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53014         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53015         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53016         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53017         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53018         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53019         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53020         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53021         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53022         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53023         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53024         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53025         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53026         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53027         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53028         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53029         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53030         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53031         (__isnanf): Likewise.
53032         (__isinf_ns): Likewise.
53033         (__isinf_nsf): Likewise.
53034         (__finite): Likewise.
53035         (__finitef): Likewise.
53036         (__ieee754_sqrt): Define as macro.
53037         (__ieee754_sqrtf): Define as macro.
53038         (__ieee754_sqrtl): Define as macro.
53039         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53040         inlined copy.
53041         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53042         __FINITE_MATH_ONLY__ consistent.
53043         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53045 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53047         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53048         of rawmemchr.
53050         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53052 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53054         * po/ja.po: Update from translation team.
53056 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53058         * locale/programs/locarchive.c (prepare_address_space): New function.
53059         (create_archive, enlarge_archive, open_archive): Use it.
53061         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53062         inside [SHARED], where it is used.
53064         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53066         * nss/getent.c (netgroup_keys): Remove unused variable.
53067         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53069 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53071         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53072         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53073         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53074         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53075         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53076         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53077         * math/Makefile (libm-calls): Add s_isinf_ns.
53078         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53079         * math/multc3.c: Likewise.
53080         * math/s_casin.c: Likewise.
53081         * math/s_casinf.c: Likewise.
53082         * math/s_casinl.c: Likewise.
53083         * math/s_ccos.c: Likewise.
53084         * math/s_ccosf.c: Likewise.
53085         * math/s_ccosl.c: Likewise.
53086         * math/s_ctan.c: Likewise.
53087         * math/s_ctanf.c: Likewise.
53088         * math/s_ctanh.c: Likewise.
53089         * math/s_ctanhf.c: Likewise.
53090         * math/s_ctanhl.c: Likewise.
53091         * math/s_ctanl.c: Likewise.
53092         * math/w_fmod.c: Likewise.
53093         * math/w_fmodf.c: Likewise.
53094         * math/w_fmodl.c: Likewise.
53095         * math/w_remainder.c: Likewise.
53096         * math/w_remainderf.c: Likewise.
53097         * math/w_remainderl.c: Likewise.
53098         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53099         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53100         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53101         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53102         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53103         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53104         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53105         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53107         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53108         of the number.
53109         * stdio-common/printf_fphex.c: Likewise.
53110         * stdio-common/printf_size.c: Likewise.
53112         * math/e_exp10.c: Include math_private.h using <...> not "...".
53113         * math/e_exp10f.c: Likewise.
53114         * math/e_exp10l.c: Likewise.
53115         * math/e_exp2l.c: Likewise.
53116         * math/e_j0l.c: Likewise.
53117         * math/e_j1l.c: Likewise.
53118         * math/e_jnl.c: Likewise.
53119         * math/e_lgammal_r.c: Likewise.
53120         * math/e_rem_pio2l.c: Likewise.
53121         * math/e_scalb.c: Likewise.
53122         * math/e_scalbf.c: Likewise.
53123         * math/e_scalbl.c: Likewise.
53124         * math/k_cosl.c: Likewise.
53125         * math/k_sinl.c: Likewise.
53126         * math/k_tanl.c: Likewise.
53127         * math/s_cacoshf.c: Likewise.
53128         * math/s_catan.c: Likewise.
53129         * math/s_catanf.c: Likewise.
53130         * math/s_catanh.c: Likewise.
53131         * math/s_catanhf.c: Likewise.
53132         * math/s_catanhl.c: Likewise.
53133         * math/s_catanl.c: Likewise.
53134         * math/s_ccosh.c: Likewise.
53135         * math/s_ccoshf.c: Likewise.
53136         * math/s_ccoshl.c: Likewise.
53137         * math/s_cexp.c: Likewise.
53138         * math/s_cexpf.c: Likewise.
53139         * math/s_cexpl.c: Likewise.
53140         * math/s_clog.c: Likewise.
53141         * math/s_clog10.c: Likewise.
53142         * math/s_clog10f.c: Likewise.
53143         * math/s_clog10l.c: Likewise.
53144         * math/s_clogf.c: Likewise.
53145         * math/s_clogl.c: Likewise.
53146         * math/s_csin.c: Likewise.
53147         * math/s_csinf.c: Likewise.
53148         * math/s_csinh.c: Likewise.
53149         * math/s_csinhf.c: Likewise.
53150         * math/s_csinhl.c: Likewise.
53151         * math/s_csinl.c: Likewise.
53152         * math/s_csqrt.c: Likewise.
53153         * math/s_csqrtf.c: Likewise.
53154         * math/s_csqrtl.c: Likewise.
53155         * math/s_ctan.c: Likewise.
53156         * math/s_ctanf.c: Likewise.
53157         * math/s_ctanh.c: Likewise.
53158         * math/s_ctanhf.c: Likewise.
53159         * math/s_ctanhl.c: Likewise.
53160         * math/s_ctanl.c: Likewise.
53161         * math/s_ldexp.c: Likewise.
53162         * math/s_ldexpf.c: Likewise.
53163         * math/s_ldexpl.c: Likewise.
53164         * math/s_significand.c: Likewise.
53165         * math/s_significandf.c: Likewise.
53166         * math/s_significandl.c: Likewise.
53167         * math/w_acos.c: Likewise.
53168         * math/w_acosf.c: Likewise.
53169         * math/w_acosh.c: Likewise.
53170         * math/w_acoshf.c: Likewise.
53171         * math/w_acoshl.c: Likewise.
53172         * math/w_acosl.c: Likewise.
53173         * math/w_asin.c: Likewise.
53174         * math/w_asinf.c: Likewise.
53175         * math/w_asinl.c: Likewise.
53176         * math/w_atan2.c: Likewise.
53177         * math/w_atan2f.c: Likewise.
53178         * math/w_atan2l.c: Likewise.
53179         * math/w_atanh.c: Likewise.
53180         * math/w_atanhf.c: Likewise.
53181         * math/w_atanhl.c: Likewise.
53182         * math/w_cosh.c: Likewise.
53183         * math/w_coshf.c: Likewise.
53184         * math/w_coshl.c: Likewise.
53185         * math/w_dremf.c: Likewise.
53186         * math/w_exp10.c: Likewise.
53187         * math/w_exp10f.c: Likewise.
53188         * math/w_exp10l.c: Likewise.
53189         * math/w_exp2.c: Likewise.
53190         * math/w_exp2f.c: Likewise.
53191         * math/w_fmod.c: Likewise.
53192         * math/w_fmodf.c: Likewise.
53193         * math/w_fmodl.c: Likewise.
53194         * math/w_hypot.c: Likewise.
53195         * math/w_hypotf.c: Likewise.
53196         * math/w_hypotl.c: Likewise.
53197         * math/w_j0.c: Likewise.
53198         * math/w_j0f.c: Likewise.
53199         * math/w_j0l.c: Likewise.
53200         * math/w_j1.c: Likewise.
53201         * math/w_j1f.c: Likewise.
53202         * math/w_j1l.c: Likewise.
53203         * math/w_jn.c: Likewise.
53204         * math/w_jnf.c: Likewise.
53205         * math/w_jnl.c: Likewise.
53206         * math/w_lgamma.c: Likewise.
53207         * math/w_lgamma_r.c: Likewise.
53208         * math/w_lgammaf.c: Likewise.
53209         * math/w_lgammaf_r.c: Likewise.
53210         * math/w_lgammal.c: Likewise.
53211         * math/w_lgammal_r.c: Likewise.
53212         * math/w_log.c: Likewise.
53213         * math/w_log10.c: Likewise.
53214         * math/w_log10f.c: Likewise.
53215         * math/w_log10l.c: Likewise.
53216         * math/w_log2.c: Likewise.
53217         * math/w_log2f.c: Likewise.
53218         * math/w_log2l.c: Likewise.
53219         * math/w_logf.c: Likewise.
53220         * math/w_logl.c: Likewise.
53221         * math/w_pow.c: Likewise.
53222         * math/w_powf.c: Likewise.
53223         * math/w_powl.c: Likewise.
53224         * math/w_remainder.c: Likewise.
53225         * math/w_remainderf.c: Likewise.
53226         * math/w_remainderl.c: Likewise.
53227         * math/w_scalb.c: Likewise.
53228         * math/w_scalbf.c: Likewise.
53229         * math/w_scalbl.c: Likewise.
53230         * math/w_sinh.c: Likewise.
53231         * math/w_sinhf.c: Likewise.
53232         * math/w_sinhl.c: Likewise.
53233         * math/w_sqrt.c: Likewise.
53234         * math/w_sqrtf.c: Likewise.
53235         * math/w_sqrtl.c: Likewise.
53236         * math/w_tgamma.c: Likewise.
53237         * math/w_tgammaf.c: Likewise.
53238         * math/w_tgammal.c: Likewise.
53240         * po/ja.po: Update from translation team.
53242 2011-09-29  Andreas Jaeger  <aj@suse.de>
53244         [BZ #13179]
53245         * sunrpc/netname.c (netname2host): Fix logic.
53247         [BZ #6779]
53248         [BZ #6783]
53249         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53250         correctly.
53251         * math/w_remainder.c (__remainder): Likewise.
53252         * math/w_remainderf.c (__remainderf): Likewise.
53253         * math/libm-test.inc (remainder_test): Add test cases.
53255 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53257         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53258         sdiv_qrnnd.
53260 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53262         * string/test-memcmp.c: Avoid unncessary #defines.
53263         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53265 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53267         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53268         Use new sse2 version for core i3 - i7 as it's faster
53269         than sse42 version.
53270         (bit_Prefer_PMINUB_for_stringop): New.
53271         * sysdeps/x86_64/rawmemchr.S: Update.
53272         Replace with faster SSE2 version.
53273         * sysdeps/x86_64/memrchr.S: New file.
53274         * sysdeps/x86_64/memchr.S: Update.
53275         Replace with faster SSE2 version.
53277 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53279         * elf/dl-load.c (lose): Add cast to avoid warning.
53281 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53283         * po/ca.po: Update from translation team.
53285         * inet/getnetgrent_r.c: Hook up nscd.
53286         * nscd/Makefile (routines): Add nscd_netgroup.
53287         (nscd-modules): Add netgroupcache.
53288         (CFLAGS-netgroupcache.c): Define.
53289         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53290         (cache_search): Add const to second parameter.
53291         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53292         INNETGR.
53293         (dbs): Add netgrdb entry.
53294         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53295         (verify_persistent_db): Handle netgrdb.
53296         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53297         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53298         GETFDNETGR.
53299         (netgroup_response_header): Define.
53300         (innetgroup_response_header): Define.
53301         (datahead): Add netgroup_response_header and innetgroup_response_header
53302         elements.
53303         * nscd/nscd.conf: Add entries for netgroup cache.
53304         * nscd/nscd.h (dbtype): Add netgrdb.
53305         (_PATH_NSCD_NETGROUP_DB): Define.
53306         (netgroup_iov_disabled): Declare.
53307         (xmalloc, xcalloc, xrealloc): Move declarations here.
53308         (cache_search): Adjust prototype.
53309         Add netgroup-related prototypes.
53310         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53311         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53312         (__nscd_innetgr): Declare.
53313         * nscd/selinux.c (perms): Use access_vector_t as element type and
53314         add netgroup-related initializers.
53315         * nscd/netgroupcache.c: New file.
53316         * nscd/nscd_netgroup.c: New file.
53317         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53318         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53319         For four parameters use innetgr.
53320         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53321         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53322         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53323         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53325         * nscd/connections.c (register_traced_file): Don't register file
53326         for disabled databases.
53328 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53330         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53332         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53333         from tree and freeing node.
53335 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53337         * nss/nsswitch.c (__nss_database_lookup): Handle
53338         nss_parse_service_list out of memory case.
53340 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53342         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53343         out of memory case.
53345 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53347         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53348         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53349         pass it down.
53350         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53351         elf_machine_rela, elf_machine_lazy_rel.
53352         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53353         (ELF_DYNAMIC_DO_REL): Likewise.
53354         (ELF_DYNAMIC_DO_RELA): Likewise.
53355         (ELF_DYNAMIC_RELOCATE): Likewise.
53356         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53357         to ELF_DYNAMIC_DO_REL.
53358         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53359         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53360         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53361         elf_machine_rela.
53362         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53363         skip_ifunc, don't call ifunc function if non-zero.
53364         (elf_machine_rela): Likewise.
53365         (elf_machine_lazy_rel): Likewise.
53366         (elf_machine_lazy_rela): Likewise.
53367         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53368         (elf_machine_lazy_rel): Likewise.
53369         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53370         Likewise.
53371         (elf_machine_lazy_rel): Likewise.
53372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53373         Likewise.
53374         (elf_machine_lazy_rel): Likewise.
53375         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53376         (elf_machine_lazy_rel): Likewise.
53377         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53378         (elf_machine_lazy_rel): Likewise.
53379         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53380         (elf_machine_lazy_rel): Likewise.
53381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53382         (elf_machine_lazy_rel): Likewise.
53383         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53384         (elf_machine_lazy_rel): Likewise.
53385         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53386         (elf_machine_lazy_rel): Likewise.
53388 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53390         * nss/nss_files/files-init.c (_nss_files_init): Use static
53391         initialization for all the *_traced_file variables.
53393 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53395         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53397 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53399         [BZ #13226]
53400         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53402 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53404         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53405         Reread the line before reparsing it.
53407 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53409         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53411 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53412             Maxim Kuvyrkov  <maxim@codesourcery.com>
53413             Joseph Myers  <joseph@codesourcery.com>
53415         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53416         if needed for __stack_chk_guard.
53418 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53420         * sysdeps/posix/spawni.c (script_execute): Always define it.
53421         It will be optimized away if unused.
53422         (maybe_script_execute): New function.
53423         (__spawni): Call it.
53425         * Makerules: Don't include tls.make.
53426         (config-tls): Always set to thread.
53427         * tls.make.c: File removed.
53429 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53431         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53432         * config.make.in (CPPFLAGS-config): New substituted variable.
53434 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53436         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53438         [BZ #13192]
53439         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53440         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53442 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53444         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53445         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53446         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53447         (CALL_FAIL): Likewise.
53448         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53449         (CALL_FAIL): Macro removed.
53450         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53452 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53454         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53455         for __FINITE_MATH_ONLY__ == 1.
53457 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53459         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53460         __ieee754_sqrt instead of sqrt.
53461         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53462         __ieee754_sqrtf instead of sqrtf.
53463         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53464         __floorf instead of floorf.
53465         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53466         __floorf, __truncf instead of floorf, truncf.
53468 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53470         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53472         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53473         __extern_always_inline.
53474         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53475         32-bit.
53477 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53479         * elf/rtld.c (dl_main): Also relocate in dependency order when
53480         doing symbol dependency testing.
53482 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53484         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53485         Always define `refsym'.
53487 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53489         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53490         (__FD_ELT): Renamed from __FDELT.
53491         * misc/bits/select2.h (__FD_ELT): Likewise.
53492         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53493         __FD_MASK instead of __FDELT, __FDMASK.
53494         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53495         Likewise.
53496         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53497         Likewise.
53499         * elf/Makefile (gen-ldd): Fix pattern.
53501         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53502         (init_tls): Likewise.
53504 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53506         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53508 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53510         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53511         `struct cmsghdr *' instead of `void *'.
53512         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53513         Likewise.
53515 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53517         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53518         if non-absolute.
53519         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53520         ldd_rewrite_script.
53522 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53524         * configure.in: Remove --with-tls option.
53525         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53526         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53527         out in case it is missing.
53528         * sysdeps/ia64/elf/configure.in: Likewise.
53529         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53530         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53531         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53532         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53533         * sysdeps/sh/elf/configure.in: Likewise.
53534         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53535         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53536         * sysdeps/x86_64/elf/configure.in: Likewise.
53537         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53538         * sysdeps/mach/hurd/tls.h: Likewise.
53540         [BZ #13067]
53541         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53543         [BZ #13090]
53544         * configure.in: Fix use of AC_INIT.
53546         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53548 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53550         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53551         __set_errno.
53552         * malloc/hooks.c: Likewise.
53554         [BZ #11929]
53555         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53556         variables statically.
53557         (narenas): Initialize.
53558         (list_lock): Initialize.
53559         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53560         initializtion of main_arena and list_lock.  Small cleanups.
53561         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53562         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53563         Add initializers to main_arena and mp_.
53564         (malloc_state): Remove pagesize member.  Change all users to use
53565         GLRO(dl_pagesize).
53567         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53568         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53569         is always initialized.
53571         * malloc/malloc.c: Removed unused configurations and dead code.
53572         * malloc/arena.c: Likewise.
53573         * malloc/hooks.c: Likewise.
53574         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53576         * include/tls.h: Removed.  USE___THREAD must always be defined.
53577         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53578         * elf/dl-libc.c: Likewise.
53579         * elf/dl-tsd.c: Likewise.
53580         * include/errno.h: Likewise.
53581         * include/netdb.h: Likewise.
53582         * include/resolv.h: Likewise.
53583         * inet/herrno-loc.c: Likewise.
53584         * inet/herrno.c: Likewise.
53585         * malloc/arena.c: Likewise.
53586         * malloc/hooks.c: Likewise.
53587         * malloc/malloc.c: Likewise.
53588         * resolv/res-state.c: Likewise.
53589         * resolv/res_libc.c: Likewise.
53590         * sysdeps/i386/dl-machine.h: Likewise.
53591         * sysdeps/ia64/dl-machine.h: Likewise.
53592         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53593         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53594         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53595         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53596         * sysdeps/sh/dl-machine.h: Likewise.
53597         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53598         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53599         * sysdeps/unix/i386/sysdep.S: Likewise.
53600         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53601         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53603         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53604         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53605         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53606         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53607         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53608         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53609         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53610         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53611         * sysdeps/x86_64/dl-machine.h: Likewise.
53612         * tls.make.c: Likewise.
53614         * configure.in: Remove --with-__thread option.  Make tests for
53615         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53616         tls_model attribute fail if no support is available.  Remove
53617         USE_IN_LIBIO.
53618         * Makeconfig: Adjust for dropped configure option.  All features are
53619         now mandatory.
53620         * Makerules: Likewise.
53621         * Versions.def: Likewise.
53622         * argp/argp-fmtstream.c: Likewise.
53623         * argp/argp-fmtstream.h: Likewise.
53624         * argp/argp-help.c: Likewise.
53625         * assert/assert.c: Likewise.
53626         * config.h.in: Likewise.
53627         * config.make.in: Likewise.
53628         * configure: Likewise.
53629         * configure.in: Likewise.
53630         * csu/Versions: Likewise.
53631         * csu/init.c: Likewise.
53632         * elf/tst-audit2.c: Likewise.
53633         * elf/tst-tls10.c: Likewise.
53634         * elf/tst-tls10.h: Likewise.
53635         * elf/tst-tls11.c: Likewise.
53636         * elf/tst-tls12.c: Likewise.
53637         * elf/tst-tls14.c: Likewise.
53638         * elf/tst-tlsmod11.c: Likewise.
53639         * elf/tst-tlsmod12.c: Likewise.
53640         * elf/tst-tlsmod13.c: Likewise.
53641         * elf/tst-tlsmod13a.c: Likewise.
53642         * elf/tst-tlsmod14a.c: Likewise.
53643         * elf/tst-tlsmod15b.c: Likewise.
53644         * elf/tst-tlsmod16a.c: Likewise.
53645         * elf/tst-tlsmod16b.c: Likewise.
53646         * elf/tst-tlsmod7.c: Likewise.
53647         * elf/tst-tlsmod8.c: Likewise.
53648         * elf/tst-tlsmod9.c: Likewise.
53649         * gmon/gmon.c: Likewise.
53650         * grp/fgetgrent_r.c: Likewise.
53651         * grp/putgrent.c: Likewise.
53652         * hurd/fopenport.c: Likewise.
53653         * include/libc-symbols.h: Likewise.
53654         * include/tls.h: Likewise.
53655         * intl/gettextP.h: Likewise.
53656         * intl/loadinfo.h: Likewise.
53657         * locale/global-locale.c: Likewise.
53658         * locale/localeinfo.h: Likewise.
53659         * mach/devstream.c: Likewise.
53660         * malloc/arena.c: Likewise.
53661         * malloc/set-freeres.c: Likewise.
53662         * misc/err.c: Likewise.
53663         * misc/getttyent.c: Likewise.
53664         * misc/mntent_r.c: Likewise.
53665         * posix/getopt.c: Likewise.
53666         * posix/wordexp.c: Likewise.
53667         * pwd/fgetpwent_r.c: Likewise.
53668         * resolv/Versions: Likewise.
53669         * resolv/res_hconf.c: Likewise.
53670         * shadow/fgetspent_r.c: Likewise.
53671         * shadow/putspent.c: Likewise.
53672         * stdio-common/printf_fphex.c: Likewise.
53673         * stdio-common/tmpfile.c: Likewise.
53674         * stdlib/abort.c: Likewise.
53675         * stdlib/fmtmsg.c: Likewise.
53676         * sunrpc/auth_unix.c: Likewise.
53677         * sunrpc/clnt_perr.c: Likewise.
53678         * sunrpc/clnt_tcp.c: Likewise.
53679         * sunrpc/clnt_udp.c: Likewise.
53680         * sunrpc/clnt_unix.c: Likewise.
53681         * sunrpc/openchild.c: Likewise.
53682         * sunrpc/svc_simple.c: Likewise.
53683         * sunrpc/svc_tcp.c: Likewise.
53684         * sunrpc/svc_udp.c: Likewise.
53685         * sunrpc/svc_unix.c: Likewise.
53686         * sunrpc/xdr.c: Likewise.
53687         * sunrpc/xdr_array.c: Likewise.
53688         * sunrpc/xdr_rec.c: Likewise.
53689         * sunrpc/xdr_ref.c: Likewise.
53690         * sunrpc/xdr_stdio.c: Likewise.
53692 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53694         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53696 2011-07-03  Andreas Jaeger  <aj@suse.de>
53698         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53699         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53700         regenerate with gen-libm-tests.pl.
53702 2010-05-12  Petr Baudis  <pasky@suse.cz>
53704         [BZ #11589]
53705         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53706         around j0() zero points by switching to j1().
53707         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53708         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53709         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53710         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53712 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53714         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53715         instead of 0.
53716         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53717         instead of 0.
53718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53719         Patch in part by Pavel Roskin <proski@gnu.org>.
53721         [BZ #13138]
53722         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53723         realloc.
53724         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53725         Free memory block if necessary.
53727         [BZ #12847]
53728         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53729         be NULL.  Don't lock in this case.
53731 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53733         * elf/elf.h (ELFOSABI_GNU): New macro.
53734         (ELFOSABI_LINUX): Define to that.
53736 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53738         * string/strncat.c (strncat): Undef the symbol in case it has been
53739         defined in bits/string.h.
53741 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53743         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53745         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53746         link map.
53748 2011-08-17  Andreas Jaeger  <aj@suse.de>
53750         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53752 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53753             Ian Lance Taylor  <iant@google.com>
53755         * math/libm-test.inc (lround_test): New testcase.
53756         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53758 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53760         * Makefile: Remove support for automatic cvs check-ins.
53761         * Makerules: Likewise.
53762         * config.make.in: Likewise.
53763         * configure.in: Likewise.
53764         * intl/Makefile: Likewise.
53765         * locale/Makefile: Likewise.
53766         * po/Makefile: Likewise.
53767         * posix/Makefile: Likewise.
53768         * sysdeps/gnu/Makefile: Likewise.
53769         * sysdeps/mach/hurd/Makefile: Likewise.
53770         * sysdeps/sparc/sparc32/Makefile: Likewise.
53772         [BZ #13118]
53773         * posix/Makefile (bug-regex32-ENV): Define.
53774         Patch by John Stanley <jpsinthemix@verizon.net>.
53776         * misc/Makefile (headers): Add bits/select2.h.
53777         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53778         * misc/bits/select2.h: New file.
53779         * include/bits/select2.h: New file.
53780         * debug/Makefile (routines): Add fdelt_chk.
53781         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53782         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53783         FD_ISSET.
53784         * debug/fdelt_chk.c: New file.
53786         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53787         * wcsmbs/test-wmemcmp.c: Likewise.
53788         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53789         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53791 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53793         * string/Makefile (strop-tests): Add memcmp.
53794         * string/test-wmemcmp.c: New file.
53795         * string/test-memcmp.c: Add wmemcmp support.
53797 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53799         [BZ #13153]
53800         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53801         2011-07-19 change.
53803         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53804         garbage value in a __mach_port_mod_refs call in the cases of the
53805         task-self and thread-self ports.
53807 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53809         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53811 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53813         * elf/dl-load.c (lose): Check for non-null L.
53815 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53817         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53819         * elf/dl-libc.c (dlerror_run): Pass back error code from
53820         dl_catch_error.
53822         [BZ #13123]
53823         * elf/dl-load.c (lose): Free l_origin if it is valid.
53825         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53826         names.
53827         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53828         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53829         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53830         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53831         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53832         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53834 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53836         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53837         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53838         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53839         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53840         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53841         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53842         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53843         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53844         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53845         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53847 2011-08-15  Alan Modra  <amodra@gmail.com>
53849         [BZ #13092]
53850         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53851         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53852         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53853         ppc_mcount to static-only-routines.
53854         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53855         __mcount_internal.
53856         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53857         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53859 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53861         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53862         for finite and infinity parameters.
53864 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53866         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53867         and add nop instructions for throughput optimization.
53868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53870 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53872         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53873         aligned copy for power7 with vector-scalar instructions.
53874         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53876 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53879         AVX check.
53881 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53883         [BZ #13144]
53884         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53885         last change.
53887 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53889         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53890         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53891         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53892         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53893         clock_gettime.
53895 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53897         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53898         Forgot to demangle the pointer.
53900         * sysdeps/i386/sysdep.h: Define atom_text_section.
53901         * sysdeps/x86_64/sysdep.h: Likewise.
53902         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53903         section with atom_text_section.
53904         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53905         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53906         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53907         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53908         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53910         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53911         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53912         already be defined.  Change to take two parameters and don't assign
53913         result to variable.  Adjust all users.
53914         Define INTERNAL_GETTIME if not already defined.
53915         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53916         call.
53917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53918         HAVE_CLOCK_GETTIME_VSYSCALL.
53919         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53921         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53922         gettimeofday vsyscall, just use time.
53924 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53926         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53927         <errno.h>.
53929 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53931         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53932         syscall on x86-64.
53933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53934         syscall.
53935         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53936         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53937         syscall if possible.
53939 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53941         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53942         e_ident.  Don't pass to find_mapsXX.
53943         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53945 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53948         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53949         * sysdeps/x86_64/multiarch/strchr.S: Update.
53950         Check bit_slow_BSF bit.
53951         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53952         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53953         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53955 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53957         [BZ #13134]
53958         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53959         before glibc 2.15.
53960         (tryshell): Define.
53961         (__spawni): Change last parameter to be flag.  Test
53962         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53963         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53964         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53965         * posix/spawni.c: Likewise.
53966         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53967         * posix/spawnp.c: Likewise.  Change normal version to use
53968         SPAWN_XFLAGS_USE_PATH.
53969         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53970         SPAWN_XFLAGS_TRY_SHELL.
53972         [BZ #13150]
53973         * posix/glob.h: Remove gcc 1.x support.
53975         [BZ #13068]
53976         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53978 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53980         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53981         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53982         strrchr-sse2-bsf
53983         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53984         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53985         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53986         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53987         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53988         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53990 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53992         * sysdeps/x86_64/wcscmp.S: New file.
53994         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53995         wcscmp-c wcscmp-sse2
53996         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53997         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53998         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53999         * wcsmbs/wcscmp.c: Allow renaming.
54001 2011-09-05  David S. Miller  <davem@davemloft.net>
54003         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54004         stack slot, rather than the struct return pointer slot.
54005         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54006         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54008         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54010 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54012         * po/ja.po: Update from translation team.
54014         [BZ #13144]
54015         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54016         kernel in 64-bit binaries.
54018 2011-09-01  David S. Miller  <davem@davemloft.net>
54020         * elf/elf.h (HWCAP_SPARC_*): Move to..
54021         * sysdeps/sparc/sysdep.h: this new file and add new values.
54022         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54023         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54024         _DL_HWCAP_COUNT to 24.
54025         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54026         entries.
54027         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54028         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54029         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54030         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54031         instead of magic constants.
54032         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54034 2011-08-31  David S. Miller  <davem@davemloft.net>
54036         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54038         Reimplement to do errno handling inline.
54039         (SYSCALL_ERROR_HANDLER): New macro.
54040         (__SYSCALL_STRING): Do not do errno handling in asm.
54041         (__CLONE_SYSCALL_STRING): Delete.
54042         (__INTERNAL_SYSCALL_STRING): Delete.
54043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54044         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54045         (PSEUDO): Reimplement to do errno handling inline.
54046         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54047         (SYSCALL_ERROR_HANDLER): New macro.
54048         (__SYSCALL_STRING): Do not do errno handling in asm.
54049         (__CLONE_SYSCALL_STRING): Delete.
54050         (__INTERNAL_SYSCALL_STRING): Delete.
54051         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54052         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54053         i386.
54054         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54055         (inline_syscall*): Add 'err' argument.
54056         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54057         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54058         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54059         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54061         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54062         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54064 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54066         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54068 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54070         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54071         directive.
54073 2011-08-24  David S. Miller  <davem@davemloft.net>
54075         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54077 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54079         * elf/Makefile: Add rules to build and run unload8 test.
54080         * elf/unload8.c: New file.
54081         * elf/unload8mod1.c: New file.
54082         * elf/unload8mod1x.c: New file.
54083         * elf/unload8mod2.c: New file.
54084         * elf/unload8mod3.c: New file.
54086         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54087         it wasn't used.
54089 2011-08-23  David S. Miller  <davem@davemloft.net>
54091         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54092         subtract stack bias.
54093         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54094         %sp not %fp in calculations.
54095         (_JMPBUF_UNWINDS_ADJ): Likewise.
54097         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54098         (aio_suspend): Call it to force an exception region around the
54099         AIO_MISC_WAIT() invocation.
54101 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54103         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54104         backslash.
54106 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54108         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54109         protection macro.
54110         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54111         and <dl-machine.h>.
54112         (Elf64_FuncDesc): Remove.
54114 2011-08-22  David S. Miller  <davem@davemloft.net>
54116         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54117         sigaltstack check, add missing cfi directives.
54118         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54119         missing cfi directives, and sigaltstack handling.
54121 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54123         [BZ #11724]
54124         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54125         object is seen twice.
54126         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54128         * elf/Makefile (distribute): Add tst-initorder2.c.
54129         (tests): Add tst-initorder2.
54130         (modules-names): Add tst-initorder2a tst-initorder2b
54131         tst-initorder2c tst-initorder2d.  Add rules to build them.
54132         ($(objpfx)tst-initorder2.out): New rule.
54133         * elf/tst-initorder2.c: New file.
54134         * elf/tst-initorder2.exp: New file.
54136 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54138         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54140         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54141         dependencies back to end of function.
54143         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54144         $(elfobjdir)/ld.so.
54146 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54148         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54149         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54150         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54151         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54152         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54153         of __vdso_gettimeofday.
54154         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54155         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54156         attribute_hidden.
54157         (_libc_vdso_platform_setup): Remove initialization of
54158         __vdso_gettimeofday and __vdso_time.
54160 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54162         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54163         and fgetc_unlocked.
54164         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54165         getc_unlocked.
54167         * elf/dl-open.c (add_to_global): Report additions to the global scope
54168         for LD_DEBUG=scopes.
54169         (dl_open_worker): Also print scope of newly loaded dependencies.
54170         (_dl_show_scope): Indicate if there is no scope.
54172         [BZ #13114]
54173         * stdio-common/Makefile (tests): Add bug24.
54174         * stdio-common/bug24.c: New file.
54176 2011-08-19  Andreas Jaeger  <aj@suse.de>
54178         [BZ #13114]
54179         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54180         non-existant file when using close-on-exec mode.
54182 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54185         the very first instruction.
54187         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54188         the CFI state in the end.
54189         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54190         inclusion of dl-trampoline.h.
54191         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54193 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54195         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54196         expectations for long double.
54198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54199         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54201 2011-08-14  David S. Miller  <davem@davemloft.net>
54203         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54204         artificual limit depends upon the system page size.
54206 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54208         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54209         * resolv/Makefile: Define CFLAGS-libresolv.
54211 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54213         * nss/makedb.c (compute_tables): Make variables used in nested
54214         function static.
54216 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54218         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54219         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54220         if buffer was too small.
54222         * elf/pldd.c (main): Attach to all threads in the process.
54223         Rewrite /proc handling to use *at functions.
54225 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54227         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54228         specifies first scope to show.
54229         (dl_open_worker): Update callers.  Move printing scope of new
54230         object to before the relocation.
54231         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54232         * sysdeps/generic/ldsodefs.h: Update declaration.
54234         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54235         string for the scope number.
54237 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54239         * nscd/servicescache.c (cache_addserv): Make sure written is always
54240         initialized.
54242 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54244         * sysdeps/i386/i486/bits/atomic.h
54245         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54246         statement expression, so as to suppress "set but not used" warning.
54247         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54249         * string/strncat.c (STRNCAT): Use prototype definition.
54251         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54252         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54253         -Iprograms here.
54254         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54255         (localedef-modules): Add localedef.
54256         (locale-modules): Add locale.
54258         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54259         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54260         to avoid a warning.
54262 2011-08-14  David S. Miller  <davem@davemloft.net>
54264         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54265         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54267 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54269         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54270         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54271         * elf/rtld.c (dl_main): Set l_name of vDSO.
54272         Call _dl_show_scope when DL_DEBUG_SCOPES.
54273         (process_dl_debug): Recognize scopes flag and also set it for all.
54274         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54275         Declare _dl_show_scope.
54277         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54278         (do_dlopen): Pass caller_dlopen to dl_open.
54279         (__libc_dlopen_mode): Initialize caller_dlopen.
54281         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54282         of libc.  Make tolower call locale-independent.  Optimize a bit by
54283         using isdigit instead of isalnum.
54284         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54286 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54288         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54289         was a dependency or dynamically loaded.
54291 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54293         * intl/l10nflist.c: Allow architecture-specific pop function.
54294         * sysdeps/x86_64/l10nflist.c: New file.
54296         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54297         classification.
54299 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54301         * include/dirent.h: Add libc_hidden_proto for scandirat and
54302         scandirat64.  Don't declare __scandirat64.
54303         * dirent/scandirat.c: Add libc_hidden_def.
54304         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54305         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54307 2011-08-10  David S. Miller  <davem@davemloft.net>
54309         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54310         enum.
54311         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54312         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54313         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54315 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54317         * Versions.def [libc]: Add GLIBC_2.15.
54318         * dirent/Makefile (routines): Add scandirat and scandirat64.
54319         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54320         GLIBC_2.15.
54321         * dirent/dirent.h: Declare scandirat and scandirat64.
54322         * dirent/scandirat.c: New file.
54323         * dirent/scandirat64.c: New file.
54324         * sysdeps/wordsize-64/scandirat.c: New file.
54325         * sysdeps/wordsize-64/scandirat64.c: New file.
54326         * dirent/opendir.c: Define opendirat.
54327         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54328         using scandirat.
54329         * dirent/scandir64.c: Adjust for scandir.c change.
54330         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54331         __scandirat64, and __scandir_cancel_handler.
54332         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54333         additional parameter and use openat instead of open (outside of ld.so).
54334         Add new __opendir as wrapper around __opendirat.
54335         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54336         here without requiring old scandirat implementation.
54338 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54340         * dirent/scandir.c (cancel_handler): Renamed to
54341         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54342         defined.  Adjust users.
54343         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54344         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54346 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54348         * string/test-string.h (IMPL): Use __STRING to expand name and then
54349         stringify it.
54351         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54352         of cleanups.
54354 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54356         * string/Makefile: Update.
54357         (strop-tests): Append strncat.
54358         * string/test-wcscmp.c: New file.
54359         New comprehensive test for wcscmp.
54360         * string/test-strcmp.c: Update.
54361         (WIDE): New define.
54363 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54365         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54366         line.
54368 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54371         encoding to ACE if AI_IDN.
54373 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54375         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54376         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54378 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54380         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54381         Fix overflow bug in strncat.
54382         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54384         * string/test-strncat.c: Update.
54385         Add new tests for checking overflow bugs.
54387 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54389         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54390         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54391         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54392         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54393         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54394         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54395         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54396         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54397         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54399         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54400         (USE_AS_STRCAT): Define.
54401         Add strcat and strncat support.
54402         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54404 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54406         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54407         __n bigger than INT_MAX+1.
54408         (__strncmp_g): Likewise.
54410 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54412         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54413         * libio/stido.h: Likewise.
54415         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54416         (AF_NFC): Define.
54417         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54418         (AF_NFC): Define.
54420         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54421         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54422         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54423         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54424         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54426         [BZ #13021]
54427         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54428         installed.
54430         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54431         typo.
54432         (_dl_x86_64_save_sse): Likewise.
54434 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54436         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54437         OSXSAVE.
54438         (_dl_x86_64_save_sse): Likewise.
54440         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54442         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54444 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54446         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54447         change.
54448         (_dl_x86_64_save_sse): Use correct AVX check.
54450 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54452         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54453         bug in strncpy/strncat.
54454         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54456 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54458         * string/tester.c (test_strcat): Add tests for different alignments
54459         of source and destination.
54460         (test_strncat): Likewise.
54462 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54464         [BZ #12852]
54465         * posix/glob.c (glob): Check passed in values before using them in
54466         expressions to avoid some overflows.
54467         (glob_in_dir): Likewise.
54469         [BZ #13007]
54470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54471         check for AVX enablement so that we don't crash with old kernels and
54472         new hardware.
54473         * elf/tst-audit4.c: Add same checks here.
54474         * elf/tst-audit6.c: Likewise.
54476         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54478 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54480         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54482 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54484         * po/cs.po: Update from translation team.
54485         * po/bg.po: Likewise.
54487 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54489         * misc/sys/cdefs.h: Add support for const attribute.
54490         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54491         to gnu_dev_{major,minor,makedev} functions.
54493 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54495         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54497 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54499         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54500         strlen results.
54502 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54504         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54505         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54506         register in order to avoid conflicts with the soft frame pointer
54507         being held in r11 when necessary.
54508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54509         (INTERNAL_VSYSCALL_NCS): Likewise.
54511 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54513         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54514         * elf/dl-fini.c (_dl_fini): Adjust caller.
54515         * elf/dl-close.c (_dl_close_worker): Likewise.
54516         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54518 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54520         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54521         "aux_cache->nlibs < 0".
54523         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54524         in the reload-count case.
54526 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54529         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54530         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54531         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54532         * sysdeps/x86_64/multiarch/strcat.S: New file.
54533         * sysdeps/x86_64/multiarch/strncat.S: New file.
54534         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54535         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54536         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54537         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54538         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54539         (USE_AS_STRCAT): Define.
54540         Add strcat and strncat support.
54541         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54542         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54543         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54544         * string/strncat.c: Update.
54545         (USE_AS_STRNCAT): Define.
54546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54547         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54548         and i7.
54549         * sysdeps/x86_64/multiarch/init-arch.h
54550         (bit_Prefer_PMINUB_for_stringop): New.
54551         (index_Prefer_PMINUB_for_stringop): Likewise.
54552         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54553         bit_Prefer_PMINUB_for_stringop.
54555 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54557         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54558         buffer64.
54559         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54560         of casting of buffer.
54561         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54562         buffer32 and buffer64.
54563         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54564         writes instead of casting of buffer.
54565         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54566         buffer32.
54567         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54568         casting of buffer.
54570 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54572         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54574 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54576         * nscd/nscd.c (termination_handler): Don't do anything for a database
54577         if it has not yet been initialized.
54579 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54581         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54583 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54585         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54587 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54589         * po/nl.po: Update from translation team.
54590         * po/sv.po: Likewise.
54592 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54594         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54595         now disallowed by GCC.
54597         * configure.in (use-default-link): Default to yes if a test -shared
54598         link meets our qualifications.
54599         * configure: Regenerated.
54601         * config.make.in (output-format): New variable.
54602         * configure.in: Check for ld --print-output-format support.
54603         * configure: Regenerated.
54604         * Makerules ($(common-objpfx)format.lds)
54605         [$(output-format) != unknown]: Just use $(output-format),
54606         instead of the linker-script munging.
54608 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54610         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54611         of $(common-objpfx)shlib.lds.
54612         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54614         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54615         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54617         * configure.in (-z relro check): Adjust test code to add a large
54618         writable data section after it.
54619         * configure: Regenerated.
54621 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54623         * configure.in (-z relro check): Fix test code to make the variable
54624         truly const.
54625         * configure: Regenerated.
54627 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54629         * nscd/nscd.h (struct traced_file): Define.
54630         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54631         elements.  Add traced_files.
54632         (inotify_fd): Declare.
54633         (register_traced_file): Declare.
54634         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54635         (inotify_fd): Export.
54636         (resolv_conf_descr): Remove.
54637         (nscd_init): Move inotify descriptor creation to main.
54638         Don't register files for notification here.
54639         (register_traced_file): New function.
54640         (invalidate_cache): Don't use reset_res to determine whether to call
54641         res_init, go through the list of registered files.
54642         (main_loop_poll): The inotify descriptors are now stored in the
54643         structures for the traced files.
54644         (main_loop_epoll): Likewise
54645         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54646         to __nss_disable_nscd.
54647         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54648         for a database anymore.  Check the records for all the registered
54649         files instead.
54650         * nss/Makefile (libnss_files-routines): Add files-init.
54651         (libnss_db-routines): Add db-init.
54652         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54653         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54654         * nss/nss_db/db-init.c: New file.
54655         * nss/nss_files/files-init.c: New file.
54656         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54657         __nss_lookup_function.
54658         (__nss_lookup_function): Call nss_load_library.
54659         (nss_load_all_libraries): New function.
54660         (__nss_disable_nscd): Take parameter with callback function for files
54661         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54662         used for the cached services.
54663         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54664         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54665         options for features to all the files in nscd.
54667         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54669 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54671         * csu/elf-init.c (__libc_csu_init): Comment typo.
54673 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54675         * po/pl.po: Update from translation team.
54676         * po/ja.po: Likewise.
54677         * po/ru.po: Likewise.
54678         * po/ko.po: Likewise.
54679         * po/fr.po: Likewise.
54681 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54683         * configure.in (.ctors/.dtors header and trailer check):
54684         Use an empirical test on a built program.
54685         * configure: Regenerated.
54687         * configure.in (-z relro check): Use an empirical test on a built DSO.
54688         Detect, but do not require, on ia64.
54689         * configure: Regenerated.
54691         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54692         Update tests that use readelf to use $READELF instead.
54693         * configure: Regenerated.
54695 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54697         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54698         if the result is not used.
54700 2011-07-05  Andreas Jaeger  <aj@suse.de>
54702         [BZ#9696]
54703         * stdlib/tst-strtod.c: Add testcase.
54705 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54707         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54708         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54709         The latter has a higher limit.  Take additional parameter to pass to
54710         the new function.
54711         (__pathconf): Pass file to __statfs_link_max.
54712         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54713         __statfs_link_max.
54714         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54715         __statfs_link_max.
54717         [BZ #12868]
54718         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54719         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54720         Handle Lustre.
54721         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54722         (__statfs_filesize_max): Likewise.
54723         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54725 2011-07-05  Andreas Jaeger  <aj@suse.de>
54727         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54729 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54731         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54732         `status' variable.
54733         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54734         Likewise.
54736 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54738         * Makefile (strop-tests): Add strncat.
54739         * string/test-strncat.c: New file.
54741 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54743         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54745 2011-06-21  Andreas Jaeger  <aj@suse.de>
54747         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54748         Copy rule from iconvdata/Makefile.
54750 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54752         [BZ #12922]
54753         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54754         but no long options are defined, just return 'W'.
54756 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54758         [BZ #9696]
54759         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54761 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54763         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54764         netgroups to read.
54765         (innetgr): Likewise.
54767 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54769         * config.make.in (install_root): Default to $(DESTDIR).
54771 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54773         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54775 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54777         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54779         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54780         containing directory rather than embedding absolute directory names.
54782         * scripts/check-local-headers.sh: Rewritten using awk.
54783         Match by word, not by line.  Print error messages for matches.
54784         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54786         * Makerules [shlib-lds-flags empty]:
54787         ($(common-objpfx)libc_pic.opts): New target.
54788         ($(common-objpfx)libc_pic.os.clean): New target.
54789         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54791         * config.make.in (OBJCOPY): New variable.
54792         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54793         * configure: Regenerated.
54795         * config.make.in (use-default-link): New variable.
54796         * configure.in (use_default_link): Grok --with-default-link to set it.
54797         * configure: Regenerated.
54798         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54799         (shlib-lds, shlib-lds-flags): Define to empty.
54801         * Makerules (shlib-lds): New variable.
54802         (shlib-lds-flags): New variable.
54803         (build-shlib, build-moduile, build-module-asneeded): Use it.
54804         ($(common-objpfx)libc.so): Use $(shlib-lds).
54805         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54806         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54808         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54809         DT_FLAGS/DT_FLAGS_1 with zero flags.
54811         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54812         linker script munging.
54814 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54816         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54817         as 128-bit value.
54818         * crypt/sha512.c (sha512_process_block): Perform total addition using
54819         128-bit if possible.
54820         (__sha512_finish_ctx): Likewise.
54821         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54822         as 64-bit value.
54823         * crypt/sha256.c (SWAP64): Define.
54824         (sha256_process_block): Perform total addition using 64-bit if
54825         possible.
54826         (__sha256_finish_ctx): Likewise.
54828 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54830         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54831         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54832         * nscd/hstcache.c (cache_addhst): Likewise.
54833         * nscd/grpcache.c (cache_addgr): Likewise.
54834         * nscd/aicache.c (addhstaiX): Likewise
54835         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54837 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54839         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54840         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54841         * nscd/hstcache.c (cache_addhst): Likewise.
54842         * nscd/grpcache.c (cache_addgr): Likewise.
54843         * nscd/aicache.c (addhstaiX): Likewise
54845 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54847         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54848         domain only when needed.
54850 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54853         is always restored.
54855 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54857         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54858         are re-adding the entry.
54859         * nscd/servicescache.c (cache_addserv): Likewise.
54861 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54863         * sysdeps/generic/dl-irel.h: fix protection against multiple
54864         inclusions.
54865         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54867 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54869         [BZ #12935]
54870         * malloc/memusage.sh: Fix quoting in message.
54871         * debug/xtrace.sh: Likewise.
54873         * configure.in: Remove support for --experimental-malloc option, make
54874         it the default.
54875         * config.make.in: Likewise.
54876         * malloc/Makefile: Likewise.
54878 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54880         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54881         two-byte characters.
54883 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54885         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54886         AC_CACHE_CHECK invocation.
54887         * configure: Regenerated.
54889         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54891 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54893         [BZ #12350]
54894         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54895         bit from old_res_options.
54897         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54899         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54900         value type for setfct.
54902 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54904         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54905         __gettimeofday instead of gettimeofday.
54907 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54909         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54911 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54913         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54915         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54916         info.
54918 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54921         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54922         strcpy-sse2-unaligned strncpy-sse2-unaligned
54923         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54924         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54925         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54926         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54927         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54928         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54929         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54930         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54931         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54932         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54933         (STRCPY): Support SSE2 and SSSE3 versions.
54935 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54937         [BZ #12874]
54938         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54939         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54940         kernels which artificially limit size of requests.
54942 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54944         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54945         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54946         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54947         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54948         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54949         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54950         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54951         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54952         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54953         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54954         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54955         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54956         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54957         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54958         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54960         Enable unaligned load optimization for Intel Core i3, i5 and i7
54961         processors.
54962         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54963         Define.
54964         (index_Fast_Unaligned_Load): Define.
54965         (HAS_FAST_UNALIGNED_LOAD): Define.
54967 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54969         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54971 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54973         [BZ #12907]
54974         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54975         until it is clear that the information is realy needed.
54976         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54978 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54982 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54984         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54985         /sys/devices/system/cpu/online if it is usable.
54987         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54988         reading the information from the /proc filesystem to once a second.
54990 2011-06-21  Andreas Jaeger  <aj@suse.de>
54992         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54993         NULL after inclusion of kernel headers.
54995 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
54997         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54998         calls to internal_setent.
55000         [BZ #12885]
55001         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55002         addresses using gethostbyname4_r ignore IPv4 addresses.
55004         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55005         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55007         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55009 2011-06-20  David S. Miller  <davem@davemloft.net>
55011         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55012         inclusions.
55013         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55015         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55016         (elf_irel): Use it.
55017         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55018         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55019         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55020         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55021         * sysdeps/x86_64/dl-irel.h: Likewise.
55023         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55024         * elf/dl-sym.c: Likewise.
55026 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55028         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55029         need to dereference resplen2.
55031 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55033         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55035 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55037         * Makeconfig: Define vardbdir and inst_vardbdir.
55038         * nss/Makefile: Add rules to install db-Makefile.
55040         * nss/nss_db/db-XXX.c: Cleanup.
55042         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55043         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55044         GLIBC_PRIVATE.
55045         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55046         * nss/makedb.c: Implement -g option to specify that value strings
55047         are generated and should not be added to table iterated over for
55048         get*ent calls.
55049         * nss/nss_db/db-initgroups.c: New file.
55051         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55052         interface.
55054         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55055         (internal_getgrouplist): Adjust to name change.
55056         Update use_initgroups_entry if this is not the first call.
55057         * nss/databases.def: Add initgroups entry.
55059         * nss/makedb.c (compute_tables): Check result of multiple hash table
55060         sizes to minimize maximum chain length.
55062 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55064         * Versions.def: Add entry for libnss_db.
55065         * shlib-versions: Likewise.
55066         * nss/Makefile: Add rules to build libnss_db.
55067         * nss/Versions: Add libnss_db information.  Organize libnss_files
55068         entries better.
55069         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55070         makedb progra.  Some minor improvements to generate smaller files.
55071         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55072         here from...
55073         * nss/makedb.c: ...here.
55074         Improve database format to be smaller and require less memory at
55075         runtime.
55076         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55077         db anymore.
55078         * nss/nss_db/db-netgrp.c: Likewise.
55079         * nss/nss_db/db-open.c: Likewise.
55080         * nss/nss_files/flies-XXX.x: Adjust comments.
55081         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55082         * nss/nss_files/files-grp.c: Likewise.
55083         * nss/nss_files/files-hosts.c: Likewise.
55084         * nss/nss_files/files-network.c: Likewise.
55085         * nss/nss_files/files-proto.c: Likewise.
55086         * nss/nss_files/files-pwd.c: Likewise.
55087         * nss/nss_files/files-rpc.c: Likewise.
55088         * nss/nss_files/files-service.c: Likewise.
55089         * nss/nss_files/files-sgrp.c: Likewise.
55090         * nss/nss_files/files-spwd.c: Likewise.
55091         * nss/nss_db/db-alias.c: Removed.
55092         * nss/nss_db/dummy-db.h: Removed.
55094 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55096         * nss/makedb.c: Rewritten to not use database library.
55097         * nss/Makefile: Update to build new makedb program.
55099 2011-06-14  Andreas Jaeger  <aj@suse.de>
55101         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55102         memset declaration.
55104 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55106         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55107         tmpbuf.
55109 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55111         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55112         * elf/Makefile ($(objpfx)ld.so): Likewise.
55114         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55115         Don't list ld.so twice in dependencies.
55117         * posix/bug-regex31.c: Include <stdlib.h>.
55119         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55121         * nis/nss_compat/compat-spwd.c
55122         (getspent_next_nss_netgr): Remove unused variable.
55123         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55125         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55126         nonmembers" output to use the right array.
55128         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55130         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55132         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55133         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55134         * catgets/gencat.c (read_input_file): Likewise.
55135         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55137         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55138         variable definition inside #if's controlling its use.
55140         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55142         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55144         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55146         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55147         unreachable code.
55149         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55151         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55152         * configure: Regenerated.
55154         * Makerules: Revert last change.
55155         * elf/Makefile: Likewise.
55157 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55159         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55160         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55161         (reloc-link): Likewise.
55163 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55165         * elf/Makefile: Add rules to build pldd.
55166         * elf/pldd.c: New file.
55167         * elf/pldd-xx.c: New file.
55169 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55171         * version.h: Update for 2.15 development version.
55173 2011-06-07  David S. Miller  <davem@davemloft.net>
55175         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55176         ifuncs.
55177         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55178         elf_machine_lazy_rel): Likewise.
55179         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55180         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55181         elf_machine_lazy_rel): Likewise.
55182         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55183         dl_hwcap via passed in argument.
55184         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55185         Likewise.
55187 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55189         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55191 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55193         [BZ #12849]
55194         * manual/fdl-1.1.texi: New file, verbatim from:
55195         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55196         * manual/lgpl-2.1.texi: New file, verbatim from:
55197         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55198         * manual/Makefile (licenses): New variable, list those new file names.
55199         (texis): Use it.
55200         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55202         * manual/fdl.texi: File removed.
55203         * manual/lesser.texi: File removed.
55204         * manual/libc.texinfo (Copying, Documentation License):
55205         Use new @include file names, put @appendix directive before @include.
55207 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55209         [BZ #12841]
55210         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55211         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55212         (mq_open): Add __NTH.
55214 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55217         Assume Intel Core i3/i5/i7 processor if AVX is available.
55219 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55221         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55222         typo.
55224 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55226         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55227         memory.  Use alloca_account.  Fix memory leak when retrying.
55229 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55231         * version.h (RELEASE): Bump for 2.14 release.
55232         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55234         * config.make.in (RANLIB): Remove entry.
55236 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55238         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55239         (libc.pot): Work around missing support for .ksh extension in xgettext.
55241         [BZ #12684]
55242         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55243         if both request failed.
55244         (send_dg): In case of server errors clear resplen or *resplen2.
55246         [BZ #12454]
55247         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55248         when there are multiple maps.
55249         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55250         (_dl_fini): Remove test here.
55252         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55254 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55256         [BZ #12350]
55257         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55258         bit from old_res_options.
55259         (gaih_inet): Likewise.
55261         [BZ #11099]
55262         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55263         as signed.
55265         * resolv/res_init.c (res_setoptions): Make the code more compact.
55267         [BZ #11558]
55268         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55269         set RES_USEVC.
55271         [BZ #11634]
55272         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55274         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55276         [BZ #11781]
55277         * malloc/malloc.h: Declare malloc hook variables as volatile.
55279         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55280         in last patch.
55282         [BZ #11799]
55283         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55284         raise in the comment.
55285         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55286         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55287         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55289 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55291         [BZ #12811]
55292         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55293         grow the buffers more if it already has to be sufficient.
55294         (build_wcs_upper_buffer): Likewise.
55295         * posix/regexec.c (check_matching): Likewise.
55296         (clean_state_log_if_needed): Likewise.
55297         (extend_buffers): Don't enlarge buffers beyond size of the input
55298         buffer.
55299         Patches mostly by Emil Wojak <emil@wojak.eu>.
55300         * posix/bug-regex32.c: New file.
55301         * posix/Makefile (tests): Add bug-regex32.
55303         * locale/findlocale.c (_nl_find_locale): Return right away if
55304         _nl_explode_name failed.
55305         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55307         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55309         * debug/xtrace.sh: Unify messages.
55310         * malloc/memusage.sh: Likewise.
55312         [BZ #12813]
55313         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55314         time symbol from vDSO.  Substitute with vsyscall if not available.
55315         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55316         __vdso_time.
55318         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55319         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55320         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55321         Add sendmmsg and internal_sendmmsg.
55322         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55323         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55324         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55326         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55327         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55328         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55330 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55332         [BZ #12813]
55333         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55334         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55335         available.
55336         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55337         __vdso_getcpu.
55339         [BZ #12814]
55340         * iconvdata/Makefile (tests): Add bug-iconv9.
55341         * iconvdata/bug-iconv9.c: New file.
55343 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55345         [BZ #12814]
55346         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55348 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55350         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55351         (struct user_regs_struct): Change intcs field back to cs.
55353 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55355         * po/ja.po: Update from translation team.
55357 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55359         [BZ #12795]
55360         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55361         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55363 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55365         * stdlib/longlong.h: Update from GCC.
55367 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55369         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55370         parameter name.
55371         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55372         Add parameter name.
55373         (__sysconf): Pass it down.
55375 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55377         [BZ #12671]
55378         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55379         some situations.
55380         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55381         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55382         add in in __libc_use_alloca calls.  Adjust callers.
55383         (glob): Use malloc in some situations.
55385         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55386         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55387         pltexit.
55389 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55391         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55392         and CLOCK_BOOTTIME_ALARM.
55394         [BZ #12782]
55395         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55396         is returned.
55398         * string/_strerror.c (__strerror_r): Print negative errors as signed
55399         numbers.
55401         [BZ #12777]
55402         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55403         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55404         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55406         * configure.in: Fix typo in redirection and correct removal of test
55407         files in two cases.
55409         [BZ #12788]
55410         * locale/setlocale.c (new_composite_name): Fix test to check for
55411         identical name of all categories.
55413         [BZ #12792]
55414         * libio/filedoalloc.c (local_isatty): New function.
55415         (_IO_file_doallocate): Use local_isatty.
55416         * stdio-common/perror.c (perror): In case a new stream is used
55417         forward the stream error.
55418         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55419         error flag.
55421 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55423         [BZ #11869]
55424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55425         alloca.
55426         * include/alloca.h (extend_alloca_account): Define.
55428         [BZ #11857]
55429         * posix/regex.h: Fix comments with documentation of user-accessible
55430         fields after compilation and describe correct free'ing of pattern
55431         after re_compile_pattern.
55432         Patch by Reuben Thomas <rrt@sc3d.org>.
55434 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55436         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55437         and -mno-altivec to prevent the compiler from using Altivec and/or
55438         VSX instructions when the corresponding registers are not available.
55440 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55442         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55444 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55446         * libio/freopen.c (freopen): Use __dup2, not dup2.
55447         * libio/freopen64.c (freopen64): Likewise.
55449 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55451         [BZ #12775]
55452         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55453         * math/Makefile (tests): Add test-powl.
55454         (CFLAGS-test-powl.c): Define.
55455         * math/test-powl.c: New file.
55457 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55459         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55461 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55463         [BZ #11837]
55464         * iconvdata/gb18030.c: Update to GB18020-2005.
55466 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55468         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55469         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55470         Patch by Aharon Robbins <arnold@skeeve.com>.
55472         [BZ #11892]
55473         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55474         on the stack.
55476         [BZ #11895]
55477         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55478         through underflows.
55480         [BZ #12766]
55481         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55482         point to strings before performing equality test for error_one_per_line
55483         mode.
55485         [BZ #11697]
55486         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55488         [BZ #11820]
55489         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55490         (struct user_fpregs_struct): Avoid __uint*_t types.
55492         [BZ #6420]
55493         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55494         symbol info.  Use it instead of calling _dl_addr locally.
55495         (lock_and_info): New function.
55496         (tr_freehook): Call lock_and_info and pass symbol info as additional
55497         parameter to tr_where.
55498         (tr_mallochook): Likewise.
55499         (tr_reallochook): Likewise.
55500         (tr_memalignhook): Likewise.
55502         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55503         used and couldn't be at all thread-safe.
55505 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55507         * libio/freopen.c (freopen): Don't close old file descriptor
55508         before the new one is opened.  Instead dup the new file descriptor
55509         to the old one after the new stream is created.
55510         * libio/freopen64.c (freopen64): Likewise.
55511         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55512         * libio/fileops.c (_IO_new_file_close_it): Handle new
55513         _IO_FLAGS2_NOCLOSE flag.
55514         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55515         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55516         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55517         _IO_FLAGS2_NOCLOSE flag.
55518         * include/unistd.h: Add hidden_proto for dup3.
55519         Define __have_dup3.
55520         * io/dup3.c: Define hidden symbol.
55521         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55523         [BZ #7101]
55524         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55525         when an incomplete long option is used.
55526         * posix/tst-getopt_long1.c: New file.
55527         * posix/Makefile (tests): Add tst-getopt_long1.
55529         [BZ #10138]
55530         * scripts/config.guess: Update from autoconf-2.68.
55531         * scripts/config.sub: Likewise.
55533         [BZ #10157]
55534         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55535         tests into ...
55536         (has_cpuclock): ...this.  New function.
55537         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55538         macro here based on has_cpuclock code.
55540         [BZ #10149]
55541         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55542         First byte (not low byte) is now always NUL.
55543         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55546         Use non-cancelable interfaces.
55548         [BZ #9809]
55549         * locale/iso-639.def: Add entry for Sorani.
55551         [BZ #11901]
55552         * include/stdlib.h: Move include protection to the right place.
55553         Define abort_msg_s.  Declare __abort_msg with it.
55554         * stdlib/abort.c (__abort_msg): Adjust type.
55555         * assert/assert.c (__assert_fail_base): New function.  Majority
55556         of code from __assert_fail.  Allocate memory for __abort_msg with
55557         mmap.
55558         (__assert_fail): Now call __assert_fail_base.
55559         * assert/assert-perr.c: Remove bulk of implementation.  Use
55560         __assert_fail_base.
55561         * include/assert.hL Declare __assert_fail_base.
55562         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55563         mmap.
55564         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55566 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55568         [BZ #11952]
55569         [BZ #12453]
55570         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55571         until all modules are registered in the DTV.
55572         * elf/Makefile: Add rules to build and run tst-tls19.
55573         * elf/tst-tls19.c: New file.
55574         * elf/tst-tls19mod1.c: New file.
55575         * elf/tst-tls19mod2.c: New file.
55576         * elf/tst-tls19mod3.c: New file.
55577         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55579         [BZ #12083]
55580         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55581         correctly.
55583         [BZ #12601]
55584         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55585         two-byte sequence errors.
55586         * iconvdata/Makefile (tests): Add bug-iconv8.
55587         * iconvdata/bug-iconv8.c: New file.
55589         [BZ #12626]
55590         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55591         buf2 definition.
55593         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55595         [BZ #12432]
55596         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55597         (dummy_getcfa): New function.
55598         (init): Get _Unwind_GetCFA address, use dummy if not found.
55599         (backtrace_helper): In recursion check, also check whether CFA changes.
55600         (__backtrace): Completely initialize arg.
55602         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55603         storing incomplete byte sequence in state object.  Avoid testing for
55604         guaranteed too small input if we know there is enough data available.
55606 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55608         * Makeconfig (+link-pie): Indent.
55609         * Rules (binaries-pie): Define if $(have-fpie) and
55610         $(build-shared).
55611         (binaries-shared): Also filter out $(binaries-pie).
55612         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55613         * nscd/Makefile (others-pie): Add nscd.
55614         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55615         ($(objpfx)nscd): Remove command override.
55616         * login/Makefile (others-pie): Add pt_chown.
55617         ($(objpfx)pt_chown): Remove command override.
55618         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55619         remove command overrides.
55621 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55623         * libio/tst_putwc.c: Fix error messages.
55625         [BZ #12724]
55626         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55627         currently writing and seek to current position when not.
55628         * libio/Makefile (tests): Add bug-fclose1.
55629         * libio/bug-fclose1.c: New file.
55631 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55633         [BZ #12511]
55634         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55635         don't set DF_1_NODELETE here.
55636         (do_lookup_x): When entering new entry test for copy relocation
55637         and if necessary set DF_1_NODELETE flag.
55638         * elf/tst-unique4.cc: New file.
55639         * elf/tst-unique4.h: New file.
55640         * elf/tst-unique4lib.cc: New file.
55641         * elf/Makefile: Add rules to build and run tst-unique4.
55642         Patch by Piotr Bury <pbury@goahead.com>.
55644 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55646         [BZ #12052]
55647         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55649         [BZ #12625]
55650         * misc/mntent_r.c (addmntent): Flush the stream after the output
55652         [BZ #12393]
55653         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55654         (is_trusted_path_normalize): Skip initial colon.  Append slash
55655         to empty buffer.  Duplicate is_trusted_path code but allow
55656         constructed patch to be prefix.
55657         (is_dst): Allow $ORIGIN followed by /.
55658         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55659         Correct testing of result of is_trusted_path_normalize
55660         (decompose_rpath): Fix warning.
55662 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55664         [BZ #11257]
55665         * grp/initgroups.c (internal_getgrouplist): When we found the service
55666         list through the initgroups entry in nsswitch.conf do not always
55667         continue on a successful lookup.  Don't always use the
55668         __nss_group_database value if it is set.
55669         * nss/nsswitch.conf (initgroups): Change action for successful db
55670         lookup to continue for compatibility.
55672 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55674         [BZ #11532]
55675         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55676         and CP774 modules.
55677         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55678         and CP774 modules.
55679         * iconvdata/tst-tables.sh: Likewise.
55680         * iconvdata/cp770.c: New file.
55681         * iconvdata/cp771.c: New file.
55682         * iconvdata/cp772.c: New file.
55683         * iconvdata/cp773.c: New file.
55684         * iconvdata/cp774.c: New file.
55685         * iconvdata/testdata/CP770: New file.
55686         * iconvdata/testdata/CP770..UTF8: New file.
55687         * iconvdata/testdata/CP771: New file.
55688         * iconvdata/testdata/CP771..UTF8: New file.
55689         * iconvdata/testdata/CP772: New file.
55690         * iconvdata/testdata/CP772..UTF8: New file.
55691         * iconvdata/testdata/CP773: New file.
55692         * iconvdata/testdata/CP773..UTF8: New file.
55693         * iconvdata/testdata/CP774: New file.
55694         * iconvdata/testdata/CP774..UTF8: New file.
55696         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55697         END CHARMAP line.
55698         * iconvdata/gen-8bit-gap.sh: Likewise.
55699         * iconvdata/gen-8bit.sh: Likewise.
55701         * locale/iso-639.def: Add ary entry.
55703         [BZ #11258]
55704         * locale/C-translit.h.in: Add U20A1 transliteration.
55706         [BZ #12178]
55707         * locale/iso-639.def: Add wae entry.
55708         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55710         [BZ #12545]
55711         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55712         for n.
55714         [BZ #12711]
55715         * locale/C-translit.h.in: Add entry for U20B9.
55716         Patch by pravin.d.s@gmail.com.
55718 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55720         [BZ #12713]
55721         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55722         ENAMETOOLONG use generic getcwd.
55723         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55724         in rtld.  Use *stat64.
55725         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55726         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55727         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55728         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55729         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55730         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55731         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55732         __fstatat64 macros.
55733         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55734         * dirent/rewinddir.c: Add libc_hidden_def.
55735         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55736         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55738         * include/dirent.h (__alloc_dir): Add flags parameter.
55739         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55740         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55741         __alloc_dir.
55742         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55743         from fdopendir if O_CLOEXEC is already set.
55745 2011-03-15  Alan Modra  <amodra@gmail.com>
55747         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55748         l_tls_firstbyte_offset non-zero.  Save padding offset in
55749         l_tls_firstbyte_offset for later use.
55750         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55751         freeing static tls block.
55753 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55755         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55756         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55757         being defined by the kernel headers.
55759 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55761         [BZ #12734]
55762         * resolv/resolv.h: Define RES_NOTLDQUERY.
55763         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55764         no-tld-query and set RES_NOTLDQUERY.
55765         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55766         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55767         modern BIND to search name as TLD unless forbidden.
55769 2011-05-07  Petr Baudis  <pasky@suse.cz>
55770             Ulrich Drepper  <drepper@gmail.com>
55772         [BZ #12393]
55773         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55774         (is_trusted_path): ...to here.
55775         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55776         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55777         using is_trusted_path_normalize() in setuid scripts.
55779 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55781         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55782         __BEGIN/__END_DECLS.
55784 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55786         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55787         NSS_STATUS_NOTFOUND if no record was found.
55789 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55791         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55792         (headers-not-in-tirpc): Remove rpc/netdb.h
55793         * resolv/netdb.h: Revert last change.
55795 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55797         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55798         circular dependency between libgcc.a and libc.a.
55800 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55802         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55803         * nis/Makefile: Don't install rpcsvc/*.
55804         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55805         instead of <rpc/types.h>.
55806         (MAXHOSTNAMELEN): Define.
55808 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55810         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55812 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55814         [BZ #12714]
55815         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55816         gethostbyname4_r when IPv6 results are possible.
55818 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55820         [BZ #12723]
55821         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55822         _PC_PIPE_BUF handling.
55824 2011-04-30  Bruno Haible  <bruno@clisp.org>
55826         [BZ #12717]
55827         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55828         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55829         to 'int'.
55830         * inet/getnameinfo.c (getnameinfo): Likewise.
55832 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55834         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55835         to groups setting in database lookup.
55836         * nss/nsswitch.conf: Add initgroups entry.
55838 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55840         [BZ #12685]
55841         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55842         mode string.
55843         Patch by Eric Blake <eblake@redhat.com>.
55845 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55847         * sunrpc/Makefile (need-export-routines): Add svc_run.
55848         (routines): Remove svc_run.
55849         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55850         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55851         * sunrpc/svc_run.c (svc_run): Likewise.
55852         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55854 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55856         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55857         problem in reallocation in last patch.
55859 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55861         * sunrpc/Makefile: Move inclusion of Rules.
55863 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55865         * nss/nss_files/files-initgroups.c: New file.
55866         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55867         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55868         _nss_files_initgroups_dyn.
55870 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55872         * elf/elf.h (R_ARM_IRELATIVE): Define.
55874 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55876         * po/ru.po: Update from translation team.
55878 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55880         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55881         dependencies.
55883 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55885         [BZ #12653]
55886         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55887         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55888         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55889         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55890         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55892 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55894         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55895         differing bytes.
55896         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55897         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55898         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55900 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55902         [BZ #12420]
55903         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55904         storing it.
55905         * stdlib/bug-getcontext.c: New file.
55906         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55908 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55910         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55911         instructions into .machine "z9-109".
55912         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55913         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55915 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55917         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55918         between environment variables and auxiliary vector.
55920 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55922         * Makefile: Add rules to build linkobj/libc.so.
55923         * include/libc-symbols.h: Define libc_hidden_nolink.
55924         * include/rpc/auth.h: Mark functions which are to be hidden.
55925         * include/rpc/auth_des.h: Likewise.
55926         * include/rpc/auth_unix.h: Likewise.
55927         * include/rpc/clnt.h: Likewise.
55928         * include/rpc/des_crypt.h: Likewise.
55929         * include/rpc/key_prot.h: Likewise.
55930         * include/rpc/pmap_clnt.h: Likewise.
55931         * include/rpc/pmap_prot.h: Likewise.
55932         * include/rpc/pmap_rmt.h: Likewise.
55933         * include/rpc/rpc_msg.h: Likewise.
55934         * include/rpc/svc.h: Likewise.
55935         * include/rpc/svc_auth.h: Likewise.
55936         * include/rpc/xdr.h: Likewise.
55937         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55938         * nss/Makefile: Likewise.
55939         * sunrpc/Makefile: Don't install headers.  Build library with normal
55940         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55941         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55942         for the compat linking library.  Remove use of INTDEF/INTUSE.
55943         * sunrpc/auth_none.c: Likewise.
55944         * sunrpc/auth_unix.c: Likewise.
55945         * sunrpc/authdes_prot.c: Likewise.
55946         * sunrpc/authuxprot.c: Likewise.
55947         * sunrpc/clnt_gen.c: Likewise.
55948         * sunrpc/clnt_perr.c: Likewise.
55949         * sunrpc/clnt_raw.c: Likewise.
55950         * sunrpc/clnt_simp.c: Likewise.
55951         * sunrpc/clnt_tcp.c: Likewise.
55952         * sunrpc/clnt_udp.c: Likewise.
55953         * sunrpc/clnt_unix.c: Likewise.
55954         * sunrpc/des_crypt.c: Likewise.
55955         * sunrpc/des_soft.c: Likewise.
55956         * sunrpc/get_myaddr.c: Likewise.
55957         * sunrpc/key_call.c: Likewise.
55958         * sunrpc/key_prot.c: Likewise.
55959         * sunrpc/netname.c: Likewise.
55960         * sunrpc/pm_getmaps.c: Likewise.
55961         * sunrpc/pm_getport.c: Likewise.
55962         * sunrpc/pmap_clnt.c: Likewise.
55963         * sunrpc/pmap_prot.c: Likewise.
55964         * sunrpc/pmap_prot2.c: Likewise.
55965         * sunrpc/pmap_rmt.c: Likewise.
55966         * sunrpc/publickey.c: Likewise.
55967         * sunrpc/rpc_cmsg.c: Likewise.
55968         * sunrpc/rpc_common.c: Likewise.
55969         * sunrpc/rpc_dtable.c: Likewise.
55970         * sunrpc/rpc_prot.c: Likewise.
55971         * sunrpc/rpc_thread.c: Likewise.
55972         * sunrpc/rtime.c: Likewise.
55973         * sunrpc/svc.c: Likewise.
55974         * sunrpc/svc_auth.c: Likewise.
55975         * sunrpc/svc_authux.c: Likewise.
55976         * sunrpc/svc_raw.c: Likewise.
55977         * sunrpc/svc_run.c: Likewise.
55978         * sunrpc/svc_simple.c: Likewise.
55979         * sunrpc/svc_tcp.c: Likewise.
55980         * sunrpc/svc_udp.c: Likewise.
55981         * sunrpc/svc_unix.c: Likewise.
55982         * sunrpc/svcauth_des.c: Likewise.
55983         * sunrpc/xcrypt.c: Likewise.
55984         * sunrpc/xdr.c: Likewise.
55985         * sunrpc/xdr_array.c: Likewise.
55986         * sunrpc/xdr_float.c: Likewise.
55987         * sunrpc/xdr_intXX_t.c: Likewise.
55988         * sunrpc/xdr_mem.c: Likewise.
55989         * sunrpc/xdr_rec.c: Likewise.
55990         * sunrpc/xdr_ref.c: Likewise.
55991         * sunrpc/xdr_sizeof.c: Likewise.
55992         * sunrpc/xdr_stdio.c: Likewise.
55994 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
55996         [BZ #12650]
55997         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55998         * sysdeps/ia64/dl-tls.h: Likewise.
55999         * sysdeps/powerpc/dl-tls.h: Likewise.
56000         * sysdeps/s390/dl-tls.h: Likewise.
56001         * sysdeps/sh/dl-tls.h: Likewise.
56002         * sysdeps/sparc/dl-tls.h: Likewise.
56003         * sysdeps/x86_64/dl-tls.h: Likewise.
56004         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56006 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56008         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56009         rpath element also skip the following colon.
56010         (expand_dynamic_string_token): Add is_path parameter and pass
56011         down to DL_DST_REQUIRED and _dl_dst_substitute.
56012         (decompose_rpath): Call expand_dynamic_string_token with
56013         non-zero is_path.  Ignore empty rpaths.
56014         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56015         with zero is_path.
56017 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56020         Make cancelable.
56022 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56024         [BZ #12655]
56025         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56026         Patch by Filipe David Manana <fdmanana@apache.org>.
56028 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56030         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56031         Maintain aligned stack.
56032         (CHECK_RSP): Remove unused macro.
56034 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56036         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56037         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56039 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56041         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56043         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56045 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56047         [BZ #12518]
56048         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56049         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56050         * sysdeps/x86_64/memmove.c: New file.
56051         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56052         (memcpy): Renamed to ...
56053         (__new_memcpy): This.
56054         (memcpy): Provide GLIBC_2_14 memcpy.
56055         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56056         (memcpy): Provide GLIBC_2_2_5 memcpy.
56058 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56060         [BZ #12631]
56061         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56063 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56065         * misc/syncfs.c: New file.
56066         * misc/Makefile (routines): Add syncfs.
56067         * posix/unistd.h: Declare syncfs.
56068         * sysdeps/unix/syscalls.list: Add syncfs.
56070 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56072         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56073         open_by_handle_at.
56074         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56075         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56076         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56077         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56078         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56079         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56080         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56082 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56084         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56085         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56086         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56087         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56088         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56089         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56090         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56092         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56093         sync_file_range.c with -fexceptions.
56094         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56095         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56096         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56097         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56098         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56099         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56101         sync_file_range as cancellation point
56102         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56103         now a wrapper around __call_sync_file_range with cancellation handling.
56104         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56105         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56106         function name to __call_sync_file_range.
56107         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56108         Add call_sync_file_range.
56110 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56113         bits/timex.h.
56115 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56117         * iconv/iconv.h: Fix typo in comment.
56118         * io/fcntl.h: Likewise.
56119         * libio/stdio.h: Likewise.
56120         * posix/spawn.h: Likewise.
56121         * posix/unistd.h: Likewise.
56122         * stdlib/stdlib.h: Likewise.
56123         * time/time.h: Likewise.
56124         * wcsmbs/wchar.h: Likewise.
56126         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56127         open_by_handle): Add.
56128         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56129         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56130         Augment a few comments.
56131         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56133         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56135         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56136         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56137         open_by_handle.
56139         * io/fcntl.h (AT_EMPTY_PATH): Define.
56141 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56143         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56144         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56145         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56146         to...
56147         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56148         * Versions.def: Add GLIBC_2.14.
56149         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56150         Export.
56152 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56154         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56155         round counter.
56156         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56158 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56160         [BZ #12597]
56161         * string/test-strncmp.c (do_page_test): New function.
56162         (check2): Likewise.
56163         (test_main): Call check2.
56164         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56166 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56168         [BZ #12587]
56169         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56170         Handle cache information in CPU leaf 4.
56171         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56173 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56175         [BZ #12583]
56176         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56177         character representation.
56178         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56180 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56182         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56183         END(__isnan) to END(__isnanf) to match function entry point/label
56184         EALIGN(__isnanf,...).
56186 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56188         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56190 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56192         [BZ #12510]
56193         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56194         copy from the symbol referenced in the relocation to initialize the
56195         used variable.
56196         Patch by Piotr Bury <pbury@goahead.com>.
56197         * elf/Makefile: Add rules to build and tst-unique3.
56198         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56199         * elf/tst-unique3.cc: New file.
56200         * elf/tst-unique3.h: New file.
56201         * elf/tst-unique3lib.cc: New file.
56202         * elf/tst-unique3lib2.cc: New file.
56204         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56206 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56208         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56209         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56210         to _start.
56212 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56214         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56215         to-be-loaded object along a path to loader is ld.so.
56217 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56218             Ulrich Drepper  <drepper@gmail.com>
56220         * sysdeps/x86_64/memset.S: After aligning destination, code
56221         branches to different locations depending on the value of
56222         misalignment, when multiarch is enabled. Fix this.
56224 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56226         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56227         Set _x86_64_preferred_memory_instruction for AMD processsors.
56228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56229         Set bit_Prefer_SSE_for_memop for AMD processors.
56231 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56233         * libio/fmemopen.c (fmemopen): Optimize a bit.
56235 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56237         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56239 2011-03-03  Roland McGrath  <roland@redhat.com>
56241         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56243 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56245         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56246         __bzero_ultra1 instead of __memset_ultra1.
56248 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56249             Ulrich Drepper  <drepper@gmail.com>
56251         [BZ #12509]
56252         * include/link.h (struct link_map): Add l_orig_initfini.
56253         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56254         returning unsuccessfully.
56255         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56256         close of a file loaded at startup, restore the original l_initfini
56257         list.
56258         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56259         list, store the pointer.
56260         * elf/Makefile ($(objpfx)noload-mem): New rule.
56261         (noload-ENV): Define.
56262         (tests): Add $(objpfx)noload-mem.
56263         * elf/noload.c: Include <memcheck.h>.
56264         (main): Call mtrace.  Close all opened handles.
56266 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56268         [BZ #12454]
56269         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56270         dependencies are missing.
56272 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56274         Fix __if_freereq crash: Unlike the generic version which uses free,
56275         Hurd needs munmap.
56276         * sysdeps/mach/hurd/ifreq.h: New file.
56278 2011-01-27  Petr Baudis  <pasky@suse.cz>
56279             Ulrich Drepper  <drepper@gmail.com>
56281         [BZ 12445]#
56282         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56283         to extend_alloca().
56284         * stdio-common/bug23.c: New file.
56285         * stdio-common/Makefile (tests): Add bug23.
56287 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56288             Ulrich Drepper  <drepper@gmail.com>
56290         [BZ #12489]
56291         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56292         before performing relro protection.  At old place add assertion
56293         to make sure nothing changed.
56295 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56296             Glauber de Oliveira Costa  <glommer@gmail.com>
56298         * elf/elf.h: Add new ARM TLS relocs.
56300 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56303         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56304         cast from r3.
56305         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56306         'tests' variable.
56307         * sysdeps/wordsize-64/tst-writev.c: New file.
56309 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56311         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56312         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56313         insns in _dl_start to prevent a TOC reference before relocs are
56314         resolved.
56316 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56318         [BZ #12469]
56319         * Makeconfig: Remove RANLIB definition.
56320         * Makerules: Don't use RANLIB.
56321         * aclocal.m4: Remove ranlib test.
56322         * configure.in: No need to check for ranlib.
56323         * elf/rtld-Rules: Don't use RANLIB.
56325 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56327         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56328         protection macro.
56329         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56330         inclusion protection macro.
56332         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56333         SIGRTMIN and SIGRTMAX and print information in that case only when
56334         SIGRTMIN is defined.
56336 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56338         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56339         arginfo fn returning -1.
56341         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56342         and thousands string is zero terminated.
56344 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56346         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56347         sysdeps/unix/sysv/linux/bits/socket.h.
56349 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56351         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56352         (__CPU_COUNT): Remove old macros.
56353         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56354         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56355         (__CPU_ALLOC, __CPU_FREE): Add macros.
56356         (__sched_cpualloc, __sched_cpufree): Add declarations.
56358 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56360         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56361         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56362         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56363         (readdhstai): Return value of addhstaiX call.
56364         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56365         (addgrbyX): Return value returned by cache_addgr.
56366         (readdgrbyname): Return value returned by addgrbyX.
56367         (readdgrbygid): Likewise.
56368         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56369         (addpwbyX): Return value returned by cache_addpw.
56370         (readdpwbyname): Return value returned by addhstbyX.
56371         (readdpwbyuid): Likewise.
56372         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56373         (addservbyX): Return value returned by cache_addserv.
56374         (readdservbyname): Return value returned by addservbyX:
56375         (readdservbyport): Likewise.
56376         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56377         (addhstbyX): Return value returned by cache_addhst.
56378         (readdhstbyname): Return value returned by addhstbyX.
56379         (readdhstbyaddr): Likewise.
56380         (readdhstbynamev6): Likewise.
56381         (readdhstbyaddrv6): Likewise.
56382         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56383         (readdinitgroups): Return value returned by addinitgroupsX.
56384         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56385         (prune_cache): Keep track of timeout value of re-added entries.
56386         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56387         * nscd/nscd.h: Adjust prototypes of readd* functions.
56389 2011-02-04  Roland McGrath  <roland@redhat.com>
56391         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56392         (nis_stats): Likewise.
56393         * nis/nis_modify.c (nis_modify): Likewise.
56394         * nis/nis_remove.c (nis_remove): Likewise.
56395         * nis/nis_add.c (nis_add): Likewise.
56397         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56399         * posix/fnmatch_loop.c: Add some consts.
56401         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56403 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56405         [BZ #12460]
56406         * config.make.in (config-cflags-novzeroupper): Define.
56407         * configure.in: Substitute libc_cv_cc_novzeroupper.
56408         * elf/Makefile (AVX-CFLAGS): Define.
56409         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56410         (CFLAGS-tst-auditmod4a.c): Likewise.
56411         (CFLAGS-tst-auditmod4b.c): Likewise.
56412         (CFLAGS-tst-auditmod6b.c): Likewise.
56413         (CFLAGS-tst-auditmod6c.c): Likewise.
56414         (CFLAGS-tst-auditmod7b.c): Likewise.
56415         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56417 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56419         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56420         function to the callback.
56421         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56423 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56425         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56426         of errno.
56428 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56430         [BZ #11724]
56431         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56432         of constructors.
56433         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56434         of destructors.
56435         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56437         [BZ #11724]
56438         * elf/Makefile: Add rules to build and run new test.
56439         * elf/tst-initorder.c: New file.
56440         * elf/tst-initorder.exp: New file.
56441         * elf/tst-initordera1.c: New file.
56442         * elf/tst-initordera2.c: New file.
56443         * elf/tst-initordera3.c: New file.
56444         * elf/tst-initordera4.c: New file.
56445         * elf/tst-initorderb1.c: New file.
56446         * elf/tst-initorderb2.c: New file.
56447         * elf/tst-order-a1.c: New file.
56448         * elf/tst-order-a2.c: New file.
56449         * elf/tst-order-a3.c: New file.
56450         * elf/tst-order-a4.c: New file.
56451         * elf/tst-order-b1.c: New file.
56452         * elf/tst-order-b2.c: New file.
56453         * elf/tst-order-main.c: New file.
56454         New test case by George Gensure <werkt0@gmail.com>.
56456 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56458         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56459         decoding ACE if AI_CANONIDN.
56461 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56463         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56465 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56467         * version.h (RELEASE): Bump for 2.13 release.
56468         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56470         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56472         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56473         MADV_NOHUGEPAGE.
56474         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56475         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56476         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56477         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56478         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56479         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56481         * posix/getconf.c: Update copyright year.
56482         * catgets/gencat.c: Likewise.
56483         * csu/version.c: Likewise.
56484         * debug/catchsegv.sh: Likewise.
56485         * debug/xtrace.sh: Likewise.
56486         * elf/ldconfig.c: Likewise.
56487         * elf/ldd.bash.in: Likewise.
56488         * elf/sprof.c (print_version): Likewise.
56489         * iconv/iconv_prog.c: Likewise.
56490         * iconv/iconvconfig.c: Likewise.
56491         * locale/programs/locale.c: Likewise.
56492         * locale/programs/localedef.c: Likewise.
56493         * malloc/memusage.sh: Likewise.
56494         * malloc/mtrace.pl: Likewise.
56495         * nscd/nscd.c (print_version): Likewise.
56496         * nss/getent.c: Likewise.
56498         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56499         PF_CAIF, and PF_ALG.
56500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56502 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56504         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56505         (modules-names): Use them.
56506         (ifunc-test-modules, ifunc-pie-tests): Define.
56507         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56508         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56509         (test-extras): Likewise.
56510         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56511         $(compile-command.c).
56512         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56513         (all-built-dso): Define.
56514         (check-textrel.out, check-execstack.out): Depend on it.
56516         * configure.in: Don't override --enable-multi-arch.
56518 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56520         [BZ #6812]
56521         * nscd/hstcache.c (tryagain): Define.
56522         (cache_addhst): Return tryagain not notfound for temporary errors.
56523         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56524         failed.
56526 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56528         [BZ #10563]
56529         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56530         to make the syscall.
56531         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56533         [BZ #12378]
56534         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56535         and fall back to matching as normal character if the string ends before
56536         the matching ']' is found.  This is what POSIX requires.
56537         * posix/testfnm.c: Adjust test result.
56538         * posix/globtest.sh: Adjust test result.  Add new test.
56539         * posix/tst-fnmatch.input: Likewise.
56540         * posix/tst-fnmatch2.c: Add new test.
56542 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56544         * elf/Makefile (check-execstack): Revert last change.  Depend on
56545         check-execstack.h.
56546         (check-execstack.h): New target.
56547         (generated): Add check-execstack.h.
56548         * elf/check-execstack.c: Include "check-execstack.h".
56549         (main): Revert last change.
56550         (handle_file): Return zero if GNU_STACK is absent and
56551         DEFAULT_STACK_PERMS doesn't include PF_X.
56553 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56555         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56556         in child fails because the descriptor is already closed.
56557         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56558         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56559         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56561         [BZ #12397]
56562         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56563         syscall.
56565         [BZ #10484]
56566         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56567         temporary buffer used to handle multi lookups locally.
56568         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56570 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56572         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56573         loader is ld.so.
56575 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56577         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56578         alignment for SSE2.
56580 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56582         [BZ #12394]
56583         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56584         characters.  When rounding increased number of integer digits recompute
56585         number of groups.
56586         * stdio-common/tst-grouping.c: New file.
56587         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56589 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56591         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56592         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56594         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56595         void.
56596         * bits/select.h: Likewise.
56598 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56600         * po/ja.po: Update from translation team.
56602 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56604         [BZ #11155]
56605         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56606         implementation just like for lxstat, fxstatat, et al.
56608 2010-12-27  Jim Meyering  <meyering@redhat.com>
56610         [BZ #12348]
56611         * posix/regexec.c (build_trtable): Return failure indication upon
56612         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56614 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56616         [BZ #12201]
56617         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56618         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56619         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56620         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56622         [BZ #12207]
56623         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56625         [BZ #12204]
56626         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56627         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56629 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56631         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56632         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56633         script has SORT_BY_INIT_PRIORITY.
56634         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56635         NO_CTORS_DTORS_SECTIONS is defined.
56636         * elf/soinit.c: Likewise.
56637         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56638         NO_CTORS_DTORS_SECTIONS is defined.
56639         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56640         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56641         * sysdeps/sh/init-first.c: Likewise.
56642         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56644 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56646         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56647         always use the slow path.
56649 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56651         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56652         similar rule which adds the sysdep directories to the header search in
56653         order to pick up the correct platform stackinfo.h.
56654         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56655         perform test if it is, otherwise return successfully without testing.
56656         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56657         DEFAULT_STACK_PERMS define in stackinfo.h.
56658         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56659         defined in stackinfo.h.
56660         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56661         DEFAULT_STACK_PERMS defined in stackinfo.h.
56662         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56663         * sysdeps/ia64/stackinfo.h: Likewise.
56664         * sysdeps/s390/stackinfo.h: Likewise.
56665         * sysdeps/sh/stackinfo.h: Likewise.
56666         * sysdeps/sparc/stackinfo.h: Likewise.
56667         * sysdeps/x86_64/stackinfo.h: Likewise.
56668         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56669         PF_X for powerpc64.  Retain PF_X for powerpc32.
56671 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56673         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56674         accurately.
56675         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56676         GETDENTS_64BIT_ALIGNED.
56678 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56680         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56682 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56684         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56685         _GNU_SOURCE.
56687         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56688         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56689         Remove __restrict.
56690         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56691         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56693 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56695         [BZ #11655]
56696         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56697         are initialized.
56699 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56701         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56703 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56705         * po/it.po: Update from translation team.
56707 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56710         unused codes.
56712 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56714         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56716 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56718         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56719         specially.
56720         (gaih_getanswer_slice): Likewise.
56722 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56724         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56726 2010-05-31  Petr Baudis  <pasky@suse.cz>
56728         [BZ #11149]
56729         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56730         silently even in the chroot mode.
56732 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56734         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56735         last patch a bit.  Pretty printing
56737 2010-05-31  Petr Baudis <pasky@suse.cz>
56739         [BZ #10085]
56740         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56741         initialization of skip_initgroups_dyn.
56743 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56745         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56746         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56748 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56750         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56752 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56754         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56755         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56756         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56757         ($(objpfx)tst-fnmatch-mem): New rule.
56758         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56759         * posix/tst-fnmatch.c (main): Call mtrace.
56761 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56764         Support Intel processor model 6 and model 0x2c.
56766 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56768         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56769           signed comparison.
56771 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56773         [BZ #12205]
56774         * string/test-strncasecmp.c (check_result): New function.
56775         (do_one_test): Use it.
56776         (check1): New function.
56777         (test_main): Use it.
56778         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56779         Support strcasecmp and strncasecmp.
56781 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56783         [BZ #12194]
56784         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56785         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56787 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56789         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56790         IFUNC support.
56791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56792         memset-x86-64.
56793         * sysdeps/x86_64/multiarch/bzero.S: New file.
56794         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56795         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56796         * sysdeps/x86_64/multiarch/memset.S: New file.
56797         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56799         Set bit_Prefer_SSE_for_memop for Intel processors.
56800         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56801         Define.
56802         (index_Prefer_SSE_for_memop): Define.
56803         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56805 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56807         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56808         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56810 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56812         [BZ #12191]
56813         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56814         (__x86_64_raw_data_cache_size_half): Likewise.
56815         (__x86_64_raw_shared_cache_size): Likewise.
56816         (__x86_64_raw_shared_cache_size_half): Likewise.
56818         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56819         (__x86_64_raw_data_cache_size_half): Likewise.
56820         (__x86_64_raw_shared_cache_size): Likewise.
56821         (__x86_64_raw_shared_cache_size_half): Likewise.
56822         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56823         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56824         and __x86_64_raw_shared_cache_size_half.  Round
56825         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56826         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56827         to multiple of 256 bytes.
56829 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56831         [BZ #12167]
56832         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56833         of inacessible symlinks.  Verify result of symlink before returning it.
56834         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56835         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56837 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56839         * math/math.h (isinf): Fix typo in comment.
56841 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56843         * po/da.po: Update from translation team.
56845 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56847         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56848         is added to the list.
56850 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56851             Ulrich Drepper  <drepper@gmail.com>
56853         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56854         the global list here.  Move code to...
56855         (_dl_add_to_namespace_list): ...here.  New function.
56856         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56857         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56858         * elf/dl-load.c (lose): Don't remove the element from the list.
56859         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56860         (_dl_map_object): Likewise.
56862 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56864         [BZ #12159]
56865         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56866         into all bytes of SSE register.
56867         Patch by Richard Li <richardpku@gmail.com>.
56869 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56871         [BZ #12140]
56872         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56873         perturbing.
56875 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56877         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56878         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56879         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56880         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56882         submachine.
56883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56885 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56887         * include/dlfcn.h (__RTLD_SECURE): Define.
56888         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56889         mode & __RTLD_SECURE instead.
56890         (open_path): Rename preloaded parameter to secure.
56891         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56892         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56893         * elf/dl-deps.c (openaux): Likewise.
56894         * elf/rtld.c (struct map_args): Remove is_preloaded.
56895         (map_doit): Don't use it.
56896         (dl_main): Likewise.
56897         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56898         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56900 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56902         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56903         (sysd-rules-targets): Remove duplicates.
56904         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56905         rtld-%.$o dependency.
56907 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56909         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56910         _dl_map_object do it.
56912 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56914         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56915         fast fma builtins, define the macros in the C99 standard.
56916         (FP_FAST_FMAF): Likewise.
56917         (FP_FAST_FMAL): Likewise.
56918         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56920         * bits/mathdef.h: Update copyright year.
56921         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56923 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56925         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56926         builtins, define the macros in the C99 standard.
56927         (FP_FAST_FMAF): Likewise.
56928         (FP_FAST_FMAL): Likewise.
56929         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56930         multiply/add.
56931         (FP_FAST_FMAF): Likewise.
56933 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56935         [BZ #3268]
56936         * math/libm-test.inc (fma_test): Some new testcases.
56937         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56938         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56939         y and infinite z.  Do multiplication by C already in long double.
56940         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56942         y and infinite z.  Do bitwise or of inexact bit into u.d.
56943         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56944         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56945         * sysdeps/i386/fpu/s_fma.S: Removed.
56946         * sysdeps/i386/fpu/s_fmal.S: Removed.
56948 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56950         [BZ #3268]
56951         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56952         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56953         computation is not scheduled after fetestexcept.  Fix value
56954         of minimum denormal long double.
56956 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56958         [BZ #3268]
56959         * math/libm-test.inc (fma_test): Add some more tests.
56960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56961         correctly.
56963 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56965         * scripts/data/localplt-s390-linux-gnu.data: New file.
56966         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56968 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56970         [BZ #3268]
56971         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56972         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56973         instead of dbl-64.
56974         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56975         inlines.
56976         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56978         if one of x and y is very large and the other is subnormal.
56979         * sysdeps/s390/fpu/s_fmaf.c: New file.
56980         * sysdeps/s390/fpu/s_fma.c: New file.
56981         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56982         * sysdeps/powerpc/fpu/s_fma.S: New file.
56983         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56984         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56985         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56987 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56989         [BZ #3268]
56990         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56991         fma tests.
56992         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56993         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56994         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56995         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56996         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56997         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56998         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57000 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57002         [BZ #12078]
57003         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57004         * posix/bug-regex31.input: Add test case.
57006 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57008         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57009         * posix/bug-regex31.input: New file.
57011         [BZ #12078]
57012         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57013         (parse_sub_exp): Fix last change, use postorder.
57015         * posix/bug-regex31.c: New file.
57016         * posix/Makefile: Add rules to build and run bug-regex31.
57018         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57020         [BZ #12078]
57021         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57023         [BZ #12108]
57024         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57025         to have entries in sys_siglist.
57027         [BZ #12093]
57028         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57029         be NULL.
57031 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57033         [BZ #3268]
57034         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57035         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57036         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57037         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57038         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57039         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57040         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57041         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57042         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57043         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57044         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57045         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57046         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57047         * math/ftestexcept.c (fetestexcept): Likewise.
57048         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57049         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57050         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57051         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57052         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57053         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57054         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57056 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57058         [BZ #12107]
57059         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57060         newline.
57062 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57064         * string/bug-strstr1.c: New file.
57065         * string/Makefile: Add rules to build and run bug-strstr1.
57067 2010-10-05  Eric Blake  <eblake@redhat.com>
57069         [BZ #12092]
57070         * string/str-two-way.h (two_way_long_needle): Always clear memory
57071         when skipping input due to the shift table.
57073 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57075         [BZ #12005]
57076         * malloc/mcheck.c: Handle large requests.
57078         [BZ #12077]
57079         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57080         for strncmp and strncasecmp.
57081         * string/stratcliff.c: Add tests for strcmp and strncmp.
57082         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57084 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57086         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57087         __set_fpscr.
57089 2010-09-30  Andreas Jaeger  <aj@suse.de>
57091         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57092         (CGROUP_SUPER_MAGIC): Define.
57093         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57094         Handle btrfs and cgroup file systems.
57095         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57096         Likewise.
57098 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57100         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57101         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57103 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57105         [BZ #12067]
57106         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57107         trying to locate the ELF header.
57109 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57111         [BZ #11611]
57112         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57113         Mask out sign-bit copies when constructing f_fsid.
57115 2010-09-24  Petr Baudis <pasky@suse.cz>
57117         * debug/stack_chk_fail_local.c: Add missing licence exception.
57118         * debug/warning-nop.c: Likewise.
57120 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57122         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57123         implementing getdents64 using getdents syscall, set d_type if
57124         __ASSUME_GETDENTS32_D_TYPE.
57126 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57128         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57129         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57131 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57133         [BZ #12037]
57134         * posix/unistd.h: Undo change of feature selection for ftruncate from
57135         2010-01-11.
57137 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57139         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57140         detection.
57142 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57144         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57145         fanotify_mark.
57146         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57148 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57150         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57151         variables after CHECK_SP call.
57152         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57154 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57155             Ulrich Drepper  <drepper@redhat.com>
57157         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57158         re-relocationg ld.so.
57159         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57160         _dl_init_paths call.
57161         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57162         here anymore.
57164 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57166         * resolv/res_init.c (__res_vinit): Count the default server we added.
57168 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57169             Ulrich Drepper  <drepper@redhat.com>
57171         [BZ #11968]
57172         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57173         (____longjmp_chk): Use %ebx for saving value across system call.
57174         Add unwind info.
57176 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57178         * manual/Makefile: Don't mix pattern rules with normal rules.
57180 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57182         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57183         operation.
57184         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57185         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57186         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57187         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57188         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57189         Likewise.
57191 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57193         [BZ #11979]
57194         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57195         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57197 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57199         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57200         * sysdeps/x86_64/addmul_1.S: Likewise.
57201         * sysdeps/x86_64/lshift.S: Likewise.
57202         * sysdeps/x86_64/mul_1.S: Likewise.
57203         * sysdeps/x86_64/rshift.S: Likewise.
57204         * sysdeps/x86_64/sub_n.S: Likewise.
57205         * sysdeps/x86_64/submul_1.S: Likewise.
57207 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57209         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57210         Define __sched_param instead of SCHED_* and sched_param when
57211         <bits/sched.h> is included with __need_schedparam defined.
57212         * bits/sched.h [__need_schedparam]
57213         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57214         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57215         (__defined_schedparam): Define to 1.
57216         (__sched_param): New structure, identical to sched_param.
57217         (__need_schedparam): Undefine.
57219 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57221         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57222         (epoll_create1): Declare.
57224         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57226 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57228         [BZ #7066]
57229         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57230         shifting retval into place.
57232 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57234         * nis/rpcsvc/nis.h: Update copyright notice.
57235         * nis/rpcsvc/nis.x: Likewise.
57236         * nis/rpcsvc/nis_callback.h: Likewise.
57237         * nis/rpcsvc/nis_callback.x: Likewise.
57238         * nis/rpcsvc/nis_object.x: Likewise.
57239         * nis/rpcsvc/nis_tags.h: Likewise.
57240         * nis/rpcsvc/yp.h: Likewise.
57241         * nis/rpcsvc/yp.x: Likewise.
57242         * nis/rpcsvc/ypupd.h: Likewise.
57243         * nis/yp_xdr.c: Likewise.
57244         * nis/ypupdate_xdr.c: Likewise.
57246         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57247         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57248         (pmap_getport): Use __libc_rpc_getport.
57249         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57250         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57251         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57253 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57256         fanotify_mark.
57258 2010-08-27  Roland McGrath  <roland@redhat.com>
57260         * sysdeps/i386/i686/multiarch/Makefile
57261         (CFLAGS-varshift.c): New variable.
57263 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57265         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57266         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57268         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57270         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57272 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57274         * sysdeps/x86_64/strlen.S: Unroll the loop.
57275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57276         strlen-sse2 strlen-sse2-bsf.
57277         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57278         __strlen_no_bsf if bit_Slow_BSF is set.
57279         (__strlen_sse42): Removed.
57280         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57281         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57283 2010-08-25  Roland McGrath  <roland@redhat.com>
57285         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57286         * sysdeps/x86_64/multiarch/varshift.c: New file.
57287         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57288         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57289         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57290         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57292 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57295         strlen-sse2 strlen-sse2-bsf.
57296         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57297         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57298         (__strlen_sse2): Removed.
57299         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57300         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57302         bit_Slow_BSF for Atom.
57303         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57304         (index_Slow_BSF): Define.
57305         (HAS_SLOW_BSF): Define.
57307 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57309         [BZ #10851]
57310         * resolv/res_init.c (__res_vinit): When no server address at all
57311         is given default to loopback.
57313 2010-08-24  Roland McGrath  <roland@redhat.com>
57315         * configure.in: Remove config-name.h generation.
57316         * configure: Regenerated.
57317         * config-name.in: File removed.
57318         * scripts/config-uname.sh: New file.
57319         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57320         ($(objdir)config-name.h): New target.
57322         * sunrpc/rpc_parse.h: Avoid nested comment.
57324 2010-08-24  Richard Henderson  <rth@redhat.com>
57325             Ulrich Drepper  <drepper@redhat.com>
57326             H.J. Lu  <hongjiu.lu@intel.com>
57328         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57330         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57331         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57332         _mm_alignr_epi8 with _mm_loadu_si128.
57333         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57334         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57335         (__m128i_shift_right): Removed.
57336         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57337         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57338         * sysdeps/x86_64/multiarch/varshift.h: New file.
57339         * sysdeps/x86_64/multiarch/varshift.S: New file.
57341 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57343         * configure.in: Move assembler checks to before sysdep dir checking.
57345 2010-08-20  Petr Baudis  <pasky@suse.cz>
57347         * LICENSES: Sync the sunrpc license.
57349 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57351         * sunrpc/auth_des.c: Update copyright notice once again.
57352         * sunrpc/auth_none.c: Likewise.
57353         * sunrpc/auth_unix.c: Likewise.
57354         * sunrpc/authdes_prot.c: Likewise.
57355         * sunrpc/authuxprot.c: Likewise.
57356         * sunrpc/bindrsvprt.c: Likewise.
57357         * sunrpc/clnt_gen.c: Likewise.
57358         * sunrpc/clnt_perr.c: Likewise.
57359         * sunrpc/clnt_raw.c: Likewise.
57360         * sunrpc/clnt_simp.c: Likewise.
57361         * sunrpc/clnt_tcp.c: Likewise.
57362         * sunrpc/clnt_udp.c: Likewise.
57363         * sunrpc/clnt_unix.c: Likewise.
57364         * sunrpc/des_crypt.c: Likewise.
57365         * sunrpc/des_soft.c: Likewise.
57366         * sunrpc/get_myaddr.c: Likewise.
57367         * sunrpc/getrpcport.c: Likewise.
57368         * sunrpc/key_call.c: Likewise.
57369         * sunrpc/key_prot.c: Likewise.
57370         * sunrpc/openchild.c: Likewise.
57371         * sunrpc/pm_getmaps.c: Likewise.
57372         * sunrpc/pm_getport.c: Likewise.
57373         * sunrpc/pmap_clnt.c: Likewise.
57374         * sunrpc/pmap_prot.c: Likewise.
57375         * sunrpc/pmap_prot2.c: Likewise.
57376         * sunrpc/pmap_rmt.c: Likewise.
57377         * sunrpc/rpc/auth.h: Likewise.
57378         * sunrpc/rpc/auth_unix.h: Likewise.
57379         * sunrpc/rpc/clnt.h: Likewise.
57380         * sunrpc/rpc/des_crypt.h: Likewise.
57381         * sunrpc/rpc/key_prot.h: Likewise.
57382         * sunrpc/rpc/netdb.h: Likewise.
57383         * sunrpc/rpc/pmap_clnt.h: Likewise.
57384         * sunrpc/rpc/pmap_prot.h: Likewise.
57385         * sunrpc/rpc/pmap_rmt.h: Likewise.
57386         * sunrpc/rpc/rpc.h: Likewise.
57387         * sunrpc/rpc/rpc_des.h: Likewise.
57388         * sunrpc/rpc/rpc_msg.h: Likewise.
57389         * sunrpc/rpc/svc.h: Likewise.
57390         * sunrpc/rpc/svc_auth.h: Likewise.
57391         * sunrpc/rpc/types.h: Likewise.
57392         * sunrpc/rpc/xdr.h: Likewise.
57393         * sunrpc/rpc_clntout.c: Likewise.
57394         * sunrpc/rpc_cmsg.c: Likewise.
57395         * sunrpc/rpc_common.c: Likewise.
57396         * sunrpc/rpc_cout.c: Likewise.
57397         * sunrpc/rpc_dtable.c: Likewise.
57398         * sunrpc/rpc_hout.c: Likewise.
57399         * sunrpc/rpc_main.c: Likewise.
57400         * sunrpc/rpc_parse.c: Likewise.
57401         * sunrpc/rpc_parse.h: Likewise.
57402         * sunrpc/rpc_prot.c: Likewise.
57403         * sunrpc/rpc_sample.c: Likewise.
57404         * sunrpc/rpc_scan.c: Likewise.
57405         * sunrpc/rpc_scan.h: Likewise.
57406         * sunrpc/rpc_svcout.c: Likewise.
57407         * sunrpc/rpc_tblout.c: Likewise.
57408         * sunrpc/rpc_util.c: Likewise.
57409         * sunrpc/rpc_util.h: Likewise.
57410         * sunrpc/rpcinfo.c: Likewise.
57411         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57412         * sunrpc/rpcsvc/key_prot.x: Likewise.
57413         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57414         * sunrpc/rpcsvc/mount.x: Likewise.
57415         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57416         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57417         * sunrpc/rpcsvc/rex.x: Likewise.
57418         * sunrpc/rpcsvc/rstat.x: Likewise.
57419         * sunrpc/rpcsvc/rusers.x: Likewise.
57420         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57421         * sunrpc/rpcsvc/spray.x: Likewise.
57422         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57423         * sunrpc/rtime.c: Likewise.
57424         * sunrpc/svc.c: Likewise.
57425         * sunrpc/svc_auth.c: Likewise.
57426         * sunrpc/svc_authux.c: Likewise.
57427         * sunrpc/svc_raw.c: Likewise.
57428         * sunrpc/svc_run.c: Likewise.
57429         * sunrpc/svc_simple.c: Likewise.
57430         * sunrpc/svc_tcp.c: Likewise.
57431         * sunrpc/svc_udp.c: Likewise.
57432         * sunrpc/svc_unix.c: Likewise.
57433         * sunrpc/svcauth_des.c: Likewise.
57434         * sunrpc/xcrypt.c: Likewise.
57435         * sunrpc/xdr.c: Likewise.
57436         * sunrpc/xdr_array.c: Likewise.
57437         * sunrpc/xdr_float.c: Likewise.
57438         * sunrpc/xdr_mem.c: Likewise.
57439         * sunrpc/xdr_rec.c: Likewise.
57440         * sunrpc/xdr_ref.c: Likewise.
57441         * sunrpc/xdr_sizeof.c: Likewise.
57442         * sunrpc/xdr_stdio.c: Likewise.
57444         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57445         handling.
57447 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57449         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57451 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57453         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57454         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57455         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57456         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57457         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57458         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57459         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57460         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57461         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57462         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57463         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57464         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57465         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57466         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57468 2010-07-26  Anton Blanchard  <anton@samba.org>
57470         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57471         * malloc/arena.c (heap_trim): Likewise.
57473 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57475         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57476         here.  Not...
57477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57478         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57480 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57482         * sysdeps/i386/elf/Makefile: New file.
57484 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57486         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57487         from fanotify_init.
57488         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57491 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57493         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57494         of strncasecmp_l.
57495         * sysdeps/multiarch/strcmp.S: Likewise.
57497 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57499         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57500         strncase_l-nonascii.
57501         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57502         Add strncase_l-ssse3.
57503         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57504         * sysdeps/x86_64/strcmp.S: Likewise.
57505         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57506         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57507         * sysdeps/x86_64/strncase.S: New file.
57508         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57509         * sysdeps/x86_64/strncase_l.S: New file.
57510         * string/Makefile (strop-tests): Add strncasecmp.
57511         * string/test-strncasecmp.c: New file.
57513         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57514         warning.
57516         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57517         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57519 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57521         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57523 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57525         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57526         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57527         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57529 2010-05-01  Alan Modra  <amodra@gmail.com>
57531         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57532         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57533         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57534         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57535         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57536         tidying.  Don't tail-call __sigjmp_save for static lib.
57537         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57538         save location.
57539         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57540         (CALL_MCOUNT): Add eh info, and nop after bl.
57541         (TAIL_CALL_SYSCALL_ERROR): New macro.
57542         (PSEUDO_RET): Use it.
57543         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57544         Correct save location of integer regs and cr.
57545         (_dl_profile_resolve): Correct cr save location.  Delete nops
57546         after bl when SHARED.  Reduce cfi size a little by better
57547         placement of cfi directives.
57548         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57549         make a stack frame.  Instead use parm save area as a temp.
57550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57551         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57553         Don't make a stack frame for parent, use parm save area.
57554         Increase child stack frame to 112 bytes.  Don't save unused reg,
57555         and adjust reg usage.  Set up cfi on error recovery and
57556         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57558         (__makecontext): Add dummy nop after jump to exit.
57559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57560         Use correct parm save area and cr save, reduce stack frame.
57561         Correct cfi for possible PSEUDO_RET frame setup.
57562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57563         Branch to local label emitted by PSEUDO_RET rather than
57564         __syscall_error.
57566 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57568         [BZ #11904]
57569         * locale/programs/locale.c (print_assignment): New function.
57570         (show_locale_vars): Use it.
57572 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57574         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57575         field.
57576         (struct statfs64): Likewise.
57577         (_STATFS_F_FLAGS): Define.
57578         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57579         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57580         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57581         (ST_VALID): Define locally.
57582         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57583         __statvfs_getflags, use the provided value.
57584         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57585         __ASSUME_STATFS_F_FLAGS.
57587         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57589         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57590         Add sys/fanotify.h.
57591         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57592         fanotify_mask for GLIBC_2.13.
57593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57594         fanotify_init and fanotify_mark.
57595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57596         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57598         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57599         Add prlimit.
57600         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57601         prlimit64 for GLIBC_2.13.
57602         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57603         prlimit64.
57604         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57605         syscall.
57606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57607         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57608         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57609         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57610         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57611         add prlimit alias.
57612         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57614         [BZ #11903]
57615         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57616         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57618         * nss/Makefile: Add rules to build and run tst-nss-test1.
57619         * shlib-versions: Add entry for libnss_test1.
57620         * nss/nss_test1.c: New file.
57621         * nss/tst-nss-test1.c: New file.
57623         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57624         (__nss_configure_lookup): Set appropriate entry in
57625         __nss_configure_lookup to true.
57626         * nss/nsswitch.h: Define enum with indeces of databases in
57627         databases and __nss_database_custom arrays.  Declare
57628         __nss_database_custom.
57629         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57630         to avoid using nscd when custom rules are installed.
57631         * nss/getXXbyYY_r.c: Likewise.
57632         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57634         * nss/nss_files/files-parse.c: Whitespace fixes.
57636 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57638         [BZ #11883]
57639         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57640         * posix/fnmatch_loop.c: Likewise.
57642 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57644         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57645         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57646         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57647         * Versions.def [GLIBC_2.13]: Add.
57649 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57651         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57652         Also fail if tpwd after pwuid call is NULL.
57654 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57656         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57657         when converting to ms.
57659 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57661         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57662         EOPNOTSUPP errors with ENOTTY.
57663         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57664         EOPNOTSUPP errors with ENOTTY.
57666 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57668         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57669         Add strcasecmp_l-ssse3.
57670         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57671         strcasecmp.
57672         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57673         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57674         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57676 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57678         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57680         * string/Makefile (strop-tests): Add strcasecmp.
57681         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57682         strcasecmp_l-nonascii.
57683         (gen-as-const-headers): Add locale-defines.sym.
57684         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57685         * sysdeps/x86_64/strcasecmp.S: New file.
57686         * sysdeps/x86_64/strcasecmp_l.S: New file.
57687         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57688         * sysdeps/x86_64/locale-defines.sym: New file.
57689         * string/test-strcasecmp.c: New file.
57691         * string/test-strcasestr.c: Test both ends of the range of characters.
57692         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57694 2010-07-29  Roland McGrath  <roland@redhat.com>
57696         [BZ #11856]
57697         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57699 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57701         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57702         for ld.so.
57704 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57706         * manual/memory.texi (Malloc Tunable Parameters): Document
57707         M_PERTURB.
57709 2010-07-26  Roland McGrath  <roland@redhat.com>
57711         [BZ #11840]
57712         * configure.in (-fgnu89-inline check): Set and substitute
57713         gnu89_inline, not libc_cv_gnu89_inline.
57714         * configure: Regenerated.
57715         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57717 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57719         * string/test-strnlen.c: New file.
57720         * string/Makefile (strop-tests): Add strnlen.
57721         * string/tester.c (test_strnlen): Add a few more test cases.
57722         * string/tst-strlen.c: Better error reporting.
57724         * sysdeps/x86_64/strnlen.S: New file.
57726 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57728         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57729         lower-latency instructions.
57731 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57733         * string/test-strcasestr.c: New file.
57734         * string/test-strstr.c: New file.
57735         * string/Makefile (strop-tests): Add strstr and strcasestr.
57736         * string/str-two-way.h: Don't undefine MAX.
57737         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57739 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57742         strcasestr-nonascii.
57743         (CFLAGS-strcasestr-nonascii.c): Define.
57744         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57745         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57746         Remove unused attribute.
57748 2010-07-20  Roland McGrath  <roland@redhat.com>
57750         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57751         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57752         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57753         like LD_HWCAP_MASK can disable hwcaps.
57755 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57757         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57759 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57761         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57762         call in strcasestr.
57763         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57764         __strcasestr_sse42_nonascii.
57765         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57766         strcasestr-nonascii.c.
57767         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57769 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57771         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57772         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57773         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57774         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57776 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57778         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57779         fcntl.
57781 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57783         [BZ #11577]
57784         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57785         dl_signal_cerror.
57787 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57789         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57790         _PC_PIPE_BUF using F_GETPIPE_SZ.
57792 2010-07-05  Roland McGrath  <roland@redhat.com>
57794         * manual/arith.texi (Rounding Functions): Fix rint description
57795         implicit in round description.
57797 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57799         * elf/Makefile: Fix linking for a few tests to make recent linker
57800         happy.
57802 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57804         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57805         $(common-objpfx)libc_nonshared.a.
57807 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57809         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57810         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57811         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57812         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57813         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57814         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57815         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57816         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57831         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57832         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57833         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57834         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57835         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57836         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57837         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57838         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57839         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57840         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57841         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57842         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57858 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57860         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57861         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57862         * string/memmove.c (memmove): Renamed to ...
57863         (MEMMOVE): ...this.  Default to memmove.
57864         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57865         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57866         (END_CHK): Define.
57867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57868         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57869         mempcpy-ssse3-back memmove-ssse3-back.
57870         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57871         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57873         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57874         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57875         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57876         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57877         * sysdeps/x86_64/multiarch/memmove.c: New file.
57878         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57879         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57880         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57881         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57882         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57883         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57884         Define.
57885         (index_Fast_Copy_Backward): Define.
57886         (HAS_ARCH_FEATURE): Define.
57887         (HAS_FAST_REP_STRING): Define.
57888         (HAS_FAST_COPY_BACKWARD): Define.
57890 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57892         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57893         Restore proper fallback handling.
57895 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57897         [BZ #11701]
57898         * posix/group_member.c (__group_member): Correct checking loop.
57900         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57901         OOM in getpwuid_r correctly.  Return error number when the caller
57902         should return, otherwise -1.
57903         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57904         call returning > 0 value.
57905         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57907 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57909         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57910         libc_nonshared.a from targets in modules-names.
57912 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57914         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57915         requires it.
57917 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57919         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57920         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57921         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57922         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57924 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57926         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57928 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57930         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57931         and F_GETPIPE_SZ.
57932         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57933         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57937         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57939 2010-06-14  Roland McGrath  <roland@redhat.com>
57941         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57943 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57945         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57946         __REDIRECT followed by __THROW.
57947         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57948         * posix/getopt.h (getopt): Likewise.
57950 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57952         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57953         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57954         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57955         in AT_FLAGS.
57956         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57957         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57959 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57961         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57963 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57965         [BZ #11640]
57966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57967         Properly check family and model.
57969 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57971         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57973 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57975         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57977 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57979         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57980         symbol reference.
57982 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57984         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57985         symbol reference.
57987 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57989         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57990         and internal_recvmmsg.
57991         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57992         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57993         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57994         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57996         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57997         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57998         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58000 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58002         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58004 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58006         POWER7 optimizations.
58007         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58008         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58010 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58012         * version.h: Update for 2.13 development version.
58014 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58016         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58017         exceptions.  Return 0.
58019 2010-05-07  Roland McGrath  <roland@redhat.com>
58021         * elf/ldconfig.c (main): Add a const.
58023 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58025         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58026         (args_options): Add no-idn option.
58027         (ahosts_keys_int): Add idn_flags to ai_flags.
58028         (parse_option): Handle 'i' option to clear idn_flags.
58030         * malloc/malloc.c (_int_free): Possible race in the most recently
58031         added check.  Only act on the data if no current modification
58032         happened.
58034 See ChangeLog.17 for earlier changes.