Define libc_max_align_t for internal use
[glibc.git] / ChangeLog
blob9bac2983e4ce55e16e1ff614f39f70d87e2a8a66
1 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3         * include/libc-internal.h (libc_max_align_t): Define.
5 2015-04-02  Andreas Schwab  <schwab@suse.de>
7         [BZ #16850]
8         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10 2015-04-02  Mel Gorman  <mgorman@suse.de>
12         [BZ #17195]
13         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
14         as well as the main arena.
16 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18         [BZ #18185]
19         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20         sharing L2 cache to 2 for Silvermont/Knights Landing.
22 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24         [BZ #17711]
25         * config.make.in (have-protected-data): New.
26         * configure.ac: Check linker support for protected data symbol.
27         * configure: Regenerated.
28         * elf/Makefile (modules-names): Add tst-protected1moda and
29         tst-protected1modb if $(have-protected-data) is yes.
30         (tests): Add tst-protected1a and tst-protected1b if
31         $(have-protected-data) is yes.
32         ($(objpfx)tst-protected1a): New.
33         ($(objpfx)tst-protected1b): Likewise.
34         (tst-protected1modb.so-no-z-defs): Likewise.
35         * elf/tst-protected1a.c: New file.
36         * elf/tst-protected1b.c: Likewise.
37         * elf/tst-protected1mod.h: Likewise.
38         * elf/tst-protected1moda.c: Likewise.
39         * elf/tst-protected1modb.c: Likewise.
41 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
43         [BZ #17711]
44         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
45         indicates it is called from do_lookup_x on relocation against
46         protected data, skip the data definion in the executable from
47         copy reloc.
48         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
49         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
50         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
51         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
52         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
53         otherwise to 0.
54         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
55         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
56         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
57         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
58         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
59         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
61 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
63         * sysdeps/nptl/pthread.h: Remove duplicate definition of
64         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
66 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
68         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
69         THREAD_SETMEM_NC.
70         * sysdeps/x86_64/nptl/tls.h: Ditto.
72 2015-03-27  Roland McGrath  <roland@hack.frob.com>
74         * dlfcn/tststatic.c (main): Converted to ...
75         (do_test): ... this.
76         (TEST_FUNCTION): New macro.
77         Include test-skeleton.c.
79 2015-03-26  Alan Modra  <amodra@gmail.com>
81         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
82         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
83         zero for undefined weak.
84         (elf_machine_plt_conflict): Similarly.
86 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
88         * math/auto-libm-test-in: Add more tests of acosh, asinh and
89         atanh.
90         * math/auto-libm-test-out: Regenerated.
91         * sysdeps/i386/fpu/libm-test-ulps: Update.
92         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94         * math/auto-libm-test-in: Add another test of asin.
95         * math/auto-libm-test-out: Regenerated.
96         * sysdeps/i386/fpu/libm-test-ulps: Update.
97         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
99         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
100         Remove macro.
101         (LLL_EBX_REG): Likewise.
102         (LLL_ENTER_KERNEL): Likewise.
104         * math/auto-libm-test-in: Add more tests of asin.
105         * math/auto-libm-test-out: Regenerated.
106         * sysdeps/i386/fpu/libm-test-ulps: Update.
107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
109         [BZ #18138]
110         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
111         libc_do_syscall_args): New structure.
112         (INTERNAL_SYSCALL_MAIN_0): New macro.
113         (INTERNAL_SYSCALL_MAIN_1): Likewise.
114         (INTERNAL_SYSCALL_MAIN_2): Likewise.
115         (INTERNAL_SYSCALL_MAIN_3): Likewise.
116         (INTERNAL_SYSCALL_MAIN_4): Likewise.
117         (INTERNAL_SYSCALL_MAIN_5): Likewise.
118         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
119         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
120         Replace conditional definitions by conditional definitions of ....
121         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
122         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
123         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
124         (libpthread-sysdep_routines): Add libc-do-syscall.
125         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
126         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
127         to __NR_futex not 240.
129 2015-03-25  Alan Modra  <amodra@gmail.com>
131         * NEWS: Advertise TLS optimization.
132         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
133         (DT_PPC_NUM): Increment.
134         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
135         (CHECK_STATIC_TLS): Use here.
136         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
137         TLS descriptors.
138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
139         * sysdeps/powerpc/dl-tls.c: New file.
140         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
141         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
142         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
143         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
148 2015-03-25  Alan Modra  <amodra@gmail.com>
150         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
151         for overlapping .opd entries" to "support...".
152         * sysdeps/powerpc/powerpc64/configure: Regenerate
154 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
156         * math/auto-libm-test-in: Add more tests of acos.
157         * math/auto-libm-test-out: Regenerated.
158         * sysdeps/i386/fpu/libm-test-ulps: Update.
159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161         * math/auto-libm-test-in: Add more tests of expm1.
162         * math/auto-libm-test-out: Regenerated.
163         * sysdeps/i386/fpu/libm-test-ulps: Update.
164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
166 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
168         * math/auto-libm-test-in: Add more tests of cosh and sinh.
169         * math/auto-libm-test-out: Regenerated.
170         * sysdeps/i386/fpu/libm-test-ulps: Update.
171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
173         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
176         * math/auto-libm-test-in: Add more tests of log2.
177         * math/auto-libm-test-out: Regenerated.
178         * sysdeps/i386/fpu/libm-test-ulps: Update.
179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
181 2015-03-23  Roland McGrath  <roland@hack.frob.com>
183         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
184         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
185         _IO_IS_APPENDING bit in READ_WRITE instead.
187 2015-03-23  Florian Weimer  <fweimer@redhat.com>
189         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
190         (__determine_cpumask_size): Replace extend_alloca with a
191         variable-length array.  Do not treat res == 0 as an error.
193 2015-03-23  Florian Weimer  <fweimer@redhat.com>
195         [BZ #18100]
196         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
197         and integer overflow.
198         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
199         (main): Add integer overflow tests.
200         * manual/pattern.texi (Calling Wordexp): Document additional use
201         for WRDE_SYNTAX.
203 2015-03-23  Alan Modra  <amodra@gmail.com>
205         * config.h.in: Remove HAVE_ASM_PPC_REL16.
206         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
207         and false branch of conditional.
208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
209         Likewise.
211 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
213         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
214         libc-modules.h
215         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
216         unused declaration of _hurd_intr_rpc_msg_in_trap.
217         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
218         defined instead of whether it is non-zero.
219         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
220         input constraint instead of both input and output constraint.  Use ecx
221         clobber instead of %ecx.
222         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
223         mutex_unlock): Use a statement expression instead of an expression list.
224         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
225         type to vm_size_t instead of vm_address_t.
226         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
227         defined instead of whether it is non-zero.
228         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
229         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
230         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
231         comparisons with mapaddr.
232         * nscd/nscd-client.h: Include <time.h>.
233         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
234         9th parameter to __vm_region instead of int.
235         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
236         * scripts/check-local-headers.sh (exclude): Add device/,
237         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
238         cthreads.h.
240 2015-03-19  Roland McGrath  <roland@hack.frob.com>
242         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
243         to account for alignment padding.
244         * sysdeps/arm/memmove.S: Likewise.
246 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
248         * sysdeps/unix/sysv/linux/generic/README: New file.
250 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
252         [BZ #18138]
253         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
254         (futex_abstimed_wait)
255         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
256         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
257         of lll_futex_timed_wait.
259 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
261         [BZ #17542]
262         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
264 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
266         [BZ #17090]
267         [BZ #17620]
268         [BZ #17621]
269         [BZ #17628]
270         * NEWS: Update.
271         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
272         entries with Static TLS too.  Skip entries past the end of the
273         allocated DTV, from Alan Modra.
274         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
275         Static TLS DTV entry set up from...
276         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
277         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
278         * nptl/allocatestack.c (init_one_static_tls): ... and here...
279         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
280         for Static TLS.
281         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
282         that the slot we find is associated with the given map before
283         using its generation count.
284         * nptl_db/db_info.c: Include ldsodefs.h.
285         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
286         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
287         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
288         (link_map::l_tls_offset): New struct field.
289         (dtv_t::counter): Likewise.
290         (rtld_global): New struct.
291         (_rtld_global): New rtld variable.
292         (dl_tls_dtv_slotinfo_list): New rtld global field.
293         (dtv_slotinfo_list): New struct.
294         (dtv_slotinfo): Likewise.
295         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
296         (td_lookup): Rename to...
297         (td_mod_lookup): ... this.  Use new mod parameter instead of
298         LIBPTHREAD_SO.
299         * nptl_db/td_thr_tlsbase.c: Include link.h.
300         (dtv_slotinfo_list, dtv_slotinfo): New functions.
301         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
302         addresses even if the DTV is out of date or missing them.
303         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
304         index zero-length arrays.
305         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
306         (td_lookup): Make it a macro implemented in terms of...
307         (td_mod_lookup): ... this declaration.
308         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
309         (DB_MAIN_VARIABLE): Likewise.
311 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
313         [BZ #18134]
314         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
316 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
318         * stdlib/setenv.c (__add_to_environ): Revert previous change.
320 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
322         [BZ #18128]
323         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
324         (atomic_add, atomic_increment_and_test)
325         (atomic_decrement_and_test): Fix 64-bit arithmetic.
327 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
329         * stdlib/setenv.c (__add_to_environ):
330         Dump core quickly if setenv (..., NULL, ...) is called.
332 2015-03-13  Roland McGrath  <roland@hack.frob.com>
334         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
335         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
336         all the necessary asm magic in one place.
337         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
338         using those.
340 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
342         [BZ #14906]
343         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
344         traced file mtime. Use consistent log message.
345         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
346         (register_traced_file): Call install_watches. Always set mtime.
347         (invalidate_cache): Iterate over all trace files. Call install_watches.
348         (inotify_check_files): Don't inline. Handle watching parent
349         directories and configuration file movement in and out.
350         (handle_inotify_events): New function.
351         (main_loop_poll): Call handle_inotify_events.
352         (main_loop_epoll): Likewise.
353         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
354         (struct traced_file): Use array of inotify fds. Add parent directory,
355         and basename.
356         (struct database_dyn): Remove unused file_mtime.
357         (init_traced_file): New inline function.
358         (define_traced_file): New macro.
359         * nss/nss_db/db-init.c: Use define_traced_file.
360         (_nss_db_init): Use init_traced_file.
361         * nss/nss_files/files-init.c: Use define_traced_file.
362         (_nss_files_init): Use init_traced_file.
364 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
366         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
367         [_LIBC]: Do not include <stdlib.h>.
368         [!_LIBC] (abort): Remove declaration.
369         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
370         _FP_STATIC_ASSERT instead of conditionally calling abort.
371         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
372         (_FP_EXTEND_CNAN): Likewise.
373         (FP_TRUNC): Likewise.
374         (__FP_CLZ): Likewise.
375         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
377 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
379         * manual/string.texi (XPG basename): Fix prototype.
381 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
383         [BZ #18080]
384         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
385         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
386         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
387         (__setcontext): Likewise.
388         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
389         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
390         Call rt_sigprocmask syscall one time to set new signal mask
391         and retrieve the current signal mask instead of two calls.
392         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
393         (__swapcontext): Likewise.
394         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
395         * stdlib/tst-setcontext2.c: New file.
397 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
399         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
401 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
403         [BZ #18093]
404         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
405         the wrong size.
407 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
409         [BZ #18043]
410         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
412 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
414         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
415         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
416         Remove define.
417         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
418         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
419         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
420         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
421         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
422         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
423         define.
424         * nptl_db/td_symbol_list.c (td_lookup): Remove
425         HAVE_ASM_GLOBAL_DOT_NAME code.
426         * sysdeps/powerpc/powerpc64/configure.ac: Remove
427         HAVE_ASM_GLOBAL_DOT_NAME check.
428         * sysdeps/powerpc/powerpc64/configure: Regenerate.
429         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
430         (DOT_LABEL): Remove define.
431         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
432         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
433         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
434         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
435         (__TLS_GET_ADDR): Likewise.
436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
437         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
439 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
441         [BZ #18111]
442         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
443         (_FPU_SETCW): Initialize cw from fpsr before storing.
444         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
445         (fesetexceptflag): Rewrite using fpu_control.h.
446         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
448 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
450         [BZ #18110]
451         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
452         asms.
453         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
455 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
457         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
458         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
459         abort.
460         (_FP_FMA): Likewise.
461         (_FP_DIV): Likewise.
463 2015-03-10  Roland McGrath  <roland@hack.frob.com>
465         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
466         with 0 in that case.
467         * Makefile (summarize-tests): New canned sequence, factored out of
468         commands for targets tests and xtests.  Display summary lines that
469         don't start with PASS: or XFAIL: rather than ones that do start with
470         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
471         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
472         do start with ERROR: or FAIL:.
473         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
474         (except for [$(build-shared) = yes]).
475         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
476         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
477         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
478         * nptl/Makefile: Revert 2015-03-04 changes.
479         [$(CXX) empty] (tests-unsupported): New variable.
480         * debug/Makefile: Likewise.
482         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
483         gnulib file.  Replace __attribute with __attribute__ throughout.
485 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
487         * sysdeps/hppa/fpu/libm-test-ulps: Update.
489 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
491         [BZ #18104]
492         * math/auto-libm-test-in: Add another test of pow.
493         * math/auto-libm-test-out: Regenerated.
495 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
497         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
498         $(config-cflags-nofma).
500 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
502         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
503         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
504         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
505         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
506         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
507         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
508         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
509         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
510         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
511         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
512         Add comment on closing #endif.
514 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
516         * posix/wordexp.c (CHAR_IN_SET): New macro.
517         (parse_param): Use it.
519 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
521         * sysdeps/powerpc/fpu/libm-test-ulps: update.
523 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
525         [BZ #18043]
526         * posix/wordexp.c (parse_param): Fix buffer overflow.
527         * posix/wordexp-test.c (test_case): Add test case.
529 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
531         [BZ #18042]
532         * posix/wordexp.c (parse_backtick): Fix off-by-one.
533         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
535 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
537         [BZ #18043]
538         * posix/wordexp-test.c (test_case): Add test for BZ #18043
539         (do_bz18043): Delete.
540         (at_page_end): New.
541         (testit): Refactor to have words at the edge of unreadable page.
543 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
545         [BZ #16734]
546         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
547         Cleanup read-only streams as well.
548         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
550 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
552         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
553         <bits/libc-lockP.h>
555 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
557         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
558         on [__KERNEL__].
559         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
560         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
561         * soft-fp/op-common.h (_FP_DECL): Likewise.
563 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
565         * elf/ifuncdep2.c (global): Replace
566         __attribute__((visibility("protected"))) with
567         asm (".protected global").
568         * elf/ifuncmod1.c (global): Likewise.
569         * elf/ifuncmod5.c (global): Likewise.
571 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
573         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
574         <asm/sfp-machine.h> instead of <sfp-machine.h>.
576 2015-03-06  Roland McGrath  <roland@hack.frob.com>
578         * manual/install.texi (Configuring and compiling):
579         Document test-wrapper-env-only.
580         * INSTALL: Regenerated.
582 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
584         [BZ #18043]
585         * posix/wordexp.c (parse_param): Fix buffer overflow.
586         * posix/wordexp-test.c (do_bz18043): Add test case.
588 2015-03-06  Vincent Bernat  <vincent@bernat.im>
590         * time/tst-strptime2.c (do_test): Ensure failing tests are
591         reported correctly.
592         * time/tst-strptime3.c (do_test): Likewise.
594 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
596         Fix aio_error thread-safety.
597         * sysdeps/pthread/aio_error.c: New file
598         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
599         synchronization.
601 2015-03-06  Florian Weimer  <fweimer@redhat.com>
603         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
604         (group_number, vfprintf): Use it.
605         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
606         (JUMP, REF): Use it.
607         (WORK_BUFFER_SIZE): New enum constant.
608         (process_arg, vfprintf): Use it.
610 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
612         * manual/errno.texi (Error Messages): Complete example function
613         by adding missing #define.
614         (program_invocation_name): Add statement indicating GNU
615         extension and reference which header file declares the variable.
616         (program_invocation_short_name): Likewise.
618 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
620         * manual/errno.texi (Error Messages): Delete strerror ISO C89
621         compatibility note.
623 2015-03-05  Roland McGrath  <roland@hack.frob.com>
625         * Makeconfig (test-wrapper-env-only): New variable.
626         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
627         then use that with $(test-wrapper-env-only) rather than using
628         $(test-wrapper-env) $(run-program-env) $($*-ENV).
630 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
632         [BZ #18082]
633         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
634         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
635         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
636         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
637         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
638         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
639         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
640         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
641         Likewise.
642         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
643         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
644         Likewise.
645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
646         Likewise.
647         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
648         Likewise.
649         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
650         Likewise.
651         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
653         Likewise.
654         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
655         Likewise.
656         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
657         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
659 2015-03-04  Roland McGrath  <roland@hack.frob.com>
661         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
662         (ETH_ALEN): New macro.
663         (struct ether_addr): Use it for length of ether_addr_octet.
665         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
666         (setdb): Don't call __nss_configure_lookup for "rpc".
667         (do_test): Don't call test_rpc.
668         (output_rpcent, test_rpc): Functions moved ...
669         * sunrpc/test-rpcent.c: ... to this new file.
670         * sunrpc/Makefile (tests): Add it.
672         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
673         __xpg_sigpause.
674         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
675         * nptl/tst-signal6.c: Likewise.
676         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
677         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
679         * configure.ac (libc_cv_cxx_link_ok): New check.
680         Reset CXX to empty if it fails to link.
681         * configure: Regenerated.
682         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
683         bug-atexit3-lib only if $(CXX) is nonempty.
684         * nptl/Makefile (tests): Likewise for tst-cancel24.
685         (tests, tests-static): Likewise for tst-cancel24-static.
686         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
687         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
688         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
689         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
691 2015-03-04  Andreas Schwab  <schwab@suse.de>
693         [BZ #17631]
694         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
695         for non-GCC compilers.
696         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
697         Likewise.
699 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
701         [BZ #17776]
702         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
703         integer before bitwise and assembly operations.
704         (feclearexcept): Likewise.
705         * math/test-fenvinline.c: New file.
706         * math/Makefile: Add test-fenvinline test.
708 2015-03-03  Alan Modra  <amodra@gmail.com>
710         [BZ #16512]
711         * scripts/localplt.awk: Strip off symbol version.
712         * NEWS: Mention bug fix.
714 2015-03-02  Roland McGrath  <roland@hack.frob.com>
716         * sysdeps/pthread/timer_routines.c
717         (timer_free_list, thread_free_list, thread_active_list): Make static.
719 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
721         [BZ #17779]
722         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
723         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
724         Undefine.
725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
726         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
727         Likewise.
728         * sysdeps/unix/sysv/linux/sh/kernel-features.h
729         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
730         Likewise.
732 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
734         [BZ #18036]
735         * posix/fnmatch_loop.c (END): Detect invalid pattern.
736         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
738 2015-03-02  Andreas Schwab  <schwab@suse.de>
740         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
741         variable name.
743 2015-03-02  Florian Weimer  <fweimer@redhat.com>
745         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
746         Return error status.
748 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
750         [BZ #15969]
751         * locale/findlocale.c (_nl_find_locale): Introduce const
752         version of loc_name and drop unsafe type casts.
754 2015-02-27  Roland McGrath  <roland@hack.frob.com>
756         * dlfcn/tststatic2.c (main): Converted to ...
757         (do_test): ... this.
758         (TEST_FUNCTION): New macro.
759         Include test-skeleton.c.
761 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
763         [BZ #17711]
764         * elf/Makefile (tests): Add vismain only if PIE is enabled.
765         (tests-pie): Add vismain.
766         (CFLAGS-vismain.c): New.
767         * elf/vismain.c: Add comments for PIE requirement.
769 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
771         [BZ #18046]
772         [BZ #18047]
773         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
774         0x1p-56L as threshold for just returning the argument.
775         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
776         0x1p-32L as threshold for just returning the argument.
777         * math/auto-libm-test-in: Add more tests of atanh.
778         * math/auto-libm-test-out: Regenerated.
779         * sysdeps/i386/fpu/libm-test-ulps: Update.
780         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
782 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
784         * string/bcopy.c (bcopy): Call memmove for performance.
786 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
788         * string/bzero.c (__bzero): Call memset for performance.
790 2015-02-27  John David Anglin  <dave.anglin@bell.net>
792         [BZ #18068]
793         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
794         to 00100000.
796 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
798         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
800 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
802         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
803         (__kernel_standard): Use CSTR macro when setting exc.name.
804         * sysdeps/ieee754/Makefile [$(subdir) = math]
805         (CFLAGS-k_standard.c): Remove variable.
807         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
808         setting p and q from "else if" to "else".
809         (qzero): Likewise.
810         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
811         (qone): Likewise.
812         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
813         (qzerof): Likewise.
814         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
815         (qonef): Likewise.
816         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
817         (qzero): Likewise.
818         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
819         (qone): Likewise.
821         [BZ #18038]
822         [BZ #18039]
823         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
824         return pi/2 for arguments below 0x1p-113L.
825         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
826         return pi/2 for arguments below 0x1p-106L.
827         * math/auto-libm-test-in: Add more tests of acos.
828         * math/auto-libm-test-out: Regenerated.
830         [BZ #16351]
831         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
832         (MO): New macro.
833         (__ieee754_asin): Force underflow exception for results with small
834         absolute value.
835         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
836         (MO): New macro.
837         (__ieee754_asinf): Force underflow exception for results with
838         small absolute value.
839         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
840         (__ieee754_asin): Force underflow exception for results with small
841         absolute value.
842         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
843         (__ieee754_asinf): Force underflow exception for results with
844         small absolute value.
845         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
846         (__ieee754_asinl): Force underflow exception for results with
847         small absolute value.
848         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
849         (__ieee754_asinl): Force underflow exception for results with
850         small absolute value.
851         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
852         (__ieee754_asinl): Force underflow exception for results with
853         small absolute value.
854         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
855         Include <math.h>.
856         * math/auto-libm-test-in: Do not mark underflow exceptions as
857         possibly missing for bug 16351.
858         * math/auto-libm-test-out: Regenerated.
860         [BZ #18030]
861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
862         of power of 2 down when low part has opposite sign.
863         * math/libm-test.inc (logb_test_data): Add more tests.
865 2015-02-26  Andreas Schwab  <schwab@suse.de>
867         [BZ #18032]
868         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
869         over collating symbol inside a bracket expression.  Minor cleanup.
870         * posix/tst-fnmatch3.c (do_test): Add test case.
872 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
874         [BZ #18029]
875         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
876         Adjust exponent of power of 2 down when low part has opposite
877         sign.
878         * math/libm-test.inc (ilogb_test_data): Add more tests.
880 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
882         [BZ #15969]
883         * locale/findlocale.c (_nl_find_locale): Fix constness error in
884         the previous change.
886         [BZ #15969]
887         * locale/findlocale.c (_nl_find_locale): Retry archive search
888         after alias expansion.
890 2015-02-25  Roland McGrath  <roland@hack.frob.com>
892         * iconv/tst-iconv3.c (main): Converted to ...
893         (do_test): ... this.
894         (TEST_FUNCTION): New macro.
895         Include test-skeleton.c.
897         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
898         (convert): Make function static.
899         (test_unalign): Likewise.  Add const to argument pointee types.
900         (main): Replace with static function do_test.
901         Print "Succeeded." only if RET is zero.
902         (TEST_FUNCTION): New macro.
903         Include test-skeleton.c.
905         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
906         returns a null pointer.
908 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
910         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
911         to __memcpy_ppc only for static builds.
913 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
915         [BZ #18020]
916         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
917         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
918         * math/auto-libm-test-in: Add more tests of asinh.
919         * math/auto-libm-test-out: Regenerated.
920         * sysdeps/i386/fpu/libm-test-ulps: Update.
921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
923 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
925         [BZ #15850]
926         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
927         and ip6_mtuinfo definitions here.
928         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
929         in this define too.  Update comment.
931 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
933         * elf/sprof.c (load_shobj): Tweak error message to match others.
935 2015-02-24  Kevin Easton  <kevin@guarana.org>
937         [BZ #16145] (partial fix)
938         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
939         to reduce lock contention.
941 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
943         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
944         (struct timex): Update time comment.
945         (ADJ_SETOFFSET): Define.
947 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
949         [BZ #18019]
950         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
951         2**56 not 2**28 as threshold for log (2x) formula.
952         * math/auto-libm-test-in: Add more tests of acosh.
953         * math/auto-libm-test-out: Regenerated.
954         * sysdeps/i386/fpu/libm-test-ulps: Update.
955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
957 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
959         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
960         parenthesis around the buf assignment.
961         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
963 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
965         [BZ #16783]
966         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
967         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
968         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
969         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
970         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
971         * math/libm-test.inc (scalb_test_data): Add more tests.
973 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
975         [BZ #17916]
976         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
977         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
979 2015-02-24  Eric Rannaud  <e@nanocritical.com>
981         [BZ #17523]
982         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
983         * io/bits/fcntl2.h (open): Use it.
984         (openat): Likewise.
985         * io/open.c (__libc_open): Likewise.
986         * io/open64.c (__libc_open64): Likewise.
987         * io/open64_2.c (__open64_2): Likewise.
988         * io/open_2.c (__open_2): Likewise.
989         * io/openat.c (__openat): Likewise.
990         * io/openat64.c (__openat64): Likewise.
991         * io/openat64_2.c (__openat64_2): Likewise.
992         * io/openat_2.c (__openat_2): Likewise.
993         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
994         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
995         * sysdeps/posix/open64.c (__libc_open64): Likewise.
996         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
997         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
998         (__open_nocancel): Likewise.
999         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1000         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1001         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1003 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1005         [BZ #14841]
1006         * resolv/gethnamaddr.c (getanswer): Skip logging if
1007         RES_USE_DNSSEC is set.
1008         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1010 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1012         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1014 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1016         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1017         201304L, for Unicode 7.
1019 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1021         [BZ #17836]
1022         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1023         shared library.  Add gmon-start.os otherwise.
1024         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1025         $(objpfx)gmon-start.os if builing shared library.
1026         ($(objpfx)g$(static-start-installed-name)): Likewise.
1028 2015-02-23  Andreas Schwab  <schwab@suse.de>
1030         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1032 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1034         [BZ #17269]
1035         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1036         (enlarge_userbuf): Likewise.
1038 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1040         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1041         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1042         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1043         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1045 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1047         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1048         expression inside statement expression.
1050 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1052         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1053         <sysdeps/nptl/lowlevellock.h> and remove macros and
1054         functions that are now defined there.
1055         (SYS_futex): Remove.
1056         (lll_compare_and_swap): Remove.
1057         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1059 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1061         [BZ #17999]
1062         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1063         instead of scandirat.
1064         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1065         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1066         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1067         __scandirat.
1068         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1069         (__scandirat): Declare.  Use libc_hidden_proto.
1070         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1071         Remove variable.
1072         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1074 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1076         [BZ #15319]
1077         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1078         (MO): New macro.
1079         (__ieee754_atan2): For results with small absolute value, force
1080         underflow exception and remove excess range and precision from
1081         return value.
1082         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1083         (MO): New macro.
1084         (__ieee754_atan2f): For results with small absolute value, force
1085         underflow exception and remove excess range and precision from
1086         return value.
1087         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1088         (MO): New macro.
1089         (__atan): For results with small absolute value, force underflow
1090         exception and remove excess range and precision from return value.
1091         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1092         (MO): New macro.
1093         (__atanf): For results with small absolute value, force underflow
1094         exception and remove excess range and precision from return value.
1095         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1096         <math.h>.
1097         (__ieee754_atan2): Force underflow exception for results with
1098         small absolute value.
1099         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1100         <math_private.h>.
1101         (atan): Force underflow exception for results with small absolute
1102         value.
1103         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1104         (__atanf): Force underflow exception for results with small
1105         absolute value.
1106         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1107         <math.h>.
1108         (__atanl): Force underflow exception for results with small
1109         absolute value.
1110         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1111         (__atanl): Force underflow exception for results with small
1112         absolute value.
1113         * sysdeps/x86/fpu/bits/mathinline.h
1114         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1115         (__ieee754_atan2): Only define inline for long double.
1116         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1117         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1118         * math/auto-libm-test-in: Do not mark underflow exceptions as
1119         possibly missing for bug 15319.  Add more tests of atan2.
1120         * math/auto-libm-test-out: Regenerated.
1121         * math/libm-test.inc (casin_test_data): Do not mark underflow
1122         exceptions as possibly missing for bug 15319.
1123         (casinh_test_data): Likewise.
1124         * sysdeps/i386/fpu/libm-test-ulps: Update.
1126 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1128         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1129         * sysdeps/mips/bits/endian.h: Fix comments.
1131 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1133         [BZ #17996]
1134         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1135         (hdestroy_r): Likewise.
1136         (hsearch_r): Likewise.
1137         (__hcreate_r): Declare and use libc_hidden_proto.
1138         (__hdestroy_r): Likewise.
1139         (__hsearch_r): Likewise.
1140         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1141         (hcreate): Call __hcreate_r instead of hcreate_r.
1142         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1143         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1144         as weak alias of __hcreate_r.
1145         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1146         __hdestroy_r.
1147         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1148         __hsearch_r.
1149         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1150         Remove variable.
1151         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1152         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1153         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1154         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1156 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1158         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1159         arena_lock into a single arena_get.
1161 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1163         * dl-reloc.c: Inlucde libc-internal.h.
1164         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1165         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1166         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1167         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1168         (grow_heap): Likewise.
1169         * malloc/malloc.c: Include libc-internal.h.
1170         (do_check_malloc): Call powerof2.
1171         (sysmalloc): Use pagesize. Call ALIGN_UP.
1172         (systrim): Use pagesize.
1173         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1174         (__libc_valloc): Use pagesize.
1175         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1177 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1179         [BZ #17991]
1180         * include/sys/resource.h (__getrlimit64): Declare.  Use
1181         libc_hidden_proto.
1182         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1183         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1184         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1185         getrlimit64.
1186         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1187         __getrlimit64.
1188         [!getrlimit64] (getrlimit64): Define as weak alias of
1189         __getrlimit64.  Use libc_hidden_weak.
1190         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1191         using __getrlimit64 not __new_getrlimit64.
1192         (__GI_getrlimit64): Likewise.
1193         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1194         Likewise.
1195         (__GI_getrlimit64): Likewise.
1196         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1198         (getrlimit): Add __getrlimit64 alias.
1199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1200         Likewise.
1201         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1202         Remove variable.
1203         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1204         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1206 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1208         * libio/fileops.c: Add missing sys/mman.h
1209         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1211 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1213         * manual/math.texi (Errors in Math Functions): Clarify goals
1214         regarding inexact and underflow exceptions.
1216 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1218         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1219         * sysdeps/mips/memset.S: Ditto.
1221 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1223         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1225 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1227         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1228         (__v1longjmp): Remove versioned symbol.
1229         (__v1siglongjmp): Remove alias and versioned symbol.
1230         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1231         (__v2siglongjmp): Likewise.
1233 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1235         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1237 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1239         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1241 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #17987]
1244         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1245         zero result does not depend on the sign resulting from
1246         subtraction.
1247         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1248         Likewise.
1249         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1250         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1251         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1252         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1253         * math/libm-test.inc (remquo_test_data): Add more tests.
1255 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1257         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1258         Problem reported by J William Piggott.
1260 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1262         [BZ #17978]
1263         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1264         products 4 * y and 2 * y where those would overflow.
1265         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1266         Likewise.
1267         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1268         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1269         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1270         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1271         * math/libm-test.inc (remquo_test_data): Add more tests.
1273         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1275         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1276         [defined _COMPILING_NEWLIB].
1277         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1278         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1280         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1281         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1283 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1285         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1286         acquired.
1288 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1290         [BZ #17792]
1291         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1292         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1293         HOST_STACK_END_ADDR): Likewise.
1295 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1297         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1298         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1299         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1301 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1303         * sysdeps/generic/c++-types.data: New file.
1304         * sysdeps/generic/ld.abilist: New file.
1305         * sysdeps/generic/libBrokenLocale.abilist: New file.
1306         * sysdeps/generic/libanl.abilist: New file.
1307         * sysdeps/generic/libc.abilist: New file.
1308         * sysdeps/generic/libcrypt.abilist: New file.
1309         * sysdeps/generic/libdl.abilist: New file.
1310         * sysdeps/generic/libm.abilist: New file.
1311         * sysdeps/generic/libpthread.abilist: New file.
1312         * sysdeps/generic/libresolv.abilist: New file.
1313         * sysdeps/generic/librt.abilist: New file.
1315 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1317         [BZ #17569]
1318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1319         Compute absolute value of x as modified by fmod, not original
1320         value of x.
1321         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1322         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1323         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1324         RUN_TEST_ffI_f1_mod8.
1325         (remquo_test_data): Add more tests.
1327 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1329         * sysdeps/init_array/pt-crti.S: New file.
1331 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1333         [BZ #17967]
1334         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1335         __builtin_fmaf instead of relying on contraction of a * b + c.
1337 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1339         [BZ #17969]
1340         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1341         node.
1343 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1345         [BZ #17964]
1346         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1347         __builtin_fma instead of relying on contraction of a * b + c.
1349 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1351         * Makeconfig (ASFLAGS): Add -Werror=undef.
1352         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1353         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1354         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1356         * Makeconfig (after-link): New variable.
1357         (+link-pie, +link-pie-tests): Use it.
1358         (+link-static, +link-static-tests): Likewise.
1359         (+link, +link-tests): Likewise.
1360         * Makerules (build-module, build-module-asneeded): Likewise.
1361         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1362         Likewise.
1363         * elf/Makefile ($(objpfx)ld.so): Likewise.
1365 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1367         [BZ #17965]
1368         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1369         both struct timeval and struct timespec.
1371 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1373         [BZ #16560]
1374         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1375         and redefine.
1376         (__ieee754_exp2l): Do not multiply small fractional parts by
1377         M_LN2l.
1378         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1379         small argument.
1380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1381         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1382         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1383         * math/auto-libm-test-in: Add more tests of exp2.
1384         * math/auto-libm-test-out: Regenerated.
1386 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1388         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1389         unaligned path.
1391 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1394         little endian.
1396 2015-02-12  Andreas Schwab  <schwab@suse.de>
1398         [BZ #15790]
1399         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1400         Filter out elision flags from value returned in kind.
1401         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1402         * nptl/tst-pthread-mutexattr.c: New file.
1404 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1406         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1407         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1408         into gnu-gnu, and update comment to refer to abi-tags.
1410 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1412         [BZ #15467]
1413         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1414         (__sincos): Set errno to EDOM for infinite argument.
1415         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1416         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1417         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1418         (__sincosl): Set errno to EDOM for infinite argument.
1419         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1420         (__sincosl): Set errno to EDOM for infinite argument.
1421         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1422         (__sincosl): Set errno to EDOM for infinite argument.
1423         * math/libm-test.inc (sincos_test_data): Test errno setting.
1425 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1427         * string/strxfrm_l.c: Remove #define STRCMP.
1428         * string/strcoll_l.c: Remove #define STRLEN.
1429         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1430         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1432 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1434         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1435         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1436         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1437         * sysdeps/mips/mips64/Makefile: ... here.
1438         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1439         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1440         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1441         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1442         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1443         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1444         * sysdeps/mips/mips64/n64/Implies: Likewise.
1446 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1448         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1449         <sys/time.h>, <string.h>, and <errno.h>.
1450         (dest_offset, dest_address, value, zero): Remove unused variables.
1451         (ldouble): Remove typedef.
1452         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1453         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1454         1).  Fix code style.
1455         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1456         (check): Function removed.
1457         (CHECK): New macro.
1458         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1459         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1460         Don't call set_sigaction_FP and remove_sigaction_FP here.
1461         (ldouble_test): Just use 'long double' as macro argument, no need for
1462         the 'ldouble' typedef.
1463         (do_test): Set up SIGFPE handler at start, using plain signal rather
1464         than sigaction.  Fix code style.
1466 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1468         [BZ #17949]
1469         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1470         jump label.
1472 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1474         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1475         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1477         * sysdeps/powerpc/configure.ac: Remove file.
1478         * sysdeps/powerpc/configure: Likewise.
1480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1481         [sysdep_routines]: Remove wordcopy-power6 object.
1482         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1483         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1484         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1485         (__memmove_ppc32): Likewise.
1486         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1487         file.
1488         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1490         Remove preprocessor.
1492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1493         [sysdep_routines]: Remove wide chars objects.
1494         [wcsmbs]: New rule for wide char objects.
1496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1497         Remove wordcopy-power6 obejct.
1498         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1499         Use local call for wordcopy and memcpy symbols.
1500         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1502         implementation for loader.
1503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1506         Remove wordcopy-power7 object.
1507         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1509         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1510         (_wordcopy_fwd_dest_aligned): Likewise.
1511         (_wordcopy_bwd_aligned): Likewise.
1512         (_wordcopy_bwd_dest_aligned): Likewise.
1514         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1515         Rewrite to call __memmove_ppc instead of include default
1516         implementation.
1518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1519         Remove wide chars objects.
1520         [wcsmbs]: New rule for wide char objects.
1522 2015-02-09  Andreas Schwab  <schwab@suse.de>
1524         [BZ #17912]
1525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1526         in terms of __O_DIRECTORY.
1528 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1530         * time/getdate.c: Include <stdbool.h>.
1531         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1532         call PTR_MANGLE.
1533         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1534         PTR_DEMANGLE.
1536 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1538         Add ersatz _Static_assert on older C hosts
1539         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1540         pre-C11 C platform that is not known to support _Static_assert.
1542 2015-02-07  Richard Braun  <rbraun@sceen.net>
1544         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1545         sigstate.
1546         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1548 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1550         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1551         priority against unexistent AIO_PRIO_DELTA_MAX.
1552         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1553         instead of int.
1554         * misc/fchflags.c (fchflags): Likewise.
1555         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1556         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1557         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1558         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1559         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1560         Declare macros.
1561         [__USE_MISC] (chflags, fchflags): Declare functions.
1562         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1563         EINVAL when nfds is greater than FD_SETSIZE.
1564         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1565         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1566         45.
1567         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1568         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1569         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1570         MACH_RCV_TIMED_OUT.
1571         * hurd/hurd/signal.h (_hurd_self_sigstate,
1572         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1573         Explicit casts from void *.
1574         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1575         * abi-tags: Rename gnu-gnu os into gnu.
1577         [BZ #4719]
1578         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1579         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1580         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1581         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1582         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1583         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1585         [BZ #17944]
1586         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1587         duplicates ADDR->sun_path with sockaddr LEN limitation.
1588         * sysdeps/mach/hurd/connect.c: Include <string.h>
1589         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1590         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1591         * sysdeps/mach/hurd/sendto.c: Likewise.
1592         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1593         implementing it by hand.
1595 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1597         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1598         Use sfi_breg on ldr.
1599         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1600         Likewise.
1602         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1603         it's defined.
1604         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1605         Test SIGSETXID only if it's defined.
1607         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1609         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1610         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1612         * nptl/tst-align2.c: Moved ...
1613         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1614         * nptl/Makefile (tests): Remove tst-align2.
1615         * sysdeps/unix/sysv/linux/Makefile
1616         [$(subdir) = nptl] (tests): Add tst-align-clone.
1617         * nptl/tst-getpid1.c: Moved ...
1618         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1619         * nptl/tst-getpid2.c: Moved ...
1620         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1621         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1622         * sysdeps/unix/sysv/linux/Makefile
1623         [$(subdir) = nptl] (tests): ... here.
1624         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1625         * sysdeps/unix/sysv/linux/Makefile
1626         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1628         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1629         Drop trailing \n from perror argument.  Use return rather than exit.
1631         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1632         on [SA_SIGINFO].
1633         * nptl/tst-cancel21.c (do_test): Likewise.
1634         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1635         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1636         [!SA_SIGINFO]: Make it a stub test.
1638         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1639         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1641         * posix/tst-getlogin.c: Move to ...
1642         * login/tst-getlogin.c: ... here.
1643         * posix/Makefile (tests): Move tst-getlogin to ...
1644         * login/Makefile (tests): ... here.
1646         * libio/tst-atime.c (do_test): Move local variables SV and E
1647         inside [ST_NOATIME] conditional.
1649         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1651         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1653         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1654         (wait_code): New function replaces macro.
1655         Call nanosleep rather than syscall.
1657         * nptl/pt-system.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-longjmp.c: Rewritten.  Put everything under
1662         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1663         Use IFUNC to redirect when possible.
1665         * nptl/pt-fork.c: Rewritten.  Put everything under
1666         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1667         Use IFUNC to redirect when possible.
1668         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1671         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1672         unconditionally nowadays.  This included the only reference to
1673         __vdso_clock_gettime that appears outside libc proper.
1674         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1675         Remove version set (containing only __vdso_clock_gettime).
1676         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1677         Add attribute_hidden.
1678         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1679         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1680         libc_hidden_data_def.
1681         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1682         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1684         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1685         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1686         setrpcent, and getrpcport to ...
1687         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1688         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1689         getrpcbynumber_r, and getrpcent_r to ...
1690         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1691         * inet/getrpcbyname.c: Moved ...
1692         * sunrpc/getrpcbyname.c: ... here.
1693         * inet/getrpcbyname_r.c: Moved ...
1694         * sunrpc/getrpcbyname_r.c: ... here.
1695         * inet/getrpcbynumber.c: Moved ...
1696         * sunrpc/getrpcbynumber.c: ... here.
1697         * inet/getrpcbynumber_r.c: Moved ...
1698         * sunrpc/getrpcbynumber_r.c: ... here.
1699         * inet/getrpcent.c: Moved ...
1700         * sunrpc/getrpcent.c: ... here.
1701         * inet/getrpcent_r.c: Moved ...
1702         * sunrpc/getrpcent_r.c: ... here.
1703         * inet/Makefile (routines): Move those to ...
1704         * sunrpc/Makefile (routines): ... here.
1705         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1706         the $(subdirs) list.
1707         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1708         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1709         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1710         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1712         * elf/Makefile (routines): Include $(all-dl-routines), not just
1713         $(dl-routines).
1714         (rtld-routines): Likewise.  Use = rather than :=.
1715         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1716         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1717         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1718         * sysdeps/arm/Makefile: Likewise.
1719         * sysdeps/i386/Makefile: Likewise.
1720         * sysdeps/x86_64/Makefile: Likewise.
1721         * sysdeps/hppa/Makefile [$(subdir) = elf]
1722         (sysdep_routines, sysdep-rtld-routines): Don't add
1723         $(sysdep-dl-routines) to these.
1724         * sysdeps/ia64/Makefile: Likewise.
1725         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1726         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1727         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1728         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1729         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1730         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1731         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1732         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1733         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1734         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1735         these; sysdep-dl-routines alone is enough.
1737 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1739         [BZ #17932]
1740         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1741         where multiplication results in zero and third argument is finite
1742         and nonzero.
1743         * math/auto-libm-test-in: Add more tests of fma.
1744         * math/auto-libm-test-out: Regenerated.
1746         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1747         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1748         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1749         (_FP_CMP_EQ): Likewise.
1750         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1752         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1753         extra argument CHECK_NAN.  Redefine as wrapper around
1754         _FP_EXTEND_CNAN.
1756 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1758         * version.h (RELEASE): Set to "stable".
1759         (VERSION): Set to "2.21"
1760         * include/features.h (__GLIBC_MINOR__): Set to 21.
1762         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1764 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1765             Paul Eggert  <eggert@cs.ucla.edu>
1767         [BZ #16618]
1768         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1769         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1770         size in bytes. Store needed elements in wpmax. Use needed size
1771         in bytes for extend_alloca.
1773 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1775         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1776         binutls 2.25, and texinfo 5.2.
1777         * INSTALL: Regenerate.
1778         * sysdeps/nios2/configure: Regenerate.
1779         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1780         * manual/contrib.texi: Update.
1781         * po/be.po: Update.
1782         * po/bg.po: Update.
1783         * po/ca.po: Update.
1784         * po/cs.po: Update.
1785         * po/da.po: Update.
1786         * po/de.po: Update.
1787         * po/el.po: Update.
1788         * po/eo.po: Update.
1789         * po/es.po: Update.
1790         * po/fi.po: Update.
1791         * po/fr.po: Update.
1792         * po/gl.po: Update.
1793         * po/hr.po: Update.
1794         * po/hu.po: Update.
1795         * po/ia.po: Update.
1796         * po/id.po: Update.
1797         * po/it.po: Update.
1798         * po/ja.po: Update.
1799         * po/ko.po: Update.
1800         * po/lt.po: Update.
1801         * po/nb.po: Update.
1802         * po/nl.po: Update.
1803         * po/pl.po: Update.
1804         * po/pt_BR.po: Update.
1805         * po/ru.po: Update.
1806         * po/rw.po: Update.
1807         * po/sk.po: Update.
1808         * po/sl.po: Update.
1809         * po/sv.po: Update.
1810         * po/tr.po: Update.
1811         * po/uk.po: Update.
1812         * po/vi.po: Update.
1813         * po/zh_CN.po: Update.
1814         * po/zh_TW.po: Update.
1816         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1817         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1818         * sysdeps/hppa/dl-irel.h: Remove #warning.
1819         * sysdeps/hppa/entry.h: Provide prototype for
1820         __canonicalize_funcptr_for_compare and cast argument.
1821         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1822         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1823         * sysdeps/hppa/sotruss-lib.c: New file.
1824         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1825         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1826         (atomic_compare_and_exchange_bool_acq): Likewise.
1827         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1828         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1830         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1831         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1832         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1834 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1836         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1837         called function in non-PIC case.
1839 2015-01-31  David S. Miller  <davem@davemloft.net>
1841         * sysdeps/sparc/sparc32/bits/atomic.h
1842         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1843         unlock not after it.
1844         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1845         volatile register usage warnings from the compiler.
1847         * sysdeps/sparc/nptl/sem_init.c: Delete.
1848         * sysdeps/sparc/nptl/sem_post.c: Delete.
1849         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1850         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1851         * sysdeps/sparc/sparc32/sem_init.c: New file.
1852         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1853         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1854         padding explicitly initialized.
1855         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1856         padding for in-semaphore spinlock.
1857         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1858         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1859         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1860         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1861         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1862         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1863         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1864         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1865         version.
1866         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1867         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1869 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1871         [BZ #17801]
1872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1873         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1874         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1875         New.
1876         (index_AVX_Fast_Unaligned_Load): Likewise.
1877         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1878         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1879         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1880         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1881         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1882         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1883         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1884         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1885         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1887 2015-01-29  Andreas Schwab  <schwab@suse.de>
1889         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1891 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1893         [BZ #17892]
1894         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1896 2015-01-28  Martin Sebor  <msebor@redhat.com>
1898         * math/README.libm-test: Clarify. Add "How to read the test output."
1900 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1902         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1903         Define to 0.
1905 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1907         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1908         (__HAVE_64B_ATOMICS): Define to 0.
1910 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1912         [BZ #17885]
1913         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1914         value to set as new flag.
1916         [BZ #16576]
1917         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1918         and use _ARCH_PPCSQ instead.
1919         (__ieee754_sqrt): Likewise.
1920         (__ieee754_sqrtf): Likewise.
1921         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1922         _ARCH_PPCSQ is defined.
1923         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1924         fsqrt instruction.
1925         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1926         _ARCH_PPCSQ is defined.
1927         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1928         fsqrts instruction.
1929         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1931 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1933         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1934         bug (GCC BZ #64739).
1936 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1938         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1939         Mark _retval as used.
1940         (lll_futex_wake_unlock): Likewise.
1941         (lll_futex_timed_wait_requeue_pi): Likewise.
1943         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1944         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1945         register variables.
1947         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1948         libm_hidden_def.
1950         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1951         (__bswap_64): Mark as __always_inline.
1953 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1955         [BZ #15378]
1956         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1957         when none of the search directories exist.
1959 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1961         [BZ #17869]
1962         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1963         power8 in .machine directive.
1965         [BZ #17868]
1966         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1967         set dependency from opd value.
1969 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1972         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1973         architecture.
1975 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1977         [BZ #17870]
1978         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1979         with uint64_t.
1980         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1981         (uint64_t) 1.
1982         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1983         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1984         Replace 1UL with (uint64_t) 1.
1985         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1986         int with uint64_t.
1988 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1990         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1991         (if_freenameindex): Likewise.
1993         * resource/getrlimit64.c: Add missing libc_hidden_def.
1995 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1997         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1998         __label__.
1999         (_FP_FMA): Likewise.
2000         (_FP_TO_INT_ROUND): Likewise.
2001         (_FP_FROM_INT): Likewise.
2003 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2005         [BZ #16418]
2006         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2007         Make code racy and cancel safe.
2009 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2011         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2012         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2013         attribution.
2015         * pwd/tst-getpw.c: Rewrite.
2017         [BZ #17702]
2018         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2019         (modules-names): Add moddummy1 and moddummy2.
2020         ($(objpfx)tst-rec-dlopen): Define.
2021         * dlfcn/moddummy1.c: New file.
2022         * dlfcn/moddummy2.c: New file.
2023         * dlfcn/tst-rec-dlopen.c: New file.
2024         * elf/dl-cache.c (_dl_load_cache_lookup):
2025         Return char*. Copy result with alloca/strcpy/strdup.
2026         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2027         returns char*. Free cached. If not saving realname
2028         free cached.
2029         * elf/dl-open.c (dl_open_worker): Do not assert that
2030         _r_debug->r_state is RT_CONSISTENT.
2031         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2032         returns char*.
2034 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2035             Carlos O'Donell  <carlos@redhat.com>
2037         [BZ #12674]
2038         * nptl/sem_waitcommon.c: New file.
2039         * nptl/sem_wait.c: Include sem_waitcommon.c.
2040         (__sem_wait_cleanup, do_futex_wait): Remove.
2041         (__new_sem_wait): Adapt.
2042         (__new_sem_trywait): New function.
2043         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2044         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2045         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2046         (sem_timedwait): Adapt.
2047         * nptl/sem_post.c (__new_sem_post): Adapt.
2048         (futex_wake): New function.
2049         (__old_sem_post): Add release MO fence.
2050         * nptl/sem_open.c (sem_open): Adapt.
2051         * nptl/sem_init.c (__new_sem_init): Adapt.
2052         (futex_private_if_supported): New function.
2053         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2054         (__old_sem_getvalue): Add using previous code.
2055         * sysdeps/nptl/internaltypes.h: Adapt.
2056         * nptl/tst-sem13.c (do_test): Adapt.
2057         * nptl/tst-sem11.c (main): Adapt.
2058         * nptl/sem_trywait.c: Remove.
2059         * nptl/DESIGN-sem.txt: Remove.
2060         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2061         (gen-as-const-headers): Remove structsem.sym.
2062         * nptl/structsem.sym: Remove.
2063         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2064         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2065         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2066         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2067         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2068         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2069         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2070         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2071         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2072         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2073         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2074         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2075         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2076         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2077         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2078         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2079         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2080         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2081         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2082         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2083         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2084         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2086 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2088         * INSTALL: Regenerated.
2090         * po/libc.pot: Regenerated.
2092 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2093             Sandra Loosemore  <sandra@codesourcery.com>
2094             Andrew Jenner  <andrew@codesourcery.com>
2095             Joseph Myers  <joseph@codesourcery.com>
2096             Nathan Sidwell  <nathan@codesourcery.com>
2098         * NEWS: Mention new Nios II port.
2099         * sysdeps/nios2/Implies: New file.
2100         * sysdeps/nios2/Makefile: New file.
2101         * sysdeps/nios2/Subdirs: New file.
2102         * sysdeps/nios2/Versions: New file.
2103         * sysdeps/nios2/__longjmp.S: New file.
2104         * sysdeps/nios2/abort-instr.h: New file.
2105         * sysdeps/nios2/backtrace.c: New file.
2106         * sysdeps/nios2/bits/endian.h: New file.
2107         * sysdeps/nios2/bits/fenv.h: New file.
2108         * sysdeps/nios2/bits/link.h: New file.
2109         * sysdeps/nios2/bits/setjmp.h: New file.
2110         * sysdeps/nios2/bsd-_setjmp.S: New file.
2111         * sysdeps/nios2/bsd-setjmp.S: New file.
2112         * sysdeps/nios2/configure: New generated file.
2113         * sysdeps/nios2/configure.ac: New file.
2114         * sysdeps/nios2/crti.S: New file.
2115         * sysdeps/nios2/crtn.S: New file.
2116         * sysdeps/nios2/dl-init.c: New file.
2117         * sysdeps/nios2/dl-machine.h: New file.
2118         * sysdeps/nios2/dl-sysdep.h: New file.
2119         * sysdeps/nios2/dl-tls.h: New file.
2120         * sysdeps/nios2/dl-trampoline.S: New file.
2121         * sysdeps/nios2/gccframe.h: New file.
2122         * sysdeps/nios2/gmp-mparam.h: New file.
2123         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2124         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2125         * sysdeps/nios2/ldsodefs.h: New file.
2126         * sysdeps/nios2/libc-tls.c: New file.
2127         * sysdeps/nios2/libm-test-ulps: New file.
2128         * sysdeps/nios2/machine-gmon.h: New file.
2129         * sysdeps/nios2/math-tests.h: New file.
2130         * sysdeps/nios2/math_private.h: New file.
2131         * sysdeps/nios2/memusage.h: New file.
2132         * sysdeps/nios2/nptl/Makefile: New file.
2133         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2134         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2135         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2136         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2137         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2138         * sysdeps/nios2/nptl/tls.h: New file.
2139         * sysdeps/nios2/preconfigure: New file.
2140         * sysdeps/nios2/s_fma.c: New file.
2141         * sysdeps/nios2/s_fmaf.c: New file.
2142         * sysdeps/nios2/setjmp.S: New file.
2143         * sysdeps/nios2/sfp-machine.h: New file.
2144         * sysdeps/nios2/sotruss-lib.c: New file.
2145         * sysdeps/nios2/stackguard-macros.h: New file.
2146         * sysdeps/nios2/stackinfo.h: New file.
2147         * sysdeps/nios2/start.S: New file.
2148         * sysdeps/nios2/sysdep.h: New file.
2149         * sysdeps/nios2/tls-macros.h: New file.
2150         * sysdeps/nios2/tst-audit.h: New file.
2151         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2152         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2153         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2154         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2155         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2156         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2157         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2158         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2159         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2160         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2161         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2162         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2163         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2164         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2165         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2166         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2167         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2168         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2169         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2170         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2171         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2172         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2173         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2174         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2175         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2176         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2177         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2178         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2179         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2180         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2181         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2182         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2183         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2184         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2185         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2186         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2187         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2188         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2189         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2190         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2191         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2192         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2193         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2194         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2196 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2198         [BZ #17844]
2199         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2200         (getutent): Use weak_alias in non SHARED case
2201         and default_symbol_version in SHARED case.
2202         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2203         (getutent_r, pututline): Likewise.
2204         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2205         (getutid): Likewise.
2206         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2207         (getutid_r): Likewise.
2208         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2209         (getutline): Likewise.
2210         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2211         (getutline_r): Likewise.
2212         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2213         (updwtmp): Likewise.
2215 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2217         [BZ #17848]
2218         * sysdeps/s390/s390-32/memcmp.S
2219         (memcmp_g5): Rename to __memcmp_g5.
2220         * sysdeps/s390/s390-32/memcpy.S
2221         (memcpy_g5): Rename to __memcpy_g5.
2222         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2223         (memcpy_mvcle) Rename to __memcpy_mvcle.
2224         * sysdeps/s390/s390-32/memset.S
2225         (memset_g5): Rename to __memset_g5.
2226         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2227         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2228         and use prefixed functions.
2229         * sysdeps/s390/s390-32/multiarch/memcmp.S
2230         (memcmp_z196): Rename to __memcmp_z196.
2231         (memcmp_z10): Rename to __memcmp_z10.
2232         (memcmp): Set alias to __memcmp_g5.
2233         (bcmp): Set alias to __memcmp_g5.
2234         * sysdeps/s390/s390-32/multiarch/memcpy.S
2235         (memcpy_z196): Rename to __memcpy_z196.
2236         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2237         (memcpy_z10): Rename to __memcpy_z10.
2238         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2239         (memcpy): Set alias to __memcpy_g5.
2240         * sysdeps/s390/s390-32/multiarch/memset.S
2241         (memset_z196): Rename to __memset_z196.
2242         Jump to __memset_mvcle instead of memset_mvcle.
2243         (memset_z10): Rename to __memset_z10.
2244         Jump to __memset_mvcle instead of memset_mvcle.
2245         (memset_mvcle) Rename to __memset_mvcle.
2246         (memset): Set alias to __memset_g5.
2247         * sysdeps/s390/s390-64/memcmp.S
2248         (memcmp_z900): Rename to __memcmp_z900.
2249         * sysdeps/s390/s390-64/memcpy.S
2250         (memcpy_z900): Rename to __memcpy_z900.
2251         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2252         (memcpy_mvcle) Rename to __memcpy_mvcle.
2253         * sysdeps/s390/s390-64/memset.S
2254         (memset_z900): Rename to __memset_z900.
2255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2256         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2257         and use prefixed functions.
2258         * sysdeps/s390/s390-64/multiarch/memcmp.S
2259         (memcmp_z196): Rename to __memcmp_z196.
2260         (memcmp_z10): Rename to __memcmp_z10.
2261         (memcmp): Set alias to __memcmp_z900.
2262         (bcmp): Set alias to __memcmp_z900.
2263         * sysdeps/s390/s390-64/multiarch/memcpy.S
2264         (memcpy_z196): Rename to __memcpy_z196.
2265         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2266         (memcpy_z10): Rename to __memcpy_z10.
2267         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2268         (memcpy): Set alias to __memcpy_z900.
2269         * sysdeps/s390/s390-64/multiarch/memset.S
2270         (memset_z196): Rename to __memset_z196.
2271         Jump to __memset_mvcle instead of memset_mvcle.
2272         (memset_z10): Rename to __memset_z10.
2273         Jump to __memset_mvcle instead of memset_mvcle.
2274         (memset_mvcle) Rename to __memset_mvcle.
2275         (memset): Set alias to __memset_z900.
2277 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2279         [BZ #17748]
2280         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2281         __fesetenv instead of fesetenv.
2283 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2285         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2286         macro.
2288 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2290         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2291         regression on LE.
2293         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2294         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2296         strncmp-power8 object.
2297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2298         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2299         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2300         * NEWS: Update.
2302 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2303             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2305         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2306         trailing byte check.
2308 2015-01-13  David S. Miller  <davem@davemloft.net>
2310         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2312 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2314         * login/logout.c (logout): Use memset rather than bzero.
2315         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2316         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2317         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2318         (_gethtbyaddr): Likewise.
2319         * locale/programs/simple-hash.c (bcopy): Macro removed.
2321 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2323         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2324         Add strcmp-power8 object.
2325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2326         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2327         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2328         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2329         __strcmp_power8 implementation.
2330         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2331         * NEWS: Update.
2333         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2334         Add strncpy-power8 and stpncpy-power8 objects.
2335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2336         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2337         implementations.
2338         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2339         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2340         __stpncpy_power8 implementation.
2341         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2342         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2343         __strncpy_power8 implementation.
2344         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2345         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2346         * NEWS: Update.
2348         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2349         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2350         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2352         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2353         strncat-power8 object.
2354         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2355         __strcat_power8 implementation.
2356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2357         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2358         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2359         optimized strcat for power8.
2361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2362         strcpy-power8 and stpcpy-power8 objects.
2363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2364         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2365         implementations.
2366         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2367         multiarch stpcpy implementation for POWER8.
2368         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2369         multiarch strcpy implementation for POWER8.
2370         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2371         __strcpy_power8 function.
2372         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2373         stpcpy for POWER8.
2374         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2375         strcpy for POWER8.
2376         * NEWS: Update.
2378 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2380         [BZ #16009]
2381         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2382         weights and rules. Use do_xfrm_cached if data fits in cache,
2383         do_xfrm otherwise.  Moved former main loop to...
2384         * (do_xfrm_cached): New function.
2385         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2386         find_idx, find_position and stack_push.
2387         * (find_idx): New function.
2388         * (find_position): Likewise.
2389         * localedata/sort-test.sh: Added test run for do_xfrm.
2390         * localedata/xfrm-test.c (main): Added command line option
2391         -nocache to run the test with strings that are too large for
2392         the STRXFRM cache.
2394 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2396         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2397         variable to lll_futex_wake call, not the value itself.
2399 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2401         [BZ #17803]
2402         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2403         twom64.  Adjust value to 0x1p-64L.
2404         (__scalblnl): Only return standard underflowing result for K <=
2405         -64 not K <= -63; adjust exponent for underflowing result by 64
2406         not 63.
2407         * math/libm-test.inc (scalbn_test_data): Add more tests.
2408         (scalbln_test_data): Likewise.
2410         [BZ #17834]
2411         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2412         0x1p63L.
2413         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2414         not HX.
2415         * math/libm-test.inc (scalbn_test_data): Add more tests.
2416         (scalbln_test_data): Likewise.
2418 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2419             Stefani Seibold  <stefani@seibold.net>
2421         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2422         (sysdep_routines): Add dl-vdso here, ...
2423         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2424         (sysdep_routines): ... not here.
2425         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2426         fallback when vDSO is not presented.
2427         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2428         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2429         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2430         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2431         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2432         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2433         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2434         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2435         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2436         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2437         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2438         fallback configurable symbol when vDSO is not available.
2439         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2440         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2441         be able to redefine fallback symbol when vDSO is not available.
2442         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2443         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2445 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2447         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2448         (TLS_INIT_TP): Add tm_capable initialization.
2449         (TLS_DEFINE_INIT_TP): Likewise.
2450         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2451         TCB.
2452         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2453         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2454         calculation.
2455         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2456         transactoion is lock elision is built and TCB tm_capable is set.
2457         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2459         (INTERNAL_SYSCALL_NCS): Likewise.
2460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2461         (INTERNAL_SYSCALL_NCS): Likewise.
2462         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2464         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2465         for powerpc.
2466         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2467         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2468         and remove it for 32 bits case.
2469         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2470         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2471         initialization.
2472         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2473         Disable lock elision with rdlocks if elision is not available.
2475         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2476         (sysdep_routines): Add lock elision objects.
2477         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2478         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2479         [pthread_mutex_t] (__elision): Add field.
2480         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2481         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2482         elision definitions for powerpc.
2483         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2484         implementation of lock elision for powerpc.
2485         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2486         implementation of timed lock elision for powerpc.
2487         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2488         implementation of trylock with lock elision for powerpc.
2489         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2490         implementaion of unlock for lock elision for powerpc.
2491         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2492         automatic enable lock elision for mutexes.
2493         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2494         transaction execution definitions for powerpc.
2495         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2496         definitions.
2497         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2498         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2499         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2500         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2501         * NEWS: Update.
2503 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2505         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2506         for #include of <shm-directory.h>.
2508 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2510         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2511         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2513 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2515         [BZ #17791]
2516         * NEWS: Mention bug fix.
2517         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2518         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2519         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2521 2015-01-09  Torvald Riegel <triegel@redhat.com>
2523         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2525 2015-01-09  Torvald Riegel <triegel@redhat.com>
2527         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2529 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2531         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2532         pointer and cast to uintptr_t.
2534 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2536         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2537         removed.
2538         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2540 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2542         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2543         of 0.
2545 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2547         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2548         <nptl/pthreadP.h> instead.
2549         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2551         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2552         already defined.
2553         [__SIGRTMIN] (init): Function removed.
2554         [__SIGRTMIN] (initialized): Variable removed.
2555         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2556         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2557         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2558         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2559         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2560         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2561         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2562         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2563         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2564         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2565         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2566         * sysdeps/nptl/allocrtsig.c: New file.
2567         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2568         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2569         * sysdeps/generic/testrtsig.h: File removed.
2571         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2572         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2574         * nptl/nptl-init.c (pthread_functions): Conditionalize
2575         .ptr__nptl_setxid initialization on [SIGSETXID].
2577         * sysdeps/nptl/sys/procfs.h: New file.
2578         * nptl_db/Makefile (headers): Add it.
2579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2581         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2582         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2583         * nptl/pthread_attr_setaffinity.c: Include it.
2584         * nptl/pthread_setattr_default_np.c: Likewise.
2585         * nptl/check-cpuset.h: New file.
2587 2015-01-08  Richard Henderson  <rth@redhat.com>
2589         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2590         (CFLAGS-tst-execstack-prog.c): Likewise.
2591         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2593 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2594             Sandra Loosemore  <sandra@codesourcery.com>
2595             Andrew Jenner  <andrew@codesourcery.com>
2596             Joseph Myers  <joseph@codesourcery.com>
2597             Nathan Sidwell  <nathan@codesourcery.com>
2599         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2600         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2601         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2602         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2603         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2604         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2605         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2606         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2607         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2608         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2609         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2610         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2611         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2612         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2613         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2614         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2615         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2617 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2619         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2620         timespec struct member in syscall macro.
2621         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2622         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2623         first timeval struct member in syscall macro.
2624         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2626 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2628         [BZ #17748]
2629         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2630         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2631         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2632         __feupdateenv and define as weak alias of __feupdateenv.  Use
2633         libm_hidden_weak.
2634         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2635         libm_hidden_def.
2636         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2637         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2638         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2639         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2640         libm_hidden_def.
2641         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2642         __feupdateenv and define as weak alias of __feupdateenv.  Use
2643         libm_hidden_weak.
2644         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2645         libm_hidden_def.
2646         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2647         __feupdateenv and define as weak alias of __feupdateenv.  Use
2648         libm_hidden_weak.
2649         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2650         libm_hidden_def.
2651         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2652         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2653         (__feupdateenv): Likewise.
2654         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2655         __feupdateenv and define as weak alias of __feupdateenv.  Use
2656         libm_hidden_weak.
2657         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2658         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2659         libm_hidden_def.
2660         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2661         function.
2662         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2663         libm_hidden_def.
2664         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2665         __feupdateenv instead of feupdateenv.
2666         (default_libc_feupdateenv_test): Likewise.
2667         (libc_feresetround_ctx): Likewise.
2669 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2671         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2672         prototype.
2674 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2676         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2677         COLL_SYM in a couple of places to avoid uninitialized variable
2678         wanings on tilegx gcc 4.8.2.
2680 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2682         * sysdeps/aarch64/strcpy.S: New file.
2683         * sysdeps/aarch64/stpcpy.S: New file.
2684         * NEWS: Updated.
2686 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2688         * sysdeps/aarch64/strrchr.S: New file.
2689         * NEWS: Updated.
2691 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2693         [BZ #17658]
2694         * stdlib/setenv.c: Fix memory leak when setting large,
2695         duplicate string.
2697 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2699         [BZ #17273]
2700         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2701         and tabs from buffer before parsing fstab entry.
2702         * misc/tst-mntent.c (main): Add test for mount entry with
2703         trailing spaces and tabs.
2705 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2707         [BZ #17748]
2708         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2709         * math/fesetround.c (fesetround): Rename to __fesetround and
2710         define as weak alias of __fesetround.  Use libm_hidden_weak.
2711         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2712         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2713         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2714         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2715         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2716         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2717         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2718         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2719         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2720         __fesetround_inline.
2721         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2722         __fesetround_inline instead of __fesetround.
2723         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2724         __fesetround and define as weak alias of __fesetround.  Use
2725         libm_hidden_weak.  Call __fesetround_inline instead of
2726         __fesetround.
2727         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2728         __fesetround and define as weak alias of __fesetround.  Use
2729         libm_hidden_weak.
2730         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2731         Likewise.
2732         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2733         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2734         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2735         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2736         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2737         __fesetround and define as weak alias of __fesetround.  Use
2738         libm_hidden_weak.
2739         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2740         __fesetround instead of fesetround.
2741         (default_libc_feholdexcept_setround): Likewise.
2742         (libc_feholdsetround_ctx): Likewise.
2743         (libc_feholdsetround_noex_ctx): Likewise.
2745         [BZ #17748]
2746         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2747         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2748         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2749         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2750         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2751         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2752         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2753         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2754         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2755         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2756         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2757         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2758         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2759         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2760         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2761         libm_hidden_def.
2762         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2763         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2764         Likewise.
2765         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2766         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2767         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2768         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2769         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2770         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2771         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2772         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2773         __fesetenv instead of fesetenv.
2774         (libc_feresetround_noex_ctx): Likewise.
2775         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2776         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2777         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2778         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2779         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2780         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2781         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2782         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2783         (__feupdateenv): Likewise.
2784         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2785         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2786         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2787         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2789 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2791         [BZ #17806]
2792         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2793         addresses have been freed.
2795 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2797         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2798         and nservall.
2800 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2802         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2803         Clean up check_pf allocation pattern. addresses
2805 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2807         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2808         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2809         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2810         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2811         * nptl/pthread_join.c (pthread_join): Likewise.
2812         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2813         * sysdeps/posix/waitid.c (__waitid): Likewise.
2814         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2815         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2816         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2817         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2819         Likewise.
2820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2821         (__libc_pread64): Likewise.
2822         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2823         (__libc_pwrite): Likewise.
2824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2825         (__libc_pwrite64): Likewsie.
2826         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2827         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2828         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2829         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2830         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2831         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2832         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2834         Likewise.
2835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2836         (__libc_pread64): Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2838         Likewise.
2839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2840         (__libc_pwrite64): Likewise.
2841         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2842         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2843         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2844         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2845         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2846         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2847         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2848         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2849         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2850         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2851         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2852         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2853         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2854         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2855         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2856         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2857         Likewise.
2859 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2861         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2862         (CFLAGS-test-double.c): Likewise.
2863         (CFLAGS-test-ldouble.c): Likewise.
2864         (CPPFLAGS-test-ifloat.c): Likewise.
2865         (CPPFLAGS-test-idouble.c): Likewise.
2866         (CPPFLAGS-test-ildoubl.c): Likewise.
2867         (CFLAGS-test-test-fenv.c): Remove variable.
2868         (CFLAGS-test-misc.c): Likewise.
2870 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2872         [BZ #17797]
2873         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2874         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2875         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2876         CLOCKS_PER_SEC == 1000000.
2877         * time/clocktest.c (main): Replace %ld with %jd and cast to
2878         intmax_t.
2880 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2882         * sysdeps/generic/unwind-resume.h: New file.
2883         * sysdeps/gnu/unwind-resume.c: Include it.
2884         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2885         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2886         argument list.
2887         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2888         global rather than static.
2889         (_Unwind_Resume): Update user.
2890         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2891         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2892         rather than static.  Add __attribute__ ((cold)).
2893         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2894         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2895         * sysdeps/arm/arm-unwind-resume.S: New file.
2896         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2897         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2898         * sysdeps/arm/Makefile [$(subdir) = csu]
2899         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2900         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2901         Add rt-arm-unwind-resume.
2902         [$(subdir) = nptl]
2903         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2904         Add pt-arm-unwind-resume.
2905         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2906         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2908 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2910         [BZ #17748]
2911         * include/fenv.h (__feholdexcept): Declare.  Use
2912         libm_hidden_proto.
2913         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2914         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2915         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2916         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2917         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2918         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2919         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2920         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2921         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2922         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2923         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2924         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2925         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2926         (feholdexcept): Likewise.
2927         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2928         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2929         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2930         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2931         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2932         __feholdexcept instead of feholdexcept.
2933         (default_libc_feholdexcept_setround): Likewise.
2935 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2937         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2938         to avoid using stl/str to align destination.
2940 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2942         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2944 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2946         [BZ #17796]
2947         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2948         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2949         Define as weak alias not strong alias.
2951 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2953         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2954         bltzal with addiupc.
2955         (RTLD_START): Ditto.
2957 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2959         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2960         for __vdso_* functions in declarations.
2961         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2962         definitions.
2963         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2964         INTERNAL_VSYSCALL): Use struct return types to check for error.
2966         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2967         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2968         function with cast from llround().
2969         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2970         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2971         Define.
2973 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2975         [BZ #17793]
2976         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2977         Define as weak alias not strong alias.
2979         [BZ #17635]
2980         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2981         ...
2982         * ctype/ctype-extn.c: ... here.
2983         (__isblank_l): Move to ...
2984         * ctype/ctype-c99_l.c: ... here.  New file.
2985         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2986         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2987         Remove variable.
2988         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2989         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2990         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2991         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2992         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2994         [BZ #17777]
2995         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2996         (posix_fadvise64): Define as weak alias not strong alias.
2997         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2998         (posix_fallocate64): Likewise.
2999         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3000         Remove variable.
3001         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3002         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3003         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3004         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3005         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3007 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3009         [BZ #16191]
3010         * NEWS: Mention bug fix.
3011         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3012         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3013         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3014         (HOST_STACK_END_ADDR): Likewise.
3016 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3018         [BZ #17748]
3019         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3020         * math/fegetround.c (fegetround): Rename to __fegetround and
3021         define as weak alias of __fegetround.  Use libm_hidden_weak.
3022         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3023         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3024         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3025         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3026         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3027         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3028         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3029         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3030         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3031         Undefine after rather than before function definition; use
3032         parentheses around function name in definition.
3033         (__fegetround): Also undefine macro after function definition.
3034         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3035         __fegetround and define as weak alias of __fegetround.  Use
3036         libm_hidden_weak.  Do not undefine as macro.
3037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3038         Likewise.
3039         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3040         __fegetround and define as weak alias of __fegetround.  Use
3041         libm_hidden_weak.
3042         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3043         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3044         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3045         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3046         __fegetround and define as weak alias of __fegetround.  Use
3047         libm_hidden_weak.
3048         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3049         __fegetround instead of fegetround.
3051         [BZ #17782]
3052         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3053         Condition macro definition on [__USE_MISC].
3055         [BZ #17781]
3056         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3057         (struct sigaction): Change type of sa_flags field to int.
3059         [BZ #17780]
3060         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3061         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3062         __glibc_reserved0.
3064         * nptl/version.c (banner): Use single year in copyright notice.
3066         * NEWS: Update copyright dates.
3067         * catgets/gencat.c (print_version): Likewise.
3068         * csu/version.c (banner): Likewise.
3069         * debug/catchsegv.sh: Likewise.
3070         * debug/pcprofiledump.c (print_version): Likewise.
3071         * debug/xtrace.sh (do_version): Likewise.
3072         * elf/ldconfig.c (print_version): Likewise.
3073         * elf/ldd.bash.in: Likewise.
3074         * elf/pldd.c (print_version): Likewise.
3075         * elf/sotruss.sh: Likewise.
3076         * elf/sprof.c (print_version): Likewise.
3077         * iconv/iconv_prog.c (print_version): Likewise.
3078         * iconv/iconvconfig.c (print_version): Likewise.
3079         * locale/programs/locale.c (print_version): Likewise.
3080         * locale/programs/localedef.c (print_version): Likewise.
3081         * login/programs/pt_chown.c (print_version): Likewise.
3082         * malloc/memusage.sh (do_version): Likewise.
3083         * malloc/memusagestat.c (print_version): Likewise.
3084         * malloc/mtrace.pl: Likewise.
3085         * manual/libc.texinfo: Likewise.
3086         * nptl/version.c (banner): Likewise.
3087         * nscd/nscd.c (print_version): Likewise.
3088         * nss/getent.c (print_version): Likewise.
3089         * nss/makedb.c (print_version): Likewise.
3090         * posix/getconf.c (main): Likewise.
3091         * scripts/test-installation.pl: Likewise.
3092         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3094 2015-01-02  Will Newton  <will.newton@linaro.org>
3096         * sysdeps/arm/armv7/configure: Removed.
3097         * sysdeps/arm/armv7/configure.ac: Likewise.
3099 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3101         * All files with FSF copyright notices: Update copyright dates
3102         using scripts/update-copyrights.
3103         * intl/plural.c: Regenerated.
3104         * locale/programs/charmap-kw.h: Likewise.
3105         * locale/programs/locfile-kw.h: Likewise.
3107 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3109         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3111 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3113         [BZ #17748]
3114         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3115         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3116         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3117         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3118         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3119         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3120         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3121         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3122         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3123         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3124         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3125         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3126         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3127         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3128         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3129         libm_hidden_def.
3130         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3131         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3132         Likewise.
3133         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3134         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3135         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3136         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3137         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3138         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3139         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3140         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3141         __fegetenv instead of fegetenv.
3142         (libc_feholdsetround_noex_ctx): Likewise.
3144 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3146         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3147         (Elf_MIPS_ABIFlags_v0): New structure.
3148         (EF_MIPS_FP64): Define.
3149         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3150         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3151         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3152         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3153         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3154         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3155         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3156         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3157         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3158         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3159         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3160         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3161         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3162         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3163         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3164         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3165         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3166         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3167         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3168         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3169         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3170         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3171         field.
3172         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3173         EF_MIPS_FP64.
3174         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3175         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3176         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3177         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3178         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3179         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3180         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3181         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3182         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3183         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3184         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3185         record the current FP ABI extension.
3186         (mips-mode-switch): Define to show if kernel headers support mode
3187         switching.
3188         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3189         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3190         supported SYSV ABI version to 3.
3191         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3192         feature.
3194 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3197         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3198         path.
3199         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3201 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3203         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3204         __fegetround and redefine to call __fegetround.  Remove condition
3205         on [!__NO_MATH_INLINES].
3206         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3207         function.
3208         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3209         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3210         Remove macro.
3211         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3212         instead of <fenv_libc.h>.
3213         (__llrintl): Call fegetround instead of __fegetround.
3214         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3215         instead of <fenv_libc.h>.
3216         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3217         (__lrintl): Call fegetround instead of __fegetround.
3218         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3219         instead of <fenv_libc.h>.
3220         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3221         (__rintl): Call fegetround instead of __fegetround.
3223 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3225         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3226         arrays.
3228 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3230         [BZ #17775]
3231         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3232         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3233         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3235 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3237         * sysdeps/i386/tls-macros.h: Include <features.h>.
3238         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3239         (TLS_IE): Likewise.
3240         (TLS_LD): Likewise.
3241         (TLS_GD): Likewise.
3242         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3243         define for GCC >= 5.0.
3245 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3247         * math/test-fenv.c (test_single_exception, set_single_exc,
3248         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3249         feexcp_mask_test, feenable_test, fe_single_test): Add
3250         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3251         case where they are not used.
3252         * math/libm-test.inc: Likewise.
3253         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3254         unused in the absence of FP rounding/exception support.
3255         * stdio-common/tst-printf-round.c: Likewise.
3256         * stdlib/tst-strtod-round.c: Likewise.
3257         * stdlib/tst-strtod-underflow.c: Likewise.
3259 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3261         [BZ #17723]
3262         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3263         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3264         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3265         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3266         libm_hidden_weak.
3267         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3268         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3269         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3270         libm_hidden_def.
3271         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3272         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3273         libm_hidden_weak.
3274         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3275         Likewise.
3276         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3277         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3278         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3279         libm_hidden_weak.
3280         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3281         libm_hidden_def.
3282         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3283         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3284         (__feraiseexcept): Likewise.
3285         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3286         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3287         libm_hidden_weak.
3288         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3289         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3290         libm_hidden_def.
3291         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3292         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3293         Use libm_hidden_def.
3294         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3295         libm_hidden_def.
3296         (feraiseexcept): Define as weak not strong alias.  Use
3297         libm_hidden_weak.
3298         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3299         New inline function.  Factored out of ...
3300         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3301         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3302         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3303         feraiseexcept.
3304         * math/w_acos.c (__acos): Likewise.
3305         * math/w_asin.c (__asin): Likewise.
3306         * math/w_ilogb.c (__ilogb): Likewise.
3307         * math/w_j0.c (y0): Likewise.
3308         * math/w_j1.c (y1): Likewise.
3309         * math/w_jn.c (yn): Likewise.
3310         * math/w_log.c (__log): Likewise.
3311         * math/w_log10.c (__log10): Likewise.
3312         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3313         * sysdeps/aarch64/fpu/math_private.h
3314         (libc_feupdateenv_test_aarch64): Likewise.
3315         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3316         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3317         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3318         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3319         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3320         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3321         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3322         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3323         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3324         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3326 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3328         [BZ #17732]
3329         * io/test-utime.c (main): Replace %ld with %jd and cast to
3330         intmax_t.
3331         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3332         * nptl/tst-mutex5.c: Include <stdint.h>.
3333         (do_test): Replace %ld with %jd and cast to intmax_t.
3334         * posix/tst-regex.c (run_test): Likewise.
3335         (run_test_backwards): Likewise.
3336         * rt/tst-clock.c: Include <stdint.h>.
3337         (clock_test): Replace %ld with %jd and cast to intmax_t.
3338         * rt/tst-cpuclock1.c: Include <stdint.h>.
3339         (do_test): Replace %lu with %ju and cast to uintmax_t.
3340         * rt/tst-cpuclock2.c: Include <stdint.h>.
3341         (do_test): Replace %lu with %ju and cast to uintmax_t.
3342         * rt/tst-mqueue1.c: Include <stdint.h>.
3343         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3344         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3345         intmax_t.
3346         * rt/tst-mqueue4.c (do_test): Likewise.
3347         * rt/tst-timer4.c: Include <stdint.h>.
3348         (check_ts): Replace %ld with %jd and cast to intmax_t.
3349         (do_test): Likewise.
3350         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3351         and cast to intmax_t.
3352         * sysdeps/pthread/tst-timer.c (main): Likewise.
3353         * time/clocktest.c (main): Likewise.
3354         * time/tst-posixtz.c (do_test): Likewise.
3355         * timezone/tst-timezone.c (main): Likewise.
3357 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3358             H.J. Lu  <hongjiu.lu@intel.com>
3360         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3361         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3362         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3363         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3364         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3365         version if bit_Fast_Unaligned_Load is set.
3366         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3367         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3368         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3369         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3370         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3371         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3373         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3374         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3375         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3376         to 4.
3377         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3378         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3379         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3380         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3382 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3384         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3385         instead of #if to avoid a Wundef warning.
3386         * stdlib/tst-limits.c (do_test): Likewise.
3388         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3389         parallel other exception macros.
3390         (fegetenv): Convert from macro to extern inline so that it applies
3391         retroactively to inline functions already seen by the compiler.
3392         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3394         * posix/Makefile (before-compile): Use $(objpfx) for
3395         posix-conf-vars-def.h.
3397 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3399         * posix/getconf.c (main): Use size_t for type of I.
3400         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3401         NSPEC.
3403         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3404         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3405         * posix/posix-envs.def: Likewise.
3406         * sysdeps/posix/sysconf.c: Likewise.
3407         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3408         (specs): Remove array.
3409         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3410         array.
3412         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3413         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3414         (__sysconf): Use CONF_IS_* macros.
3416         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3417         ($(objpfx)posix-conf-vars-def.h): New target.
3418         * posix/posix-conf-vars.list: New file.
3419         * posix/posix-conf-vars.h: New file.
3420         * posix/confstr.c: Include posix-conf-vars.h.
3421         (confstr): Use CONF_IS_* macros.
3422         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3423         CONF_IS_* macros.
3424         * scripts/gen-posix-conf-vars.awk: New file.
3426 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3428         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3429         fegetround): Add no-op macros to avoid linknamespace issues.
3431         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3432         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3434         * sysdeps/unix/sysv/linux/tile/sysdep.h
3435         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3436         assembly-specific section to avoid a redefinition warning.
3438         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3439         long before casting to pointer to avoid a cast warning.
3441 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3443         * sysdeps/tile/tilegx/Implies: New file.
3445 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3447         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3449 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3451         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3453 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3456         not define.
3457         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3458         <kernel-features.h>.
3459         (__utimes) [__NR_utimes]: Make code unconditional.
3460         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3461         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3462         (__ASSUME_UTIMES): Do not undefine.
3463         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3464         (__ASSUME_UTIMES): Likewise.
3465         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3466         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3467         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3468         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3470 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3472         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3474 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3476         [BZ #17747]
3477         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3478         alias to weak alias for j0l, y0l.
3479         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3480         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3482         [BZ #17746]
3483         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3484         conversion.
3486 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3488         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3489         to zero if not already defined.
3491 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3493         [BZ #17724]
3494         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3495         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3496         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3497         (char *) casts added.
3498         * sysdeps/ieee754/k_standardf.c: New file.
3499         * sysdeps/ieee754/k_standardl.c: Likewise.
3500         * math/Makefile (libm-support): Remove k_standard.
3501         (libm-calls): Add k_standard.
3503 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3505         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3506         Optimize to avoid an unnecessary FPCR read.
3508 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3510         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3511         Optimize to reduce FPCR/FPSR accesses.
3513 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3515         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3516         Call libc_fetestexcept_aarch64.
3518 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3520         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3521         Call libc_fesetround_aarch64.
3523 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3525         [BZ #17733]
3526         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3527         (__bind): Do not define as weak alias.
3528         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3529         define.
3530         (__getsockname): Do not define as weak alias.
3532 2014-12-22  Will Newton  <will.newton@linaro.org>
3534         * manual/install.texi: Document that we require bison 2.7
3535         or above.
3536         * INSTALL: Regenerate.
3537         * configure.ac: Use AC_CHECK_PROG_VER instead of
3538         AC_PATH_PROG when checking for bison and check for
3539         version 2.7 or above.
3540         * configure: Regenerate.
3542 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3544         [BZ #17745]
3545         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3546         * sysdeps/tile/ffsll.c (ffsll): To here.
3548         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3550 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3552         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3553         if not defined.
3554         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3555         definition.
3556         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3557         hidden ___tls_get_addr.
3558         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3559         hidden __tls_get_addr.
3560         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3561         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3562         Likewise.
3564 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3566         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3567         _dl_init call.
3569 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3571         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3572         from "call _dl_init@PLT".
3573         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3575 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3577         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3578         guarantees.
3580 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3582         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3584 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3586         [BZ #17744]
3587         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3588         strnlen.
3590 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3592         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3593         of multu on MIPSr6.
3594         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3595         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3596         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3597         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3598         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3600 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3602         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3603         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3604         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3605         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3606         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3607         mips32r6/mips64r6.
3608         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3610 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3612         * string/strncat.c (STRNCAT): Simplify implementation.
3614 2014-12-19  David S. Miller  <davem@davemloft.net>
3616         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3617         access the quad as both a long double and as a series of 4 words.
3619         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3620         link_map->l_info array access.
3622 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3624         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3626         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3627         * math/atest-exp2.c (TIMEOUT): Likewise.
3628         * math/atest-sincos.c (TIMEOUT): Likewise.
3630 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3632         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3633         -Wno-error with -fno-builtin-lround.
3635 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3637         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3638         Contains futex constants and functions moved over from ...
3639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3640         <lowlevellock-futex.h>.
3641         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3642         (lll_timedwait_tid): Add comments and parentheses around macro
3643         arguments.
3645 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3647         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3648         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3649         (__lll_private_flag): Remove.
3650         (lll_futex_wait): Likewise.
3651         (lll_futex_timed_wait): Likewise.
3652         (lll_futex_wake): Likewise.
3653         (lll_futex_requeue): Likewise.
3654         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3655         (__lll_timedwait_tid): Spell out argument names.
3656         (lll_timedwait_tid): Add comments and parentheses around macro
3657         arguments.
3658         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3659         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3661 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3663         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3664         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3665         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3666         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3667         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3668         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3669         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3670         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3671         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3673         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3677         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3678         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3679         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3680         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3681         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3683 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3685         * sysdeps/x86_64/x32/Makefile: New file.
3687 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3689         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3690         1L with (mp_limb_t) 1.
3692 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3694         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3695         * nptl/libc_pthread_init.c: ... here.
3696         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3697         * nptl/register-atfork.c: ... here.
3699         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3700         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3701         Use assert_perror to check its return value.
3702         (__gai_create_helper_thread): Likewise.
3704         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3706         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3708 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3710         [BZ #17725]
3711         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3712         __profil_counter.
3713         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3714         Likewise.
3715         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3716         Likewise.
3717         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3718         Likewise.
3719         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3720         (profil_counter): Likewise.
3721         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3722         (profil_counter): Likewise.
3723         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3724         Likewise.
3725         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3726         Likewise.
3727         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3728         (profil_counter): Likewise.
3729         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3730         Likewise.
3731         [!__profil_counter] (profil_counter): Define as weak alias of
3732         __profil_counter.
3733         * sysdeps/unix/sysv/linux/sparc/sparc32/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/unix/sysv/linux/sparc/sparc64/profil-counter.h
3738         (profil_counter): Rename to __profil_counter.
3739         [!__profil_counter] (profil_counter): Define as weak alias of
3740         __profil_counter.
3741         * sysdeps/posix/profil.c: Update comment referring to
3742         profil_counter.
3743         (__profil): Use __profil_counter instead of profil_counter.
3744         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3745         __profil_counter.  Use __profil_counter_ushort and
3746         __profil_counter_uint in definitions.
3747         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3748         instead of profil_counter_uint and profil_counter_ushort.
3750         [BZ #17722]
3751         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3752         define as weak alias of __inet_makeaddr.
3753         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3754         as weak alias of __inet_addr.
3755         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3756         as weak alias of __inet_pton.  Use libc_hidden_weak.
3757         * include/arpa/inet.h (__inet_pton): Declare.  Use
3758         libc_hidden_proto.
3759         (inet_makeaddr): Don't use libc_hidden_proto.
3760         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3761         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3762         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3763         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3764         Remove variable.
3765         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3766         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3768 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3770         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3772 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3774         * stdio-common/bug-vfprintf-nargs.c (do_test):
3775         Cast value to intptr_t to avoid format warning
3776         for usage with PRIdPTR printing macro.
3778 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3780         * libio/tst-widetext.c (do_test):
3781         Use format type %td instead of %Zd for ptrdiff_t
3782         in order to avoid format warning.
3784 2014-12-17  Andreas Schwab  <schwab@suse.de>
3786         * nscd/mem.c (gc): Add size_t cast to match printf format.
3788 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3790         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3791         (init): Apply PTR_MANGLE to pointers before storing them.
3792         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3793         before using them.
3795 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3797         [BZ #17719]
3798         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3799         define as weak alias of __memrchr.
3800         (__memrchr): Do not define as strong alias of memrchr.
3801         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3802         Remove variable.
3803         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3804         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3805         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3807         [BZ #17717]
3808         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3809         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3810         (if_indextoname): Rename to __if_indextoname and define as weak
3811         alias of __if_indextoname.  Use libc_hidden_weak.
3812         (if_freenameindex): Rename to __if_freenameindex and define as
3813         weak alias of __if_freenameindex.
3814         (if_nameindex): Rename to __if_nameindex and define as weak alias
3815         of __if_nameindex.
3816         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3817         __if_nametoindex and define as weak alias of __if_nametoindex.
3818         Use libc_hidden_weak.
3819         (if_freenameindex): Rename to __if_freenameindex and define as
3820         weak alias of __if_freenameindex.
3821         (if_nameindex): Rename to __if_nameindex and define as weak alias
3822         of __if_nameindex.
3823         (if_indextoname): Rename to __if_indextoname and define as weak
3824         alias of __if_indextoname.  Use libc_hidden_weak.
3825         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3826         __if_nametoindex and define as weak alias of __if_nametoindex.
3827         Use libc_hidden_weak.
3828         (if_freenameindex): Rename to __if_freenameindex and define as
3829         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3830         (if_nameindex_netlink): Use __if_freenameindex instead of
3831         if_freenameindex.
3832         (if_nameindex): Rename to __if_nameindex and define as weak alias
3833         of __if_nameindex.  Use libc_hidden_weak.
3834         (if_indextoname): Rename to __if_indextoname and define as weak
3835         alias of __if_indextoname.  Use libc_hidden_weak.
3836         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3837         libc_hidden_proto.
3838         [!_ISOMAC] (__if_freenameindex): Likewise.
3839         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3840         if_nametoindex.
3841         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3842         variable.
3843         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3844         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3845         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3846         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3847         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3848         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3849         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3851         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3852         Remove variable.
3853         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3854         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3856 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3858         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3859         subscript above bounds'
3861         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3862         bounds.
3864 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3866         * libio/tst-fopenloc.c: Use test-skeleton.c.
3868         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3869         (entry): Rename to ITEM.
3870         (do_test, comp): Adjust.
3872         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3874 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3876         * string/tester.c: Include <libc-internal.h>.
3877         (test_memset): Ignore -Wmemset-transposed-args.
3879 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3881         * misc/tst-mntent2.c (do_test): Fix warning.
3883 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3885         * elf/tst-unique4lib.cc(a): Mark as used.
3887 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3889         [BZ #17630]
3890         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3891         names.
3893 2014-12-16  Allan McRae  <allan@archlinux.org>
3895         * stdio-common/Makefile (tests): Re-add bug26.
3897 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3899         [BZ #17657]
3900         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3901         static array.
3903 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3905         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3906         (__lll_lock_wait): Likewise.
3907         (__lll_timedlock_wait): Likewise.
3908         (__lll_timedwait_tid): Likewise.
3909         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3910         (__lll_robust_timedlock_wait): Likewise.
3911         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3912         (lll_cond_trylock): Likewise.
3913         (__lll_lock): Likewise.
3914         (__lll_robust_lock): Likewise.
3915         (__lll_cond_lock): Likewise.
3916         (lll_robust_cond_lock): Likewise.
3917         (__lll_timedlock): Likewise.
3918         (__lll_robust_timedlock): Likewise.
3919         (__lll_unlock): Likewise.
3920         (__lll_robust_unlock): Likewise.
3921         (lll_wait_tid): Likewise.
3922         (lll_timedwait_tid): Likewise.
3924 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3926         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3928 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3930         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3932 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3934         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3935         * stdio-common/tst-sprintf.c: Likewise.
3937 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3939         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3941 2014-12-15  Jeff Law  <law@redhat.com>
3943         [BZ #16617]
3944         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3945         on the heap.  (CVE-2012-3406)
3946         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3947         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3948         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3950 2014-12-15  Will Newton  <will.newton@linaro.org>
3952         * manual/install.texi: Bump required version of texinfo
3953         to 4.7 from 4.5.
3954         * INSTALL: Regenerated.
3955         * configure.ac: Check for makeinfo version 4.7 and above.
3956         * configure: Regenerated.
3958 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3960         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3961         PREFIX, string constant to insert between directory and name.
3962         * sysdeps/posix/shm_open.c: Update caller.
3963         * sysdeps/posix/shm_unlink.c: Likewise.
3964         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3965         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3966         (SEM_SHM_PREFIX): New macro.
3967         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3968         [$(have-thread-library) = no].
3969         * nptl/Makefile (libpthread-routines): Add shm-directory.
3970         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3971         * sysdeps/nptl/shm-directory.h: New file.
3972         * sysdeps/posix/shm-directory.c
3973         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3974         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3975         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3976         INTERNAL_SYSCALL.
3977         (__where_is_shmfs): Function removed.
3978         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3979         Variables removed.
3980         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3981         Use SHM_GET_NAME.
3982         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3984         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3985         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3986         unconditional for use inside libpthread.
3987         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3989 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3991         * nptl/pthread_getaffinity.c: New file.
3992         * nptl/pthread_setaffinity.c: New file.
3993         * nptl/pthread_getname.c: New file.
3994         * nptl/pthread_setname.c: New file.
3996         * nptl/pthread_create.c (START_THREAD_DEFN)
3997         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3999 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4000             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4002         * resolv/res_send.c (send_vc): Disable warning resplen may
4003         be used uninitialized.
4005 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4007         * nptl/tst-mutex6.c
4008         (ATTR_NULL): New define checks ATTR against NULL.
4009         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4010         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4012 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4014         [BZ #17581]
4015         * malloc/hooks.c
4016         (mem2mem_check): Revert my previous change.
4017         (malloc_check_get_size): Revert my previous change.
4018         (mem2chunk_check): Revert my previous change.
4020 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4022         * sysdeps/posix/shm-directory.c: New file.
4023         * sysdeps/posix/shm-directory.h: New file.
4024         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4025         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4026         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4027         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4028         Transmute EPERM to EACCES.
4029         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4030         from ...
4031         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4032         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4034 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4036         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4037         pointer and cast to uintptr_t.
4038         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4040         Add cast to avoid warning.
4041         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4043 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4045         * nptl/semaphore.h: Move to ...
4046         * sysdeps/pthread/semaphore.h: ... here.
4047         * Makefile (installed-headers): Change nptl/semaphore.h to
4048         sysdeps/pthread/semaphore.h.
4050 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4052         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4053         generated error format strings.
4055         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4056         -Wformat-extra-args warnings for scanf formats.
4057         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4058         test of zero-length format (duh).
4059         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4060         corner-case scanf format test.
4061         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4062         generated fprintf format string.
4063         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4064         corner-case sprintf format tests.
4065         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4066         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4067         -Wformat-extra-args warnings throughout.
4068         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4069         (CFLAGS-scanf4.c): Likewise.
4070         (CFLAGS-scanf7.c): Likewise.
4071         (CFLAGS-tst-sprintf.c): Likewise.
4072         (CFLAGS-tst-printf.c): Likewise.
4073         (CFLAGS-tst-printfsz.c): Likewise.
4075 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4077         * include/cpio.h: New file.
4078         * include/fmtmsg.h: Likewise.
4080         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4081         corresponding format argument to size_t.
4082         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4083         arguments.
4084         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4085         corresponding format argument to size_t.
4086         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4087         arguments.
4088         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4089         corresponding format argument to size_t.
4090         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4091         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4092         (CFLAGS-tst-mbswcs2.c): Likewise.
4093         (CFLAGS-tst-mbswcs3.c): Likewise.
4094         (CFLAGS-tst-mbswcs4.c): Likewise.
4095         (CFLAGS-tst-mbswcs5.c): Likewise.
4096         (CFLAGS-tst-trans.c): Likewise
4098 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4100         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4101         rather than assuming they won't contain any '%'s.
4103 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4105         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4106         inhibit_loop_to_libcall to avoid recursive calls.
4107         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4108         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4110 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4112         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4113         prototype.
4115 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4117         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4118         integer value instead of boolean.
4120 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4122         * malloc/malloc.c: Fix powerof2 check.
4124 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4126         * locale/programs/locfile.h (maybe_swap_uint32):
4127         Remove inline and add unused attribute.
4129 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4131         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4132         Truncating assembler expression to a .long expression.
4134 2014-12-11  Andreas Schwab  <schwab@suse.de>
4136         * elf/rtld.c (struct map_args): Constify str member.
4137         (do_preload): Constify fname argument.
4139 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4142         constants definition.
4144 2014-12-11  Andreas Schwab  <schwab@suse.de>
4146         [BZ #16657]
4147         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4148         FORCE_ELISION instead of DO_ELISION.
4149         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4150         Remove.
4151         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4152         Likewise.
4154         * iconvdata/gconv-modules: Remove duplicate entry.
4156 2014-12-11  Will Newton  <will.newton@linaro.org>
4158         Merge gettext 0.19.3 into intl/.
4160         This involves a number of cosmetic changes to comments
4161         and ANSI function definitions and prototypes throughout
4162         all the files. The gettext copyright header is used but
4163         with the date ranges taken from the glibc copy.
4165         * NEWS: Add gettext merge to 2.21.
4166         * intl/bindtextdom.c: Switch to gettext copyright.
4167         Use ANSI definitions and prototypes.
4168         Use gl_* locking primitives rather than __libc_* ones.
4169         Use __builtin_expect rather than __glibc_likely/unlikely.
4170         * intl/dcgettext.c: Switch to gettext copyright.
4171         Use ANSI definitions and prototypes.
4172         * intl/dcigettext.c: Switch to gettext copyright.
4173         Use ANSI definitions and prototypes.
4174         (INTDIV0_RAISES_SIGFPE): New define.
4175         Use gl_* locking primitives rather than __libc_* ones.
4176         Include eval-plural.h instead of plural-eval.c.
4177         Use __builtin_expect rather than __glibc_likely/unlikely.
4178         * intl/dcngettext.c: Switch to gettext copyright.
4179         Use ANSI definitions and prototypes.
4180         * intl/dgettext.c: Likewise.
4181         * intl/dngettext.c: Likewise.
4182         * intl/plural-eval.c: Renamed to...
4183         * intl/eval-plural.h: ...this.
4184         * intl/explodename.c: Switch to gettext copyright.
4185         Use ANSI definitions and prototypes.
4186         (_nl_explode_name): Use strchr instead of __rawmemchr.
4187         * intl/finddomain.c: Switch to gettext copyright.
4188         Use ANSI definitions and prototypes.
4189         Use gl_* locking primitives rather than __libc_* ones.
4190         (_nl_find_domain): Use malloc rather than alloca for
4191         allocation of temporary locale name.
4192         * intl/gettext.c: Switch to gettext copyright.
4193         Use ANSI definitions and prototypes.
4194         * intl/gettextP.h: Switch to gettext copyright.
4195         Use ANSI definitions and prototypes.
4196         Use gl_* locking primitives rather than __libc_* ones.
4197         * intl/gmo.h: Switch to gettext copyright.
4198         (struct sysdep_string): Move struct segment_pair outside of
4199         struct definition.
4200         * intl/hash-string.c: Use ANSI definitions and prototypes.
4201         * intl/hash-string.h: Switch to gettext copyright.
4202         Use ANSI definitions and prototypes.
4203         * intl/l10nflist.c: Switch to gettext copyright.
4204         Use ANSI definitions and prototypes.
4205         (_nl_normalize_codeset): Avoid integer overflow.
4206         * intl/loadinfo.h: Switch to gettext copyright.
4207         Use ANSI definitions and prototypes.
4208         (LIBINTL_DLL_EXPORTED): New define.
4209         (PATH_SEPARATOR): New define.
4210         * intl/loadmsgcat.c: Switch to gettext copyright.
4211         * intl/localealias.c: Switch to gettext copyright.
4212         Use ANSI definitions and prototypes.
4213         (_nl_expand_alias): Use PATH_SEPARATOR.
4214         * intl/ngettext.c: Switch to gettext copyright.
4215         Use ANSI definitions and prototypes.
4216         * intl/plural-exp.c: Likewise.
4217         * intl/plural-exp.h: Switch to gettext copyright.
4218         Use ANSI definitions and prototypes.
4219         (struct expression): Move definition of enum operator outside
4220         of struct definition.
4221         * intl/plural.c: Regenerate.
4222         * intl/plural.y: Switch to gettext copyright.
4223         Use ANSI definitions and prototypes.
4224         Port to bison 3.0.
4225         * intl/textdomain.c: Switch to gettext copyright.
4226         Use ANSI definitions and prototypes.
4227         Use gl_* locking primitives rather than __libc_* ones.
4229 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4231         * debug/warning-nop.c: Add used atrribute.
4233 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4235         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4237         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4238         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4239         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4241 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4242             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4244         [BZ #17634]
4245         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4246         Undefine after defining function.  Define as weak alias of
4247         __wcschr.  Use libc_hidden_weak.
4248         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4249         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4250         (libc_hidden_def): Also define __GI___wcschr alias.
4251         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4252         __wcschr and define as weak alias of __wcschr.
4253         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4254         __wcschr.
4255         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4256         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4257         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4258         libc_hidden_weak.  Do not use libc_hidden_def.
4259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4260         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4261         __GI___wcschr alias.
4262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4263         [IS_IN (libc)] (wcschr): Define as macro expanding to
4264         __redirect_wcschr.
4265         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4266         [IS_IN (libc)] (__wcschr_power6): Likewise.
4267         [IS_IN (libc)] (__wcschr_power7): Likewise.
4268         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4269         instead of wcschr.
4270         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4271         __libc_wcschr.
4272         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4273         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4274         __wcschr and define as weak alias of __wcschr.  Use
4275         libc_hidden_builtin_def.
4276         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4277         as weak alias of __wcschr.  Use libc_hidden_weak.
4278         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4279         wcschr.
4280         * time/era.c (_nl_init_era_entries): Likewise.
4281         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4282         variable.
4283         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4284         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4286 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4288         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4289         format for long int variable.
4291 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4293         [BZ #10672]
4294         * manual/search.texi: (Array Sort Function): Remove claim how to make
4295         qsort stable.
4297 2014-12-10  Andreas Schwab  <schwab@suse.de>
4299         [BZ #12847]
4300         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4301         user-controlled locks.
4303 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4305         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4306         register.
4308 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4310         * configure.ac (--disable-werror): New configure option.
4311         (enable_werror): New AC_SUBST.
4312         * configure: Regenerated.
4313         * config.make.in (enable-werror): New variable.
4314         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4315         -Wno-error=undef.
4316         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4317         * manual/install.texi (Configuring and compiling): Document
4318         --disable-werror.
4319         * INSTALL: Regenerated.
4320         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4321         (CFLAGS-tst-chk2.c): Likewise.
4322         (CFLAGS-tst-chk3.c): Likewise.
4323         (CFLAGS-tst-chk4.cc): Likewise.
4324         (CFLAGS-tst-chk5.cc): Likewise.
4325         (CFLAGS-tst-chk6.cc): Likewise.
4326         (CFLAGS-tst-lfschk1.c): Likewise.
4327         (CFLAGS-tst-lfschk2.c): Likewise.
4328         (CFLAGS-tst-lfschk3.c): Likewise.
4329         (CFLAGS-tst-lfschk4.cc): Likewise.
4330         (CFLAGS-tst-lfschk5.cc): Likewise.
4331         (CFLAGS-tst-lfschk6.cc): Likewise.
4333         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4334         (main): Disable -Wdeprecated-declarations around calls to
4335         register_printf_function.
4337         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4338         (do_test): Disable -Wdiv-by-zero around some calls to
4339         fwrite_unlocked and fread_unlocked.
4341         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4342         (DIAG_POP_NEEDS_COMMENT): Likewise.
4343         (_DIAG_STR1): Likewise.
4344         (_DIAG_STR): Likewise.
4345         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4346         * stdio-common/bug21.c: Include <libc-internal.h>.
4347         (do_test): Disable -Wformat around call to sscanf.
4348         * stdio-common/scanf14.c: Include <libc-internal.h>.
4349         (main): Disable -Wformat around some calls to scanf functions.
4351 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4353         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4355 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4357         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4358         stack variable alignment.
4360 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4362         [BZ #17682]
4363         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4364         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4365         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4366         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4367         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4368         __getrlimit instead of getrlimit.
4369         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4370         __gettimeofday instead of gettimeofday.
4371         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4372         Likewise.
4373         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4374         Likewise.
4375         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4376         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4377         Remove variable.
4378         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4379         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4381 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4383         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4384         for wide-character tests.
4386 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4388         * io/openat64.c: #include <libc-internal.h>
4389         (__openat64): Prototypify.  Use ignore_value on MODE.
4390         * io/openat.c: Likewise.
4391         * misc/reboot.c: #include <libc-internal.h>
4392         (reboot): Prototypify.  Use ignore_value on HOWTO.
4393         * misc/ptrace.c: #include <libc-internal.h>
4394         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4396 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4398         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4399         XPG4, UNIX98 and XOPEN2K.
4400         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4401         Remove variable.
4402         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4404 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4406         * libio/fileops.c: Use ISO C style for function definitions.
4407         * libio/iofopen.c: Likewise.
4408         * libio/wfileops.c: Likewise.
4410         [BZ #17653]
4411         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4412         offset on EOF.
4413         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4414         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4415         (fgets_func): Function pointer to fgets and fgetws.
4416         (do_ftell_test): Add test to verify ftell value after read
4417         EOF.
4418         (do_test): Set fgets_func.
4420         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4421         O_TRUNC flag for w and w+ modes.
4422         (do_rewind_test): Likewise.
4423         (do_ftell_test): Likewise.
4424         (do_write_test): Likewise.
4426         [BZ #17647]
4427         * libio/fileops.c (do_ftell): Seek only when there are
4428         unflushed writes.
4429         * libio/wfileops.c (do_ftell_wide): Likewise.
4430         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4431         test case.
4432         (do_one_test): Call it.
4434 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4436         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4437         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4438         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4439         Remove variable.
4440         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4441         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4442         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4444 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4446         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4447         Remove variable.
4448         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4450         [BZ #17668]
4451         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4452         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/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4456         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4457         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4458         __freeifaddrs.  Use libc_hidden_weak.
4459         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4460         __getifaddrs and define as weak alias of __getifaddrs.  Use
4461         libc_hidden_weak.
4462         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4463         __freeifaddrs.  Use libc_hidden_weak.
4464         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4465         Remove variable.
4466         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4467         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4469 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4471         [BZ #17601]
4472         * sysdeps/mips/start.S (__start): Use indirect jump to call
4473         __libc_start_main.
4475 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4477         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4479         * nptl/tst-mutex1.c: Include <stdbool.h>.
4480         [!ATTR] (ATTR_NULL): New macro.
4481         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4482         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4483         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4485         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4486         to char *.
4488         [BZ #17665]
4489         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4490         Change conditional to [__USE_MISC].
4492         [BZ #17664]
4493         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4494         fgets_unlocked.
4495         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4496         __fgets_unlocked.
4497         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4498         fgets_unlocked.
4499         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4500         Remove variable.
4501         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4502         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4503         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4504         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4505         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4506         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4507         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4508         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4509         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4511         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4513 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4516         Remove strpbrk objects.
4517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4518         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4519         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4521         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4522         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4525         Remove strcspn objects.
4526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4527         (__libc_ifunc_impl_list): Remove strcspn implementation.
4528         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4529         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4530         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4531         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4533         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4534         Remove strspn objetcs.
4535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4536         (__libc_ifunc_impl_list): Remove strspn implementation.
4537         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4538         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4539         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4540         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4542 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4544         [BZ #17581]
4545         * malloc/hooks.c
4546         (mem2mem_check): Add a terminator to the chain of checking blocks.
4547         (malloc_check_get_size): Use it here.
4548         (mem2chunk_check): Ditto.
4550 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4552         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4553         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4555 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4557         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4559         * nptl/nptl-init.c: Include libc-internal.h.
4560         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4562         * elf/ldconfig.c (search_dir): Expand comment.
4564 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4566         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4567         variable.
4568         (linknamespace-symlist-stdlibs-tests): Likewise.
4569         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4570         instead of $(objpfx)symlist-stdlibs.
4571         (linknamespace-libs-isoc): New variable.
4572         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4573         (linknamespace-libs-ISO): New variable.
4574         (linknamespace-libs-ISO99): Likewise.
4575         (linknamespace-libs-ISO11): Likewise.
4576         (linknamespace-libs-XPG3): Likewise.
4577         (linknamespace-libs-XPG4): Likewise.
4578         (linknamespace-libs-POSIX): Likewise.
4579         (linknamespace-libs-UNIX98): Likewise.
4580         (linknamespace-libs-XOPEN2K): Likewise.
4581         (linknamespace-libs-POSIX2008): Likewise.
4582         (linknamespace-libs-XOPEN2K8): Likewise.
4583         ($(objpfx)symlist-stdlibs): Replace by
4584         $(linknamespace-symlist-stdlibs-tests).  Use
4585         $(linknamespace-libs-$*) as set of libraries.
4586         ($(linknamespace-header-tests)): Update dependencies.  Use
4587         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4588         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4589         * conform/linknamespace.pl: Remove comment about considering
4590         definitions of symbols from irrelevant libraries.
4592 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4594         [BZ #13862]
4595         * elf/dl-tls.c: Include <atomic.h>.
4596         (oom): Remove #ifdef SHARED/#endif.
4597         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4598         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4599         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4600         big enough.
4601         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4602         * nptl/Makefile (tests): Add tst-stack4.
4603         (modules-names): Add tst-stack4mod.
4604         ($(objpfx)tst-stack4): New.
4605         (tst-stack4mod.sos): Likewise.
4606         ($(objpfx)tst-stack4.out): Likewise.
4607         ($(tst-stack4mod.sos)): Likewise.
4608         (clean): Likewise.
4609         * nptl/tst-stack4.c: New file.
4610         * nptl/tst-stack4mod.c: Likewise.
4612 2014-11-27  J. Brown  <jb999@gmx.de>
4614         * sysdeps/x86/bits/string.h: Add recent CPUs.
4616 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4618         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4619         sigblock.
4621         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4622         feof.
4624         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4625         variable.
4627 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4629         * nscd/connections.c: Include libc-internal.h because of macro
4630         usage ignore_value.
4632 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4634         * string/bits/string3.h (__warn_memset_zero_len): Don't
4635         declare for gcc newer than 5.0.
4636         (memset): Don't test for zero-length __LEN for gcc newer than
4637         5.0.
4639 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4641         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4642         size_t for %zu format.
4644         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4645         difference, not %ju.
4647 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4649         * include/libc-internal.h (ignore_value): New macro.
4650         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4651         with ignore_value.
4653         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4654         definition.
4656         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4657         pthread_cleanup_push to void *.
4659         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4660         Undefine.
4662         [BZ #16619]
4663         [BZ #16740]
4664         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4665         instead of 1L << 52.
4667         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4668         * libio/bug-rewind2.c (do_test): Likewise.
4670         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4671         * debug/test-strcpy_chk-ifunc.c: Likewise.
4672         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4673         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4674         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4675         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4676         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4677         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4678         * Rules [$(multi-arch) = no] (tests): Do not filter out
4679         $(tests-ifunc).
4680         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4681         * debug/Makefile (tests-ifunc): Remove variable.
4682         (tests): Do not add $(tests-ifunc).
4683         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4684         (tests): Do not add $(tests-ifunc).
4685         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4686         [TEST_IFUNC]: Remove conditionals.
4687         * string/test-string.h (TEST_IFUNC): Remove macro.
4688         [TEST_IFUNC]: Remove conditionals.
4690         * string/test-strchr.c [!WIDE] (L): New macro.
4691         [WIDE] (L): Likewise.
4692         (check1): Use CHAR instead of char.  Use L on string and character
4693         constants.
4695 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4697         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4698         tests.
4699         * sysdeps/powerpc/bits/atomic.h
4700         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4701         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4702         (atomic_exchange_and_add_acq): Likewise.
4703         (atomic_exchange_and_add_rel): Likewise.
4704         * sysdeps/powerpc/powerpc32/bits/atomic.h
4705         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4706         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4707         * sysdeps/powerpc/powerpc64/bits/atomic.h
4708         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4709         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4711 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4713         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4714         Change synchronization of __sched_fifo_min_prio and
4715         __sched_fifo_max_prio.
4716         * nptl/pthread_mutexattr_getprioceiling.c
4717         (pthread_mutexattr_getprioceiling): Likewise.
4718         * nptl/pthread_mutexattr_setprioceiling.c
4719         (pthread_mutexattr_setprioceiling): Likewise.
4720         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4721         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4722         Likewise.
4724 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4726         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4727         void.
4729 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4731         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4732         third argument const.
4734 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4736         fnmatch: work around GCC compiler warning bug with uninit var
4737         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4738         This works around a bug with x86-64 GCC 4.9.2 and earlier
4739         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4740         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4741         used uninitialized in this function [-Wmaybe-uninitialized]".
4743 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4745         * posix/bug-regex31.c (main): Return RES not 0.
4747 2014-11-25  Anton Blanchard <anton@samba.org>
4749         * sysdeps/powerpc/bits/atomic.h
4750         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4752 2014-11-24  Sterling Augustine  <saugustine@google.com>
4754         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4756 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4758         [BZ #17608]
4759         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4761 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4763         [BZ #17633]
4764         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4765         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4766         variable.
4767         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4768         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4770 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4772         * string/strncpy.c (strncpy): Improve performance by using memset.
4774 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4776         * string/strcpy.c (strcpy):
4777         Improve performance by using strlen and memcpy.
4779 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4781         * string/strcoll_l.c (get_next_seq): __always_inline.
4782         * string/strcoll_l.c (do_compare): __always_inline.
4784 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4786         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4787         defined.
4788         * include/mqueue.h: Likewise.
4789         * include/stdlib.h: Likewise.
4791         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4792         (get_null_defines): Adjust.
4793         * sunrpc/Makefile: Adjust comment.
4794         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4795         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4796         (CFLAGS-interp.c): Likewise.
4797         (CFLAGS-ldconfig.c): Likewise.
4798         (CPPFLAGS-.os): Likewise.
4799         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4800         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4801         * extra-modules.mk (extra-modules.mk): Likewise.
4802         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4803         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4804         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4805         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4806         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4807         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4808         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4809         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4810         * iconvdata/Makefile (CPPFLAGS): Likewise.
4811         (cpp-srcs-left): Add libof for all iconvdata routines.
4812         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4813         * include/assert.h: Likewise.
4814         * include/ctype.h: Likewise.
4815         * include/errno.h: Likewise.
4816         * include/libc-symbols.h: Likewise.
4817         * include/math.h: Likewise.
4818         * include/netdb.h: Likewise.
4819         * include/resolv.h: Likewise.
4820         * include/stdio.h: Likewise.
4821         * include/stdlib.h: Likewise.
4822         * include/string.h: Likewise.
4823         * include/sys/stat.h: Likewise.
4824         * include/wctype.h: Likewise.
4825         * intl/l10nflist.c: Likewise.
4826         * libidn/idn-stub.c: Likewise.
4827         * libio/libioP.h: Likewise.
4828         * nptl/libc_multiple_threads.c: Likewise.
4829         * nptl/pthreadP.h: Likewise.
4830         * posix/regex_internal.h: Likewise.
4831         * resolv/res_hconf.c: Likewise.
4832         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4833         * sysdeps/arm/memmove.S: Likewise.
4834         * sysdeps/arm/sysdep.h: Likewise.
4835         * sysdeps/generic/_itoa.h: Likewise.
4836         * sysdeps/generic/symbol-hacks.h: Likewise.
4837         * sysdeps/gnu/errlist.awk: Likewise.
4838         * sysdeps/gnu/errlist.c: Likewise.
4839         * sysdeps/i386/i586/memcpy.S: Likewise.
4840         * sysdeps/i386/i586/memset.S: Likewise.
4841         * sysdeps/i386/i686/memcpy.S: Likewise.
4842         * sysdeps/i386/i686/memmove.S: Likewise.
4843         * sysdeps/i386/i686/mempcpy.S: Likewise.
4844         * sysdeps/i386/i686/memset.S: Likewise.
4845         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4846         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4847         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4848         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4849         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4850         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4851         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4852         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4853         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4854         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4855         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4856         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4857         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4858         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4859         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4860         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4861         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4862         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4863         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4864         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4865         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4866         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4867         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4868         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4869         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4871         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4872         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4873         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4874         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4875         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4876         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4878         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4879         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4880         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4881         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4882         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4883         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4884         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4885         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4886         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4887         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4888         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4889         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4890         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4891         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4892         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4893         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4894         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4895         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4896         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4897         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4898         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4899         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4900         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4901         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4902         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4903         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4904         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4905         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4906         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4907         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4908         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4909         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4910         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4911         * sysdeps/posix/closedir.c: Likewise.
4912         * sysdeps/posix/opendir.c: Likewise.
4913         * sysdeps/posix/readdir.c: Likewise.
4914         * sysdeps/posix/rewinddir.c: Likewise.
4915         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4916         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4917         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4918         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4919         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4920         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4921         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4926         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4927         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4928         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4929         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4930         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4931         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4932         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4933         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4934         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4935         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4936         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4937         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4943         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4950         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4951         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4952         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4953         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4954         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4955         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4956         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4957         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4958         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4959         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4960         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4961         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4962         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4964         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4965         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4966         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4969         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4972         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4973         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4974         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4975         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4976         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4978         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4979         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4980         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4981         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4982         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4983         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4984         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4985         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4986         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4987         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4988         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4989         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4990         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4991         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4992         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4993         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4994         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4995         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4996         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4997         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4998         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4999         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5000         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5001         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5002         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5003         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5004         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5005         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5006         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5007         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5009         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5011         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5013         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5014         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5015         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5016         * sysdeps/unix/alpha/sysdep.S: Likewise.
5017         * sysdeps/unix/alpha/sysdep.h: Likewise.
5018         * sysdeps/unix/make-syscalls.sh: Likewise.
5019         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5021         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5022         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5023         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5024         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5025         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5026         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5027         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5028         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5029         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5030         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5032         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5034         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5035         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5036         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5037         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5038         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5039         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5040         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5041         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5042         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5043         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5044         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5048         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5049         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5053         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5054         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5057         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5058         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5059         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5060         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5061         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5062         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5063         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5064         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5066         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5069         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5070         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5071         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5072         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5073         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5075         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5077         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5078         * sysdeps/x86_64/memcpy.S: Likewise.
5079         * sysdeps/x86_64/memmove.c: Likewise.
5080         * sysdeps/x86_64/memset.S: Likewise.
5081         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5082         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5083         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5084         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5085         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5086         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5087         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5088         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5089         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5090         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5091         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5092         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5093         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5094         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5095         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5096         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5097         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5098         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5099         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5100         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5101         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5102         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5103         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5104         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5105         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5106         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5107         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5108         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5109         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5110         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5111         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5112         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5113         * sysdeps/x86_64/strcmp.S: Likewise.
5115         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5117         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5118         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5119         * elf/rtld-Rules: Likewise.
5120         * elf/setup-vdso.h: Likewise.
5121         * include/assert.h: Likewise.
5122         * include/bits/stdlib-float.h: Likewise.
5123         * include/errno.h: Likewise.
5124         * include/sys/stat.h: Likewise.
5125         * include/unistd.h: Likewise.
5126         * sysdeps/aarch64/setjmp.S: Likewise.
5127         * sysdeps/alpha/setjmp.S: Likewise.
5128         * sysdeps/arm/__longjmp.S: Likewise.
5129         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5130         * sysdeps/arm/setjmp.S: Likewise.
5131         * sysdeps/arm/sysdep.h: Likewise.
5132         * sysdeps/generic/_itoa.h: Likewise.
5133         * sysdeps/generic/dl-sysdep.h: Likewise.
5134         * sysdeps/generic/ldsodefs.h: Likewise.
5135         * sysdeps/i386/dl-tls.h: Likewise.
5136         * sysdeps/i386/setjmp.S: Likewise.
5137         * sysdeps/m68k/setjmp.c: Likewise.
5138         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5139         * sysdeps/mach/hurd/opendir.c: Likewise.
5140         * sysdeps/posix/getcwd.c: Likewise.
5141         * sysdeps/posix/opendir.c: Likewise.
5142         * sysdeps/posix/profil.c: Likewise.
5143         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5144         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5146         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5147         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5148         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5149         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5150         * sysdeps/s390/dl-tls.h: Likewise.
5151         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5152         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5153         * sysdeps/sh/sh3/setjmp.S: Likewise.
5154         * sysdeps/sh/sh4/setjmp.S: Likewise.
5155         * sysdeps/unix/alpha/sysdep.h: Likewise.
5156         * sysdeps/unix/arm/sysdep.S: Likewise.
5157         * sysdeps/unix/i386/sysdep.S: Likewise.
5158         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5159         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5160         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5161         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5163         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5164         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5165         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5166         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5167         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5168         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5169         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5173         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5176         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5177         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5178         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5181         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5182         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5183         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5185         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5186         * sysdeps/x86_64/setjmp.S: Likewise.
5188         * include/math.h: Use IS_IN instead of IS_IN_libm.
5189         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5191         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5192         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5193         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5194         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5195         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5197         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5198         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5199         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5200         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5201         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5202         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5203         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5204         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5205         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5206         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5207         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5208         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5209         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5210         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5211         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5212         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5213         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5214         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5215         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5216         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5217         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5218         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5219         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5220         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5221         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5223         Likewise.
5224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5225         Likewise.
5226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5227         Likewise.
5228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5229         Likewise.
5230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5231         Likewise.
5232         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5233         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5234         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5235         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5236         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5237         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5243         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5244         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5245         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5246         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5247         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5248         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5249         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5250         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5251         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5252         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5253         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5254         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5256         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5258         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5260         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5261         * nptl/pthreadP.h: Likewise.
5262         * nptl_db/structs.def: Likewise.
5263         * sysdeps/arm/sysdep.h: Likewise.
5264         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5265         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5266         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5267         * sysdeps/unix/alpha/sysdep.h: Likewise.
5268         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5270         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5271         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5272         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5273         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5274         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5275         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5276         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5277         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5278         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5279         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5280         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5281         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5286         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5288         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5289         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5290         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5291         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5292         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5293         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5295         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5296         * nptl/pthreadP.h: Likewise.
5297         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5298         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5299         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5300         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5301         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5302         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5303         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5304         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5305         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5306         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5307         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5308         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5310         Likewise.
5311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5312         Likewise.
5313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5315         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5318         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5319         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5320         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5322         * dlfcn/dladdr.c: Use IS_IN.
5323         * dlfcn/dladdr1.c: Likewise.
5324         * dlfcn/dlclose.c: Likewise.
5325         * dlfcn/dlerror.c: Likewise.
5326         * dlfcn/dlinfo.c: Likewise.
5327         * dlfcn/dlmopen.c: Likewise.
5328         * dlfcn/dlopen.c: Likewise.
5329         * dlfcn/dlsym.c: Likewise.
5330         * dlfcn/dlvsym.c: Likewise.
5332         * include/ifaddrs.h: Use IS_IN.
5333         * inet/check_pf.c: Likewise.
5334         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5335         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5337         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5338         IS_IN_ldconfig.
5339         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5340         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5342         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5343         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5344         IS_IN (libc).
5346         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5348         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5349         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5350         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5351         * include/libc-symbols.h (IS_IN_LIB): New macro.
5352         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5353         * include/netdb.h: Likewise.
5354         * include/stap-probe.h: Remove all uses of IN_LIB.
5356         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5357         instead of IN_MODULE.
5358         * include/libc-symbols.h (IN_MODULE): Define using
5359         MODULE_NAME.
5360         (PASTE_NAME, PASTE_NAME1): New macros.
5361         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5362         of IN_LIB.
5363         (STAP_PROBE_ASM): Likewise.
5365 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5367         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5368         __mach_init in dlopened libc.
5370 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5372         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5373         * sysdeps/arm/preconfigure: Regenerate.
5375 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5377         * nptl/pthread_create.c (__pthread_create_2_1): Set
5378         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5379         when copying values from IATTR into PD.
5381 2014-11-21  Will Newton  <will.newton@linaro.org>
5382             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5384         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5385         Refactor inline-asm.  Also add comment.
5387         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5388         ElfW macro instead of hardcoded Elf64 types.
5389         (la_aarch64_gnu_pltenter): Likewise.
5390         * sysdeps/aarch64/dl-machine.h
5391         (elf_machine_runtime_setup): Use ElfW(Addr).
5393         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5394         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5395         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5396         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5397         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5398         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5399         (R_AARCH64_TLS_DTPMOD): This.
5400         (R_AARCH64_TLS_DTPREL64): Rename to ...
5401         (R_AARCH64_TLS_DTPREL): This.
5402         (R_AARCH64_TLS_TPREL64): Rename to ...
5403         (R_AARCH64_TLS_TPREL): This.
5404         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5405         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5406         R_AARCH64_TLS_TPREL64.
5407         (elf_machine_rela): Likewise.
5409 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5411         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5412         by setting it to 0.  64b atomics are not supported currently.
5414 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5416         [BZ #16469]
5417         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5418         search domain names.
5420 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5422         [BZ #16469]
5423         * NEWS: Update.
5424         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5425         trailing dot.
5426         * posix/tst-getaddrinfo5.c: New.
5427         * posix/Makefile (tests): Add it.
5429 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5431         [BZ #14498]
5432         * NEWS: Fixed.
5433         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5434         after parsing line but before break_if_match.
5435         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5436         if there is a protocol mismatch.
5438 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5440         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5441         because the potential race is on the user-supplied stream.
5443 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5445         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5446         string literal if not passed a buffer.
5447         * manual/job.texi (ctermid): Update reasoning, note deviation
5448         from posix, suggest mtasurace when not passed a buffer, for
5449         future non-preliminary safety notes.
5451 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5453         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5454         of not passing it a buffer.
5455         Reported by Peng Haitao.
5457 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5459         * manual/Makefile ($(objpfx)stamp-summary): Require
5460         check-safety.sh to pass.
5461         * manual/check-safety.sh: Wish for verification that every
5462         @deftypefn and @deftypefun is followed by a @safety remark.
5464 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5466         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5468         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5469         PTHREAD_CANCEL_ASYNCHRONOUS.
5470         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5471         send SIGCANCEL.
5473         * nptl/default-sched.h: New file.
5474         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5475         * nptl/pthread_create.c: Include it.
5476         (__pthread_create_2_1): Use collect_default_sched instead of making
5477         Linux syscalls here directly.
5479 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5481         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5482         __pthread_once): Use C11 atomics.
5484 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5486         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5488 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5490         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5491         atomic_thread_fence_acquire, atomic_thread_fence_release,
5492         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5493         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5494         atomic_compare_exchange_weak_relaxed,
5495         atomic_compare_exchange_weak_acquire,
5496         atomic_compare_exchange_weak_release,
5497         atomic_exchange_acquire, atomic_exchange_release,
5498         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5499         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5500         atomic_fetch_and_acquire,
5501         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5503 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5505         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5506         USE_ATOMIC_COMPILER_BUILTINS): Define.
5507         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5509         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5511         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5513         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5515         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5517         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5519         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5521         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5523         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5525         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5527         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5529         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5530         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5531         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5533         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5535         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5537         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5539         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5541         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5542         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5543         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5545         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5548 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5550         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5551         the sched_priority value here.  It was already checked when the user
5552         called pthread_attr_setschedparam.
5554         * nptl/tst-bad-schedattr.c: New file.
5555         * nptl/Makefile (tests): Add it.
5557 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5558             Florian Weimer  <fweimer@redhat.com>
5559             Joseph Myers  <joseph@codesourcery.com>
5560             Adam Conrad  <adconrad@0c3.net>
5561             Andreas Schwab  <schwab@suse.de>
5562             Brooks  <bmoses@google.com>
5564         [BZ #17625]
5565         * wordexp-test.c (__dso_handle): Add prototype.
5566         (__register_atfork): Likewise.
5567         (__app_register_atfork): New function.
5568         (registered_forks): New global.
5569         (register_fork): New function.
5570         (test_case): Add 3 new tests for WRDE_CMDSUB.
5571         (main): Call __app_register_atfork.
5572         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5573         fork count is non-zero fail the test.
5574         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5575         is set.
5576         (parse_dollars): Remove check for WRDE_NOCMD.
5577         (parse_dquote): Likewise.
5579 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5581         * Makeconfig (built-modules): List non-library modules to be
5582         built.
5583         (module-cppflags): Include libc-modules.h for
5584         everything except shlib-versions.v.i.
5585         (CPPFLAGS): Use it.
5586         (before-compile): Add libc-modules.h.
5587         ($(common-objpfx)libc-modules.h,
5588         $(common-objpfx)libc-modules.stmp): New targets.
5589         (common-generated): Add libc-modules.h and libc-modules.stmp.
5590         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5591         * include/libc-symbols.h: Don't include libc-modules.h.
5592         * include/libc-modules.h: Remove file.
5593         * scripts/gen-libc-modules.awk: New script to generate
5594         libc-modules.h.
5595         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5596         Depend on libc-modules.stmp.
5598         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5600         * Makeconfig (in-module): Get value of libof set for the
5601         translation unit.
5602         (CPPFLAGS): Use $(in-module).
5603         * Makerules: Don't suffix routine names for nonlib.
5604         * include/libc-modules.h: New file.
5605         * include/libc-symbols.h: Include libc-modules.h
5606         (IS_IN): New macro to replace IS_IN_* macros.
5607         * elf/Makefile: Set libof-* for each routine.
5608         * elf/rtld-Rules: Likewise.
5609         * extra-modules.mk: Likewise.
5610         * iconv/Makefile: Likewise.
5611         * iconvdata/Makefile: Likewise.
5612         * locale/Makefile: Likewise.
5613         * malloc/Makefile: Likewise.
5614         * nss/Makefile: Likewise.
5615         * sysdeps/gnu/Makefile: Likewise.
5616         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5617         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5618         * sysdeps/s390/s390-64/Makefile: Likewise.
5619         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5620         CPPFLAGS for nscd instead of nonlib.
5622 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5624         * nptl/createthread.c: New file.
5626         * nptl/createthread.c: Moved ...
5627         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5629         * nptl/createthread.c: Add proper top-line comment.
5630         (do_clone): Folded into ...
5631         (create_thread): ... here.  Take new arguments STOPPED_START and
5632         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5633         increment __nptl_threads, do event-reporting logic, do
5634         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5635         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5636         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5637         just send SIGCANCEL.
5638         * nptl/pthread_create.c: Forward-declare create_thread before
5639         including createthread.c.
5640         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5641         declaration, and new macro START_THREAD_SELF to replace argument.
5642         Remove return statement.
5643         (report_thread_creation): New function.
5644         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5645         synchronization logic, and __nptl_nthreads increment here, around
5646         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5647         PD->parent_cancelhandling here, before create_thread.  When
5648         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5649         __deallocate_stack, and ENOMEM translation here.
5651 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5653         [BZ #17616]
5654         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5655         (mptwo): Rename to __mptwo.
5656         (__inv): Use __mptwo instead of mptwo.
5657         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5658         (mptwo): Rename to __mptwo.
5659         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5660         of mpone and __mptwo instead of mptwo.
5661         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5662         instead of mpone.
5663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5664         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5665         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5666         of mpone and __mptwo instead of mptwo.
5667         (__mpranred): Use __mpone instead of mpone.
5668         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5669         variable.
5670         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5671         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5672         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5673         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5674         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5675         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5676         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5677         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5678         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5679         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5680         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5681         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5682         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5683         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5684         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5685         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5686         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5687         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5688         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5690 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5692         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5693         replace BSD Handler xref with BSD Signal Handling.
5695 2014-11-17  Richard Henderson  <rth@redhat.com>
5697         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5698         (_FP_PACK_RAW_2): Remove.
5699         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5700         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5701         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5702         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5703         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5704         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5705         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5706         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5707         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5708         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5709         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5710         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5711         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5712         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5713         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5714         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5716 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5718         * signal/signal.h [__USE_MISC]
5719         (struct sigvec): Remove type.
5720         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5721         (sigvec): Remove declaration.
5722         * sysdeps/posix/sigvec.c: Moved ...
5723         * signal/sigvec.c: ... here, replacing old file.
5724         (struct sigvec): New type, copied from old signal.h definition.
5725         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5726         (__sigvec): Convert definition to prototype.
5727         (sigvec): Replace weak_alias with compat_symbol.
5728         * signal/Versions (libc: GLIBC_2.21): New version set.
5729         * include/signal.h: Remove __sigvec declaration.
5730         * sysdeps/unix/bsd/sigvec.c: Remove file.
5731         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5732         * manual/signal.texi (BSD Handler): Remove subsection.
5733         Move siginterrupt up to ...
5734         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5735         (Blocking in BSD): Fold subsection into its parent.
5736         * NEWS: Mention sigvec removal.
5738 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5740         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5741         (DLA_FMS): Make definition conditional only on [__FMA4__].
5742         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5743         definition.
5745         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5746         Make definition conditional only on [PROF].
5747         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5748         definition.
5749         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5750         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5752         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5753         !__GNUC__].
5754         * include/signal.h (__sigpause): Move declaration above call to
5755         libc_hidden_proto.
5756         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5757         variable.
5758         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5759         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5761 2014-11-14  David S. Miller  <davem@davemloft.net>
5763         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5764         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5766 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5768         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5769         * configure: Regenerated.
5770         * manual/install.texi (Tools for Compilation): Document a
5771         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5772         compiler verified to work.
5773         * INSTALL: Regenerated.
5775         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5776         redeclare with asm name.
5777         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5778         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5779         including <string.h>.
5780         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5781         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5782         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5783         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5784         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5785         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5786         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5788 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5790         * stdlib/strtol.c (__strtol): Use prototype definition.
5792         [BZ #17594]
5793         * stdlib/strtol.c (SYM__): New macro.
5794         (SYM__1): Likewise.
5795         (__strtol): Likewise.
5796         (strtol): Rename to __strtol and define as weak alias of
5797         __strtol.  Use libc_hidden_weak.
5799 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5801         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5802         Use numbered labels in inline assembly.
5804 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5806         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5807         Add setjmp LIBC_PROBE.
5808         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5809         Likewise.
5810         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5811         Add longjmp, longjmp_target LIBC_PROBE.
5812         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5813         Likewise.
5815 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5818         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5819         to get rid of unused variable warning.
5821 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5823         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5824         Check for unwind_backtrace ==  NULL only in SHARED case.
5825         (__backchain_backtrace): Compile only in SHARED case.
5826         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5827         Likewise.
5828         (__backchain_backtrace): Declare as static.
5830 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5832         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5833         (__libc_multiple_threads_ptr): Variable moved ...
5834         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5836 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5838         * conform/GlibcConform.pm: New file.
5839         * conform/conformtest.pl: Use GlibcConform module.
5840         * conform/linknamespace.pl: New file.
5841         * conform/list-header-symbols.pl: Likewise.
5842         * conform/Makefile (linknamespace-symlists-base): New variable.
5843         (linknamespace-symlists-tests): Likewise.
5844         (linknamespace-header-base): Likewise.
5845         (linknamespace-header-tests): Likewise.
5846         (tests-special): Add new tests.
5847         ($(linknamespace-symlists-tests)): New rule.
5848         (linknamespace-libs): New variable.
5849         ($(objpfx)symlist-stdlibs): New rule.
5850         ($(linknamespace-header-tests)): Likewise.
5851         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5852         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5853         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5854         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5855         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5856         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5857         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5858         (test-xfail-ISO/math.h/linknamespace): Likewise.
5859         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5860         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5861         (test-xfail-ISO/time.h/linknamespace): Likewise.
5862         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5863         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5864         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5865         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5866         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5867         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5868         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5869         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5870         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5871         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5872         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5873         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5874         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5875         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5876         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5877         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5878         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5879         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5880         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5881         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5882         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5883         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5884         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5885         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5886         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5887         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5888         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5889         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5890         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5891         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5892         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5893         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5894         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5895         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5896         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5897         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5898         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5899         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5900         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5901         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5902         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5903         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5904         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5905         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5906         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5907         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5908         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5909         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5910         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5911         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5912         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5913         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5914         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5915         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5916         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5917         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5918         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5919         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5920         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5921         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5922         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5923         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5924         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5925         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5926         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5927         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5928         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5929         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5930         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5931         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5932         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5933         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5934         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5935         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5936         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5937         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5938         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5939         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5940         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5941         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5942         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5943         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5944         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5945         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5946         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5947         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5948         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5949         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5950         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5951         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5952         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5953         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5954         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5955         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5956         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5957         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5958         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5959         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5960         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5961         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5962         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5963         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5964         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5965         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5966         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5967         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5968         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5969         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5970         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5971         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5972         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5973         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5974         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5975         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5976         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5977         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5978         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5979         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5980         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5981         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5982         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5983         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5984         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5985         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5986         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5987         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5988         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5989         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5990         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5991         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5992         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5993         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5994         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5995         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5996         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5997         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5998         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5999         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6000         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6001         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6002         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6003         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6004         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6005         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6006         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6007         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6008         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6009         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6010         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6011         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6013         [BZ #17589]
6014         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6015         of fgets_unlocked.
6017         [BZ #17585]
6018         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6019         (memmem): Rename to __memmem and define as weak alias of
6020         __memmem.  Use libc_hidden_weak.
6021         (__memmem): Use libc_hidden_def.
6022         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6023         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6024         memmem.
6026         [BZ #17582]
6027         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6028         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6029         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6030         and define as weak alias of __fgets_unlocked.  Use
6031         libc_hidden_weak.
6032         (__fgets_unlocked): Use libc_hidden_def.
6033         * include/stdio.h (__fgets_unlocked): Declare.  Use
6034         libc_hidden_proto.
6035         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6036         __fgets_unlocked instead of fgets_unlocked.
6037         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6038         (GET_NPROCS_CONF_PARSER): Likewise.
6039         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6040         (GET_NPROCS_CONF_PARSER): Likewise.
6042         [BZ #17574]
6043         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6044         weak alias of __wmemset.  Use libc_hidden_weak.
6045         (__wmemset): Use libc_hidden_def.
6046         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6047         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6048         of wmemset.
6050         [BZ #17573]
6051         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6052         with asm name __mempcpy.
6053         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6055         [BZ #17572]
6056         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6057         and define as weak alias of __rawmemchr.
6058         (__rawmemchr): Do not define as strong alias of rawmemchr.
6060         [BZ #17571]
6061         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6062         alias of __qsort_r.
6063         (qsort): Call __qsort_r instead of qsort_r.
6064         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6065         (__qsort_r): Declare.  Call libc_hidden_proto.
6066         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6067         instead of qsort_r.
6068         * nscd/gai.c (__qsort_r): Define to qsort_r.
6069         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6070         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6071         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6073         [BZ #17570]
6074         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6075         define as weak alias of __malloc_info.
6077         [BZ #17584]
6078         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6079         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6080         (__rewinddir): Use libc_hidden_def.
6081         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6082         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6083         (__rewinddir): Use libc_hidden_def.
6084         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6085         weak alias of __rewinddir.  Don't use libc_hidden_def.
6086         (__rewinddir): Use libc_hidden_def.
6087         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6088         (__rewinddir): Use libc_hidden_proto.
6089         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6090         rewinddir.
6091         (__getcwd): Use __rewinddir instead of rewinddir.
6093         [BZ #17583]
6094         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6095         alias of __fileno.  Use libc_hidden_weak.
6096         (__fileno): Use libc_hidden_def.
6097         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6098         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6099         alias of __ftello.
6100         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6101         __ftello.
6102         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6103         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6104         libc_hidden_def.
6105         (fread_unlocked): Don't use libc_hidden_ver.
6106         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6107         and define as weak alias of __fread_unlocked.  Don't use
6108         libc_hidden_def.
6109         (__fread_unlocked): Use libc_hidden_def.
6110         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6111         (ftello): Don't use libc_hidden_proto.
6112         (__ftello): Declare.  Use libc_hidden_proto.
6113         (fread_unlocked): Don't use libc_hidden_proto.
6114         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6115         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6116         and __ftello instead of fileno, fread_unlocked and ftello.
6118 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6120         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6121         GOT12.
6122         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6123         Likewise.
6124         (_dl_start_user): Likewise.
6125         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6127 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6128             Siddhesh Poyarekar  <siddhesh@redhat.com>
6130         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6131         Move argv and envp down instead of moving argc up.
6132         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6134 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6136         [BZ #17506]
6137         * test-skeleton.c (main): Return successful if one of
6138         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6139         * string/tst-strcoll-overflow.c: Define expected status.
6141 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6143         [BZ #17475]
6144         * locale/iso-639.def: Define Bhili and Tulu language codes.
6146 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6148         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6150 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6152         [BZ #17555]
6153         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6155 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6157         * configure.ac: Updated check of minimal required version to
6158         2.22.
6159         * manual/install.texi (Tools for Compilation): Updated version
6160         number.
6161         * configure: Regenerated.
6162         * INSTALL: Likewise.
6164 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6166         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6167         __tls_get_addr.
6169 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6171         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6172         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6173         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6174         libc_hidden_weak.
6175         (waitpid): Define as alias of __waitpid.
6176         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6177         __waitpid.
6178         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6179         libc_hidden_weak.
6180         (waitpid): Define as alias of __waitpid.
6181         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6182         __libc_waitpid alias.
6183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6184         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6185         Likewise.
6186         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6187         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6188         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6189         alias.
6190         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6191         __waitpid.
6192         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6193         libc_hidden_weak.
6194         (waitpid): Define as alias of __waitpid.
6196 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6198         * manual/llio.texi: Add comment that write safety has been
6199         fixed in Linux.
6201         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6202         (localplt-build-dso): Add elf/ld.so.
6203         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6204         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6205         and free for ld.so.
6206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6207         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6209         Likewise.
6210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6211         Likewise.
6212         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6213         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6214         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6215         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6216         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6217         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6218         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6219         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6220         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6221         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6222         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6224 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6226         [BZ #14132]
6227         * include/libc-symbols.h (INTUSE): Remove macro.
6228         (INTDEF): Likewise.
6229         (INTVARDEF): Likewise.
6230         (_INTVARDEF): Likewise.
6231         (INTDEF2): Likewise.
6232         (INTVARDEF2): Likewise.
6233         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6234         rtld_hidden_def instead of INTVARDEF.
6235         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6236         (_dl_starting_up_internal): Remove declaration.
6237         (_dl_starting_up): Use rtld_hidden_proto.
6238         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6239         declaration.
6240         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6241         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6242         _dl_starting_up.
6243         * elf/dl-writev.h (_dl_writev): Likewise.
6244         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6245         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6246         _dl_starting_up_internal.
6248 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6250         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6251         test-skeleton.c.
6253 2014-11-05  Will Newton  <will.newton@linaro.org>
6255         * benchtests/Makefile: (bench-malloc): Add malloc thread
6256         scalability benchmark.
6257         * benchtests/bench-malloc-threads.c: New file.
6259 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6261         * sysdeps/aarch64/strchrnul.S: New file.
6263 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6265         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6266         definition.
6267         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6268         Likwise.
6269         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6270         Likewise.
6271         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6272         Likewise.
6273         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6274         Likewise.
6275         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6276         Likewise.
6278 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6280         * catgets/test-gencat.c: Use test-skeleton.c.
6281         * catgets/tst-catgets.c: Likewise.
6282         * csu/tst-empty.c: Likewise.
6283         * elf/tst-audit2.c: Likewise.
6284         * elf/tst-global1.c: Likewise.
6285         * elf/tst-pathopt.c: Likewise.
6286         * elf/tst-piemod1.c: Likewise.
6287         * elf/tst-tls10.c: Likewise.
6288         * elf/tst-tls11.c: Likewise.
6289         * elf/tst-tls12.c: Likewise.
6290         * gnulib/tst-gcc.c: Likewise.
6291         * iconvdata/tst-e2big.c: Likewise.
6292         * iconvdata/tst-loading.c: Likewise.
6293         * iconv/tst-iconv1.c: Likewise.
6294         * iconv/tst-iconv2.c: Likewise.
6295         * inet/test-inet6_opt.c: Likewise.
6296         * inet/tst-gethnm.c: Likewise.
6297         * inet/tst-network.c: Likewise.
6298         * inet/tst-ntoa.c: Likewise.
6299         * intl/tst-codeset.c: Likewise.
6300         * intl/tst-gettext2.c: Likewise.
6301         * intl/tst-gettext3.c: Likewise.
6302         * intl/tst-ngettext.c: Likewise.
6303         * intl/tst-translit.c: Likewise.
6304         * io/test-stat.c: Likewise.
6305         * libio/test-fmemopen.c: Likewise.
6306         * libio/tst-freopen.c: Likewise.
6307         * libio/tst-sscanf.c: Likewise.
6308         * libio/tst-ungetwc1.c: Likewise.
6309         * libio/tst-ungetwc2.c: Likewise.
6310         * libio/tst-widetext.c: Likewise.
6311         * localedata/tst-ctype.c: Likewise.
6312         * localedata/tst-digits.c: Likewise.
6313         * localedata/tst-leaks.c: Likewise.
6314         * localedata/tst-mbswcs1.c: Likewise.
6315         * localedata/tst-mbswcs2.c: Likewise.
6316         * localedata/tst-mbswcs3.c: Likewise.
6317         * localedata/tst-mbswcs4.c: Likewise.
6318         * localedata/tst-mbswcs5.c: Likewise.
6319         * localedata/tst-setlocale.c: Likewise.
6320         * localedata/tst-trans.c: Likewise.
6321         * localedata/tst-wctype.c: Likewise.
6322         * localedata/tst-xlocale1.c: Likewise.
6323         * login/tst-grantpt.c: Likewise.
6324         * malloc/tst-calloc.c: Likewise.
6325         * malloc/tst-malloc.c: Likewise.
6326         * malloc/tst-mallocstate.c: Likewise.
6327         * malloc/tst-mcheck.c: Likewise.
6328         * malloc/tst-mtrace.c: Likewise.
6329         * malloc/tst-obstack.c: Likewise.
6330         * math/atest-exp2.c: Likewise.
6331         * math/atest-exp.c: Likewise.
6332         * math/atest-sincos.c: Likewise.
6333         * math/test-matherr.c: Likewise.
6334         * math/test-misc.c: Likewise.
6335         * math/test-powl.c: Likewise.
6336         * math/tst-definitions.c: Likewise.
6337         * misc/tst-dirname.c: Likewise.
6338         * misc/tst-efgcvt.c: Likewise.
6339         * misc/tst-fdset.c: Likewise.
6340         * misc/tst-hsearch.c: Likewise.
6341         * misc/tst-mntent2.c: Likewise.
6342         * nptl/tst-sem7.c: Likewise.
6343         * nptl/tst-sem8.c: Likewise.
6344         * nptl/tst-sem9.c: Likewise.
6345         * nss/test-netdb.c: Likewise.
6346         * posix/tst-fnmatch.c: Likewise.
6347         * posix/tst-getlogin.c: Likewise.
6348         * posix/tst-gnuglob.c: Likewise.
6349         * posix/tst-mmap.c: Likewise.
6350         * pwd/tst-getpw.c: Likewise.
6351         * resolv/tst-inet_ntop.c: Likewise.
6352         * rt/tst-timer.c: Likewise.
6353         * stdio-common/test-fseek.c: Likewise.
6354         * stdio-common/test-popen.c: Likewise.
6355         * stdio-common/test-vfprintf.c: Likewise.
6356         * stdio-common/tst-cookie.c: Likewise.
6357         * stdio-common/tst-fileno.c: Likewise.
6358         * stdio-common/tst-gets.c: Likewise.
6359         * stdio-common/tst-obprintf.c: Likewise.
6360         * stdio-common/tst-perror.c: Likewise.
6361         * stdio-common/tst-sprintf2.c: Likewise.
6362         * stdio-common/tst-sprintf3.c: Likewise.
6363         * stdio-common/tst-sprintf.c: Likewise.
6364         * stdio-common/tst-swprintf.c: Likewise.
6365         * stdio-common/tst-tmpnam.c: Likewise.
6366         * stdio-common/tst-unbputc.c: Likewise.
6367         * stdio-common/tst-wc-printf.c: Likewise.
6368         * stdlib/tst-environ.c: Likewise.
6369         * stdlib/tst-fmtmsg.c: Likewise.
6370         * stdlib/tst-limits.c: Likewise.
6371         * stdlib/tst-rand48-2.c: Likewise.
6372         * stdlib/tst-rand48.c: Likewise.
6373         * stdlib/tst-random2.c: Likewise.
6374         * stdlib/tst-random.c: Likewise.
6375         * stdlib/tst-strtol.c: Likewise.
6376         * stdlib/tst-strtoll.c: Likewise.
6377         * stdlib/tst-tls-atexit.c: Likewise.
6378         * stdlib/tst-xpg-basename.c: Likewise.
6379         * string/test-ffs.c: Likewise.
6380         * string/tst-bswap.c: Likewise.
6381         * string/tst-inlcall.c: Likewise.
6382         * string/tst-strtok.c: Likewise.
6383         * string/tst-strxfrm.c: Likewise.
6384         * sysdeps/x86_64/tst-audit10.c: Likewise.
6385         * sysdeps/x86_64/tst-audit3.c: Likewise.
6386         * sysdeps/x86_64/tst-audit4.c: Likewise.
6387         * sysdeps/x86_64/tst-audit5.c: Likewise.
6388         * time/tst-ftime_l.c: Likewise.
6389         * time/tst-getdate.c: Likewise.
6390         * time/tst-mktime3.c: Likewise.
6391         * time/tst-mktime.c: Likewise.
6392         * time/tst-posixtz.c: Likewise.
6393         * time/tst-strptime2.c: Likewise.
6394         * time/tst-strptime3.c: Likewise.
6395         * wcsmbs/tst-btowc.c: Likewise.
6396         * wcsmbs/tst-mbrtowc.c: Likewise.
6397         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6398         * wcsmbs/tst-wchar-h.c: Likewise.
6399         * wcsmbs/tst-wcpncpy.c: Likewise.
6400         * wcsmbs/tst-wcrtomb.c: Likewise.
6401         * wcsmbs/tst-wcsnlen.c: Likewise.
6402         * wcsmbs/tst-wcstof.c: Likewise.
6404 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6406         [BZ #14132]
6407         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6408         INTDEF.
6409         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6410         declaration.
6411         (_dl_mcount): Use rtld_hidden_proto.
6412         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6413         _dl_mcount.
6414         * elf/rtld.c (_rtld_global_ro): Likewise.
6416         [BZ #14132]
6417         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6418         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6419         of _dl_init_internal.
6420         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6421         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6422         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6423         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6424         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6425         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6426         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6427         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6428         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6429         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6430         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6431         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6432         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6433         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6434         * sysdeps/tile/dl-start.S (_start): Likewise.
6435         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6436         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6438         [BZ #14132]
6439         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6440         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6441         (rtld_progname): Make macro definition unconditional.
6442         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6443         INTDEF.
6444         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6445         (dl_main): Likewise.
6446         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6447         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6448         instead of _dl_argv_internal.
6449         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6450         __GI__dl_argv instead of INTUSE(_dl_argv).
6451         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6452         __GI__dl_argv instead of _dl_argv_internal.
6454         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6455         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6456         macro.
6457         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6458         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6459         New macro.
6460         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6461         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6462         macro.
6463         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6464         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6466 2014-11-04  Andreas Schwab  <schwab@suse.de>
6468         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6470 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6472         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6473         mtvsrd instruction in binary form.
6475 2014-11-03  Andreas Schwab  <schwab@suse.de>
6477         [BZ #17522]
6478         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6479         for less than MB_LEN_MAX use a local buffer of that size.
6480         * libio/tst-fputws.c: New file.
6481         * libio/Makefile (tests): Add tst-fputws.
6483 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6485         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6486         the size of the fpu_fr.fpu_dregs[] array.
6488 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6490         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6491         (__nanosleep): Do not define as alias.
6492         (nanosleep): Define as alias of __nanosleep.
6493         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6494         __libc_nanosleep name.
6496 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6498         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6499         install.texi in comment.
6501 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6503         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6504         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6505         ... add here and use lwsync or sync ...
6506         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6507         ... and add here using lwsync.
6509 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6511         * elf/dl-machine-reject-phdr.h: New file.
6512         * elf/dl-load.c: #include that.
6513         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6514         if that returned true.
6516 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6518         [BZ #17496]
6519         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6520         gen-as-const-headers chunk.  Add a big scare comment after the last
6521         safe place to touch before-compile.
6523 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6525         * manual/install.texi (Tools for Compilation): Update autoconf
6526         version requirements.
6527         * INSTALL: Regenerated.
6529         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6530         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6531         (__libc_pselect): Likewise.
6533         [BZ #14138]
6534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6539 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6541         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6542         correct barrier instruction.
6543         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6544         Likewise.
6545         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6546         Likewise.
6548 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6550         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6551         after defining inlines.  Instead, just use parens to defeat macro
6552         expansion of __isctype in its declaration.
6554 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6556         * include/sys/uio.h (__libc_readv): Remove declaration.
6557         (__libc_writev): Likewise.
6558         * misc/readv.c (__libc_readv): Rename to __readv.
6559         (__readv): Do not define as alias.
6560         (readv): Define as alias of __readv.
6561         * misc/writev.c (__libc_writev): Rename to __writev.
6562         (__writev): Do not define as alias.
6563         (writev): Define as alias of __writev.
6564         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6565         (__readv): Do not define as alias.
6566         (readv): Define unconditionally as alias of __readv.
6567         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6568         (__writev): Do not define as alias.
6569         (writev): Define unconditionally as alias of __writev.
6570         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6571         name.
6572         (writev): Do not define __libc_writev name.
6574 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6576         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6577         (convert_charseq): New function, broken out of ...
6578         (use_from_charmap): ... here.  Call it.
6579         (use_to_charmap): Use convert_charseq and free instead of duplicating
6580         its code with a variable-length stack struct.
6582 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6584         * include/fcntl.h (__libc_creat): Remove declaration.
6585         * io/creat.c (__libc_creat): Rename to creat.
6586         (creat): Do not define as alias.
6587         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6588         of creat instead of __libc_creat.
6589         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6590         to creat.
6591         (creat): Do not define as alias.
6592         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6593         __libc_creat.
6594         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6595         __libc_creat name.
6596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6597         Likewise.
6599 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6601         * manual/llio.texi: Add comments discussing why write() may be
6602         considered MT-unsafe on Linux.
6604 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6606         * dl-load.c (local_strdup): Remove.
6607         (expand_dynamic_string_token): Use __strdup.
6608         (decompose_rpath): Likewise.
6609         (_dl_map_object): Likewise.
6611 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6613         [BZ #14132]
6614         * sysdeps/generic/unwind-dw2-fde.c
6615         (__register_frame_info_bases_internal): Do not declare.
6616         (__register_frame_info_table_bases_internal): Likewise.
6617         (__deregister_frame_info_bases_internal): Likewise.
6618         (__register_frame_info_bases): Declare and use hidden_proto before
6619         definition.  Use hidden_def instead of INTDEF.
6620         (__register_frame_info_table_bases): Likewise.
6621         (__deregister_frame_info_bases): Likewise.
6622         (__register_frame_info): Do not use INTUSE.
6623         (__register_frame): Likewise.
6624         (__register_frame_info_table): Likewise.
6625         (__register_frame_table): Likewise.
6626         (__deregister_frame_info): Likewise.
6627         (__deregister_frame): Likewise.
6629 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6631         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6632         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6633         not undefine.
6634         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6635         Likewise.
6636         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6637         Likewise.
6639 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6641         [BZ #14138]
6642         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6643         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6644         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6645         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6646         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6647         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6648         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6649         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6650         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6651         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6652         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6653         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6654         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6655         syscall.
6656         (setfsuid): Likewise.
6657         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6658         (setfsuid): Likewise.
6659         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6660         (setfsuid): Likewise.
6661         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6662         Likewise.
6663         (setfsuid): Likewise.
6664         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6665         (setfsuid): Likewise.
6666         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6667         Likewise.
6668         (setfsuid): Likewise.
6670 2014-10-27  Andreas Schwab  <schwab@suse.de>
6672         [BZ #17501]
6673         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6674         check for Slow_SSE4_2 feature bit.
6675         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6676         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6677         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6678         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6680 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6682         * configure.ac: Validate compiler version with a empirical test of
6683         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6684         $CC -v output.
6685         * configure: Regenerated.
6687         * inet/htons.c (htons): Prototypify.
6688         * inet/htonl.c (htonl): Likewise.
6690 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6692         * string/strncat.c (strncat): Improve performance by using strlen.
6694 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6696         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6698 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6700         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6701         Call libc_fetestexcept_aarch64.
6703 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6705         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6706         Call libc_feholdexcept_aarch64.
6708 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6710         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6711         Call get_rounding_mode.
6713 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6715         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6716         Simplify logic.
6718 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6720         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6721         Simplify logic.
6723 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6725         [BZ #14138]
6726         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6727         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6728         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6729         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6730         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6731         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6732         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6733         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6734         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6735         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6736         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6737         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6738         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6739         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6740         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6741         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6742         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6743         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6744         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6745         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6746         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6747         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6748         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6749         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6750         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6751         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6752         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6753         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6754         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6755         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6756         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6757         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6758         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6759         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6760         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6761         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6762         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6763         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6764         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6765         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6766         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6767         syscall.
6768         (geteuid): Likewise.
6769         (getgid): Likewise.
6770         (getuid): Likewise.
6771         (getresgid): Likewise.
6772         (getresuid): Likewise.
6773         (getgroups): Likewise.
6774         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6775         (geteuid): Likewise.
6776         (getgid): Likewise.
6777         (getuid): Likewise.
6778         (getresgid): Likewise.
6779         (getresuid): Likewise.
6780         (getgroups): Likewise.
6781         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6782         (geteuid): Likewise.
6783         (getgid): Likewise.
6784         (getuid): Likewise.
6785         (getresgid): Likewise.
6786         (getresuid): Likewise.
6787         (getgroups): Likewise.
6788         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6789         Likewise.
6790         (geteuid): Likewise.
6791         (getgid): Likewise.
6792         (getuid): Likewise.
6793         (getresgid): Likewise.
6794         (getresuid): Likewise.
6795         (getgroups): Likewise.
6796         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6797         (geteuid): Likewise.
6798         (getgid): Likewise.
6799         (getuid): Likewise.
6800         (getresgid): Likewise.
6801         (getresuid): Likewise.
6802         (getgroups): Likewise.
6803         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6804         Likewise.
6805         (geteuid): Likewise.
6806         (getgid): Likewise.
6807         (getuid): Likewise.
6808         (getgroups): Likewise.
6810         [BZ #14138]
6811         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6812         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6813         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6814         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6815         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6816         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6817         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6818         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6819         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6820         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6821         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6822         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6823         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6824         __chown.
6825         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6826         (lchown): Likewise.
6827         (fchown): Likewise.
6828         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6829         Likewise.
6830         (lchown): Likewise.
6831         (fchown): Likewise.
6832         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6833         (lchown): Likewise.
6834         (fchown): Likewise.
6835         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6836         Likewise.
6837         (lchown): Likewise.
6838         (fchown): Likewise.
6840 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6842         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6843         Simplify logic.
6845 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6847         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6848         Cleanup logic.
6850 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6852         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6853         Remove unused include.
6855 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6857         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6858         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6859         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6860         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6862 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6863             Helge Deller <deller@gmx.de>
6865         [BZ #17508]
6866         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6867         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6868         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6870 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6872         [BZ #14132]
6873         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6874         Remove macro definition.
6875         (__ashrdi3_v_glibc20): Likewise.
6876         (__lshrdi3_v_glibc20): Likewise.
6877         (__cmpdi2_v_glibc20): Likewise.
6878         (__ucmpdi2_v_glibc20): Likewise.
6879         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6880         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6881         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6882         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6883         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6884         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6886 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6888         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6889         old GNU extension [0] syntax.
6890         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6891         alloca rather than an array member with variable length.
6892         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6893         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6894         (parse_opt): ... here.  Likewise use alloca there.
6895         Validate the -i argument before checking for rootness.
6896         (send_shutdown): New function, broken out of ...
6897         (parse_opt): ... here.
6899 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6901         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6902         macro to get at the _rt_local_ro field.
6903         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6904         ([PIC] case) or _dl_hwcap ([!PIC] case).
6905         * sysdeps/arm/setjmp.S: Likewise.
6907         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6908         * sysdeps/arm/configure.ac: New check to define it.
6909         * sysdeps/arm/configure: Regenerated.
6910         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6911         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6912         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6913         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6914         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6915         Use move/movt pair instead of a load.
6916         (LDST_GLOBAL): Macro removed.
6917         (LDR_GLOBAL): New macro replaces it.
6918         (LDR_HIDDEN): New macro.
6919         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6920         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6922         * setjmp/tst-setjmp-static.c: New file.
6923         * setjmp/Makefile (tests): Add it.
6924         (tests-static): New variable.
6926 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6928         [BZ #17485]
6929         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6931 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6933         [BZ #14132]
6934         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6936 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6938         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6940 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6942         * io/fts.c (dirent_not_directory): New function.
6943         (fts_build): Call it.
6945 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6947         * nptl/version.c (__nptl_main): Use normal __write rather than
6948         INTERNAL_SYSCALL.
6949         (banner): Update copyright years.
6951         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6952         gettimeofday.
6953         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6954         * nptl/pthread_cond_timedwait.c: Likewise.
6955         * nptl/pthread_mutex_timedlock.c: Likewise.
6956         * nptl/sem_timedwait.c: Likewise.
6958         * sysdeps/nptl/bits/libc-lock.h
6959         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6960         (__libc_lock_init_recursive): Return void, not 0.
6961         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6962         (__libc_rwlock_init): Likewise.
6963         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6965 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6967         [BZ #15215]
6968         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6969         (__pthread_once_slow): ... here.
6970         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6971         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6973 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6975         [BZ #15215]
6976         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6977         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6978         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6979         * nptl/pthread_once.c (__pthread_once): Likewise.
6980         Update comments.
6982 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6984         [BZ #14138]
6985         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6986         name.
6987         (writev): Use __libc_writev as strong name.
6988         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6989         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6991 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6993         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6995         * sysdeps/i386/nptl/tls.h
6996         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6997         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6998         New macros.
6999         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7000         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7001         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7002         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7003         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7004         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7006         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7007         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7008         on [__NR_futex].
7009         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7010         broken out of ...
7011         (__pthread_mutex_init): ... here.  Call it.
7012         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7013         Conditionalize PI cases on [__NR_futex].
7014         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7015         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7016         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7018         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7019         conditional on [SIGSETXID].
7020         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7021         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7022         is defined.  Likewise for SIGSETXID.
7023         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7024         Conditionalize definitions on [SIGSETXID].
7025         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7026         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7027         unblocking on [SIGCANCEL].
7029         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7030         [__NR_set_robust_list].
7032 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7034         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7035         (do_compare): Likewise.
7037 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7039         [BZ #15884]
7040         * string/strcoll_l.c: Don't include stdio.h.
7041         (coll_seq): Remove members idxarr and rulearr.
7042         (get_next_seq_cached): Remove function.
7043         (get_next_seq): Likewise.
7044         (get_next_seq_nocache): Rename to get_next_seq.
7045         (do_compare): Remove function.
7046         (do_compare_nocache): Rename to do_compare.
7047         (STRCOLL): Remove weight and rules cache.
7049 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7051         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7052         * sysdeps/arm/sfp-machine.h: ... to here.
7053         * sysdeps/arm/Implies: Remove arm/soft-fp.
7055 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7057         * conform/data/sys/utsname.h-data (*_t): Allow.
7058         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7059         [POSIX] (WEXITED): Do not expect constant.
7060         [POSIX] (WSTOPPED): Likewise.
7061         [POSIX] (WNOHANG): Likewise.
7062         [POSIX] (WNOWAIT): Likewise.
7063         [POSIX] (siginfo_t): Do not expect type or elements.
7064         [POSIX] (pid_t): Do not expect type.
7065         [POSIX] (signal.h): Do not allow header.
7066         [POSIX] (sys/resource.h): Likewise.
7067         [POSIX] (si_*): Do not allow pattern.
7068         [POSIX] (W*): Likewise.
7069         [POSIX] (P_*): Likewise.
7070         [POSIX] (BUS_*): Likewise.
7071         [POSIX] (CLD_*): Likewise.
7072         [POSIX] (FPE_*): Likewise.
7073         [POSIX] (ILL_*): Likewise.
7074         [POSIX] (POLL_*): Likewise.
7075         [POSIX] (SEGV_*): Likewise.
7076         [POSIX] (SI_*): Likewise.
7077         [POSIX] (TRAP_*): Likewise.
7078         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7079         variable.
7081 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7083         [BZ #12926]
7084         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7085         infinite loop when __recvmsg returns 0.
7087 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7089         * CANCEL-FCT-WAIVE: Remove file.
7090         * CANCEL-FILE-WAIVE: Likewise.
7092         [BZ #14132]
7093         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7094         instead of INTVARDEF.
7095         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7096         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7097         rtld_hidden_data_def instead of INTVARDEF.
7098         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7099         * elf/dl-deps.c (expand_dst): Likewise.
7100         * elf/dl-load.c (_dl_dst_count): Likewise.
7101         (_dl_dst_substitute): Likewise.
7102         (decompose_rpath): Likewise.
7103         (_dl_init_paths): Likewise.
7104         (open_path): Likewise.
7105         (_dl_map_object): Likewise.
7106         * elf/rtld.c (dl_main): Likewise.
7107         (process_dl_audit): Likewise.
7108         (process_envvars): Likewise.
7109         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7110         Remove declaration.
7111         (__libc_enable_secure): Use rtld_hidden_proto.
7113 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7115         * elf/dl-load.c
7116         (add_path): New function broken out of _dl_rtld_di_serinfo.
7117         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7119 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7121         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7122         parentheses around macro arguments.
7123         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7125         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7126         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7129         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7134         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7136         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7137         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7138         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7139         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7144         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7147         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7148         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7151         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7152         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7153         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7154         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7155         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7156         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7157         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7158         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7159         Likewise.
7160         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7161         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7162         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7163         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7164         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7165         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7167         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7168         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7169         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7170         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7171         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7172         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7176         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7180         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7181         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7184         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7185         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7186         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7187         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7188         (_FP_FRAC_SRS_1): Likewise.
7189         (_FP_FRAC_CLZ_1): Likewise.
7190         (_FP_MUL_MEAT_1_imm): Likewise.
7191         (_FP_MUL_MEAT_1_wide): Likewise.
7192         (_FP_MUL_MEAT_1_hard): Likewise.
7193         (_FP_SQRT_MEAT_1): Likewise.
7194         (_FP_FRAC_ASSEMBLE_1): Likewise.
7195         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7196         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7197         (__FP_CLZ_2): Likewise.
7198         (_FP_MUL_MEAT_2_wide): Likewise.
7199         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7200         (_FP_MUL_MEAT_2_gmp): Likewise.
7201         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7202         (_FP_SQRT_MEAT_2): Likewise.
7203         (_FP_FRAC_ASSEMBLE_2): Likewise.
7204         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7205         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7206         (_FP_FRAC_CLZ_4): Likewise.
7207         (_FP_MUL_MEAT_4_wide): Likewise.
7208         (_FP_MUL_MEAT_4_gmp): Likewise.
7209         (_FP_SQRT_MEAT_4): Likewise.
7210         (_FP_FRAC_ASSEMBLE_4): Likewise.
7211         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7212         * soft-fp/op-common.h (_FP_CMP): Likewise.
7213         (_FP_CMP_EQ): Likewise.
7214         (_FP_CMP_UNORD): Likewise.
7215         (_FP_TO_INT): Likewise.
7216         (_FP_FROM_INT): Likewise.
7217         [!__FP_CLZ] (__FP_CLZ): Likewise.
7218         (_FP_DIV_HELP_imm): Likewise.
7219         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7220         Likewise.
7221         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7223         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7232         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7235         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7236         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7237         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7241         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7250         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7251         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7253         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7254         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7255         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7256         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7257         (FP_UNPACK_RAW_SP): Likewise.
7258         (FP_PACK_RAW_S): Likewise.
7259         (FP_PACK_RAW_SP): Likewise.
7260         (FP_UNPACK_S): Likewise.
7261         (FP_UNPACK_SP): Likewise.
7262         (FP_UNPACK_SEMIRAW_S): Likewise.
7263         (FP_UNPACK_SEMIRAW_SP): Likewise.
7264         (FP_PACK_S): Likewise.
7265         (FP_PACK_SP): Likewise.
7266         (FP_PACK_SEMIRAW_S): Likewise.
7267         (FP_PACK_SEMIRAW_SP): Likewise.
7268         (_FP_SQRT_MEAT_S): Likewise.
7269         (FP_CMP_S): Likewise.
7270         (FP_CMP_EQ_S): Likewise.
7271         (FP_CMP_UNORD_S): Likewise.
7272         (FP_TO_INT_S): Likewise.
7273         (FP_FROM_INT_S): Likewise.
7275         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7277         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7278         (FP_EX_INVALID_IMZ): Likewise.
7279         (FP_EX_INVALID_IMZ_FMA): Likewise.
7280         (FP_EX_INVALID_ISI): Likewise.
7281         (FP_EX_INVALID_ZDZ): Likewise.
7282         (FP_EX_INVALID_IDI): Likewise.
7283         (FP_EX_INVALID_SQRT): Likewise.
7284         (FP_EX_INVALID_CVI): Likewise.
7285         (FP_EX_INVALID_VC): Likewise.
7286         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7287         "invalid" exceptions.
7288         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7289         (_FP_ADD_INTERNAL): Likewise.
7290         (_FP_MUL): Likewise.
7291         (_FP_FMA): Likewise.
7292         (_FP_DIV): Likewise.
7293         (_FP_CMP_CHECK_NAN): Likewise.
7294         (_FP_SQRT): Likewise.
7295         (_FP_TO_INT): Likewise.
7296         (FP_EXTEND): Likewise.
7298 2014-10-09  Allan McRae  <allan@archlinux.org>
7300         * po/fr.po: Update French translation from translation project.
7302 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7304         [BZ #14132]
7305         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7306         of INTDEF.
7307         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7308         (__cxa_atexit): Use libc_hidden_proto.
7309         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7311         [BZ #14132]
7312         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7313         declaration.
7314         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7315         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7316         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7317         [!_ISOMAC] (__iswctype_internal): Likewise.
7318         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7319         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7320         alias.
7321         (fcntl): Remove __fcntl_internal alias.
7322         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7323         __connect_internal alias.
7324         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7325         Likewise.
7327         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7328         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7329         FP_DENORM_ZERO.
7330         (_FP_CHECK_FLUSH_ZERO): New macro.
7331         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7332         (_FP_CMP): Likewise.
7333         (_FP_CMP_EQ): Likewise.
7334         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7335         FP_DENORM_ZERO.
7336         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7337         (FP_TRUNC): Likewise.
7339         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7340         treated as invalid conversion, not as normal exponent.
7342         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7343         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7344         (_FP_CMP_EQ): Likewise.
7345         (_FP_CMP_UNORD): Likewise.
7346         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7347         (FP_CMP_EQ_D): Likewise.
7348         (FP_CMP_UNORD_D): Likewise.
7349         * soft-fp/extended.h (FP_CMP_E): Likewise.
7350         (FP_CMP_EQ_E): Likewise.
7351         (FP_CMP_UNORD_E): Likewise.
7352         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7353         (FP_CMP_EQ_Q): Likewise.
7354         (FP_CMP_UNORD_Q): Likewise.
7355         * soft-fp/single.h (FP_CMP_S): Likewise.
7356         (FP_CMP_EQ_S): Likewise.
7357         (FP_CMP_UNORD_S): Likewise.
7358         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7359         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7360         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7361         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7362         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7363         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7364         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7365         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7366         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7367         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7368         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7369         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7370         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7371         to FP_CMP_Q.
7372         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7373         FP_CMP_Q.
7374         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7375         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7376         FP_CMP_EQ_Q.
7377         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7378         FP_CMP_Q.
7379         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7380         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7381         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7382         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7383         FP_CMP_EQ_Q.
7384         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7385         FP_CMP_Q.
7386         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7387         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7388         FP_CMP_EQ_Q.
7389         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7390         FP_CMP_Q.
7391         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7392         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7393         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7394         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7395         FP_CMP_EQ_Q.
7397         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7398         a subnormal result, set the underflow exception if trapping on
7399         underflow is enabled.
7400         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7401         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7402         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7403         redefine to 0.
7404         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7405         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7406         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7407         * soft-fp/extendxftf2.c (__extendxftf2): Use
7408         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7410         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7411         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7412         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7413         FP_HANDLE_EXCEPTIONS.
7414         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7415         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7416         FP_HANDLE_EXCEPTIONS.
7417         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7418         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7419         FP_HANDLE_EXCEPTIONS.
7420         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7421         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7422         FP_HANDLE_EXCEPTIONS.
7424 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7426         [BZ #14132]
7427         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7428         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7429         use INTUSE.
7430         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7431         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7432         Remove alias.
7433         (__adjtimex): Define using libc_hidden_ver.
7434         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7435         Remove declaration.
7436         (ntp_gettime): Call __adjtimex directly.
7437         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7438         Remove declaration.
7439         (ntp_gettimex): Call __adjtimex directly.
7440         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7441         __adjtimex_internal alias.
7443 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7445         [BZ #17460]
7446         * nscd/nscd.c (more_help): Rewrite list of tables collection
7447         using xstrdup and asprintf.
7449         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7451 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7452             Roland McGrath  <roland@hack.frob.com>
7454         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7455         (do_lookup_unique): ... local function 'enter' here; update callers.
7457 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7459         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7460         compat_symbol calls on [SHARED].
7461         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7462         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7463         Remove.
7464         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7465         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7466         (oldsetrlimit): Remove.
7467         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7469         (lchown): New syscall entry.
7470         (oldsetrlimit): Remove.
7471         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7472         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7473         (oldsetrlimit): Remove.
7474         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7476         [BZ #14138]
7477         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7478         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7479         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7480         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7481         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7482         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7483         (fchown): Likewise.
7484         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7485         (fchown): Likewise.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7487         Likewise.
7489 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7491         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7492         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7493         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7494         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7495         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7496         Likewise.
7497         (__old_sem_post): Likewise.
7499 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7501         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7502         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7503         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7504         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7505         Use INLINE_VSYSCALL macro.
7506         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7507         __vdso_clock_gettime.
7508         * sysdeps/unix/sysv/linux/tile/init-first.c
7509         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7510         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7511         __vdso_clock_gettime.
7513         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7514         to set up frame more cleanly.
7516         * sysdeps/tile/memcmp.c: New file.
7518         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7520         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7521         * sysdeps/tile/tilegx/strcasestr.c: New file.
7522         * sysdeps/tile/tilegx/strnlen.c: New file.
7523         * sysdeps/tile/tilegx/strstr.c: New file.
7525         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7527 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7529         * nptl/tst-setuid3.c: Write errors to stdout.
7531 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7533         * elf/dl-deps.c
7534         (preload): New functions broken out of _dl_map_object_deps.
7535         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7537 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7539         [BZ #14138]
7540         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7541         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7543 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7545         * sysdeps/mips/strcmp.S: New.
7547 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7549         [BZ #14138]
7550         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7551         (linkat): Likewise.
7552         (mkdirat): Likewise.
7553         (readlinkat): Likewise.
7554         (renameat): Likewise.
7555         (symlinkat): Likewise.
7556         (unlinkat): Likewise.
7557         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7558         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7559         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7560         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7561         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7562         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7563         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7565 2014-09-30  Will Newton  <will.newton@linaro.org>
7567         * math/math.h: Define long double math functions if
7568         _LIBC_TEST is defined.
7569         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7571         * localedata/Makefile: Move assignment to tests-special
7572         into an ifdef testing run-built-tests.
7573         * timezone/Makefile: Likewise.
7575 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7577         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7578         with $(BASH) not $(SHELL).
7580 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7581             Matthew LeGendre  <legendre1@llnl.gov>
7583         [BZ #17411]
7584         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7585         l_reloc_result.
7587 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7589         * stdio-common/printf_fp.c
7590         (hack_digit): New function, broken out of ...
7591         (__printf_fp): ... local function here.  Update call sites.
7592         hack_digit now takes an additional parameter that is a pointer
7593         to a struct of the referenced locals.  Those locals moved inside
7594         the struct and references updated.
7596 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7598         * aclocal.m4: Require autoconf 2.69.
7599         * configure: Regenerated.
7600         * sysdeps/aarch64/configure: Likewise.
7601         * sysdeps/alpha/configure: Likewise.
7602         * sysdeps/arm/armv7/configure: Likewise.
7603         * sysdeps/arm/configure: Likewise.
7604         * sysdeps/ia64/configure: Likewise.
7605         * sysdeps/mach/configure: Likewise.
7606         * sysdeps/mips/configure: Likewise.
7607         * sysdeps/s390/configure: Likewise.
7608         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7611         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7612         file.
7613         * sysdeps/ia64/configure.ac: Likewise.
7615 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7618         specify symbol version for ld.so.  Do not include entry for
7619         libpthread.
7620         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7621         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7622         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7624         [BZ #14171]
7625         * Makeconfig [$(build-shared) = yes]
7626         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7627         makefiles.
7628         [$(build-shared) = yes && $(soversions.mk-done) = t]
7629         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7630         [$(build-shared) = yes && $(soversions.mk-done) = t]
7631         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7632         to Makerules.
7633         [$(build-shared) = yes && $(soversions.mk-done) = t]
7634         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7635         here.
7636         [$(build-shared) = yes && $(soversions.mk-done) = t]
7637         (common-generated): Don't append gnu/lib-names.h and
7638         gnu/lib-names.stmp here.
7639         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7640         (lib-names-h-abi): New variable.
7641         [$(build-shared) = yes && $(soversions.mk-done) = t]
7642         (lib-names-stmp-abi): Likewise.
7643         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7644         abi-variants] (before-compile): Append
7645         $(common-objpfx)$(lib-names-h-abi).
7646         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7647         abi-variants] (common-generated): Append gnu/lib-names.h.
7648         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7649         abi-variants] (install-others-nosubdir): Depend on
7650         $(inst_includedir)/$(lib-names-h-abi).
7651         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7652         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7653         [$(build-shared) = yes && $(soversions.mk-done) = t]
7654         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7655         [$(build-shared) = yes && $(soversions.mk-done) = t]
7656         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7657         [$(build-shared) = yes && $(soversions.mk-done) = t]
7658         (common-generated): Append $(lib-names-h-abi) and
7659         $(lib-names-stmp-abi).
7660         * scripts/lib-names.awk: Do not handle multi being set.
7661         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7662         Remove variable.
7663         (abi-lp64_be-ld-soname): Likewise.
7664         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7665         Likewise.
7666         (abi-hard-ld-soname): Likewise.
7667         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7668         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7669         Remove variable.
7670         (abi-o32_hard-ld-soname): Likewise.
7671         (abi-o32_soft_2008-ld-soname): Likewise.
7672         (abi-o32_hard_2008-ld-soname): Likewise.
7673         (abi-n32_soft-ld-soname): Likewise.
7674         (abi-n32_hard-ld-soname): Likewise.
7675         (abi-n32_soft_2008-ld-soname): Likewise.
7676         (abi-n32_hard_2008-ld-soname): Likewise.
7677         (abi-n64_soft-ld-soname): Likewise.
7678         (abi-n64_hard-ld-soname): Likewise.
7679         (abi-n64_soft_2008-ld-soname): Likewise.
7680         (abi-n64_hard_2008-ld-soname): Likewise.
7681         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7682         Likewise.
7683         (abi-64-v2-ld-soname): Likewise.
7684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7685         ld.so entries.
7686         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7687         variable.
7688         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7689         entry.
7690         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7691         variable.
7692         (abi-64-ld-soname): Likewise.
7693         (abi-x32-ld-soname): Likewise.
7694         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7695         entry.
7696         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7698 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7700         [BZ #14138]
7701         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7702         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7703         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7704         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7705         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7706         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7707         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7708         syscall entry for GLIBC_2.2 symbol version.
7709         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7710         Likewise.
7711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7712         (setrlimit): Likewise.
7713         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7714         Likewise.
7716 2014-09-23  Will Newton  <will.newton@linaro.org>
7718         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7719         _LINUX_ARM_SYSDEP_H include guard too.
7720         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7721         define.
7723 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7725         * sysdeps/unix/sysv/linux/eventfd.c:
7726         Make first argument unsigned.
7727         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7728         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7730 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7732         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7733         * socket/sys/socket.h: Likewise
7734         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7736 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7738         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7740 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7742         * time/tst-ftime.c: New test.
7743         * time/Makefile (tests): Add tst-ftime.
7745 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7747         * soft-fp/extended.h: Fix comment formatting.
7748         * soft-fp/op-1.h: Likewise.
7749         * soft-fp/op-2.h: Likewise.
7750         * soft-fp/op-4.h: Likewise.
7751         * soft-fp/op-8.h: Likewise.
7752         * soft-fp/op-common.h: Likewise.
7753         * soft-fp/soft-fp.h: Likewise.
7755         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7757 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7759         [BZ #6652]
7760         * Makeconfig (soversions-default-setname): Remove variable.
7761         ($(common-objpfx)soversions.i): Don't pass default_setname to
7762         soversions.awk.
7763         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7764         oldest_abi to abi-versions.awk.
7765         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7766         * config.make.in (oldest-abi): Remove variable.
7767         * configure.ac (--enable-oldest-abi): Remove configure option.
7768         * configure: Regenerated.
7769         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7770         text.
7771         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7772         * scripts/soversions.awk: Do not handle default_setname variable.
7773         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7774         variable.
7775         * sysdeps/mach/hurd/configure: Regenerated.
7776         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7777         variable.
7778         * sysdeps/unix/sysv/linux/configure: Regenerated.
7780 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7782         * elf/Makefile (CFLAGS-interp.c): Remove.
7783         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7784         path string.
7785         * elf/interp.c: Include generated runtime-linker.h
7787         * Makerules (lib%.so): Don't include $(+interp) in
7788         prerequisites.
7789         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7790         * dlfcn/eval.c: Remove file.
7792         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7793         macros.
7795         [BZ #17266]
7796         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7797         4.2 and newer.
7799         [BZ #17370]
7800         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7802 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7803             Jakub Jelinek  <jakub@redhat.com>
7805         [BZ #17266]
7806         * libio/stdio.h: Check definition of __fortify_function
7807         instead of __extern_always_inline to include bits/stdio2.h.
7808         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7809         check if __extern_always_inline is defined.
7810         [__USE_MISC || __USE_XOPEN]: Likewise.
7811         [__USE_ISOC99] Likewise.
7812         * misc/sys/cdefs.h (__fortify_function): Define only if
7813         __extern_always_inline is defined.
7814         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7815         __extern_always_inline and __extern_inline only for g++-4.3
7816         and newer or a compatible gcc.
7818 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7820         [BZ #17371]
7821         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7822         last change to handle zero prefix length.
7824 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7826         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7827         _SC_REGEX_VERSION.
7829         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7830         _POSIX_RAW_SOCKETS.
7832 2014-09-13  Allan McRae  <allan@archlinux.org>
7834         * po/ru.po: Update Russian translation from translation project.
7836 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7838         * locale/programs/locale.c (show_locale_vars): Inline local function
7839         into its sole call site.  Clean up some style nits.
7840         (print_item): New function, broken out of ...
7841         (show_info): ... local function here.  Clean up style nits.
7843         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7844         out of ...
7845         (set_class_defaults): ... local function set_default here.
7846         Define set_default as a macro locally to pass constant parameters.
7847         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7848         rather than a shared local.
7850         * stdlib/rpmatch.c (try): New function, broken out of ...
7851         (rpmatch): ... local function here.  Also, prototypify definition.
7853 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7855         * scripts/soversions.awk: Do not handle configuration names.
7856         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7857         vendor and os variables to soversions.awk.
7858         * configure.ac: Do not modify gnu-* host_os.
7859         * configure: Regenerated
7860         * shlib-versions: Remove first column with configuration names.
7861         * nptl/shlib-versions: Likewise.
7862         * nptl_db/shlib-versions: Likewise.
7863         * sysdeps/hppa/shlib-versions: Likewise.
7864         * sysdeps/m68k/shlib-versions: Likewise.
7865         * sysdeps/mach/hurd/shlib-versions: Likewise.
7866         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7867         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7868         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7869         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7870         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7871         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7872         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7873         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7875         Likewise.
7876         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7877         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7878         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7879         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7880         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7881         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7882         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7883         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7886         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7888         Regenerated.
7889         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7891         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7893         * shlib-versions: Remove OS-specific entries.  Moved to files in
7894         sysdeps.
7895         * sysdeps/mach/hurd/shlib-versions: New file.
7896         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7898         * nptl/shlib-versions: Remove architecture-specific entries.
7899         Moved to files in sysdeps.
7900         * shlib-versions: Likewise.
7901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7902         file.
7903         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7904         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7905         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7906         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7908         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7909         (UDP_NO_CHECK6_RX): Likewise.
7911 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7913         * sysdeps/posix/sysconf.c (__sysconf): Spell
7914         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7916 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7918         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7919         loading.
7920         * iconv/Versions (__gconv_transliterate): Export for use from
7921         gconv modules.
7922         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7923         (struct __gconv_trans_data, __gconv_trans_fct,
7924         __gconv_trans_context_fct, __gconv_trans_query_fct,
7925         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7926         definitions.
7927         (struct __gconv_step_data): Remove __trans member.
7928         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7929         longer hidden.  Remove unused trans_data argument.
7930         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7931         (__gconv_translit_find): Remove declaration.
7932         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7933         prototype.
7934         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7935         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7936         trans_data argument.  Add hidden definition.
7937         (__gconv_translit_find): Remove.
7938         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7939         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7940         * iconv/skeleton.c: Remove transliteration initialization.
7941         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7942         __gconv_step_data initialization.
7943         * libio/iofwide.c (__libio_translit_): Remove.
7944         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7945         * wcsmbs/btowc.c (__btowc): Likewise.
7946         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7947         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7948         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7949         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7950         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7951         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7952         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7953         * wcsmbs/wctob.c (wctob): Likewise.
7955 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         [BZ #16194]
7958         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7959         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7960         register usage.
7961         * sysdeps/x86/Makefile: Adjust.
7963 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7964             Roland McGrath  <roland@hack.frob.com>
7966         * locale/weight.h: Add include guard.
7967         (findidx): Make static rather than auto; take new parameters
7968         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7969         * locale/weightwc.h: Likewise.
7970         * posix/fnmatch_loop.c
7971         (FCT): Change type of EXTRA from int32_t to wint_t.
7972         Don't include either header inside the function.
7973         Call FINDIDX rather than findidx, and pass new arguments.
7974         #undef FINDIDX at the end of the file.
7975         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7976         FINDIDX before including fnmatch_loop.c for the non-wide version.
7977         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7978         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7979         for the wide version.
7980         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7981         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7982         Pass new arguments to findidx.
7983         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7984         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7985         Don't #include it inside the function.  Pass new arguments to findidx.
7986         * posix/regex_internal.h
7987         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7988         (re_string_elem_size_at): Don't #include it inside the function.
7989         Pass new arguments to findidx.
7990         * string/strcoll_l.c: #include WEIGHT_H at top level.
7991         (get_next_seq): Don't #include it inside the function.
7992         Pass new arguments to findidx.
7993         (get_next_seq_nocache): Likewise.
7994         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7995         (STRXFRM): Don't #include it inside the function.
7996         Pass new arguments to findidx.
7998 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8000         [BZ #17344]
8001         * malloc/malloc.c (unlink): Turn asserts into a call to
8002         malloc_printerr.
8004 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8006         [BZ #17370]
8007         * libio/wfileops (do_ftell_wide): Free OUT.
8009 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8011         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8013 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8015         [BZ #17363]
8016         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8017         group if the current group is empty.
8019 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8021         * benchtests/bench-memset.c (test_main): Add more test from size
8022         from 32 to 512 bytes.
8023         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8024         Add POWER8 memset object.
8025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8026         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8027         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8028         implementation.
8029         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8030         Likewise.
8031         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8032         multiarch POWER8 memset optimization.
8033         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8034         POWER8 memset optimization.
8036         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8037         Remove bzero multiarch objects.
8038         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8039         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8040         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8041         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8042         Remove define.
8043         [__bzero]: Redefine to specific name.
8044         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8045         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8046         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8047         define.
8048         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8049         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8051 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8053         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8054         warnings into errors.
8056         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8057         __cxa_thread_atexit_impl prototype.
8059 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8061         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8062         Fix capitalization of error message.
8064 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8066         * sysdeps/mips/preconfigure: Modify ABI tests.
8068 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8070         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8072 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8073             Carlos O'Donell  <carlos@systemhalted.org>
8075         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8076         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8077         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8078         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8079         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8080         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8081         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8082         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8083         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8084         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8085         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8086         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8087         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8088         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8089         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8090         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8091         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8092         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8093         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8094         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8095         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8096         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8097         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8098         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8099         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8100         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8101         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8102         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8103         Deconditionalize the code that was previously under [RESET_PID].
8104         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8105         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8106         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8107         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8108         include sysdep.h.
8110 2014-09-08  Allan McRae  <allan@archlinux.org>
8112         * version.h (RELEASE): Set to "development".
8113         (VERSION): Set to "2.20.90"
8115 2014-09-07  Allan McRae  <allan@archlinux.org
8117         * version.h (RELEASE): Set to "stable".
8118         (VERSION): Set to "2.20"
8119         * include/features.h (__GLIBC_MINOR__): Set to 20.
8121         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8122         Liebler.
8124         * po/ko.po: Update Korean translation from translation project.
8126 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8128         [BZ #17354]
8129         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8130         macro for handling signed relocations.
8132 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8134         [BZ #17325]
8135         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8136         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8137         assert.
8138         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8139         * iconvdata/ibm935.c (BODY): Likewise.
8140         * iconvdata/ibm937.c (BODY): Likewise.
8141         * iconvdata/ibm939.c (BODY): Likewise.
8142         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8143         assert.
8144         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8145         script.
8146         * iconvdata/run-iconv-test.sh: New test loop for checking for
8147         decoder crashers.
8149 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8151         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8152         libm_hidden_ver.
8154 2014-09-01  Allan McRae  <allan@archlinux.org>
8156         * po/eo.po: Update Esperanto translation from translation project.
8158         * po/ca.po: Update Catalan translation from translation project.
8160 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8162         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8163         __proc_dostop call.
8165 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8167         [BZ #17319]
8168         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8169         to call set_thread_area instead of hand written asm.
8170         (__NR_set_thread_area): Removed define.
8171         (TLS_FLAG_WRITABLE): Likewise.
8172         (__ASSUME_SET_THREAD_AREA): Remove check.
8173         (TLS_EBX_ARG): Remove define.
8174         (TLS_LOAD_EBX): Likewise.
8176 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8178         Simplify atomicity of socket creation in bind.
8180         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8181         looking up the name after linking the file.
8183 2014-08-27  Allan McRae  <allan@archlinux.org>
8185         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8187 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8189         [BZ #17187]
8190         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8191         trans_compare, open_translit, __gconv_translit_find):
8192         Remove module loading code.
8194 2014-08-26  Allan McRae  <allan@archlinux.org>
8196         * po/vi.po: Update Vietnamese translation from translation project.
8198         * po/uk.po: Update Ukrainian translation from translation project.
8200         * po/fr.po: Update French translation from translation project.
8202         * po/ru.po: Update Russian translation from translation project.
8204         * po/pl.po: Update Polish translation from translation project.
8206         * po/cs.po: Update Czech translation from translation project.
8208         * po/de.po: Update German translation from translation project.
8210         * po/bg.po: Update Bulgarian translation from translation project.
8212         * po/sv.po: Update Sweedish translation from translation project.
8214         * po/nl.po: Update Dutch translation from translation project.
8216         * po/es.po: Update Spanish translation from translation project.
8218 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8220         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8222         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8223         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8224         (CPPFLAGS-iconvconfig): Likewise.
8225         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8227         * include/libc-symbols.h: Remove unnecessary check for
8228         NOT_IN_libc.
8229         * nptl/pthreadP.h: Likewise.
8230         * sysdeps/aarch64/setjmp.S: Likewise.
8231         * sysdeps/alpha/setjmp.S: Likewise.
8232         * sysdeps/arm/sysdep.h: Likewise.
8233         * sysdeps/i386/setjmp.S: Likewise.
8234         * sysdeps/m68k/setjmp.c: Likewise.
8235         * sysdeps/posix/getcwd.c: Likewise.
8236         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8237         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8238         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8239         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8240         * sysdeps/sh/sh3/setjmp.S: Likewise.
8241         * sysdeps/sh/sh4/setjmp.S: Likewise.
8242         * sysdeps/unix/alpha/sysdep.h: Likewise.
8243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8244         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8245         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8246         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8251         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8254         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8256         * sysdeps/x86_64/setjmp.S: Likewise.
8258 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8260         [BZ #17263]
8261         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8262         <stdint.h>.
8263         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8264         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8266 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8268         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8270         [BZ #17262]
8271         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8272         and __x86_64__ when disabling x87 inline functions.
8274 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8276         [BZ #17259]
8277         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8278         asm statement with __cpuid_count.
8280 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8282         * configure.ac: Change __ehdr_start code to dereference the struct.
8283         Run readelf on the output to look for relocations.
8284         * configure: Regenerated.
8286 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8288         [BZ #17261]
8289         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8290         value to 0.
8291         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8293 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8295         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8297 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8299         [BZ #16892]
8300         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8301         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8303 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8305         * malloc/malloc.c: Fix typo in comment.
8307 2014-08-09  Allan McRae  <allan@archlinux.org>
8309         * Regenerate libc.po.
8311 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8313         * intl/tst-gettext2.sh: Check every lang file for creation.
8315 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8317         * sysdeps/aarch64/fpu/math_private.h
8318         (libc_feholdsetround_noex_aarch64_ctx): New function.
8320 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8322         * sysdeps/arm/armv6/strcpy.S (strcpy):
8323         Fix performance issue in misaligned cases.
8325 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8327         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8328         Move definition from termios.h.
8329         (struct termio): Likewise.
8330         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8331         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8332         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8333         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8334         Likewise.
8335         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8336         Move definition to ioctl-types.h
8337         (struct termio): Likewise.
8338         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8339         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8340         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8341         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8342         Likewise.
8344 2014-08-05  Richard Henderson  <rth@redhat.com>
8346         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8347         exceptions.
8348         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8349         Add fraiseexcpt.
8350         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8351         Use __feraiseexcept.
8352         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8353         Protect libm symbols with IS_IN_libm.
8355         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8357 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8359         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8361 2014-08-04  Will Newton  <will.newton@linaro.org>
8363         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8364         file.
8366 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8368         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8369         variants for each function.
8371 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8373         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8374         appended ...
8375         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8376         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8377         appended ...
8378         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8379         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8380         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8381         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8382         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8383         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8384         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8385         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8386         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8387         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8388         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8389         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8390         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8391         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8392         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8393         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8394         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8395         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8396         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8397         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8398         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8399         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8400         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8401         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8402         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8403         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8404         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8405         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8406         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8407         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8408         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8409         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8410         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8411         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8412         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8413         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8414         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8415         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8416         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8417         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8418         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8419         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8420         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8422         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8423         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8424         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8425         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8426         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8427         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8428         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8429         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8430         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8431         Update #include.
8432         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8433         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8435 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8437         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8438         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8439         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8440         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8441         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8442         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8444 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8446         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8447         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8448         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8449         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8451 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8453         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8454         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8455         (__libc_vfork): Define function under this name.
8456         (__vfork): Define as an alias.
8457         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8458         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8460 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8462         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8463         that was previously under [RESET_PID].
8464         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8466 2014-08-04  Andreas Schwab  <schwab@suse.de>
8468         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8470 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8472         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8473         (main): Likewise.
8475 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8477         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8479 2014-08-01  Richard Henderon  <rth@redhat.com>
8481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8482         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8483         typo in exact zero test.
8484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8485         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8488 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8490         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8491         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8492         * sysdeps/arm/sysdep.h: ... here.
8493         [!__ASSEMBLER__]: Include <stdint.h>.
8495 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8497         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8498         (HAVE_WCTYPE_H): Likewise.
8499         (HAVE_ISWCTYPE): Likewise.
8500         (ENABLE_NLS): Likewise.
8501         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8502         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8504         * posix/regex_internal.c: Check if DEBUG is defined and is
8505         set.
8507         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8508         (HAVE_MBSRTOWCS): Likewise.
8509         * posix/fnmatch.c: Include string.h unconditionally.
8511 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8513         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8514         reversal.
8516 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8518         * sysdeps/generic/safe-fatal.h: New file.
8519         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8520         * nptl/forward.c: Include it.
8521         (__pthread_unwind): Use __safe_fatal as default action, rather
8522         than a bogus use of INTERNAL_SYSCALL that could never work.
8524         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8525         * configure.ac (libc_cv_builtin_trap): New test.
8526         * configure: Regenerated.
8527         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8528         (ABORT_INSTRUCTION): Define using __builtin_trap.
8530         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8531         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8532         * sysdeps/nptl/nptl-signals.h: New file.
8533         * nptl/pthreadP.h: Include <nptl-signals.h>.
8535 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8537         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8538         (ONE_DIRECTION): Define.
8539         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8540         (ONE_DIRECTION): Define.
8541         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8542         (ONE_DIRECTION): Define.
8544 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8546         * sysdeps/s390/Makefile: Delete file.
8547         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8548         * sysdeps/s390/__longjmp.c: Delete file.
8549         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8550         Remove fields __flags and __reserved.
8551         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8552         and add versioning.
8553         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8554         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8555         * sysdeps/s390/rtld-setjmp.S: Likewise.
8556         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8557         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8558         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8559         * sysdeps/s390/s390-32/setjmp.S: ... here.
8560         Add versioning.
8561         (__sigsetjmp): Remove setting __flags field.
8562         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8563         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8564         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8565         * sysdeps/s390/s390-64/setjmp.S: ... here.
8566         Add versioning.
8567         (__sigsetjmp): Remove setting __flags field.
8568         * sysdeps/s390/setjmp.S: Delete file.
8569         * sysdeps/s390/sigjmp.c: Likewise.
8570         * sysdeps/s390/v1-longjmp.c: Likewise.
8571         * sysdeps/s390/v1-setjmp.h: Likewise.
8572         * sysdeps/s390/v1-sigjmp.c: Likewise.
8573         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8574         Remove v1-longjmp_chk.
8575         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8576         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8577         Include debug/longjmp_chk.c and add versioning.
8578         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8579         Include nptl/pt-longjmp.c and add versioning.
8580         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8581         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8582         Include __longjmp.c.
8583         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8584         Move to ...
8585         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8586         (__getcontext): Remove setting __flags field.
8587         Add versioning.
8588         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8589         Don't restore upper high grps.
8590         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8591         Likewise.
8592         (__swapcontext): Remove setting uc_flags field.
8593         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8594         Delete file.
8595         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8596         Include __longjmp.c.
8597         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8598         Move to ...
8599         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8600         (__getcontext): Remove setting __flags field.
8601         Add versioning.
8602         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8603         (__swapcontext): Remove setting uc_flags field.
8604         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8605         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8606         Remove fields uc_high_gprs and __reserved.
8607         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8608         New file with reverted content.
8609         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8610         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8611         Regenerated.
8612         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8613         Regenerated.
8615 2014-07-31  Andreas Schwab  <schwab@suse.de>
8617         * config.h.in (HAVE_IFUNC): Define to 0.
8618         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8619         definedness.
8621 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8624         memmove-avx-unaligned, memcpy-avx-unaligned and
8625         mempcpy-avx-unaligned.
8626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8627         Add tests for AVX memcpy functions.
8628         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8629         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8630         memcpy_chk.
8631         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8632         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8633         memmove_chk.
8634         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8635         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8636         mempcpy_chk.
8637         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8638         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8639         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8641 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8643         [BZ #17213]
8644         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8645         powerpc64le.
8647 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8649         [BZ #16839]
8650         * manual/llio.texi: Add section about open file description locks.
8651         * manual/examples/ofdlocks.c: Example of open file description
8652         lock usage.
8653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8654         F_OFD_SETLK, and F_OFD_SETLKW.
8656 2014-07-23  Allan McRae  <allan@archlinux.org>
8658         * po/es.po: Update Spanish translation from translation project.
8660 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8662         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8664 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8666         [BZ #17078]
8667         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8668         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8669         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8671 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8673         [BZ #17088]
8674         * math/fesetenv.c (__fesetenv)
8675         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8676         * math/feupdateenv.c (__feupdateenv)
8677         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8679         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8680         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8681         (__ASSUME_SOCKETCALL): Do not define.
8683         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8684         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8685         (__ASSUME_SOCKETCALL): Do not define.
8686         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8687         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8688         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8689         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8690         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8691         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8692         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8693         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8695         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8696         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8697         (__ASSUME_SOCKETCALL): Do not define.
8698         (__ASSUME_IPC64): Define unconditionally.
8699         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8700         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8701         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8702         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8703         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8704         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8705         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8706         Likewise.
8708         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8709         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8710         (__ASSUME_SOCKETCALL): Do not define.
8711         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8712         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8713         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8714         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8715         (__ASSUME_REQUEUE_PI): Define unconditionally.
8716         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8717         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8718         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8719         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8720         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8721         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8723         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8724         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8725         (__ASSUME_SOCKETCALL): Do not define.
8726         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8727         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8728         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8729         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8731         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8733         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8734         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8735         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8736         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8737         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8738         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8739         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8740         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8741         (__ASSUME_GETCPU_SYSCALL): Likewise.
8743         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8744         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8745         cases for individual architectures.
8746         * sysdeps/gnu/configure: Regenerated.
8747         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8748         LIBC_SLIBDIR_RTLDDIR.
8749         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8750         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8751         LIBC_SLIBDIR_RTLDDIR.
8752         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8754         LIBC_SLIBDIR_RTLDDIR.
8755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8756         Regenerated.
8757         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8758         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8759         file.
8760         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8761         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8762         file.
8763         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8764         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8765         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8766         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8768         * sysdeps/aarch64/shlib-versions: Move to ...
8769         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8770         * sysdeps/alpha/shlib-versions: Move to ...
8771         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8772         * sysdeps/arm/shlib-versions: Move to ...
8773         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8774         * sysdeps/hppa/shlib-versions: Move all contents except for
8775         libgcc_s entry to ...
8776         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8777         entry from ...
8778         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8779         * sysdeps/ia64/shlib-versions: Move to ...
8780         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8781         entry from ...
8782         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8783         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8784         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8785         * sysdeps/microblaze/shlib-versions: Move to ...
8786         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8787         * sysdeps/mips/shlib-versions: Move to ...
8788         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8789         entry from ...
8790         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8791         * sysdeps/tile/shlib-versions: Move to ...
8792         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8793         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8794         from ...
8795         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8796         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8797         entry from ...
8798         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8800 2014-07-17  Will Newton  <will.newton@linaro.org>
8802         * sysdeps/arm/bits/atomic.h
8803         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8804         (__arch_compare_and_exchange_bool_16_int): Likewise.
8805         (__arch_compare_and_exchange_bool_64_int): Likewise.
8807         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8808         into an #else block.
8810 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8812         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8813         just Linux configurations.  Test empirically that the compiler sets
8814         __ARM_EABI__, rather than using the tuple to decide.
8815         * sysdeps/arm/preconfigure: Regenerated.
8816         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8817         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8818         contents appended ...
8819         * sysdeps/arm/configure.ac: ... here.
8820         * sysdeps/arm/configure: Regenerated.
8822 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8824         * nptl/pthread_kill.c: New file.
8825         * nptl/pthread_sigmask.c: New file.
8826         * nptl/pthread_sigqueue.c: New file.
8828         * sysdeps/nptl/lowlevellock.h: New file.
8829         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8830         * sysdeps/nptl/lowlevellock-futex.h: New file.
8832         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8833         Remove dead declarations.
8835 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8837         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8838         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8839         config-cflags-avx2.
8840         * sysdeps/x86_64/configure.ac: Likewise.
8841         * sysdeps/i386/configure: Regenerated.
8842         * sysdeps/x86_64/configure: Likewise.
8843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8844         memset-avx2 only if config-cflags-avx2 is yes.
8845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8846         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8847         defined.
8848         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8849         only if HAVE_AVX2_SUPPORT is defined.
8850         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8852 2014-07-14  Alan Modra  <amodra@gmail.com>
8854         [BZ #17153]
8855         * elf/elf.h (DT_PPC64_NUM): Correct value.
8856         * NEWS: Add to fixed bug list.
8858 2014-07-13  Jim Meyering  <meyering@fb.com>
8860         [BZ 17150]
8861         regex: don't deref NULL upon heap allocation failure
8862         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8863         failure in one more place.
8864         To trigger the segfault, configure grep -with-included-regex,
8865         build it, and run these commands:
8866         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8868 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8870         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8872 2014-07-11  Richard Henderson  <rth@redhat.com>
8874         * sysdeps/aarch64/libm-test-ulps: Update.
8876 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8878         [BZ #17135]
8879         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8880         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8881         (__nptl_setxid): Initialize error member.  Call
8882         __nptl_setxid_error.
8883         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8884         * nptl/descr.h (struct xid_command): Add error member.
8885         * nptl/tst-setuid3.c: New file.
8886         * nptl/Makefile (tests): Add it.
8888 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8890         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8891         New define.
8892         (__lll_trylock): Use __lll_base_trylock.
8893         (__lll_cond_trylock): Likewise.
8895 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8897         * nptl/pthread_create.c (start_thread): Use atomic_or and
8898         lll_futex_wake directly rather than lll_robust_dead.
8899         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8900         (lll_robust_dead): Macro removed.
8901         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8902         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8903         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8904         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8905         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8906         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8907         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8908         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8909         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8910         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8911         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8912         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8913         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8914         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8915         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8917         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8918         Use atomic_compare_and_exchange_val_acq directly rather than
8919         lll_robust_trylock.
8920         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8921         (__lll_robust_trylock, lll_robust_trylock): Removed.
8922         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8923         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8924         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8925         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8926         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8927         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8928         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8929         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8931         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8932         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8933         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8934         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8935         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8937 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8939         * manual/locale.texi (Locale Names): New section documenting
8940         locale name syntax.  Adjust menu and node chaining accordingly.
8941         (Choosing Locale): Reference Locale Names, Locale Categories.
8942         Mention setting LC_ALL=C.  Reflect that name syntax is now
8943         documented.
8944         (Locale Categories): New section title.  Reference Locale Names.
8945         LC_ALL is an environment variable, but not a category.
8946         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8947         description, now in Locale Name.  Reference that section.  Locale
8948         name syntax is now documented.
8950 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8952         [BZ #17137]
8953         * locale/findlocale.c (name_present, valid_locale_name): New
8954         functions.
8955         (_nl_find_locale): Use the loc_name variable to store name
8956         candidates.  Call name_present and valid_locale_name to check and
8957         validate locale names.  Return an error if the locale is invalid.
8959 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8961         * locale/setlocale.c (setlocale): Use strdup for allocating
8962         composite name copy.
8964 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8966         Sync up with gnulib.
8967         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8968         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8969         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8970         and _GL_ARG_NONNULL.
8971         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8972         [!_LIBC]: Include code for Windows and Cygwin.
8973         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8974         Include prototype for int strerror_r.
8975         [!_LIBC] (is_open): New function.
8976         (flush_stdout): New function.
8977         (print_errno_message): Use it.
8978         (error): Likewise.
8979         (error_at_line): Likewise.
8980         (error_tail) Add function attribute macros.  Use
8981         __builtin_expect.
8983         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8985         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8987         * io/ftw.c: Include sys/param.h unconditionally.
8989         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8991         [BZ #17125]
8992         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8993         libc_freeres_ptr.
8994         (freecache): New function to free CACHE on exit.
8996         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8997         initialization.
8999 2014-07-09  David S. Miller  <davem@davemloft.net>
9001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9003         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9004         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9005         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9006         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9007         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9008         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9009         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9010         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9011         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9012         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9013         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9015         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9017 2014-07-09  Andreas Schwab  <schwab@suse.de>
9019         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9020         output.
9021         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9022         (do_test): Likewise.
9024         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9026 2014-07-09  Will Newton  <will.newton@linaro.org>
9028         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9029         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9030         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9031         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9032         * sysdeps/hppa/start.S (_start): Likewise.
9034 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9036         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9038         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9039         defined.
9041 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9043         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9044         after checking that it is non-NULL.
9046         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9048 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9050         * sysdeps/powerpc/memmove.c: Remove file.
9051         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9052         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9053         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9054         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9055         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9056         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9057         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9058         string memmove instead of removed powerpc one.
9060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9061         [weak_alias]: Fix compiler warning due trailing data.
9062         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9063         [weak_alias]: Likewise.
9064         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9065         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9068         (__libc_ifunc_impl_list): Add memmove functions.
9070 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9072         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9073         Remove code.
9074         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9075         Likewise
9076         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9077         Likewise
9078         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9079         Likewise
9080         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9081         Likewise
9082         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9083         Likewise
9084         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9085         Likewise
9086         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9087         Likewise
9088         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9089         Likewise
9090         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9091         Likewise
9092         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9093         Likewise
9094         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9095         Likewise
9096         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9097         Likewise
9098         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9099         Likewise
9100         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9101         Likewise
9102         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9103         Likewise
9104         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9105         Likewise
9107 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9109         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9110         to avoid alignment traps in non-cacheable memory.
9111         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9114         multiarch objects.
9115         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9116         file: multiarch power7 memmove.
9117         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9118         multiarch default memmove.
9119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9120         multiarch memove for powerpc32/power4.
9122         * string/bcopy.c: Use full path to include memmove.c.
9123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9124         multiarch objects.
9125         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9126         bcopy for powerpc64.
9127         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9128         bcopy for powerpc64.
9129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9130         and memmove implementations.
9131         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9132         optimized multiarch memmove for POWER7/powerpc64.
9133         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9134         default multiarch memmove for powerpc64.
9135         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9136         multiarch for powerpc64.
9137         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9138         for POWER7/powerpc64.
9139         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9140         memmove for POWER7/powerpc64.
9142         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9143         glibc default one.
9145         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9146         __ELF_NATIVE_CLASS equal to 64.
9148 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9150         * sysdeps/nptl/lowlevellock.h: File removed.
9152         * NEWS: NPTL is no longer an add-on!
9153         * nptl/internaltypes.h: Moved ...
9154         * sysdeps/nptl/internaltypes.h: ... here.
9155         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9156         * sysdeps/nptl/fork.c: Likewise.
9157         * sysdeps/nptl/gai_misc.h: Likewise.
9158         * sysdeps/nptl/librt-cancellation.c: Likewise.
9159         * sysdeps/nptl/jmp-unwind.c: Likewise.
9160         * sysdeps/nptl/setxid.h: Likewise.
9161         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9162         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9163         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9164         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9165         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9166         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9167         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9168         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9169         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9170         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9171         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9172         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9173         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9174         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9175         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9176         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9177         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9178         * nptl/Makeconfig: Moved ...
9179         * sysdeps/nptl/Makeconfig: ... here.
9180         * nptl/configure: File removed.
9181         * nptl/ANNOUNCE: File removed.
9182         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9183         * sysdeps/unix/sysv/linux/configure: Regenerated.
9185         * nptl/Makefile (routines): Add libc_pthread_init,
9186         libc_multiple_threads, register-atfork and unregister-atfork.
9187         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9188         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9189         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9190         pthread-pi-defines.sym, structsem.sym.
9191         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9192         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9193         [$(subdir) = nptl] (tests): Add tst-setgetname.
9194         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9195         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9196         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9197         [!LIBC_SIGACTION]: Remove aliases.
9198         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9199         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9200         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9201         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9202         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9203         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9204         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9205         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9206         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9207         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9208         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9209         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9210         __libc_allocate_rtsig_private.
9211         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9212         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9213         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9214         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9215         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9216         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9217         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9218         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9219         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9220         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9221         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9222         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9223         * nptl/internaltypes.h: ... here.
9224         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9225         * sysdeps/nptl/jmp-unwind.c: ... here.
9226         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9227         * nptl/libc-lowlevellock.c: ... here.
9228         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9229         * nptl/libc_multiple_threads.c: ... here.
9230         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9231         * nptl/libc_pthread_init.c: ... here.
9232         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9233         * nptl/lowlevelbarrier.sym: ... here.
9234         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9235         * nptl/lowlevelcond.sym: ... here.
9236         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9237         * nptl/lowlevellock.c: ... here.
9238         * nptl/lowlevellock.h: Moved ...
9239         * sysdeps/nptl/lowlevellock.h: ... here.
9240         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9241         * nptl/lowlevelrobustlock.c: ... here.
9242         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9243         * nptl/lowlevelrobustlock.sym: ... here.
9244         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9245         * nptl/lowlevelrwlock.sym: ... here.
9246         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9247         * nptl/pt-fork.c: ... here.
9248         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9249         * nptl/pthread-pi-defines.sym: ... here.
9250         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9251         * nptl/pthread_attr_getaffinity.c: ... here.
9252         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9253         * nptl/pthread_attr_setaffinity.c: ... here.
9254         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9255         * nptl/pthread_mutex_cond_lock.c: ... here.
9256         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9257         Update #include.
9258         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9259         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9260         * nptl/pthread_once.c: ... here, replacing old file.
9261         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9262         * nptl/pthread_yield.c: ... here.
9263         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9264         * nptl/register-atfork.c: ... here.
9265         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9266         * nptl/sem_post.c: ... here.
9267         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9268         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9269         * nptl/sem_timedwait.c: ... here.
9270         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9271         * nptl/sem_trywait.c: ... here.
9272         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9273         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9274         * nptl/sem_wait.c: ... here.
9275         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9276         * nptl/structsem.sym: ... here.
9277         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9278         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9279         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9280         * nptl/unregister-atfork.c: ... here.
9281         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9282         * nptl/unwindbuf.sym: ... here.
9283         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9284         * sysdeps/nptl/fork.c: ... here.
9285         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9286         * sysdeps/nptl/fork.h: ... here.
9287         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9288         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9289         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9290         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9291         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9292         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9293         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9294         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9295         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9296         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9297         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9298         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9299         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9300         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9301         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9302         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9303         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9304         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9305         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9306         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9307         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9308         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9309         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9310         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9311         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9312         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9313         * sysdeps/unix/sysv/linux/raise.c: ... here.
9314         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9315         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9316         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9317         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9318         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9319         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9320         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9321         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9322         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9323         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9324         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9325         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9326         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9327         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9328         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9330 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9332         * sysdeps/generic/memcopy.h: Add comment for
9333         MEMCPY_OK_FOR_FWD_MEMMOVE.
9335 2014-07-04  Will Newton  <will.newton@linaro.org>
9337         * string/memchr.c: Merge from gnulib.
9338         [_LIBC]: Remove conditionals.
9339         (__ptr_t): Remove define.
9340         (LONG_MAX_32_BITS): Likewise.
9341         (LONG_MAX): Likewise.
9342         (MEMCHR): Use ANSI prototype and optimize algorithm.
9344         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9346 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9348         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9349         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9351         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9352         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9353         in a bare environment with no <stdlib.h> installed.
9354         * sysdeps/nptl/configure: Regenerated.
9356         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9358         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9359         AC_EGREP_CPP for kernel header checks, so they only succeed if
9360         including <linux/version.h> actually works right.
9361         * sysdeps/unix/sysv/linux/configure: Regenerated.
9363         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9364         value so it's not diagnosed as unused.
9366         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9367         thing) with "ifeq ($(subdir),rt)".
9369 2014-07-03  Richard Henderson  <rth@redhat.com>
9371         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9372         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9373         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9375         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9376         (math_force_eval): New.
9378         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9379         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9381         * sysdeps/alpha/fpu/s_round.c: Remove file.
9382         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9384         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9385         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9386         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9387         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9388         (_dl_start, print_statistics): Likewise.
9389         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9390         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9392         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9393         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9394         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9395         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9396         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9397         (HP_SMALL_TIMING_AVAIL): Define.
9398         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9400         (HP_SMALL_TIMING_AVAIL): Define.
9401         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9402         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9404         * sysdeps/aarch64/hp-timing.h: New file.
9406         * sysdeps/generic/hp-timing.h: Remove dead comment.
9407         * sysdeps/generic/hp-timing-common.h: New file.
9408         * sysdeps/alpha/hp-timing.h: Include it.
9409         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9410         * sysdeps/i386/i686/hp-timing.h: Likewise.
9411         * sysdeps/ia64/hp-timing.h: Likewise.
9412         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9413         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9414         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9415         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9416         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9417         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9418         (hp_timing_t): New.
9420         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9421         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9422         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9423         * elf/rtld.c (_dl_start_final): Likewise.
9424         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9425         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9426         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9427         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9428         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9429         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9430         (HP_TIMING_DIFF_INIT): Remove.
9431         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9432         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9433         (HP_TIMING_DIFF_INIT): Remove.
9434         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9435         * sysdeps/i386/i686/hp-timing.c: Remove file.
9436         * sysdeps/x86_64/hp-timing.c: Remove file.
9437         * sysdeps/ia64/hp-timing.c: Remove file.
9438         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9439         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9440         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9441         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9443         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9444         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9445         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9446         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9447         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9448         (HP_TIMING_ACCUM): Remove.
9449         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9450         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9451         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9453         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9454         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9455         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9456         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9458         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9459         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9460         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9462         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9464 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9466         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9468 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9470         Sync up with gettext.
9471         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9472         [_MSC_VER]: Include malloc.h
9473         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9474         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9475         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9476         TEMP_FAILURE_RETRY.  Cast return of alloca.
9477         [!_LIBC] Call gl_rwlock_init.
9478         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9480 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9482         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9483         before checking its value.
9485 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9487         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9489         * debug/memcpy_chk.c: Don't include pagecopy.h.
9490         * debug/mempcpy_chk.c: Likewise.
9491         * string/memcpy.c: Likewise.
9492         * string/memmove.c: Likewise.
9493         * sysdeps/powerpc/memmove.c: Likewise.
9494         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9495         definition of PAGE_COPY_FWD_MAYBE here...
9496         * sysdeps/generic/pagecopy.h: ... from here.
9497         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9499 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9500             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9502         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9504         optimizations.
9505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9506         (__libc_ifunc_impl_list): Likewise.
9507         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9508         multiarch strcat for PPC64.
9509         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9510         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9512 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9514         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9516 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9518         * intl/loadmsgcat.c: Remove declaration of
9519         get_sysdep_segment_value.
9520         (get_sysdep_segment_value): Use ISO C style.
9521         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9522         semicolon.  Fix typo and formatting in comment.
9523         (_nl_unload_domain): Use ISO C style.
9525         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9527 2014-07-02  Will Newton  <will.newton@linaro.org>
9529         * malloc/obstack.c: Merge from gnulib master.
9530         [HAVE_CONFIG_H]: Remove conditional code.
9531         [!_LIBC]: Include config.h.
9532         [!ELIDE_CODE]: Don't include inttypes.h, include
9533         stdint.h unconditionally.
9534         (print_and_abort): Mark as _Noreturn.
9535         (_obstack_allocated_p): Mark as __attribute_pure__.
9536         (obstack_free): Rename to __obstack_free.
9537         [!__attribute__]: Remove conditional code.
9538         * malloc/obstack.h: Merge from gnulib master.
9539         [__cplusplus]: Move conditional down.
9540         [!__attribute_pure__]: Define __attribute_pure__ here
9541         if it is not already defined.
9542         (_obstack_memory_used): Mark as __attribute_pure__.
9543         [!__obstack_free]: Define as obstack_free.
9544         [__GNUC__]: Remove check for ancient NeXT gcc.
9546 2014-07-02  Will Newton  <will.newton@linaro.org>
9547             Paul Eggert  <eggert@cs.ucla.edu>
9549         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9551 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9553         * resolv/gethnamaddr.c: Add comment warning that the file is
9554         not maintained.
9556 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9558         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9559         entries.
9561         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9562         entry for aio_cancel and aio_cancel64.
9563         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9564         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9565         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9566         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9567         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9568         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9569         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9570         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9571         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9572         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9573         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9574         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9575         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9577 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9579         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9580         * nptl/pthread_mutex_lock.c: Likewise.
9581         * nptl/pthread_mutex_timedlock.c: Likewise.
9582         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9584 2014-07-01  Richard henderson  <rth@redhat.com>
9586         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9587         (__isnan, __isnanl): Remove.
9588         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9590         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9592 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9596 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9598         * resolv/nss_dns/dns-host.c (getanswer_r)
9599         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9601 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9604         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9605         undefine.
9606         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9607         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9609 2014-07-01  Roland McGrath <roland@hack.frob.com>
9611         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9612         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9614         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9615         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9617         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9618         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9619         ... here.
9620         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9621         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9623         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9624         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9625         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9626         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9628         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9629         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9630         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9631         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9632         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9633         Moved ...
9634         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9635         ... here.
9636         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9637         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9638         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9639         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9640         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9641         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9642         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9643         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9644         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9645         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9646         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9647         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9648         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9649         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9650         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9651         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9652         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9653         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9654         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9655         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9656         ... here.
9657         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9658         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9659         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9660         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9661         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9662         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9663         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9664         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9666 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9668         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9669         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9670         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9671         Add sysdep.
9673 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9677 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9679         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9680         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9682         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9684         * sysdeps/arm/libm-test-ulps: Regenerated.
9686 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9687             Roland McGrath <roland@hack.frob.com>
9689         * test-skeleton.c (signal_handler): Kill the whole process group
9690         before killing the child individually.
9691         (main): Report any failure on `setpgid'.
9693 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9695         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9696         from _TLS_H to _ARM_NPTL_TLS_H.
9697         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9698         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9700 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9702         [BZ #16539]
9703         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9704         (__expm1l): Return argument unchanged when small but not
9705         subnormal.
9707         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9708         include macro name.
9709         (_FP_UNPACK_RAW_1_P): Likewise.
9710         (_FP_PACK_RAW_1): Likewise.
9711         (_FP_PACK_RAW_1_P): Likewise.
9712         (_FP_MUL_MEAT_1_wide): Likewise.
9713         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9714         (_FP_MUL_MEAT_1_hard): Likewise.
9715         (_FP_DIV_MEAT_1_imm): Likewise.
9716         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9717         (_FP_DIV_MEAT_1_udiv): Likewise.
9718         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9719         (_FP_UNPACK_RAW_2): Likewise.
9720         (_FP_UNPACK_RAW_2_P): Likewise.
9721         (_FP_PACK_RAW_2): Likewise.
9722         (_FP_PACK_RAW_2_P): Likewise.
9723         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9724         (_FP_MUL_MEAT_2_wide): Likewise.
9725         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9726         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9727         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9728         (_FP_MUL_MEAT_2_gmp): Likewise.
9729         (_FP_DIV_MEAT_2_udiv): Likewise.
9730         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9731         (_FP_FRAC_SRL_4): Likewise.
9732         (_FP_FRAC_SRST_4): Likewise.
9733         (_FP_FRAC_SRS_4): Likewise.
9734         (_FP_UNPACK_RAW_4): Likewise.
9735         (_FP_UNPACK_RAW_4_P): Likewise.
9736         (_FP_PACK_RAW_4): Likewise.
9737         (_FP_PACK_RAW_4_P): Likewise.
9738         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9739         (_FP_MUL_MEAT_4_wide): Likewise.
9740         (_FP_MUL_MEAT_4_gmp): Likewise.
9741         (umul_ppppmnnn): Likewise.
9742         (_FP_DIV_MEAT_4_udiv): Likewise.
9743         (__FP_FRAC_ADD_4): Likewise.
9744         (__FP_FRAC_SUB_3): Likewise.
9745         (__FP_FRAC_SUB_4): Likewise.
9746         (__FP_FRAC_DEC_3): Likewise.
9747         (__FP_FRAC_DEC_4): Likewise.
9748         (__FP_FRAC_ADDI_4): Likewise.
9749         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9750         (_FP_FRAC_SRL_8): Likewise.
9751         (_FP_FRAC_SRS_8): Likewise.
9753         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9754         include macro name.
9755         (FP_UNPACK_RAW_EP): Likewise.
9756         (FP_PACK_RAW_E): Likewise.
9757         (FP_PACK_RAW_EP): Likewise.
9758         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9759         (_FP_ISSIGNAN): Likewise.
9760         (_FP_ADD_INTERNAL): Likewise.
9761         (_FP_FMA): Likewise.
9762         (_FP_CMP): Likewise.
9763         (_FP_SQRT): Likewise.
9764         (_FP_TO_INT): Likewise.
9765         (_FP_FROM_INT): Likewise.
9766         (FP_EXTEND): Likewise.
9767         (_FP_DIV_MEAT_N_loop): Likewise.
9769 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9771         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9772         throughout.
9774 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9776         [BZ #17097]
9777         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9778         result with correct sign in case of exponents that produce
9779         overflow except for X very close to 1.
9781 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9783         mktime: merge #if/#ifdef usage from glibc
9784         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9785         as that works with both Glibc's and Gnulib's style.
9786         See thread starting at Siddhesh Poyarekar's bug report at:
9787         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9789 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9791         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9792         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9793         * sysdeps/tile/tilegx/memmove.c: Remove file.
9795 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9797         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9798         abi-name definition.
9799         * scripts/soversions.awk: Do not handle or generate ABI lines.
9800         * shlib-versions: Remove ABI entries.
9801         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9802         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9804 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9807         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9808         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9809         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9813         Moved ...
9814         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9815         ... here.
9816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9827         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9829         Moved ...
9830         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9832         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9834         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9836         Moved ...
9837         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9839         Moved ...
9840         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9842         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9844         Moved ...
9845         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9847         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9849         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9851         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9853         Moved ...
9854         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9856         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9857         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9858         Moved ...
9859         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9861         Moved ...
9862         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9864         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9865         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9866         Moved ...
9867         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9868         ... here.
9869         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9870         Identical file removed.
9871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9872         Moved ...
9873         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9875         Identical file removed.
9876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9877         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9879         Moved ...
9880         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9882         Identical file removed.
9883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9884         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9885         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9886         Identical file removed.
9887         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9888         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9890         Identical file removed.
9891         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9892         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9893         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9894         Identical file removed.
9895         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9896         Moved ...
9897         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9899         Identical file removed.
9900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9901         Moved ...
9902         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9903         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9904         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9906         Identical file removed.
9907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9908         Moved ...
9909         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9910         ... here.
9911         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9912         Identical file removed.
9913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9914         Moved ...
9915         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9917         Identical file removed.
9918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9919         Moved ...
9920         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9921         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9922         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9924         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9926         Moved ...
9927         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9928         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9929         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9931         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9932         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9933         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9934         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9935         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9937 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9939         [BZ #17092]
9940         * nscd/nscd.c (monitor_child): Return exit status of child
9941         instead of return value from wait syscall.
9943 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9945         * configure.ac (libc_commonpagesize): Remove variable.
9946         (libc_relro_required): Likewise.
9947         (libc_cv_z_relro): Remove configure test.
9948         * configure: Regenerated.
9949         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9950         variable.
9951         (libc_relro_required): Likewise.
9952         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9953         (libc_relro_required): Likewise.
9954         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9955         (libc_relro_required): Likewise.
9956         * sysdeps/arm/preconfigure: Regenerated.
9957         * sysdeps/ia64/preconfigure: Remove file.
9958         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9959         variable.
9960         (libc_relro_required): Likewise.
9962         [BZ #16561]
9963         [BZ #16562]
9964         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9965         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9966         recompute overflowing results in original rounding mode.
9967         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9968         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9969         recompute overflowing results in original rounding mode.
9970         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9971         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9972         recompute overflowing results in original rounding mode.
9973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9974         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9975         recompute overflowing results in original rounding mode.
9976         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9977         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9978         recompute overflowing results in original rounding mode.
9979         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9980         (libc_feholdsetround_ctx): New macro.
9981         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9982         * sysdeps/i386/fpu/libm-test-ulps: Update.
9983         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9985 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9987         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9988         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9989         corresponding .cpsetup call.
9991 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9993         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9994         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9995         * sysdeps/arm/Makefile [$(subdir) = csu]
9996         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9997         (static-only-routines): Add aeabi_read_tp here.
9998         (shared-only-routines): Add libc-aeabi_read_tp here.
9999         (CFLAGS-libc-start.c): Add -fexceptions here.
10000         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10001         (sysdep_routines, static-only-routines, shared-only-routines):
10002         Don't add to these here.
10003         (CFLAGS-libc-start.c): Likewise.
10005         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10006         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10007         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10008         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10009         * sysdeps/arm/Makefile [$(subdir) = rt]
10010         (librt-sysdep_routines, librt-shared-only-routines):
10011         Append rt-aeabi_unwind_cpp_pr1 here.
10012         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10013         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10014         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10015         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10016         Append nptl-aeabi_unwind_cpp_pr1 here.
10017         (tests): Filter out tst-cleanupx4 here.
10018         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10019         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10020         Don't do those here.
10022 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10024         * scripts/list-sources.sh: Do not handle ports specially.
10026 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10028         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10029         * sysdeps/arm/feupdateenv.c: Likewise.
10031         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10033 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10035         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10036         trailing whitespace removed.
10037         * scripts/config.guess: Update to version 2014-03-23.
10038         * scripts/config.sub: Update to version 2014-05-01
10039         * scripts/install-sh: Update to version 2013-12-25.23.
10040         * scripts/move-if-change: Update from gnulib.
10042 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10044         * debug/memmove_chk.c: Remove pagecopy.h include.
10046 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10048         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10049         identical to gnulib mktime.
10051 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10053         * configure.ac: Do not test for machine being rs6000.  Do not test
10054         for powerpc*-*soft.
10055         * configure: Regenerated.
10057         [BZ #11505]
10058         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10059         test.
10060         * configure: Regenerated.
10061         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10062         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10063         Remove configure test.
10064         * sysdeps/arm/configure: Regenerated.
10065         * sysdeps/nptl/configure.ac: Do not check
10066         libc_cv_asm_cfi_directives.
10067         * sysdeps/nptl/configure: Regenerated.
10068         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10069         * sysdeps/x86_64/nptl/configure: Remove generated file.
10070         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10071         unconditional.
10072         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10074 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10076         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10077         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10078         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10079         it is defined.
10081         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10082         instead of whether it is defined.
10083         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10084         * sysdeps/hppa/dl-machine.h: Likewise.
10085         * sysdeps/ia64/dl-machine.h: Likewise.
10086         * sysdeps/m68k/dl-machine.h: Likewise.
10087         * sysdeps/microblaze/dl-machine.h: Likewise.
10088         * sysdeps/mips/dl-machine.: Likewise.
10089         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10090         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10091         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10092         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10093         * sysdeps/sh/dl-machine.h: Likewise.
10094         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10095         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10096         * sysdeps/tile/dl-machine.h: Likewise.
10097         * sysdeps/x86_64/dl-machine.h: Likewise.
10099         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10100         code.
10101         (verify_persistent_db): Likewise.
10103 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10106         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10108         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10110         Moved ...
10111         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10112         ... here.
10113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10114         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10116         Identical file removed.
10117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10118         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10120         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10122         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10124         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10126         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10128         Moved ...
10129         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10131         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10133         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10135         Moved ...
10136         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10138         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10140         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10142         Identical file removed.
10143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10144         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10146         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10148         Moved ...
10149         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10150         ... here.
10151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10152         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10154         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10156         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10158         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10160         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10162         Moved ...
10163         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10165         Moved ...
10166         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10168         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10170         Moved ...
10171         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10173         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10175         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10176         folded into ...
10177         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10178         * sysdeps/unix/sysv/linux/s390/Versions
10179         (libpthread: GLIBC_2.19): New version set.
10180         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10181         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10182         (librt: GLIBC_2.3.3): New version set.
10183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10184         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10185         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10187         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10188         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10189         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10190         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10191         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10192         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10193         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10194         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10195         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10196         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10197         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10198         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10199         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10200         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10201         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10202         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10203         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10204         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10205         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10207         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10209         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10211         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10213         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10218         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10219         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10221         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10223         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10225         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10227         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10229         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10230         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10231         (__libc_vfork): Define the function under this name.
10232         [!NOT_IN_libc] (__vfork): Make this an alias.
10233         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10235         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10236         (__libc_vfork): Define the function under this name.
10237         [!NOT_IN_libc] (__vfork): Make this an alias.
10238         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10239         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10240         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10243         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10245         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10246         code that was previously under [RESET_PID].
10247         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10248         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10251         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10252         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10253         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10254         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10255         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10256         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10257         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10258         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10259         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10260         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10261         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10262         Moved ...
10263         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10264         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10265         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10266         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10267         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10268         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10269         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10270         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10271         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10272         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10273         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10274         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10275         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10276         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10277         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10278         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10279         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10280         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10281         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10282         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10283         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10284         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10285         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10286         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10287         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10288         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10289         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10290         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10291         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10293 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10295         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10296         that was previously under [RESET_PID].
10297         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10299 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10301         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10302         not undefine and redefine.
10303         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10304         [O_CLOEXEC]: Make code unconditional.
10305         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10306         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10307         <kernel-features.h>.
10308         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10309         conditional variable definition.
10310         (shm_open) [O_CLOEXEC]: Make code unconditional.
10311         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10312         code.
10314         * configure.ac (USE_REGPARMS): Don't define here.
10315         * configure: Regenerated.
10316         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10317         * sysdeps/i386/configure: Regenerated.
10319         * nptl/createthread.c: Don't include kernel-features.h.
10320         * nptl/pthread_cancel.c: Likewise.
10321         * nptl/pthread_condattr_setclock.c: Likewise.
10322         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10323         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10324         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10325         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10326         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10327         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10328         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10331         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10332         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10333         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10334         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10335         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10336         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10337         * nscd/gai.c: Likewise.
10338         * nss/nss_db/db-open.c: Likewise.
10339         * sysdeps/generic/ldsodefs.h: Likewise.
10340         * sysdeps/sh/nptl/tls.h: Likewise.
10341         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10342         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10343         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10344         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10345         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10346         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10347         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10348         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10349         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10350         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10351         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10352         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10353         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10354         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10355         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10356         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10357         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10358         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10359         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10360         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10361         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10363         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10364         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10365         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10369         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10370         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10371         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10372         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10373         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10374         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10375         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10376         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10377         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10378         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10379         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10380         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10381         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10382         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10383         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10384         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10385         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10386         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10387         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10388         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10389         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10390         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10391         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10392         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10393         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10394         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10395         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10396         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10397         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10398         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10421         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10422         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10423         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10424         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10425         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10426         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10428         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10429         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10430         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10431         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10432         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10433         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10434         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10435         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10436         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10437         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10438         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10439         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10440         * sysdeps/unix/sysv/linux/system.c: Likewise.
10441         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10442         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10443         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10444         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10445         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10446         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10447         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10449         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10450         * configure: Regenerated.
10451         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10453         * configure.ac (base_machine): Do not set specially for particular
10454         machines here.
10455         * configure: Regenerated.
10456         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10457         settings from configure.ac.
10458         * sysdeps/i386/preconfigure: New file.
10459         * sysdeps/s390/preconfigure: Likewise.
10460         * sysdeps/sh/preconfigure: Likewise.
10461         * sysdeps/sparc/preconfigure: Likewise.
10463 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10465         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10466         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10467         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10468         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10469         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10470         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10471         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10472         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10473         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10474         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10475         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10476         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10477         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10478         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10479         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10482         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10483         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10485         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10486         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10487         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10488         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10489         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10490         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10491         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10492         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10493         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10494         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10495         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10496         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10497         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10498         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10499         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10500         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10501         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10502         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10503         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10504         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10505         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10506         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10507         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10508         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10510         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10511         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10512         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10513         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10514         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10515         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10516         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10518         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10519         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10520         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10521         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10522         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10525         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10527         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10529         Moved ...
10530         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10531         ... here.
10532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10533         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10535         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10537         Moved ...
10538         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10540         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10542         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10544         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10546         Moved ...
10547         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10549         Moved ...
10550         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10552         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10554         Moved ...
10555         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10557         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10559         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10561         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10563         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10565         Moved ...
10566         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10567         ... here.
10568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10569         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10571         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10573         Moved ...
10574         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10576         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10578         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10580         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10582         Moved ...
10583         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10585         Moved ...
10586         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10588         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10590         Moved ...
10591         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10593         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10595         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10597 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10599         * timezone/checktab.awk: Update from tzcode 2014e.
10600         * timezone/private.h: Likewise.
10601         * timezone/tzfile.h: Likewise.
10602         * timezone/zdump.c: Likewise.
10603         * timezone/zic.c: Likewise.
10605         * sysdeps/unix/sysv/linux/kernel-features.h
10606         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10607         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10608         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10609         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10610         Remove conditional code.
10612 2014-06-25  Will Newton  <will.newton@linaro.org>
10614         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10615         (_dl_arm_cap_flags): Add HWCAP2 values.
10616         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10617         (_DL_HWCAP_COUNT): Increase to 37.
10618         (_DL_HWCAP_LAST): New define.
10619         (_DL_HWCAP2_LAST): New define.
10620         (_dl_procinfo): Add support for printing
10621         AT_HWCAP2 entries.
10622         (_dl_string_hwcap): Use _dl_hwcap_string.
10624 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10628 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10630         * README: Do not mention ports directory.
10632         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10633         Remove macro.
10634         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10635         <kernel-features.h>.
10636         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10637         conditional variable definition.
10638         (__futimes): Update comment.
10639         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10640         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10642         [BZ #16560]
10643         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10644         arguments close to 0.
10645         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10646         Likewise.
10647         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10648         Likewise.
10649         * math/auto-libm-test-in: Add more tests of exp10.
10650         * math/auto-libm-test-out: Regenerated.
10651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10653         * sysdeps/unix/sysv/linux/kernel-features.h
10654         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10655         * sysdeps/unix/sysv/linux/readv.c: Do not include
10656         <kernel-features.h>.
10657         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10658         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10659         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10660         unconditional.
10661         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10662         conditional code.
10663         * sysdeps/unix/sysv/linux/writev.c: Do not include
10664         <kernel-features.h>.
10665         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10666         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10667         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10668         unconditional.
10669         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10670         conditional code.
10672 2014-06-25  Will Newton  <will.newton@linaro.org>
10674         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10675         comment changes throughout the file.  Remove checks
10676         for HAVE_*_H definitions that are not required.
10677         (__gen_tempname): Call abort if an unknown kind value is
10678         passed.
10680 2014-06-25  Andreas Schwab  <schwab@suse.de>
10682         [BZ #17086]
10683         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10684         scalbln, scalblnf, scalblnl in libc.
10686 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10688         [BZ #17086]
10689         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10690         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10691         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10693 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10695         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10696         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10697         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10698         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10699         Update #include.
10700         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10701         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10702         Update #include.
10703         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10704         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10705         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10706         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10707         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10708         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10709         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10710         * sysdeps/x86/bits/semaphore.h: ... here.
10711         * sysdeps/x86/nptl/elide.h: Moved ...
10712         * sysdeps/x86/elide.h: ... here.
10713         * sysdeps/x86_64/nptl/Implies: File removed.
10714         * sysdeps/i386/nptl/Implies: File removed.
10716 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10718         [BZ #16539]
10719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10720         return the argument for normal arguments with exponent below -64.
10721         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10722         Likewise.
10723         * math/auto-libm-test-in: Add another test of expm1.
10724         * math/auto-libm-test-out: Regenerated.
10726         [BZ #16287]
10727         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10728         calling __erfcl for arguments at least 16.
10729         * math/auto-libm-test-in: Add more tests of erf.
10730         * math/auto-libm-test-out: Regenerated.
10732         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10733         individual architectures.
10734         * sysdeps/unix/sysv/linux/configure: Regenerated.
10735         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10736         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10737         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10738         (ldd_rewrite_script): Define variable.
10739         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10741         file.
10742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10743         generated file.
10744         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10745         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10746         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10747         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10748         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10749         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10750         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10751         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10753 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10755         [BZ #17084]
10756         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10757         Rename member __data.d to __data.__elision_data.
10759 2014-06-24  Wilco  <wdijkstr@arm.com>
10761         * NEWS: Add 16918 to fixed bug list.
10763 2014-06-24  Wilco  <wdijkstr@arm.com>
10765         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10767 2014-06-24  Wilco  <wdijkstr@arm.com>
10769         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10770         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10771         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10772         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10773         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10774         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10775         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10776         Use _FPU_MASK_RM.
10778 2014-06-24  Wilco  <wdijkstr@arm.com>
10780         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10782 2014-06-24  Wilco  <wdijkstr@arm.com>
10784         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10785         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10786         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10787         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10789 2014-06-24  Wilco  <wdijkstr@arm.com>
10791         [BZ #16918]
10792         * sysdeps/arm/feupdateenv.c (feupdateenv):
10793         Rewrite to reduce FPSCR accesses and fix return value.
10795 2014-06-24  Wilco  <wdijkstr@arm.com>
10797         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10798         Optimize to avoid unnecessary FPSCR writes.
10799         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10800         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10801         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10802         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10804 2014-06-24  Wilco  <wdijkstr@arm.com>
10806         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10807         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10808         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10809         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10810         Call libc_fetestexcept_vfp.
10811         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10812         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10813         __SOFTFP__ ifdef so that they can be built for softfp.
10815 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10817         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10818         argument type signed char.
10820         * Makerules (check-abi): Dump diff of symlist if the test
10821         fails.
10823 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10825         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10826         using abort.
10828         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10829         Remove unused variable ST.
10831 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10833         [BZ #16354]
10834         [BZ #17061]
10835         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10836         small arguments before calling __expm1.
10837         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10838         small arguments before calling __expm1f.
10839         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10840         small arguments before calling __expm1l.
10841         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10842         Likewise.
10843         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10844         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10845         spurious underflow for some cosh tests.
10846         * math/auto-libm-test-out: Regenerated.
10847         * sysdeps/i386/fpu/libm-test-ulps: Update.
10849         [BZ #17050]
10850         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10851         (__ieee754_y1): Set errno if return value overflows.
10852         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10853         (__ieee754_y1f): Set errno if return value overflows.
10854         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10855         (__ieee754_y1l): Set errno if return value overflows.
10856         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10857         (__ieee754_y1l): Set errno if return value overflows.
10858         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10859         * math/auto-libm-test-out: Regenerated.
10861         * math/gen-auto-libm-tests.c: Document use of
10862         ignore-zero-inf-sign.
10863         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10864         (input_flags): Add ignore-zero-inf-sign.
10865         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10866         * math/gen-libm-test.pl (generate_testfile): Handle
10867         ignore-zero-inf-sign.
10868         * math/auto-libm-test-in: Mark some cpow tests with
10869         ignore-zero-inf-sign and some with xfail-rounding.
10870         * math/auto-libm-test-out: Regenerated.
10871         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10872         * sysdeps/i386/fpu/libm-test-ulps: Update.
10873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10875         [BZ #16315]
10876         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10877         overflowing or underflowing operations take place with sign of
10878         result.
10879         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10880         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10881         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10882         (__ieee754_pow): Recompute overflowing and underflowing results in
10883         original rounding mode.
10884         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10885         (__powl_helper): Allow negative argument X and scale negated value
10886         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10887         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10888         overflowing or underflowing operations take place with sign of
10889         result.
10890         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10891         Include <math.h>.
10892         * math/auto-libm-test-in: Add more tests of pow.
10893         * math/auto-libm-test-out: Regenerated.
10894         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10895         (pow_tonearest_test_data): Remove.
10896         (pow_test_tonearest): Likewise.
10897         (pow_towardzero_test_data): Likewise.
10898         (pow_test_towardzero): Likewise.
10899         (pow_downward_test_data): Likewise.
10900         (pow_test_downward): Likewise.
10901         (pow_upward_test_data): Likewise.
10902         (pow_test_upward): Likewise.
10903         (main): Don't call removed functions.
10904         * sysdeps/i386/fpu/libm-test-ulps: Update.
10905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10907 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10910         Moved ...
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10913         Moved ...
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10916         Moved ...
10917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10919         Moved ...
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10922         File removed.
10923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10924         File removed.
10925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10926         File removed.
10927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10928         File removed.
10929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10930         File removed.
10931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10932         File removed.
10933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10934         File removed.
10935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10936         File removed.
10937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10938         File removed.
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10940         File removed.
10941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10942         File removed.
10943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10944         File removed.
10945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10946         Moved ...
10947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10951         ... here.
10952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10953         Moved ...
10954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10956         Moved ...
10957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10959         Moved ...
10960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10962         Moved ...
10963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10965         Moved ...
10966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10968         Moved ...
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10971         Moved ...
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10975         ... here.
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10977         Moved ...
10978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10980         Moved ...
10981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10982         ... here.
10983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10984         Moved ...
10985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10986         ... here.
10987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10988         Moved ...
10989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10990         ... here.
10991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10992         Moved ...
10993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10995         Moved ...
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11000         Moved ...
11001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11002         ... here.
11003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11004         Moved ...
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11006         ... here.
11007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11008         Moved ...
11009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11011         Moved ...
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11014         Moved ...
11015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11017         Moved ...
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11020         Moved ...
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11022         ... here.
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11024         Moved ...
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11027         Moved ...
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11030         Moved ...
11031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11033         Moved ...
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11038         Moved ...
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11041         Moved ...
11042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11044         Moved ...
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11046         ... here.
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11048         Moved ...
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11050         ... here.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11052         Moved ...
11053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11054         ... here.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11056         Moved ...
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11059         Moved ...
11060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11062         Moved ...
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11065         Moved ...
11066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11067         ... here.
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11069         Moved ...
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11071         ... here.
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11073         Moved ...
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11075         ... here.
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11077         Moved ...
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11080         Moved ...
11081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11083 2014-06-23  Will Newton  <will.newton@linaro.org>
11084             Wilco  <wdijkstr@arm.com>
11086         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11087         implementation.  Include get-rounding-mode.h.
11088         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11089         [!libc_feholdsetround_noex_ctx]: Define
11090         libc_feholdsetround_noex_ctx.
11091         [!libc_feholdsetround_noexf_ctx]: Define
11092         libc_feholdsetround_noexf_ctx.
11093         [!libc_feholdsetround_noexl_ctx]: Define
11094         libc_feholdsetround_noexl_ctx.
11095         (libc_feholdsetround_ctx): New function.
11096         (libc_feresetround_ctx): New function.
11097         (libc_feholdsetround_noex_ctx): New function.
11098         (libc_feresetround_noex_ctx): New function.
11100 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11102         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11103         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11104         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11105         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11106         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11107         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11109         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11110         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11111         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11112         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11113         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11114         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11116         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11118         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11120         Moved ...
11121         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11122         ... here.
11123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11124         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11126         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11128         Moved ...
11129         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11131         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11133         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11135         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11137         Moved ...
11138         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11139         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11140         Moved ...
11141         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11143         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11145         Moved ...
11146         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11147         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11148         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11149         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11150         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11151         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11152         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11154         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11156         Moved ...
11157         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11158         ... here.
11159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11160         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11162         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11164         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11166         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11167         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11168         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11169         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11170         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11172         Moved ...
11173         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11175         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11177         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11179         Moved ...
11180         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11181         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11182         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11183         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11184         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11186         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11187         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11188         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11189         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11190         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11191         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11192         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11193         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11194         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11195         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11196         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11197         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11198         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11199         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11200         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11201         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11202         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11203         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11204         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11205         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11206         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11207         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11208         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11209         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11210         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11211         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11212         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11213         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11215 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11217         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11218         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11219         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11220         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11221         (IPV6_PMTUDISC_INTERFACE): Likewise.
11222         (IPV6_PMTUDISC_OMIT): Likewise.
11224 2014-06-23  Andreas Schwab  <schwab@suse.de>
11226         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11227         Remove unused errout label.
11229 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11231         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11232         macro: hardware supports Vector Crypto instructions.
11234 2014-06-23  Will Newton  <will.newton@linaro.org>
11236         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11237         rather than __builtin_expect.
11239         * elf/dl-lookup.c (undefined_msg): Remove variable.
11240         (_dl_lookup_symbol_x): Replace undefined_msg with string
11241         literal.
11243         * elf/dl-lookup.c (do_lookup_unique): New function.
11244         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11245         to a separate function.
11247 2014-06-23  Andreas Schwab  <schwab@suse.de>
11249         [BZ #17079]
11250         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11251         before reading the next line.
11253 2014-06-23  Will Newton  <will.newton@linaro.org>
11255         * test-skeleton.c (signal_handler): Use printf and %m
11256         rather than perror.  Use printf rather than fprintf to
11257         stderr.  Use puts rather than fputs to stderr.
11258         (main): Likewise.
11260 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11262         * nscd/nscd.c (thread_info_t): Remove typedef.
11263         (thread_info): Remove variable.
11265 2014-06-21  Allan McRae  <allan@archlinux.org>
11267         * NEWS: Mention CVE-2014-4043.
11269 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11271         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11272         * nptl/smp.h: ... here.
11274         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11276         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11277         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11278         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11279         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11281         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11282         * nptl/stack-aliasing.h: New file.
11283         * sysdeps/i386/i686/stack-aliasing.h: New file.
11284         * sysdeps/i386/i686/nptl/Makefile: File removed.
11285         * sysdeps/x86_64/stack-aliasing.h: New file.
11286         * sysdeps/x86_64/nptl/Makefile
11287         (CFLAGS-pthread_create.c): Variable removed.
11289         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11290         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11291         old file.
11292         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11293         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11294         old file.
11296 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11298         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11299         (__ASSUME_SIGFRAME_V2): Remove macro.
11300         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11301         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11302         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11303         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11304         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11305         Declare as function.  Remove conditional macro definitions.
11306         (__default_rt_sa_restorer): Likewise.
11307         (__default_sa_restorer_v1): Remove declaration.
11308         (__default_sa_restorer_v2): Likewise.
11309         (__default_rt_sa_restorer_v1): Likewise.
11310         (__default_rt_sa_restorer_v2): Likewise.
11311         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11312         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11313         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11315 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11317         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11318         (libpthread-routines): Add sysdep.
11319         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11320         * sysdeps/unix/sysv/linux/sparc/Versions
11321         (libpthread: GLIBC_2.3.3): New version set.
11322         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11323         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11324         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11325         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11326         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11327         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11328         Moved ...
11329         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11330         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11331         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11332         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11333         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11334         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11335         * sysdeps/sparc/nptl/sem_init.c: ... here.
11336         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11337         * sysdeps/sparc/nptl/sem_post.c: ... here.
11338         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11339         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11340         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11341         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11342         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11344         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11345         (libpthread-routines): Add cpu_relax.
11346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11347         File removed.
11348         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11349         (librt: GLIBC_2.3.3): New version set.
11350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11351         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11352         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11353         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11356         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11358         Moved ...
11359         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11361         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11363         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11365         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11367         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11369         Moved ...
11370         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11371         Update #include.
11372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11373         Moved ...
11374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11375         Update #include.
11376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11377         Moved ...
11378         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11379         Update #include.
11380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11381         Moved ...
11382         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11383         Update #include.
11384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11385         Moved ...
11386         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11387         Update #include.
11388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11389         Moved ...
11390         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11391         Update #include.
11392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11393         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11399         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11401         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11403         Moved ...
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11406         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11408         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11410 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11412         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11413         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11414         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11415         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11416         * nscd/nscd.c: Likewise.
11417         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11418         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11419         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11420         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11422         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11423         <kernel-features.h>.
11424         (init_mq_netlink): Remove conditional have_sock_cloexec
11425         definitions.  Remove code conditional on have_sock_cloexec < 0.
11426         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11427         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11428         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11429         <kernel-features.h>.
11430         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11431         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11433 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11436         Add tests for memset_chk and memset.
11438         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11439         with AVX2_Usable.
11441 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11443         [BZ #16046]
11444         * elf/tst-dl-iter-static.c: New file.
11445         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11447         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11448         error.
11450 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11452         * sysdeps/unix/sysv/linux/kernel-features.h
11453         (__ASSUME_F_GETOWN_EX): Remove macro.
11454         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11455         <kernel-features.h>.
11456         (miss_F_GETOWN_EX): Remove variable or macro.
11457         (do_fcntl): Do not check miss_F_GETOWN_EX.
11458         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11461         Remove macro.
11462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11463         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11464         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11466         * sysdeps/unix/sysv/linux/kernel-features.h
11467         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11468         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11469         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11470         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11472 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11474         [BZ #17075]
11475         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11476         Fix calculation of the symbol's value.
11477         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11478         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11479         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11480         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11481         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11482         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11483         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11484         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11485         (modules-names): Add `tst-armtlsdescmod',
11486         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11487         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11488         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11489         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11490         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11491         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11492         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11493         ($(objpfx)tst-armtlsdescloc): New dependency.
11494         ($(objpfx)tst-armtlsdescextnow): Likewise.
11495         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11496         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11497         TLS scheme support.
11498         * sysdeps/arm/configure: Regenerate.
11500 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11502         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11503         (__atfct_seterrno_2): Likewise.
11504         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11505         <kernel-features.h>.
11506         (__ASSUME_ATFCTS): Do not undefine and redefine.
11507         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11508         (__have_atfcts): Remove conditional definition.
11509         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11510         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11511         unreachable if [__ASSUME_ATFCTS].
11512         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11513         not undefine and redefine.
11514         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11515         <kernel-features.h>.
11516         (faccessat) [__NR_faccessat]: Make code unconditional.
11517         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11518         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11519         <kernel-features.h>.
11520         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11521         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11522         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11523         <kernel-features.h>.
11524         (fchownat) [__NR_fchownat]: Make code unconditional.
11525         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11526         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11527         <kernel-features.h>.
11528         (futimesat) [__NR_futimesat]: Make code unconditional.
11529         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11530         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11531         <kernel-features.h>.
11532         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11533         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11534         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11535         <kernel-features.h>.
11536         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11537         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11538         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11539         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11540         <kernel-features.h>.
11541         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11542         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11543         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11544         <kernel-features.h>.
11545         (linkat) [__NR_linkat]: Make code unconditional.
11546         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11547         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11548         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11549         <kernel-features.h>.
11550         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11551         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11552         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11553         <kernel-features.h>.
11554         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11555         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11556         * sysdeps/unix/sysv/linux/openat.c: Do not include
11557         <kernel-features.h>.
11558         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11559         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11560         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11561         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11562         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11563         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11564         <kernel-features.h>.
11565         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11566         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11567         result of INLINE_SYSCALL directly, not via int variable.
11568         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11569         <kernel-features.h>.
11570         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11571         (renameat) [__NR_renameat]: Make code unconditional.
11572         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11573         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11574         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11575         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11576         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11577         (__ASSUME_ATFCTS): Do not undefine and redefine.
11578         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11579         <kernel-features.h>.
11580         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11581         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11582         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11583         <kernel-features.h>.
11584         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11585         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11586         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11587         (__ASSUME_ATFCTS): Do not undefine and redefine.
11588         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11589         <kernel-features.h>.
11590         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11591         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11592         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11593         <kernel-features.h>.
11594         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11595         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11597 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11599         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11601 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11603         [BZ #17069]
11604         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11605         constructed tree before returning error.
11606         * posix/bug-regexp36.c: Expand test case.
11608 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11610         [BZ #6803]
11611         * math/libm-test.inc (scalbln_test_date):
11612         Add errno expectations.
11613         * math/w_scalblnf.c: New File.
11614         Add wrapper which checks for setting errno to ERANGE.
11615         Add weak_alias for corresponding scalbln function.
11616         * math/w_scalbln.c: Likewise.
11617         * math/w_scalblnl.c: Likewise.
11618         * math/Makefile (libm-calls): Add w_scalbln.
11619         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11620         Remove weak_alias for corresponding scalbln function.
11621         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11624         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11625         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11626         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11627         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11628         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11629         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11630         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11631         Remove long_double_symbol for scalblnl function in libm, libc.
11632         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11633         Add wrapper which checks for setting errno to ERANGE.
11634         Add long_double_symbol for scalblnl function in libm, libc.
11635         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11636         Remove long_double_symbol for scalblnl in libm.
11637         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11638         Add wrapper which checks for setting errno to ERANGE.
11639         Add long_double_symbol for scalblnl function in libm.
11640         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11641         Do not use wrapper because of own implementation.
11643 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11645         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11646         3 bytes for __pad1 for x32.
11647         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11649 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11650             H.J. Lu  <hongjiu.lu@intel.com>
11652         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11653         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11654         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11655         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11656         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11658 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11660         [BZ #17069]
11661         * posix/regcomp.c (parse_expression): Deallocate partially
11662         constructed tree before returning error.
11663         * posix/Makefile.c (tests): Add bug-regex36.
11664         (generated): Add bug-regex36.mtrace.
11665         (tests-special): Add $(objpfx)bug-regex36-mem.out
11666         (bug-regex36-ENV): New variable.
11667         ($(objpfx)bug-regex36-mem.out): New rule.
11668         * posix/bug-regex36.c: New file.
11670 2014-06-19  Will Newton  <will.newton@linaro.org>
11672         * malloc/malloc.c (systrim): If extra is zero then return
11673         early.
11675 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11677         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11679 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11681         * sysdeps/aarch64/strchr.S: New file.
11683 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11685         [BZ #17022]
11686         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11687         from arguments -2 or below.
11688         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11689         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11691 2014-06-18  Andreas Schwab  <schwab@suse.de>
11693         [BZ #17062]
11694         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11695         of a bracket expr not to run off the end of the string.
11696         * posix/Makefile (tests): Add tst-fnmatch3.
11697         * posix/tst-fnmatch3.c: New file.
11699 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11701         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11702         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11703         [$(cross-compiling) = no]: Likewise.
11704         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11705         [$(cross-compiling) = no]: Likewise.
11707 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11709         [BZ #17031]
11710         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11711         double, adjusted for any remainder from the high double.
11712         * math/libm-test.inc (nearbyint): Add tests.
11713         (rint): Likewise.
11715 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11717         * nptl/sysdeps/powerpc/Makefile: Moved ...
11718         * sysdeps/powerpc/nptl/Makefile: ... here.
11719         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11720         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11721         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11722         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11723         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11724         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11725         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11726         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11727         * nptl/sysdeps/powerpc/tls.h: Moved ...
11728         * sysdeps/powerpc/nptl/tls.h: ... here.
11730 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11732         [BZ #16681]
11733         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11734         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11735         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11736         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11737         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11738         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11739         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11740         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11741         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11743 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11745         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11747 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11749         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11750         defined operator.
11752         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11753         $TIMEOUTFACTOR.
11755 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11757         [BZ #17058]
11758         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11759         non-executed part of the test.
11761 2014-06-16  Andreas Schwab  <schwab@suse.de>
11763         * string/bits/string2.h (strdup, strndup): Update feature guard.
11765 2014-06-14  David S. Miller  <davem@davemloft.net>
11767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11769 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11771         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11772         that was previously under [RESET_PID].
11773         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11775         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11776         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11777         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11778         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11779         (__libc_vfork): New strong alias.
11780         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11782 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11784         * sysdeps/generic/elide.h: New file.
11786 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11788         * Makefile (installed-headers): Adjust path of pthread.h header.
11790 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11792         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11793         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11794         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11795         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11797         * nptl/sysdeps/s390/Makefile: Moved ...
11798         * sysdeps/s390/nptl/Makefile: ... here.
11799         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11800         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11801         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11802         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11803         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11804         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11805         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11806         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11807         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11808         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11809         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11810         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11811         * nptl/sysdeps/s390/tls.h: Moved ...
11812         * sysdeps/s390/nptl/tls.h: ... here.
11814         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11815         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11817 2014-06-13  David S. Miller  <davem@davemloft.net>
11819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11822         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11826         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11827         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11828         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11829         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11830         Remove RESET_PID cpp guards.
11831         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11832         Remove RESET_PID cpp guards.
11833         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11835 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11837         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11838         __sp to uintptr_t.
11840 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11847         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11850         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11856         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11863         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11864         (pthread_rwlock_rdlock): Add elision.
11865         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11866         (pthread_rwlock_wrlock): Add elision.
11867         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11868         (pthread_rwlock_trywrlock): Add elision.
11869         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11870         (pthread_rwlock_tryrdlock): Add elision.
11871         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11872         (pthread_rwlock_tryrdlock): Add elision unlock.
11873         * nptl/sysdeps/pthread/pthread.h:
11874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11875         (PTHREAD_RWLOCK_INITIALIZER,
11876         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11877         Handle new elision field.
11878         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11879         * sysdeps/arm/nptl/bits/pthreadtypes.h
11880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11881         * sysdeps/sh/nptl/bits/pthreadtypes.h
11882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11883         * sysdeps/tile/nptl/bits/pthreadtypes.h
11884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11885         * sysdeps/a/nptl/bits/pthreadtypes.h
11886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11887         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11889         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11891         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11893         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11894         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11895         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11896         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11897         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11899         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11900         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11901         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11902         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11903         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11904         (elision_init): Set try_xbegin to zero when no RTM.
11905         * sysdeps/x86/nptl/bits/pthreadtypes.h
11906         (pthread_rwlock_t): Change __pad1 to __rwelision.
11907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11909 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11911         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11912         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11913         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11914         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11916 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11918         [BZ #16996]
11919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11920         that the cached result has been set before returning it.
11922 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11924         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11925         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11926         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11927         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11928         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11929         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11931         * nptl/sysdeps/sparc/Makefile: Moved ...
11932         * sysdeps/sparc/nptl/Makefile: ... here.
11933         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11934         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11935         * nptl/sysdeps/sparc/tls.h: Moved ...
11936         * sysdeps/sparc/nptl/tls.h: ... here.
11937         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11938         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11939         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11940         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11941         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11942         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11943         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11944         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11945         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11946         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11947         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11948         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11949         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11950         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11951         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11952         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11953         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11954         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11955         Update #include.
11956         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11958         Update #include.
11959         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11960         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11961         Update #include.
11962         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11963         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11964         Update #include.
11966         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11968         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11969         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11971         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11972         (struct list_links): Type removed.
11973         (struct thread_node, struct timer_node): Replace struct list_links
11974         with struct list_head.
11975         (list_unlink_ip): Likewise.
11976         * sysdeps/pthread/timer_routines.c
11977         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11978         (list_append, list_insbefore): Likewise.
11979         (list_init): Function removed.
11980         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11981         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11982         * sysdeps/pthread/Makefile: ... here, new file.
11984         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11985         * sysdeps/nptl/Implies: ... here.
11986         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11987         * nptl/sysdeps/pthread/list.h: Moved ...
11988         * include/list.h: ... here.
11989         * nptl/sysdeps/pthread/createthread.c: Moved ...
11990         * nptl/createthread.c: ... here.
11991         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11992         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11993         * nptl/pt-longjmp.c: ... here.
11994         * nptl/sysdeps/pthread/Makefile: Moved ...
11995         * sysdeps/nptl/Makefile: ... here.
11996         * nptl/sysdeps/pthread/Subdirs: Moved ...
11997         * sysdeps/nptl/Subdirs: ... here.
11998         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11999         * sysdeps/nptl/aio_misc.h: ... here.
12000         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12001         * sysdeps/nptl/bits/libc-lock.h: ... here.
12002         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12003         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12004         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12005         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12006         * nptl/sysdeps/pthread/configure: Moved ...
12007         * sysdeps/nptl/configure: ... here.
12008         * nptl/sysdeps/pthread/configure.ac: Moved ...
12009         * sysdeps/nptl/configure.ac: ... here.
12010         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12011         * sysdeps/nptl/gai_misc.h: ... here.
12012         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12013         * sysdeps/nptl/librt-cancellation.c: ... here.
12014         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12015         * sysdeps/nptl/malloc-machine.h: ... here.
12016         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12017         * sysdeps/nptl/pthread-functions.h: ... here.
12018         * nptl/sysdeps/pthread/pthread.h: Moved ...
12019         * sysdeps/nptl/pthread.h: ... here.
12020         * nptl/sysdeps/pthread/setxid.h: Moved ...
12021         * sysdeps/nptl/setxid.h: ... here.
12022         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12023         * sysdeps/nptl/sigfillset.c: ... here.
12024         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12025         * sysdeps/nptl/tcb-offsets.h: ... here.
12026         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12027         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12028         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12029         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12030         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12031         * sysdeps/pthread/allocalim.h: ... here.
12032         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12033         * sysdeps/pthread/bits/sigthread.h: ... here.
12034         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12035         * sysdeps/pthread/flockfile.c: ... here.
12036         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12037         * sysdeps/pthread/ftrylockfile.c: ... here.
12038         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12039         * sysdeps/pthread/funlockfile.c: ... here.
12040         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12041         * sysdeps/pthread/posix-timer.h: ... here.
12042         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12043         * sysdeps/pthread/timer_create.c: ... here.
12044         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12045         * sysdeps/pthread/timer_delete.c: ... here.
12046         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12047         * sysdeps/pthread/timer_getoverr.c: ... here.
12048         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12049         * sysdeps/pthread/timer_gettime.c: ... here.
12050         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12051         * sysdeps/pthread/timer_routines.c: ... here.
12052         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12053         * sysdeps/pthread/timer_settime.c: ... here.
12054         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12055         * sysdeps/pthread/tst-timer.c: ... here.
12056         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12057         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12059         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12060         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12062         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12063         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12064         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12065         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12066         Update #include target.
12067         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12068         * sysdeps/i386/i686/nptl/Makefile: ... here.
12069         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12070         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12071         Update #include target.
12072         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12073         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12074         * nptl/sysdeps/i386/Makefile: Moved ...
12075         * sysdeps/i386/nptl/Makefile: ... here.
12076         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12077         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12078         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12079         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12080         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12081         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12082         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12083         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12084         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12085         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12086         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12087         * nptl/sysdeps/i386/tls.h: Moved ...
12088         * sysdeps/i386/nptl/tls.h: ... here.
12090         * sysdeps/sh/Makefile [$(subdir) = csu]
12091         (gen-as-const-headers): Add tcb-offsets.sym.
12092         * nptl/sysdeps/sh/Makefile: File removed.
12093         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12094         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12095         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12096         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12097         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12098         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12099         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12100         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12101         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12102         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12103         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12104         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12105         * nptl/sysdeps/sh/tls.h: Moved ...
12106         * sysdeps/sh/nptl/tls.h: ... here.
12107         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12108         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12109         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12110         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12111         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12112         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12113         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12114         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12115         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12116         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12118         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12120         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12122         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12123         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12124         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12125         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12126         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12128         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12129         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12131         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12132         Moved ...
12133         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12134         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12135         Moved ...
12136         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12137         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12138         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12139         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12141         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12142         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12143         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12144         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12145         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12146         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12147         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12148         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12149         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12150         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12151         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12152         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12153         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12154         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12156 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12158         * posix/spawn_faction_addopen.c: Include string.h.
12160 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12162         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12163         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12164         * nptl/sysdeps/x86_64/Makefile: Moved ...
12165         * sysdeps/x86_64/nptl/Makefile: ... here.
12166         * nptl/sysdeps/x86_64/configure: Moved ...
12167         * sysdeps/x86_64/nptl/configure: ... here.
12168         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12169         * sysdeps/x86_64/nptl/configure.ac: ... here.
12170         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12171         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12172         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12173         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12174         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12175         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12176         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12177         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12178         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12179         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12180         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12181         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12182         * nptl/sysdeps/x86_64/tls.h: Moved ...
12183         * sysdeps/x86_64/nptl/tls.h: ... here.
12184         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12185         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12186         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12187         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12189         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12191 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12195 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12197         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12198         type.
12199         [POSIX] (off_t): Likewise.
12200         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12201         [POSIX] (S_ISBLK): Require macro.
12202         [POSIX] (S_ISCHR): Likewise.
12203         [POSIX] (S_ISDIR): Likewise.
12204         [POSIX] (S_ISFIFO): Likewise.
12205         [POSIX] (S_ISREG): Likewise.
12206         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12207         optional-macro.
12208         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12209         type.
12210         [POSIX] (time_t): Likewise.
12211         [POSIX] (timer_t): Likewise.
12213 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12215         [BZ #17048]
12216         * posix/spawn_int.h (struct __spawn_action): Make the path string
12217         non-const to support deallocation.
12218         * posix/spawn_faction_addopen.c
12219         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12220         * posix/spawn_faction_destroy.c
12221         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12222         path in all spawn_do_open actions.
12223         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12224         posix_spawn_file_actions_addopen.
12226 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12228         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12229         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12230         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12231         conditional code always true.
12232         (__libc_vfork): New alias.
12234 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12236         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12237         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12239         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12241         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12242         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12244         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12245         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12247         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12248         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12250 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12252         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12253         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12254         multiarch strcmp for PPC64.
12255         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12256         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12258         multiarch optimizations.
12259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12260         (__libc_ifunc_impl_list): Likewise.
12262 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12264         * benchtests/scripts/validate_benchout.py: New script.
12265         * benchtests/Makefile (bench-func): Call it.
12266         * benchtests/scripts/benchout.schema.json: New file.
12268 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12270         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12271         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12272         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12273         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12274         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12275         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12276         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12277         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12278         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12279         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12280         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12281         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12282         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12283         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12284         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12285         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12287         Moved ...
12288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12289         ... here.
12290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12291         Moved ...
12292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12294         Moved ...
12295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12296         ... here.
12297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12298         Moved ...
12299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12300         ... here.
12301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12302         Moved ...
12303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12305         Moved ...
12306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12307         ... here.
12308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12309         Moved ...
12310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12311         ... here.
12312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12313         Moved ...
12314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12316         Moved ...
12317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12318         ... here.
12319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12320         Moved ...
12321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12322         ... here.
12323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12324         Moved ...
12325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12326         ... here.
12327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12328         Moved ...
12329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12331         Moved ...
12332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12333         ... here.
12334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12335         Moved ...
12336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12337         ... here.
12338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12339         Moved ...
12340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12341         ... here.
12342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12343         Moved ...
12344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12346         Moved ...
12347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12348         ... here.
12349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12350         Moved ...
12351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12352         ... here.
12353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12354         Moved ...
12355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12357         Moved ...
12358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12359         ... here.
12360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12361         Moved ...
12362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12364         Moved ...
12365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12367         Moved ...
12368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12369         ... here.
12370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12371         Moved ...
12372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12373         ... here.
12374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12375         Moved ...
12376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12377         ... here.
12378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12379         Moved ...
12380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12382         Moved ...
12383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12384         ... here.
12385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12386         Moved ...
12387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12388         ... here.
12389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12390         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12392         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12394         Moved ...
12395         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12396         ... here.
12397         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12398         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12400         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12401         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12402         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12404         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12406         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12407         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12408         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12409         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12410         Moved ...
12411         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12413         Moved ...
12414         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12415         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12416         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12418         Moved ...
12419         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12421         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12422         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12423         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12424         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12425         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12427 2014-06-10  Wilco  <wdijkstr@arm.com>
12429         * math/test-fenv-return.c: New file.
12430         * math/Makefile: Add new test test-fenv-return.
12432 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12434         [BZ #17042]
12435         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12436         when x - 1 is zero.
12437         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12438         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12439         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12440         0.0L for an argument of 1.0L.
12441         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12442         Likewise.
12443         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12444         value when x - 1 is zero.
12445         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12446         * sysdeps/i386/fpu/libm-test-ulps: Update.
12447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12449 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12451         [BZ #15119]
12452         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12454 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12456         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12457         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12459 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12461         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12462         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12464         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12465         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12467         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12468         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12470         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12471         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12473         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12474         if not already defined.
12475         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12476         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12477         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12478         (TLS_INIT_TP): Use it.
12479         (TLS_DEFINE_INIT_TP): New macro.
12480         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12482 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12484         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12485         constant.
12486         [POSIX] (IXANY): Likewise.
12487         [POSIX] (OLCUC): Likewise.
12488         [POSIX || POSIX2008] (CBAUD): Do not allow.
12489         [POSIX || POSIX2008] (DEFECHO): Likewise.
12490         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12491         [POSIX || POSIX2008] (ECHOKE): Likewise.
12492         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12493         [POSIX || POSIX2008] (EXTA): Likewise.
12494         [POSIX || POSIX2008] (EXTB): Likewise.
12495         [POSIX || POSIX2008] (FLUSHO): Likewise.
12496         [POSIX || POSIX2008] (LOBLK): Likewise.
12497         [POSIX || POSIX2008] (PENDIN): Likewise.
12498         [POSIX || POSIX2008] (SWTCH): Likewise.
12499         [POSIX || POSIX2008] (VDISCARD): Likewise.
12500         [POSIX || POSIX2008] (VDSUSP): Likewise.
12501         [POSIX || POSIX2008] (VLNEXT): Likewise.
12502         [POSIX || POSIX2008] (VREPRINT): Likewise.
12503         [POSIX || POSIX2008] (VSTATUS): Likewise.
12504         [POSIX || POSIX2008] (VWERASE): Likewise.
12505         (B*): Change to B[0123456789]*.
12506         * conform/data/time.h-data [POSIX || UNIX98]
12507         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12508         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12509         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12510         [POSIX] (tm_*): Do not allow.
12512 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12514         * Makefile (install): Don't set LANGUAGE.
12515         * Makefile.in (install): Likewise.
12516         * assert/Makefile (test-assert-ENV): Remove variable.
12517         (test-assert-perr-ENV): Likewise.
12518         * elf/Makefile (neededtest4-ENV): Likewise.
12519         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12520         [$(cross-compiling) = no]: Don't set LANGUAGE.
12521         * io/ftwtest-sh (LANG): Remove variable.
12522         * libio/Makefile (tst-widetext-ENV): Likewise.
12523         * manual/install.texi (Running make install): Don't refer to
12524         environment settings for make install.
12525         * INSTALL: Regenerated.
12526         * nptl/tst-tls6.sh: Don't set LANG.
12527         * posix/globtest.sh (LANG): Remove variable.
12528         * string/Makefile (tester-ENV): Likewise.
12529         (inl-tester-ENV): Likewise.
12530         (noinl-tester-ENV): Likewise.
12531         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12532         [$(cross-compiling) = no]: Don't set LANGUAGE.
12533         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12534         without explicit environment settings.
12536 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12538         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12539         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12540         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12541         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12543 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12545         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12546         other files in the crypt directory.
12547         * crypt/crypt.c: Remove duplicate includes.
12548         * crypt/crypt-entry.c: Likewise.
12549         * crypt/crypt_util.c: Likewise.
12551 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12553         * Makeconfig (run-program-env): New variable.
12554         (run-program-prefix-before-env): Likewise.
12555         (run-program-prefix-after-env): Likewise.
12556         (run-program-prefix): Define in terms of new variables.
12557         (built-program-cmd-before-env): New variable.
12558         (built-program-cmd-after-env): Likewise.
12559         (built-program-cmd): Define in terms of new variables.
12560         (test-program-prefix-before-env): New variable.
12561         (test-program-prefix-after-env): Likewise.
12562         (test-program-prefix): Define in terms of new variables.
12563         (test-program-cmd-before-env): New variable.
12564         (test-program-cmd-after-env): Likewise.
12565         (test-program-cmd): Define in terms of new variables.
12566         * Rules (make-test-out): Use $(run-program-env).
12567         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12568         (help): Do not mention environment variables.  Mention
12569         --timeoutfactor option.
12570         (timeoutfactor): New variable.
12571         (blacklist_exports): Remove function.
12572         (exports): Remove variable.
12573         (command): Do not include ${exports}.
12574         * manual/install.texi (Configuring and compiling): Do not mention
12575         test wrappers preserving environment variables.  Mention that last
12576         assignment to a variable must take precedence.
12577         * INSTALL: Regenerated.
12578         * benchtests/Makefile (run-bench): Use $(run-program-env).
12579         * catgets/Makefile ($(objpfx)test1.cat): Use
12580         $(built-program-cmd-before-env), $(run-program-env) and
12581         $(built-program-cmd-after-env).
12582         ($(objpfx)test2.cat): Do not specify environment variables
12583         explicitly.
12584         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12585         $(run-program-env) and $(built-program-cmd-after-env).
12586         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12587         $(run-program-env) and $(test-program-cmd-after-env).
12588         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12589         explicitly.
12590         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12591         run_program_env and test_program_cmd_after_env arguments.
12592         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12593         * elf/tst-pathopt.sh: Use run_program_env argument.
12594         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12595         $(test-wrapper-env) and $(run-program-env).
12596         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12597         run_program_env arguments.
12598         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12599         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12600         $(test-program-prefix-before-env), $(run-program-env) and
12601         $(test-program-prefix-after-env).
12602         ($(objpfx)tst-gettext2.out): Likewise.
12603         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12604         run_program_env and test_program_prefix_after_env arguments.
12605         * intl/tst-gettext2.sh: Likewise.
12606         * intl/tst-gettext4.sh: Do not set environment variables
12607         explicitly.
12608         * intl/tst-gettext6.sh: Likewise.
12609         * intl/tst-translit.sh: Likewise.
12610         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12611         $(test-program-prefix-before-env), $(run-program-env) and
12612         $(test-program-prefix-after-env).
12613         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12614         run_program_env and test_program_prefix_after_env arguments.
12615         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12616         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12617         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12618         explicitly with each use of ${test_wrapper_env}.
12619         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12620         $(test-program-prefix-before-env), $(run-program-env) and
12621         $(test-program-prefix-after-env).
12622         * posix/tst-getconf.sh: Do not set environment variables
12623         explicitly.
12624         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12625         run_program_env and test_program_prefix_after_env arguments.
12626         * stdio-common/tst-printf.sh: Do not set environment variables
12627         explicitly.
12628         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12629         $(test-program-prefix-before-env), $(run-program-env) and
12630         $(test-program-prefix-after-env).
12631         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12632         run_program_env and test_program_prefix_after_env arguments.
12633         Split $test calls into $test_pre and $test.
12634         * timezone/Makefile (build-testdata): Use
12635         $(built-program-cmd-before-env), $(run-program-env) and
12636         $(built-program-cmd-after-env).
12638 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12640         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12641         strlen for non SHARED builds.
12643 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12645         * nptl/allocatestack.c (check_list): Inlined function...
12646         (__reclaim_stacks): ... here.
12648 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12650         [BZ #15698]
12651         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12652         memory overrun.
12654 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12656         * Rules (make-test-out): Include
12657         LOCPATH=$(common-objpfx)localedata in default environment.
12658         * debug/Makefile (tst-chk1-ENV): Remove variable.
12659         (tst-chk2-ENV): Likewise.
12660         (tst-chk3-ENV): Likewise.
12661         (tst-chk4-ENV): Likewise.
12662         (tst-chk5-ENV): Likewise.
12663         (tst-chk6-ENV): Likewise.
12664         (tst-lfschk1-ENV): Likewise.
12665         (tst-lfschk2-ENV): Likewise.
12666         (tst-lfschk3-ENV): Likewise.
12667         (tst-lfschk4-ENV): Likewise.
12668         (tst-lfschk5-ENV): Likewise.
12669         (tst-lfschk6-ENV): Likewise.
12670         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12671         (tst-iconv7-ENV): Likewise.
12672         * intl/Makefile (LOCPATH-ENV): Likewise.
12673         (tst-codeset-ENV): Likewise.
12674         (tst-gettext3-ENV): Likewise.
12675         (tst-gettext5-ENV): Likewise.
12676         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12677         (tst-fopenloc-ENV): Likewise.
12678         (tst-fgetws-ENV): Remove variable.
12679         (tst-ungetwc1-ENV): Likewise.
12680         (tst-ungetwc2-ENV): Likewise.
12681         (bug-ungetwc2-ENV): Likewise.
12682         (tst-swscanf-ENV): Likewise.
12683         (bug-ftell-ENV): Likewise.
12684         (tst-fgetwc-ENV): Likewise.
12685         (tst-fseek-ENV): Likewise.
12686         (tst-ftell-partial-wide-ENV): Likewise.
12687         (tst-ftell-active-handler-ENV): Likewise.
12688         (tst-ftell-append-ENV): Likewise.
12689         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12690         (tst-regexloc-ENV): Likewise.
12691         (bug-regex1-ENV): Likewise.
12692         (tst-regex-ENV): Likewise.
12693         (tst-regex2-ENV): Likewise.
12694         (bug-regex5-ENV): Likewise.
12695         (bug-regex6-ENV): Likewise.
12696         (bug-regex17-ENV): Likewise.
12697         (bug-regex18-ENV): Likewise.
12698         (bug-regex19-ENV): Likewise.
12699         (bug-regex20-ENV): Likewise.
12700         (bug-regex22-ENV): Likewise.
12701         (bug-regex23-ENV): Likewise.
12702         (bug-regex25-ENV): Likewise.
12703         (bug-regex26-ENV): Likewise.
12704         (bug-regex30-ENV): Likewise.
12705         (bug-regex32-ENV): Likewise.
12706         (bug-regex33-ENV): Likewise.
12707         (bug-regex34-ENV): Likewise.
12708         (bug-regex35-ENV): Likewise.
12709         (tst-rxspencer-ENV): Likewise.
12710         (tst-rxspencer-no-utf8-ENV): Likewise.
12711         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12712         (tst-sscanf-ENV): Likewise.
12713         (tst-swprintf-ENV): Likewise.
12714         (tst-swscanf-ENV): Likewise.
12715         (test-vfprintf-ENV): Likewise.
12716         (scanf13-ENV): Likewise.
12717         (bug14-ENV): Likewise.
12718         (tst-grouping-ENV): Likewise.
12719         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12720         (tst-strtod3-ENV): Likewise.
12721         (tst-strtod4-ENV): Likewise.
12722         (tst-strtod5-ENV): Likewise.
12723         (testmb2-ENV): Likewise./
12724         * string/Makefile (tst-strxfrm-ENV): Likewise.
12725         (tst-strxfrm2-ENV): Likewise.
12726         (bug-strcoll1-ENV): Likewise.
12727         (test-strcasecmp-ENV): Likewise.
12728         (test-strncasecmp-ENV): Likewise.
12729         * time/Makefile (tst-strptime-ENV): Likewise.
12730         (tst-ftime_l-ENV): Likewise.
12731         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12732         (tst-mbrtowc-ENV): Likewise.
12733         (tst-wcrtomb-ENV): Likewise.
12734         (tst-mbrtowc2-ENV): Likewise.
12735         (tst-c16c32-1-ENV): Likewise.
12736         (tst-mbsnrtowcs-ENV): Likewise.
12738 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12740         * manual/resource.texi (How to get information about the memory
12741         subsystem?): Fix typo.
12742         Reported by Peon de la Parra Ivan <peon@keba.com>
12744 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12746         [BZ #16882]
12747         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12748         (pthread_spin_lock): Branch out of spin loop to proper location.
12749         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12750         (pthread_spin_lock): Likewise.
12752         * nptl/tst-spin4.c: New test.
12753         * nptl/Makefile (tests): Add tst-spin4.
12755 2014-06-03  Andreas Schwab  <schwab@suse.de>
12757         [BZ #15946]
12758         * resolv/res_send.c (send_dg): Reload file descriptor after
12759         calling reopen.
12761 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12763         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12765 2014-06-03  Richard Henderson  <rth@redhat.com>
12767         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12768         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12769         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12770         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12771         in the SAVE_PID block.
12772         (__libc_vfork): New alias.
12773         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12775         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12776         child in registers, not on the stack.  Remove RESET_PID conditionals.
12777         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12779 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12781         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12783 2014-06-03  Wilco  <wdijkstr@arm.com>
12785         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12786         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12787         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12788         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12789         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12790         Likewise.
12792 2014-06-03  Wilco  <wdijkstr@arm.com>
12794         * sysdeps/aarch64/fpu/math_private.h
12795         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12796         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12797         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12798         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12799         Fix declarations.
12801 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12803         * crypt/crypt-private.h: Include ufc-crypt.h.
12804         (__b64_from_24bit): Declare extern.
12805         * crypt/crypt_util.c(__b64_from_24bit): New function.
12806         (b64t): New static const variable.
12807         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12808         (b64t): Remove variable.
12809         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12810         * crypt/sha256-crypt.c: Include crypt-private.h.
12811         (b64t): Remove variable.
12812         (__sha256_crypt_r): Remove b64_from_24bit and replace
12813         with __b64_from_24bit.
12814         * crypt/sha512-crypt.c: Likewise.
12816 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12818         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12819         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12820         Label the code __libc_vfork rather than __vfork.
12821         [!NOT_IN_libc] (vfork): Define as weak alias.
12822         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12823         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12824         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12826 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12828         * malloc/malloc.c (malloc_info): Fix format specifier for
12829         n_mmaps.
12831 2014-06-02  Wilco  <wdijkstr@arm.com>
12833         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12834         FPCR write.
12836 2014-06-02  Wilco  <wdijkstr@arm.com>
12838         [BZ #17009]
12839         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12840         Rewrite to reduce FPCR/FPSR accesses.
12842 2014-06-01  David S. Miller  <davem@davemloft.net>
12844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12846 2014-05-31  David S. Miller  <davem@davemloft.net>
12848         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12849         to occur in round to nearest mode when |x| >= 2.0
12851 2014-05-30  Richard Henderson  <rth@twiddle.net>
12853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12854         (PSEUDO_RET_NOERRNO): Remove.
12855         (ret): Don't redefine.
12856         (ret_NOERRNO): Define in terms of ret.
12857         (ret_ERRVAL): Likewise.
12859         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12860         use of PSEUDO_RET; perform the error check directly.
12862 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12864         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12865         with __int128_t.
12867 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12869         * malloc/malloc (malloc_info): Fix formatting.
12871 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12872             Roland McGrath  <roland@hack.frob.com>
12874         * malloc/malloc (malloc_info): Also print mmapped statistics.
12876 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12878         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12879         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12881 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12883         * malloc/malloc.c (malloc_info): Inline mi_arena.
12885 2014-05-29  Richard Henderson  <rth@twiddle.net>
12887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12888         Remove comma before expanding ASM_ARGS_##nr.
12889         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12890         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12891         of ASM_ARGS_##nr.
12892         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12893         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12894         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12895         (ASM_ARGS_1): Add leading comma.
12897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12898         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12899         to __errno_location.
12900         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12901         Remove the expected plt for __errno_location.
12903         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12904         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12905         call to __read_tp.
12907         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12908         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12909         it and break it down.
12910         (DOCARGS_0, DOCARGS_1): Do nothing.
12911         (DOCARGS_2): Update to store into the new stack frame.
12912         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12913         (UNDOCARGS_1): Update to restore from the new stack frame.
12914         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12915         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12917         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12918         (SINGLE_THREAD_P): New parameter for result regno.
12919         (PSEUDO): Update to match; use cbz instead of beq.
12921         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12922         Use ENTRY to define the _nocancel entry point.  Share the syscall
12923         and syscall error check paths with the cancel path.
12924         (PSEUDO_END): New.
12926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12927         whitespace; tabs before and after asm mnemonics.
12929 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12931         [BZ #15132]
12932         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12933         Call fstat64 or stat64 internally, depending on arguments passed.
12934         Replace stat buffer argument with file descriptor argument.
12935         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12936         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12937         Pass fd to __internal_statvfs instead of calling fstat64.
12938         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12939         Pass fd to __internal_statvfs64 instead of calling fstat64.
12940         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12941         Pass -1 to __internal_statvfs instead of calling stat64.
12942         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12943         Pass -1 to __internal_statvfs64 instead of calling stat64.
12945 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12947         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12948         that was previously under [RESET_PID].
12949         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12951         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12952         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12954 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12956         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12958         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12959         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12961 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12963         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12965 2014-05-27  Andreas Schwab  <schwab@suse.de>
12967         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12968         TLS_INIT_TP macro.
12969         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12970         * elf/rtld.c (init_tls, dl_main): Likewise.
12971         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12972         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12973         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12974         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12975         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12976         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12977         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12978         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12979         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12980         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12981         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12982         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12983         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12984         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12985         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12986         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12987         * sysdeps/generic/tls.h: Update description.
12989 2014-05-27  Will Newton  <will.newton@linaro.org>
12991         [BZ #16990]
12992         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12993         and restore r2 rather than just restoring.
12995 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12997         [BZ #16724]
12998         * libio/tst-ftell-append.c: New test case.
12999         * libio/Makefile (tests): Add test case.
13000         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13001         append mode.
13002         * libio/wfileops.c (do_ftell_wide): Likewise.
13004 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13008         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13009         ...
13010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13012         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13013         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13014         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13015         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13016         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13019         Moved ...
13020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13022         Moved ...
13023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13024         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13025         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13026         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13027         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13028         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13029         ...
13030         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13031         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13032         Moved ...
13033         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13034         here.
13035         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13036         ...
13037         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13038         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13039         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13041         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13042         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13043         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13044         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13047         merge into ...
13048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13050         ...
13051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13053         ...
13054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13056         Moved ...
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13058         here.
13059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13060         Moved ...
13061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13063         Moved ...
13064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13067         conditional [RESET_PID].
13068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13070         removed.
13071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13072         removed.
13074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13075         <tcb-offsets.h>.
13076         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13077         (__libc_vfork): New strong alias.
13078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13079         removed.
13080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13081         Removed.
13083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13084         <tcb-offsets.h>.
13085         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13086         (__libc_vfork): New strong alias.
13087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13088         removed.
13089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13090         removed.
13092 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13094         * malloc/malloc.c (mi_arena): New function.
13095         (malloc_info): Remove nested function mi_arena. Call non-nosted
13096         function mi_arena.
13098 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13100         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13101         by insrwi.
13102         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13103         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13104         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13105         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13106         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13107         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13108         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13110 2014-05-26  Andreas Schwab  <schwab@suse.de>
13112         [BZ #16984]
13113         * locale/programs/repertoire.c (repertoire_read): Add slash
13114         between I18NPATH element and file name.
13115         * locale/programs/locfile.c (locfile_read): Likewise.
13117 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13119         * nptl/pthread_mutexattr_settype.c
13120         (__pthread_mutexattr_settype):
13121         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13123 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13125         * nptl/tst-mutex5 (do_test):
13126         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13128 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13130         * benchtests/README: Document 'init' directive.
13131         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13132         BENCH_INIT.
13133         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13134         (parse_file): Recognize 'init' directive.
13136 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13138         [BZ #16796]
13139         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13140         alignment of struct pthread.
13142 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13144         [BZ #16878]
13145         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13146         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13147         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13148         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13150 2014-05-25  Richard Henderson  <rth@twiddle.net>
13152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13153         (SINGLE_THREAD_P_PIC): Remove.
13154         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13155         (SINGLE_THREAD_P_PIC): Remove.
13157         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13158         branch to syscall error ...
13159         (PSEUDO): ... here.
13160         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13161         from __local_syscall_error to .Lsyscall_error.
13162         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13163         (SYSCALL_ERROR): Update label name.
13165         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13166         Do not use DOARGS/UNDOARGS.
13167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13168         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13169         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13170         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13171         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13173         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13174         block comment.
13176         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13177         define if !NOT_IN_libc.
13178         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13179         define with non-default symbol versions.
13181 2014-05-23  Richard Henderson  <rth@twiddle.net>
13183         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13184         (vfork, __vfork): Define via compat_symbol.
13186         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13187         [!HAVE_IFUNC] (vfork_compat): Remove.
13188         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13190 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13192         [BZ #16978]
13193         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13194         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13195         variable.
13197 2014-05-23  Richard Henderson  <rth@twiddle.net>
13199         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13200         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13201         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13202         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13204         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13205         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13206         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13207         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13208         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13209         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13210         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13211         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13212         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13213         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13214         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13215         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13216         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13217         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13218         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13219         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13220         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13221         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13222         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13223         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13224         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13225         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13226         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13227         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13228         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13229         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13230         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13231         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13232         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13233         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13234         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13235         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13236         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13237         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13238         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13239         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13240         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13241         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13242         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13243         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13244         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13245         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13246         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13247         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13248         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13249         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13250         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13251         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13253         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13255         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13256         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13257         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13258         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13259         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13261         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13262         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13263         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13264         before exiting on error.
13265         (__libc_vfork): New strong alias.
13266         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13267         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13269         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13270         that was previously under [RESET_PID].
13271         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13273         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13275 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13277         [BZ #16977]
13278         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13279         value when x - 1 is zero.
13280         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13281         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13282         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13283         0.0L for an argument of 1.0L.
13284         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13285         Likewise.
13286         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13287         value when x - 1 is zero.
13288         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13289         * sysdeps/i386/fpu/libm-test-ulps: Update.
13290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13292 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13294         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13295         alphasort and versionsort.
13297 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13299         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13300         macro.
13301         [copysignf]: Likewise.
13303 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13305         * crypt/md5-crypt.c: Fix formatting.
13307 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13309         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13310         (b64_from_24bit): New function.
13312 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13314         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13315         libc_hidden_builtin_def to ifunc.
13316         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13317         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13319 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13321         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13322         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13324 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13326         * nscd/Depend (linuxthreads): Remove.
13327         (nptl): Add.
13328         * resolv/Depend (linuxthreads): Remove.
13329         * rt/Depend (linuxthreads): Remove.
13331         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13332         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13333         $(common-objpfx)elf/.
13334         (link-libc-before-gnulib): Likewise.
13335         (elfobjdir): Remove variable.
13336         * Makefile (install): Use $(elf-objpfx) instead of
13337         $(common-objpfx)elf/.
13338         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13339         $(elfobjdir)/.
13340         (link-libc-deps): Likewise.
13341         ($(common-objpfx)libc.so): Likewise.
13342         ($(common-objpfx)linkobj/libc.so): Likewise.
13343         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13344         instead of $(common-objpfx)elf/.
13345         (symbolic-link-list): Likewise.
13346         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13347         [$(cross-compiling) = no]: Likewise.
13348         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13349         $(elfobjdir)/.
13350         (static-gnulib-arch): Likewise.
13351         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13352         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13353         $(common-objpfx)elf/.
13355 2014-05-21  Richard Henderson  <rth@redhat.com>
13357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13358         (SINGLE_THREAD_P): Use the correct width load.  Fold
13359         into the ldr offset.
13361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13362         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13364 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13366         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13367         (libgcc_s_resume): Use __attribute_used__.
13368         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13369         Likewise.
13371 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13373         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13374         optimization when used with float constants.
13376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13378 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13380         [BZ #16915]
13381         * locale/nl_langinfo_l.c: Make direct reference to every
13382         _nl_current_CATEGORY symbol.
13383         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13384         (tests-static): Add tst-langinfo-static.
13385         (tests-special): Add tst-langinfo-static.out.
13386         ($(objpfx)tst-langinfo.out): Redirect output.
13387         ($(objpfx)tst-langinfo-static.out): New.
13388         * localedata/tst-langinfo.sh: Send output to stdout.
13389         * localedata/tst-langinfo-static.c: New file.
13391         [BZ #16965]
13392         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13393         when the shift amount is modulo the limb size.
13395 2014-05-20  Richard Henderson  <rth@redhat.com>
13397         [BZ #16967]
13398         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13399         Change type of sa_flags from unsigned int to int.
13401         [BZ #16966]
13402         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13404         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13406 2014-05-20  Will Newton  <will.newton@linaro.org>
13408         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13409         Test the return value of the system call in the nocancel case.
13411 2014-05-20  Will Newton  <will.newton@linaro.org>
13412             Yvan Roux  <yvan.roux@linaro.org>
13414         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13415         #include of asm/ptrace.h.
13416         (PTRACE_GET_THREAD_AREA): Remove #undef.
13417         (PTRACE_GETHBPREGS): Likewise.
13418         (PTRACE_SETHBPREGS): Likewise.
13419         (struct user_regs_struct): New structure.
13420         (struct user_fpsimd_struct): New structure.
13421         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13422         #include of asm/ptrace.h and second #include of sys/user.h.
13423         (PTRACE_GET_THREAD_AREA): Remove #undef.
13424         (PTRACE_GETHBPREGS): Likewise.
13425         (PTRACE_SETHBPREGS): Likewise.
13426         (ELF_NGREG): Use new struct user_regs_struct.
13427         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13429 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13431         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13434 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13436         [BZ #16958]
13437         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13438         membar to avoid block loads/stores to overlap previous stores.
13440 2014-05-17  Richard Henderson  <rth@redhat.com>
13442         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13443         Create the __##syscall_name##_nocancel entry point.
13444         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13445         Remove; let the sysdep-cancel.h code create it.
13447 2014-05-17  David S. Miller  <davem@davemloft.net>
13449         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13450         Protect with __USE_GNU.
13451         (TIOCSET_TEMPT): Likewise.
13452         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13453         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13454         these are already provided in bits/ioctl-types.h
13456 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13458         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13459         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13461         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13462         Use wait4 regardless of [__NR_waitpid].
13464 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13466         PR libgcc/60166
13467         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13468         (_FP_NANSIGN_Q): Set the quiet bit.
13470 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13472         * benchtests/Makefile
13473         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13474         not $(common-objpfx)math/libm.so.
13475         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13476         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13477         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13478         $(common-objpfx)dlfcn/libdl.so.
13479         ($(objpfx)tst-audit8): Depend on $(libm), not
13480         $(common-objpfx)math/libm.so.
13481         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13482         not $(common-objpfx)dlfcn/libdl.so.
13483         * math/Makefile
13484         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13485         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13486         [$(build-shared) = yes].
13487         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13488         $(common-objpfx)nptl/libpthread.so.
13489         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13490         $(common-objpfx)math/libm.so$(libm.so-version) or
13491         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13492         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13493         $(common-objpfx)dlfcn/libdl.so.
13494         * setjmp/Makefile (link-libm): Remove variable.
13495         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13496         * stdio-common/Makefile (link-libm): Remove variable.
13497         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13498         * stdlib/Makefile (link-libm): Remove variable.
13499         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13500         ($(objpfx)tst-strtod-round): Likewise.
13501         ($(objpfx)tst-tininess): Likewise.
13502         ($(objpfx)tst-strtod-underflow): Likewise.
13503         ($(objpfx)tst-strtod6): Likewise.
13504         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13505         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13506         $(common-objpfx)dlfcn/libdl.so.
13508 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13510         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13511         BSD terminal modes definitions.
13513 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13515         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13516         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13518         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13519         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13520         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13521         Don't do #include_next.
13522         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13523         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13524         Don't do #include_next.
13525         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13526         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13527         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13528         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13530 2014-05-16  Allan McRae  <allan@archlinux.org>
13532         * po/sv.po: Update Swedish translation from translation project.
13534         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13535         in sed expression.
13537 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13539         [BZ #16917]
13540         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13541         errno if the TIOCGPTN ioctl fails with an error different than
13542         EINVAL.
13543         * login/tst-ptsname.c: New file.
13544         * login/Makefile (tests): Add tst-ptsname.
13546         [BZ #16943]
13547         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13548         and prlimit64.
13550 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13552         [BZ #16849]
13553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13554         herrno to return EAI_AGAIN.
13556 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13558         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13559         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13560         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13561         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13562         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13563         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13564         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13565         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13567         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13568         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13569         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13571         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13572         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13573         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13574         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13575         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13576         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13577         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13578         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13579         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13580         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13581         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13582         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13583         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13584         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13585         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13586         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13587         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13589         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13591         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13593         Moved ...
13594         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13596         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13598         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13600         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13602         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13604         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13606         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13608         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13610         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13612         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13614         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13616         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13618         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13620         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13622         Moved ...
13623         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13625         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13627         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13629         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13631         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13635         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13637         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13639         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13641         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13643         Moved ...
13644         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13646         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13648         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13649         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13650         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13651         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13652         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13653         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13654         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13655         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13656         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13657         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13658         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13659         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13660         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13661         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13662         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13663         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13664         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13665         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13666         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13667         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13668         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13669         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13670         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13671         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13672         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13673         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13674         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13675         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13676         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13677         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13678         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13680         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13681         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13683         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13684         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13685         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13686         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13687         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13689         Moved ...
13690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13691         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13692         Moved ...
13693         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13694         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13695         Moved ...
13696         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13697         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13698         Moved ...
13699         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13700         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13701         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13702         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13703         Moved ...
13704         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13705         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13706         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13707         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13708         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13709         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13710         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13711         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13712         Moved ...
13713         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13714         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13715         Moved ...
13716         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13717         ... here.
13718         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13719         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13720         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13721         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13722         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13723         Moved ...
13724         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13725         ... here.
13726         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13727         Moved ...
13728         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13730         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13731         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13732         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13734         Moved ...
13735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13736         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13737         Moved ...
13738         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13739         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13740         Moved ...
13741         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13742         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13743         Moved ...
13744         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13745         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13746         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13747         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13748         Moved ...
13749         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13750         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13751         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13752         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13753         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13754         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13755         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13756         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13757         Moved ...
13758         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13759         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13760         Moved ...
13761         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13762         ... here.
13763         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13764         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13765         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13766         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13767         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13768         Moved ...
13769         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13770         ... here.
13771         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13772         Moved ...
13773         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13774         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13775         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13776         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13777         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13779         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13780         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13781         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13783         Moved ...
13784         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13785         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13786         Moved ...
13787         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13789         Moved ...
13790         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13791         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13792         Moved ...
13793         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13794         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13795         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13796         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13797         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13799         Moved ...
13800         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13801         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13802         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13803         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13804         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13805         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13806         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13807         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13808         Moved ...
13809         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13810         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13811         Moved ...
13812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13813         ... here.
13814         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13815         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13816         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13817         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13819         Moved ...
13820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13821         ... here.
13822         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13823         Moved ...
13824         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13825         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13826         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13827         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13828         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13829         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13830         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13831         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13832         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13833         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13834         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13836         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13837         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13839         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13840         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13842         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13843         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13844         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13845         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13846         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13847         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13848         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13849         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13850         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13851         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13852         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13853         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13854         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13855         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13856         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13858         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13860         Moved ...
13861         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13863         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13865         Moved ...
13866         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13867         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13870         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13872         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13874         Moved ...
13875         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13876         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13877         Moved ...
13878         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13880         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13881         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13882         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13883         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13884         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13885         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13886         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13887         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13888         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13889         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13890         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13891         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13892         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13893         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13894         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13896         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13897         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13898         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13899         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13900         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13902         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13903         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13904         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13905         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13906         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13907         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13908         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13909         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13910         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13911         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13913         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13916         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13917         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13918         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13919         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13920         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13921         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13922         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13923         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13924         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13925         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13926         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13927         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13928         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13929         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13930         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13931         Update #include.
13932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13933         Likewise.
13934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13935         Likewise.
13936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13937         Likewise.
13938         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13939         Likewise.
13940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13941         Likewise.
13942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13943         Likewise.
13944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13945         Likewise.
13946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13947         Likewise.
13948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13949         Likewise.
13950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13960         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13966         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13967         that was previously under [RESET_PID].
13968         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13969         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13970         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13972         * sysdeps/i386/nptl/Implies: New file.
13973         * sysdeps/x86_64/nptl/Implies: New file.
13974         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13975         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13976         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13977         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13979         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13980         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13981         (__libc_vfork): New strong alias.
13982         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13983         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13985         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13986         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13987         (__libc_vfork): New strong alias.
13988         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13989         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13991         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13992         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13993         (__libc_vfork): New strong alias.
13994         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13995         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13996         * nptl/pt-vfork.c: New file.
13997         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13998         (libpthread: GLIBC_2.20): New version set (empty).
14000 2014-05-14  Will Newton  <will.newton@linaro.org>
14002         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14003         rather than #if.
14005 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14007         [BZ #16564]
14008         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14009         arguments with exponent 65 or above.
14010         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14011         arguments 0x1p113L or above.
14012         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14013         to arguments 0x1p107L or above.
14014         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14015         positive arguments with exponent 65 or above.
14016         * math/auto-libm-test-in: Add more tests of log1p.
14017         * math/auto-libm-test-out: Regenerated.
14019         [BZ #16928]
14020         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14021         non-finite arguments is +0.
14022         * math/s_cacosf.c (__cacosf): Likewise.
14023         * math/s_cacosl.c (__cacosl): Likewise.
14024         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14025         * sysdeps/i386/fpu/libm-test-ulps: Update.
14026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14028         [BZ #16927]
14029         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14030         value.
14031         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14032         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14033         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14034         for explicit high bit of mantissa when testing for argument equal
14035         to 1.
14036         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14037         * sysdeps/i386/fpu/libm-test-ulps: Update.
14038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14040         [BZ #16516]
14041         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14042         (__erf): Scale by 16 instead of 8 in potentially underflowing
14043         case.  Ensure exception if result actually underflows.
14044         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14045         (__erff): Scale by 16 instead of 8 in potentially underflowing
14046         case.  Ensure exception if result actually underflows.
14047         * sysdeps/ieee754/ldbl-128/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-128ibm/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         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14056         (efx8): Remove variable.
14057         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14058         case.  Ensure exception if result actually underflows.
14059         * math/auto-libm-test-in: Add more tests of erf.
14060         * math/auto-libm-test-out: Regenerated.
14062 2014-05-14  Andreas Schwab  <schwab@suse.de>
14064         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14065         Remove code conditionalized on USE___THREAD.
14067         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14068         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14069         not definedness.
14071 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14073         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14074         Define unconditionally.
14075         (__ASSUME_O_CLOEXEC): Likewise.
14076         (__ASSUME_SOCK_CLOEXEC): Likewise.
14077         (__ASSUME_IN_NONBLOCK): Likewise.
14078         (__ASSUME_PIPE2): Likewise.
14079         (__ASSUME_EVENTFD2): Likewise.
14080         (__ASSUME_SIGNALFD4): Likewise.
14081         (__ASSUME_DUP3): Likewise.
14082         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14083         (__ASSUME_DUP3): Do not define.
14084         (__ASSUME_EVENTFD2): Likewise.
14085         (__ASSUME_IN_NONBLOCK): Likewise.
14086         (__ASSUME_O_CLOEXEC): Likewise.
14087         (__ASSUME_PIPE2): Likewise.
14088         (__ASSUME_SIGNALFD4): Likewise.
14089         (__ASSUME_SOCK_CLOEXEC): Likewise.
14090         (__ASSUME_UTIMES): Undefine.
14091         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14092         (__ASSUME_UTIMES): Do not define.
14093         (__ASSUME_O_CLOEXEC): Likewise.
14094         (__ASSUME_SOCK_CLOEXEC): Likewise.
14095         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14096         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14097         0x020621].
14098         (__ASSUME_PIPE2): Likewise.
14099         (__ASSUME_EVENTFD2): Likewise.
14100         (__ASSUME_SIGNALFD4): Likewise.
14101         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14102         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14103         Do not define.
14104         (__ASSUME_EVENTFD2): Likewise.
14105         (__ASSUME_SIGNALFD4): Likewise.
14106         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14107         (__ASSUME_32BITUIDS): Likewise.
14108         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14109         (__ASSUME_IPC64): Likewise.
14110         (__ASSUME_ST_INO_64_BIT): Likewise.
14111         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14112         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14113         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14114         (__ASSUME_UTIMES): Do not define.
14115         (__ASSUME_PSELECT): Likewise.
14116         (__ASSUME_PPOLL): Likewise.
14117         (__ASSUME_O_CLOEXEC): Likewise.
14118         (__ASSUME_SOCK_CLOEXEC): Likewise.
14119         (__ASSUME_IN_NONBLOCK): Likewise.
14120         (__ASSUME_PIPE2): Likewise.
14121         (__ASSUME_EVENTFD2): Likewise.
14122         (__ASSUME_SIGNALFD4): Likewise.
14123         (__ASSUME_DUP3): Likewise.
14124         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14125         (__ASSUME_UTIMES): Likewise.
14126         (__ASSUME_O_CLOEXEC): Likewise.
14127         (__ASSUME_SOCK_CLOEXEC): Likewise.
14128         (__ASSUME_IN_NONBLOCK): Likewise.
14129         (__ASSUME_PIPE2): Likewise.
14130         (__ASSUME_EVENTFD2): Likewise.
14131         (__ASSUME_SIGNALFD4): Likewise.
14132         (__ASSUME_DUP3): Likewise.
14133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14134         (__ASSUME_UTIMES): Likewise.
14135         (__ASSUME_O_CLOEXEC): Likewise.
14136         (__ASSUME_SOCK_CLOEXEC): Likewise.
14137         (__ASSUME_IN_NONBLOCK): Likewise.
14138         (__ASSUME_PIPE2): Likewise.
14139         (__ASSUME_EVENTFD2): Likewise.
14140         (__ASSUME_SIGNALFD4): Likewise.
14141         (__ASSUME_DUP3): Likewise.
14142         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14143         Likewise.
14144         (__ASSUME_UTIMES): Likewise.
14145         (__ASSUME_EVENTFD2): Likewise.
14146         (__ASSUME_SIGNALFD4): Likewise.
14147         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14148         (__ASSUME_O_CLOEXEC): Likewise.
14149         (__ASSUME_SOCK_CLOEXEC): Likewise.
14150         (__ASSUME_IN_NONBLOCK): Likewise.
14151         (__ASSUME_PIPE2): Likewise.
14152         (__ASSUME_EVENTFD2): Likewise.
14153         (__ASSUME_SIGNALFD4): Likewise.
14154         (__ASSUME_DUP3): Likewise.
14155         (__ASSUME_UTIMES): Undefine.
14157         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14158         feclearexcept.  Remove symbol versioning code.
14159         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14160         symbol versioning code.
14161         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14162         symbol versioning code.
14163         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14164         feupdateenv.  Remove symbol versioning code.
14165         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14166         fegetexceptflag.  Remove symbol versioning code.
14167         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14168         fesetexceptflag.  Remove symbol versioning code.
14169         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14170         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14171         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14172         (__posix_fadvise64_l32): Remove prototype.
14173         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14174         code.
14176 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14178         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14179         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14180         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14181         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14183 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14185         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14186         current working directory
14188 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14190         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14191         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14192         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14193         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14194         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14195         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14196         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14197         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14198         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14199         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14200         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14201         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14202         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14203         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14204         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14205         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14206         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14207         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14208         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14209         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14210         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14211         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14212         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14213         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14214         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14215         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14216         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14217         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14218         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14219         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14220         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14221         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14222         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14223         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14224         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14225         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14226         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14227         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14228         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14229         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14230         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14231         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14233         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14234         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14236         * sysdeps/unix/sysv/linux/arm/Makefile
14237         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14238         Add rt-aeabi_unwind_cpp_pr1.
14239         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14240         Add nptl-aeabi_unwind_cpp_pr1.
14241         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14242         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14243         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14244         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14245         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14246         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14248         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14249         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14250         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14251         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14253         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14254         Deconditionalize the code that was previously under [RESET_PID].
14255         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14257         * sysdeps/generic/exit-thread.h: New file.
14258         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14259         * include/unistd.h (__exit_thread): Remove declaration.
14260         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14261         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14262         * csu/libc-start.c: Include <exit-thread.h>.
14263         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14264         * nptl/pthread_create.c: Include <exit-thread.h>.
14265         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14266         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14267         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14268         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14269         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14270         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14271         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14272         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14273         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14274         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14275         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14276         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14277         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14278         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14279         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14280         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14281         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14283 2014-05-13  Andreas Schwab  <schwab@suse.de>
14285         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14287 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14289         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14290         (__ASSUME_UTIMES): Do not condition on kernel version.
14291         (__ASSUME_PSELECT): Define unconditionally.
14292         (__ASSUME_PPOLL): Likewise.
14293         (__ASSUME_ATFCTS): Likewise.
14294         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14295         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14296         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14297         (__ASSUME_UTIMENSAT): Define unconditionally.
14298         (__ASSUME_PRIVATE_FUTEX): Likewise.
14299         (__ASSUME_FALLOCATE): Likewise.
14300         (__ASSUME_O_CLOEXEC): Likewise.
14301         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14302         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14303         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14304         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14305         (__ASSUME_IN_NONBLOCK): Likewise.
14306         (__ASSUME_PIPE2): Likewise.
14307         (__ASSUME_EVENTFD2): Likewise.
14308         (__ASSUME_SIGNALFD4): Likewise.
14309         (__ASSUME_DUP3): Likewise.
14310         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14311         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14312         (__ASSUME_AT_RANDOM): Likewise.
14313         (__ASSUME_PREADV): Likewise.
14314         (__ASSUME_PWRITEV): Likewise.
14315         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14316         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14317         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14318         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14319         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14320         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14321         (__ASSUME_O_CLOEXEC): Define unconditionally.
14322         (__ASSUME_PSELECT): Do not undefine conditionally.
14323         (__ASSUME_PPOLL): Likewise.
14324         (__ASSUME_ATFCTS): Likewise.
14325         (__ASSUME_SET_ROBUST_LIST): Likewise.
14326         (__ASSUME_UTIMENSAT): Likewise.
14327         (__ASSUME_FDATASYNC): Define unconditionally.
14328         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14329         (__ASSUME_SIGFRAME_V2): Likewise.
14330         )__ASSUME_EVENTFD2): Likewise.
14331         (__ASSUME_SIGNALFD4): Likewise.
14332         (__ASSUME_PSELECT): Do not undefine conditionally.
14333         (__ASSUME_PPOLL): Likewise.
14334         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14335         (__ASSUME_PSELECT): Define unconditionally.
14336         (__ASSUME_PPOLL): Likewise.
14337         (__ASSUME_O_CLOEXEC): Likewise.
14338         (__ASSUME_SOCK_CLOEXEC): Likewise.
14339         (__ASSUME_IN_NONBLOCK): Likewise.
14340         (__ASSUME_PIPE2): Likewise.
14341         (__ASSUME_EVENTFD2): Likewise.
14342         (__ASSUME_SIGNALFD4): Likewise.
14343         (__ASSUME_DUP3): Likewise.
14344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14345         (__ASSUME_O_CLOEXEC): Likewise.
14346         (__ASSUME_SOCK_CLOEXEC): Likewise.
14347         (__ASSUME_IN_NONBLOCK): Likewise.
14348         (__ASSUME_PIPE2): Likewise.
14349         (__ASSUME_EVENTFD2): Likewise.
14350         (__ASSUME_SIGNALFD4): Likewise.
14351         (__ASSUME_DUP3): Likewise.
14352         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14353         (__ASSUME_EVENTFD2): Likewise.
14354         (__ASSUME_SIGNALFD4): Likewise.
14355         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14357 2014-05-12  Andreas Schwab  <schwab@suse.de>
14359         [BZ #16932]
14360         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14361         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14362         than maximum RPC packet size.
14363         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14364         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14365         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14366         (_nss_nis_getservbyport_r): Likewise.
14368 2014-05-12  Will Newton  <will.newton@linaro.org>
14370         * malloc/Makefile (tests): Add tst-mallopt.
14371         * malloc/tst-mallopt.c: New file.
14373 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14375         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14376         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14378 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14380         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14381         (tst-tlsmod6.so): Likewise.
14383 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14385         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14387 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14389         [BZ #16064]
14390         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14391         and <dl-procinfo.h>.
14392         (__fegetenv): Save SSE state in envp->__eip if supported.
14393         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14394         envp->__eip if supported.
14395         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14396         and <dl-procinfo.h>.
14397         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14398         __data_offset and __data_selector in environment to 0.  Set SSE
14399         state if supported.
14400         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14401         test-fenv-sse.
14402         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14403         -mfpmath=sse.
14404         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14406 2014-05-09  Will Newton  <will.newton@linaro.org>
14408         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14409         and libc_relro_required for ARM.
14410         * sysdeps/arm/preconfigure: Regenerate.
14412 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14413             Stefan Liebler  <stli@linux.vnet.ibm.com>
14415         * config.make.in (enable-lock-elision): New Makefile variable.
14416         * configure.ac: Likewise.
14417         * configure: Regenerate.
14418         * sysdeps/s390/configure.ac:
14419         Add check for gcc transactions support.
14420         * sysdeps/s390/configure: Regenerate.
14421         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14422         Build elision files if enabled.
14423         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14424         Add lock elision support for s390.
14425         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14426         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14427         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14428         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14429         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14430         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14431         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14432         Likewise.
14433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14434         Likewise.
14435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14436         Likewise.
14437         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14438         Likewise.
14439         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14440         (__lll_timedlock_elision, __lll_lock_elision)
14441         (__lll_unlock_elision, __lll_trylock_elision)
14442         (lll_timedlock_elision, lll_lock_elision)
14443         (lll_unlock_elision, lll_trylock_elision): Add.
14444         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14445         (pthread_mutex_t): Add lock elision support for s390.
14447 2014-05-14  Wilco  <wdijkstr@arm.com>
14449         * sysdeps/arm/fclrexcpt.c: Cleanup.
14450         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14451         * sysdeps/arm/feenablxcpt.c: Cleanup.
14452         * sysdeps/arm/fegetenv.c: Cleanup.
14453         * sysdeps/arm/fegetexcept.c: Cleanup.
14454         * sysdeps/arm/fegetround.c: Cleanup.
14455         * sysdeps/arm/feholdexcpt.c: Cleanup.
14456         * sysdeps/arm/fesetenv.c: Cleanup.
14457         * sysdeps/arm/fesetround.c: Cleanup.
14458         * sysdeps/arm/feupdateenv.c: Cleanup.
14459         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14460         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14461         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14462         * sysdeps/arm/ftestexcept.c: Cleanup.
14463         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14464         * sysdeps/arm/setfpucw.c: Cleanup.
14466 2014-05-09  Will Newton  <will.newton@linaro.org>
14468         * sysdeps/arm/armv7/strcmp.S: New file.
14469         * NEWS: Mention addition of ARMv7 optimized strcmp.
14471 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14473         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14474         look for %.ac rather than %.in.
14476         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14477         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14478         * sysdeps/mach/hurd/configure: Regenerated.
14479         * sysdeps/unix/sysv/linux/configure: Regenerated.
14481         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14483 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14485         [BZ# 16922]
14486         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14487         (LONG_SUB): Ditto.
14488         (PTR_SUB): Ditto.
14490 2014-05-07  Andreas Schwab  <schwab@suse.de>
14492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14493         when skipping over non-matching result from nscd.
14495 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14497         [BZ #16876]
14498         * nptl/sockperf.c (client): Check socket return value.
14500         [BZ #16877]
14501         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14502         nscd security class.
14504 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14506         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14507         * sysdeps/arm/unwind.h: ... here.
14509 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14511         [BZ# 16916]
14512         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14513         Define.
14515 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14517         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14518         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14519         multiarch strncpy for PPC64.
14520         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14521         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14523         multiarch optimizations.
14524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14525         (__libc_ifunc_impl_list): Likewise.
14526         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14527         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14528         multiarch stpncpy for PPC64.
14529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14530         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14532 2014-05-06  Andreas Schwab  <schwab@suse.de>
14534         [BZ #16912]
14535         * gmon/mcount.c (_MCOUNT_DECL): Use
14536         atomic_compare_and_exchange_bool_acq instead of
14537         catomic_compare_and_exchange_bool_acq.
14539 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14541         * elf/Makefile (others, install-bin): Remove pldd.
14542         (pldd-modules): Variable removed.
14543         ($(objpfx)pldd): Target removed.
14544         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14545         (others, install-bin): Append pldd here.
14546         ($(objpfx)pldd): New target.
14548         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14549         to 0, so the first #if test emitted later doesn't see it undefined.
14550         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14551         * sysdeps/gnu/errlist.c: Regenerated.
14553 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14555         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14556         [libc_hidden_builtin_def]: Define to empty value.
14557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14558         [libc_hidden_builtin_def]: Likewise.
14559         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14560         [libc_hidden_builtin_def]: Likewise.
14561         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14562         [libc_hidden_builtin_def]: Likewise.
14563         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14564         __redirect_memcpy and define ifunc as default hidden symbol.
14565         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14566         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14568 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14570         * locale/iso-4217.def: Reintroduce XDR currency.
14572 2014-05-04  Allan McRae  <allan@archlinux.org>
14574         * po/eo.po: Update Esperanto translation from translation project.
14576 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14578         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14579         and FEATURE_INDEX_MAX to 1.
14580         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14582 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14584         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14585         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14586         * iconvdata/big5.c (ONE_DIRECTION): Define.
14587         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14588         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14589         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14590         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14591         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14592         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14593         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14594         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14595         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14596         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14597         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14598         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14599         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14600         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14601         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14602         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14603         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14604         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14605         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14606         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14607         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14608         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14609         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14610         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14611         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14612         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14613         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14614         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14615         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14616         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14617         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14618         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14619         * iconvdata/johab.c (ONE_DIRECTION): Define.
14620         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14621         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14622         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14623         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14624         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14625         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14626         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14627         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14628         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14629         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14631 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14633         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14634         (_IO_JUMPS_OFFSET): Define to 0.
14636         * nptl/sysdeps/pthread/bits/libc-lock.h
14637         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14638         (__libc_lock_define_initialized_recursive): Always define using
14639         initializer.  Modern compilers treat uninitialized (implicit zero) and
14640         explicit zero initializers the same (i.e. put the datum in bss).
14642 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14644         * nscd/nscd-client.h: Include <string.h>.
14646 2014-05-01  David S. Miller  <davem@davemloft.net>
14648         [BZ #16885]
14649         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14650         multiple zero bytes exist at the end of a string.
14651         Reported by Aurelien Jarno <aurelien@aurel32.net>
14653         * string/test-strcmp.c (check): Add explicit test for situations where
14654         there are multiple zero bytes after the first.
14656 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14658         [BZ #16890]
14659         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14660         when compiling wprintf.
14661         * stdio-common/tstdiomisc.c (t3): New function.
14662         (main): Call it.
14664 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14666         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14667         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14668         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14669         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14671 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14673         * stdlib/longlong.h: Updated from GCC.
14675 2014-05-01  Will Newton  <will.newton@linaro.org>
14676             Bernard Ogden  <bernie.ogden@linaro.org>
14678         * NEWS: Update fixed bug list.
14680         [BZ #15119]
14681         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14683 2014-04-30  David S. Miller  <davem@davemloft.net>
14685         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14686         (libc_feholdexcept_setround_sparc_ctx): New function.
14687         (libc_fesetenv_sparc_ctx): Likewise.
14688         (libc_feupdateenv_sparc_ctx): Likewise.
14689         (libc_feholdsetround_sparc_ctx): Likewise.
14690         (libc_feholdexcept_setround_ctx): Define.
14691         (libc_feholdexcept_setroundf_ctx): Likewise.
14692         (libc_feholdexcept_setroundl_ctx): Likewise.
14693         (libc_fesetenv_ctx): Likewise.
14694         (libc_fesetenvf_ctx): Likewise.
14695         (libc_fesetenvl_ctx): Likewise.
14696         (libc_feupdateenv_ctx): Likewise.
14697         (libc_feupdateenvf_ctx): Likewise.
14698         (libc_feupdateenvl_ctx): Likewise.
14699         (libc_feresetround_ctx): Likewise.
14700         (libc_feresetroundf_ctx): Likewise.
14701         (libc_feresetroundl_ctx): Likewise.
14702         (libc_feholdsetround_ctx): Likewise.
14703         (libc_feholdsetroundf_ctx): Likewise.
14704         (libc_feholdsetroundl_ctx): Likewise.
14706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14707         with __USE_GNU instead of XOPEN cpp guards.
14709         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14710         0.
14712         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14713         with XOPEN cpp guards.
14715 2014-04-30  Julian Brown  <julian@codesourcery.com>
14717         [BZ #16888]
14718         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14719         handling.
14721 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14723         [BZ #9894]
14724         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14725         Change to 2.6.32.
14726         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14727         * sysdeps/unix/sysv/linux/configure: Regenerated.
14728         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14729         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14730         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14731         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14732         * README: Update reference to required Linux kernel version.
14733         * manual/install.texi (Linux): Update reference to required Linux
14734         kernel headers version.
14735         * INSTALL: Regenerated.
14737         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14738         header inclusion.
14739         [POSIX] (limits.h): Likewise.
14740         [POSIX] (math.h): Likewise.
14741         [POSIX] (sys/wait.h): Likewise.
14742         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14743         function.
14744         [POSIX] (stddef.h): Do not allow header inclusion.
14746 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14748         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14750 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14752         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14753         Return immediately after lll_futex_wake.
14755 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14757         [BZ #16791]
14758         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14759         structure.
14760         (datahead_init_pos): Call datahead_init_common early.
14761         (datahead_init_neg): Likewise.
14763         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14764         datahead_init_neg): New functions.
14765         * nscd/aicache.c (addhstaiX): Use them.
14766         * nscd/grpcache.c (cache_addgr): Likewise.
14767         * nscd/hstcache.c (cache_addhst): Likewise.
14768         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14769         * nscd/netgroupcache.c (do_notfound): Likewise.
14770         (addgetnetgrentX): Likewise.
14771         (addinnetgrX): Likewise.
14772         * nscd/pwdcache.c (cache_addpw): Likewise.
14773         * nscd/servicescache.c (cache_addserv): Likewise.
14775 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14776             Atsushi Onoe  <atsushi@onoe.org>
14778         [BZ #14308]
14779         [BZ #12994]
14780         [BZ #13651]
14781         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14782         one response is valid.
14783         * resolv/res_send.c (send_dg): Check for validity of other
14784         response if the current response is a referral.
14786 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14788         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14790 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14792         [BZ #16823]
14793         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14794         Always divide by positive zero when computing -Inf result.
14795         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14796         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14798 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14800         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14801         FPSCR if value do not change.
14802         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14803         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14804         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14805         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14806         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14807         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14808         function.
14810 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14812         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14813         * sysdeps/unix/sysv/linux/hppa: Move directory from
14814         ports/systeps/unix/sysv/linux/hppa.
14815         * README: Update listing for hppa-*-linux-gnu.
14817 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14819         [BZ #16754]
14820         * manual/stdio.texi (Hook functions): Fix types of stream hook
14821         functions.
14822         [BZ #16854]
14823         * socket/sys/socket.h: Fix typo in comment.
14825 2014-04-28  Wilco  <wdijkstr@arm.com>
14827         * sysdeps/arm/fenv_private.h: New file.
14828         * sysdeps/arm/math_private.h: New file.
14829         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14831 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14833         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14834         with __int128_t.
14835         (La_x86_64_retval): Likewise.
14837 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14839         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14840         fpsr if value didn't change.
14841         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14842         to fpcr if value didn't change.
14843         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14844         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14845         fpsr or fpcr if value didn't change.
14846         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14847         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14848         fpcr if value didn't change.
14849         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14850         to fpsr if value didn't change.
14852 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14854         * nptl/tst-sem3.c: Use test-skeleton.c
14855         (main): Rename to do_test.  Use return instead of
14856         exit.
14857         * nptl/tst-sem4.c: Use test-skeleton.c
14858         (main): Rename to do_test.
14860 2014-04-22  David S. Miller  <davem@davemloft.net>
14862         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14863         (struct sigaction): New struct member __glibc_reserved0, change
14864         type of sa_flags to int.
14866 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14868         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14869         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14871 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14873         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14874         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14876 2014-04-22  Will Newton  <will.newton@linaro.org>
14877             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14879         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14880         (__longjmp): Add longjmp and longjmp_target SystemTap
14881         probes.
14882         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14883         (__sigsetjmp): Add setjmp SystemTap probe.
14885 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14887         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14888         match manual order.
14890 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14892         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14894         * sysdeps/powerpc/fpu/fenv_private.h
14895         (libc_feholdexcept_setroundl_ctx): Define to
14896         libc_feholdexcept_setround_ppc_ctx.
14897         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14898         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14899         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14900         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14902 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14904         * sysdeps/aarch64/math-tests.h: New file.
14906 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14908         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14909         New.
14910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14911         Check and set bit_AVX2_Usable.
14912         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14913         macro.
14914         (bit_AVX2): Likewise.
14915         (index_AVX2_Usable): Likewise.
14916         (CPUID_AVX2): Likewise.
14917         (HAS_AVX2): Likewise.
14919 2014-04-17  Will Newton  <will.newton@linaro.org>
14921         * manual/setjmp.texi (System V contexts): Add note that
14922         calling setcontext on a context created by a call to a
14923         signal handler is undefined.  Update text to note that
14924         setcontext from a signal handler is possible but not
14925         recommended.
14927         [BZ #16629]
14928         * stdlib/tst-setcontext.c: Include signal.h.
14929         (main): Check that the signal stack before and
14930         after swapcontext is the same.
14932         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14933         Re-implement to restore registers in user code and avoid
14934         rt_sigreturn system call.
14936 2014-04-17  Wilco  <wdijkstr@arm.com>
14938         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14939         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14940         * math/test-fenv.c: Skip exception trap tests on targets which only
14941         support non-stop mode.
14943 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14944             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14946         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14947         (libc_feholdsetround_aarch64_ctx)
14948         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14949         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14950         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14951         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14952         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14953         (libc_feresetround_noexl_ctx): Define.
14955 2014-04-16  Richard Henderson  <rth@redhat.com>
14957         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14959         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14960         unwind tables.
14962         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14963         const from the non-libc, non-ldso copy.
14965         * sysdeps/alpha/libm-test-ulps: Regenerate.
14967 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14968             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14970         * sysdeps/aarch64/fpu/math_private.h: New file.
14972 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14974         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14976 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14978         [BZ #16275]
14979         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14980         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14982         Intel MPX bound registers before _dl_profile_fixup.
14983         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14984         registers after _dl_profile_fixup.  Save and restore bound
14985         registers bnd0/bnd1 when calling _dl_call_pltexit.
14986         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14987         (LR_BND_OFFSET): Likewise.
14988         (LRV_BND0_OFFSET): Likewise.
14989         (LRV_BND1_OFFSET): Likewise.
14991 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14993         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14994         to...
14995         * sysdeps/mach/hurd/i386/tls.h: ... here.
14996         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14997         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14998         fields.
15000 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15002         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15004 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15006         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15008 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15010         [BZ #14770]
15011         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15012         * sysdeps/s390/configure: Regenerate.
15014         [BZ #16824]
15015         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15016         Set round-to-nearest internally to reduce error accumulation.
15018 2014-04-16  Alan Modra  <amodra@gmail.com>
15020         [BZ #16740]
15021         [BZ #16619]
15022         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15023         * math/libm-test.inc (frexp_test_data): Add tests.
15024         * NEWS: Update fixed bug list.
15026 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15028         * benchtests/Makefile: Depend on libraries in build directory.
15029         (bench-math): Separate out math tests.
15030         (bench-pthread): Separate out pthread tests.
15031         (bench): Include math and pthread tests.
15033 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15035         [BZ #16831]
15036         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15037         _dl_debug_initialize.
15039         * configure.ac: Remove SELinux header check.
15040         * configure: Regenerate.
15041         * nscd/selinux.c (perms): Array of const char* to permission names.
15042         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15043         default policy. Call string_to_security_class and string_to_av_perm to
15044         translate strings. Enforce default policy and call avs_has_perm with
15045         results of translated strings.
15047 2014-04-13  David S. Miller  <davem@davemloft.net>
15049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15051 2014-04-12  Allan McRae  <allan@archlinux.org>
15053         [BZ #16838]
15054         * manual/string.texi (Collation Functions): Fix qsort argument
15055         order in example.
15056         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15058 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15060         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15061         Make the test a no-op if there are no exceptions defined.
15063 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15065         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15066         enable-hardcoded-path-in-tests
15068 2014-04-11  Will Newton  <will.newton@linaro.org>
15070         * benchtests/Makefile (extra-objs): Add json-lib.o.
15071         (bench-func): Tidy up JSON output.
15072         * benchtests/bench-skeleton.c: Include json-lib.h.
15073         (main): Use JSON library functions to do output of
15074         benchmark results.
15075         * benchtests/bench-timing-type.c (main): Output the
15076         timing type simply, leaving formatting to the user.
15077         * benchtests/json-lib.c: New file.
15078         * benchtests/json-lib.h: Likewise.
15080 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15082         [BZ #15215]
15083         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15084         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15085         memory barriers.  Add comments.
15086         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15087         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15088         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15089         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15090         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15091         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15093 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15095         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15096         * sysdeps/s390/s390-64/configure.ac: ... this ...
15097         * sysdeps/s390/configure.ac: ... to here.
15098         * sysdeps/s390/s390-32/configure: Delete file.
15099         * sysdeps/s390/s390-64/configure: Delete file.
15100         * sysdeps/s390/configure: Regenerate.
15102 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15104         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15106 2014-04-11  Will Newton  <will.newton@linaro.org>
15108         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15109         to zero if it is not defined elsewhere.  (mtrim): Test
15110         the value of MALLOC_DEBUG with #if rather than #ifdef.
15112 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15114         * benchtests/pthread_once-inputs: New file.
15115         * benchtests/pthread_once-source.c: New file.
15116         * benchtests/README: Update documentation.
15118 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15119             H.J. Lu  <hongjiu.lu@intel.com>
15121         [BZ #16275]
15122         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15123         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15124         * sysdeps/x86_64/configure: Regenerated.
15125         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15126         macro.
15127         (REGISTER_SAVE_RAX): Likewise.
15128         (REGISTER_SAVE_RCX): Likewise.
15129         (REGISTER_SAVE_RDX): Likewise.
15130         (REGISTER_SAVE_RSI): Likewise.
15131         (REGISTER_SAVE_RDI): Likewise.
15132         (REGISTER_SAVE_R8): Likewise.
15133         (REGISTER_SAVE_R9): Likewise.
15134         (REGISTER_SAVE_BND0): Likewise.
15135         (REGISTER_SAVE_BND1): Likewise.
15136         (REGISTER_SAVE_BND2): Likewise.
15137         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15138         bound registers when calling _dl_fixup.
15140 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15142         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15143         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15144         of its definition.
15145         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15146         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15147         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15148         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15149         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15150         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15151         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15153 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15155         [BZ #15514]
15156         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15157         pathconf(_PC_NAME_MAX).
15159 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15161         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15162         Remove macro usage.
15163         (__PTHREAD_SPINS): Move definition to ...
15164         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15165         (__PTHREAD_SPINS): ... here.
15166         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15167         (__PTHREAD_SPIN): Likewise.
15168         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15169         (__PTHREAD_SPIN): Likewise.
15170         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15171         (__PTHREAD_SPIN): Likewise.
15172         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15173         (__PTHREAD_SPIN): Likewise.
15174         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15175         (__PTHREAD_SPIN): Likewise.
15176         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15177         (__PTHREAD_SPIN): Likewise.
15178         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15179         (__PTHREAD_SPIN): Likewise.
15180         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15181         (__PTHREAD_SPIN): Likewise.
15182         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15183         (__PTHREAD_SPIN): Likewise.
15184         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15185         (__PTHREAD_SPIN): Likewise.
15186         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15187         (__PTHREAD_SPIN): Likewise.
15188         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15189         (__PTHREAD_SPIN): Likewise.
15191         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15192         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15193         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15194         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15195         imply folder.
15196         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15197         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15198         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15199         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15200         correct imply path.
15201         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15202         strlen symbol for non multi-arch builds.
15203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15204         missing hidden_def and weak_alias.
15206 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15208         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15210 2014-04-07  Will Newton  <will.newton@linaro.org>
15212         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15213         and contents.  [!_LIBC] Remove #ifndef and contents.
15214         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15215         * string/memccpy.c (__memccpy): Use ANSI prototype.
15216         * string/memfrob.c (memfrob): Likewise.
15217         * string/strcoll.c (STRCOLL): Likewise.
15218         * string/strlen.c (strlen): Likewise.
15219         * string/strtok.c (STRTOK): Likewise.
15220         * string/strcat.c: Remove unused #include of memcopy.h.
15221         (strcat): Use ANSI prototype.
15222         * string/strchr.c: Remove unused #include of memcopy.h.
15223         (strchr): Use ANSI prototype.
15224         * string/strcmp.c: Remove unused #include of memcopy.h.
15225         (strcmp): Use ANSI prototype.
15226         * string/strcpy.c: Remove unused #include of memcopy.h.
15227         (strcpy): Use ANSI prototype.
15229 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15231         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15232         * config.make.in (config-extra-cppflags): Set it from
15233         libc_extra_cppflags.
15234         * configure.ac (libc_extra_cflags): Make it accumulate over
15235         configure fragments.
15236         (libc_extra_cppflags): New flag.
15237         * configure. Regenerate.
15238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15239         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15240         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15243         [BZ #16815]
15244         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15245         result for FE_DOWNWARD rounding mode.
15246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15247         Likewise.
15248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15250 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15252         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15253         in function argument name.
15255 2014-04-03  David Svoboda  <svoboda@cert.org>
15257         [BZ #5666]
15258         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15259         explicitly.
15261 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15263         * elf/dl-unmap-segments.h: New file.
15264         * sysdeps/generic/ldsodefs.h
15265         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15266         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15267         * elf/dl-fptr.c: Likewise.
15268         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15269         * sysdeps/aarch64/tlsdesc.c: Likewise.
15270         * sysdeps/arm/tlsdesc.c: Likewise.
15271         * sysdeps/i386/tlsdesc.c: Likewise.
15272         * sysdeps/tile/dl-runtime.c: Likewise.
15273         * sysdeps/x86_64/tlsdesc.c: Likewise.
15274         * elf/dl-load.h: New file.
15275         * elf/dl-load.c: Include it.
15276         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15277         Macros moved to dl-load.h.
15278         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15279         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15280         Use _dl_unmap_segments in place of __munmap.
15281         Break out segment-mapping loop into ...
15282         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15284 2014-04-03  Will Newton  <will.newton@linaro.org>
15286         * elf/dl-lookup.c (do_lookup_x): Remove comment
15287         referring to nested function and move variable
15288         declarations down to before first use.
15290 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15292         [BZ #16799]
15293         [BZ #16800]
15294         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15295         with 0 numerator.
15296         * math/s_catanf.c (__catanf): Likewise.
15297         * math/s_catanh.c (__catanh): Likewise.
15298         * math/s_catanhf.c (__catanhf): Likewise.
15299         * math/s_catanhl.c (__catanhl): Likewise.
15300         * math/s_catanl.c (__catanl): Likewise.
15301         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15302         by positive zero when computing -Inf result.
15303         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15304         (catanh_test): Likewise.
15305         * sysdeps/i386/fpu/libm-test-ulps: Update.
15306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15308         [BZ #16789]
15309         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15310         instead of using underflowing value in computing result.
15311         * math/s_clog10.c (__clog10): Likewise.
15312         * math/s_clog10f.c (__clog10f): Likewise.
15313         * math/s_clog10l.c (__clog10l): Likewise.
15314         * math/s_clogf.c (__clogf): Likewise.
15315         * math/s_clogl.c (__clogl): Likewise.
15316         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15317         (clog10_test): Likewise.
15318         * sysdeps/i386/fpu/libm-test-ulps: Update.
15319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15321 2014-04-02  Alan Modra  <amodra@gmail.com>
15323         [BZ #16739]
15324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15325         output when value is near a power of two.  Use int64_t for lx and
15326         remove casts.  Use decimal rather than hex exponent constants.
15327         Don't use long double multiplication when double will suffice.
15328         * math/libm-test.inc (nextafter_test_data): Add tests.
15329         * NEWS: Add 16739 and 16786 to bug list.
15331         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15333         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15335 2014-04-01  Will Newton  <will.newton@linaro.org>
15337         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15338         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15340 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15342         [BZ #13347]
15343         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15344         * nptl/tst-setuid2.c: New file.
15345         * nptl/Makefile (xtests): Add tst-setuid2.
15347 2014-04-01  Alan Modra  <amodra@gmail.com>
15349         [BZ #16786]
15350         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15352 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15354         [BZ #6803]
15355         [BZ #6804]
15356         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15357         set errno as appropriate.
15358         * math/w_scalbf.c (__scalbf): Likewise.
15359         * math/w_scalbl.c (__scalbl): Likewise.
15360         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15361         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15362         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15363         Add more NaN tests.
15365         [BZ #16349]
15366         * math/w_atan2.c: Include <errno.h>.
15367         (__atan2): Set errno for result underflowing to zero.
15368         * math/w_atan2f.c: Include <errno.h>.
15369         (__atan2f): Set errno for result underflowing to zero.
15370         * math/w_atan2l.c: Include <errno.h>.
15371         (__atan2l): Set errno for result underflowing to zero.
15372         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15373         tests.
15374         * math/auto-libm-test-out: Regenerated.
15376 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15378         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15379         Encode instruction correctly in little endian.
15380         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15381         Likewise.
15382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15383         Likewise.
15384         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15385         Likewise.
15386         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15387         Likewise.
15389 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15391         [BZ #9894]
15392         * sysdeps/unix/sysv/linux/kernel-features.h
15393         [__sparc__ && !__arch64__ && !__sparc_v9__]
15394         (__ASSUME_SET_ROBUST_LIST): Do not define.
15395         [__sparc__ && !__arch64__ && !__sparc_v9__]
15396         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15397         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15398         Likewise.
15399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15400         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15401         (__ASSUME_REQUEUE_PI): Likewise.
15402         (__ASSUME_SET_ROBUST_LIST): Likewise.
15403         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15404         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15405         Undefine.
15406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15407         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15408         Likewise.
15409         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15410         Likewise.
15411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15412         Likewise.
15413         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15414         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15415         Undefine.
15416         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15417         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15418         Likewise.
15420         [BZ #16648]
15421         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15423         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15425 2014-03-31  Will Newton  <will.newton@linaro.org>
15427         * benchtests/Makefile (bench): Add ffs and ffsll to list
15428         of tests.
15429         * benchtests/ffs-inputs: New file.
15430         * benchtests/ffsll-inputs: Likewise.
15432 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15434         [BZ #16770]
15435         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15436         too large before casting to int.
15437         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15438         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15439         * math/libm-test.inc (scalb_test_data): Add more tests.
15441 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15443         * benchtests/Makefile (DETAILED_OPT): New make option.
15444         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15445         set.
15446         * benchtests/bench-skeleton.c: Include stdbool.h.
15447         (main): Store and print timings per input.
15448         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15449         member to each argument value.
15450         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15451         (_print_arg_data): Initialize per-input timing to 0.
15453         * benchtests/Makefile (timing-type): New binary.
15454         (bench-clean): Also remove bench-timing-type.
15455         (bench): New target for timing-type.
15456         (bench-func): Print output in JSON format.
15457         * benchtests/bench-skeleton.c (main): Print output in JSON
15458         format.
15459         * benchtests/bench-timing-type.c: New file.
15460         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15461         (TIMING_PRINT_STATS): Remove.
15462         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15463         name separately.
15465         * benchtests/bench-modf.c: Remove.
15466         * benchtests/modf-inputs: New inputs file.
15468 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15470         [BZ #16362]
15471         * math/s_clog10.c (M_PI_LOG10E): New macro.
15472         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15473         imaginary parts are 0.
15474         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15475         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15476         imaginary parts are 0.
15477         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15478         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15479         imaginary parts are 0.
15480         * math/libm-test.inc (clog10_test_data): Update expected results
15481         for when real and imaginary parts are 0.
15483 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15485         * elf/dl-load.c: Finish conversion of __builtin_expect into
15486         __glibc_{un}likely.
15488 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15490         [BZ #16348]
15491         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15492         1+x for argument with exponent below -67.
15493         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15494         Likewise.
15495         * math/auto-libm-test-in: Add more tests of exp.
15496         * math/auto-libm-test-out: Regenerated.
15498 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15500         [BZ #16759]
15501         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15502         (nscd_getnetgrent): Use it.
15504         [BZ #16760]
15505         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15506         of stpcpy.
15508 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15510         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15511         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15512         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15513         (lll_robust_unlock): Remove out of line section. Use cfi
15514         intrinsics.
15515         (LLL_STUB_UNWIND_INFO*): Remove.
15516         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15517         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15518         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15519         (lll_robust_unlock): Remove out of line section. Use cfi
15520         intrinsics.
15521         (LLL_STUB_UNWIND_INFO*): Remove.
15523 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15525         [BZ #16758]
15526         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15527         blank values.
15529 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15531         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15533 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15535         [BZ #16198]
15536         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15537         fnstenv.
15538         * math/test-fenv-preserve.c: New file.
15539         * math/Makefile (tests): Add test-fenv-preserve.
15541 2014-03-26  Will Newton <will.newton@linaro.org>
15543         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15545 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15547         * scripts/versionlist.awk: Partition the version sets and emit all
15548         GLIBC_* (sorted) before all others (sorted).
15550 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15552         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15553         GLIBC_2.2.5 version.
15555 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15557         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15558         calls.
15560         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15561         previous change.
15563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15565 2014-03-25  Andreas Schwab  <schwab@suse.de>
15567         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15568         label to be used after in6ailist is initialized.
15570 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15572         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15573         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15575 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15577         [BZ #16357]
15578         [BZ #16599]
15579         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15580         min_plus_half.
15581         (fp_formats): Update initializers.
15582         (init_fp_formats): Initialize new field.
15583         (output_for_one_input_case): Allow underflow for results up to
15584         min_plus_half.
15585         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15586         * math/auto-libm-test-in: Don't mark some underflows from asin and
15587         atanh as spurious.
15588         * math/auto-libm-test-out: Regenerated.
15589         * sysdeps/i386/fpu/libm-test-ulps: Update.
15590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15592 2014-03-25  Andreas Schwab  <schwab@suse.de>
15594         * libio/Makefile (tst-ftell-partial-wide-ENV)
15595         (tst-ftell-active-handler-ENV): Define.
15597 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15599         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15601 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15603         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15605 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15607         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15608         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15609         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15611 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15613         [BZ #16634]
15614         * elf/dl-load.c (open_verify): Add mode parameter.
15615         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15616         (open_path): Change from boolean 'secure' to complete flag 'mode'
15617         (_dl_map_object): Adjust.
15618         * elf/Makefile (tests): Add tst-dlopen-aout.
15619         * elf/tst-dlopen-aout.c: New test.
15621 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15623         [BZ #16714]
15624         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15625         (struct stat): Rename member pad0 to __glibc_reserved0.
15627         [BZ #16712]
15628         * sysdeps/s390/s390-32/bits/wordsize.h
15629         (__WORDSIZE32_SIZE_ULONG): New define.
15630         * sysdeps/s390/s390-64/bits/wordsize.h
15631         (__WORDSIZE32_SIZE_ULONG): Likewise.
15632         * sysdeps/generic/stdint.h (SIZE_MAX):
15633         Define as UL if __WORDSIZE32_SIZE_ULONG.
15635         [BZ #16713]
15636         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15637         (__glibc_reserved0): New variable.
15638         (sa_flags): Change type to int.
15640         * posix/Makefile (before-compile): Use += before-compile instead
15641         of a :=.
15643         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15644         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15646 2014-03-20  Andreas Schwab  <schwab@suse.de>
15648         [BZ #16743]
15649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15650         non-matching result from nscd.
15652 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15654         * scripts/bench.py: Moved to ...
15655         * benchtests/scripts/bench.py: ... here.
15656         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15658 2014-03-24  Andreas Schwab  <schwab@suse.de>
15660         [BZ #16002]
15661         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15662         alloca_account and account alloca use for struct in6ailist.
15664 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15666         [BZ #16284]
15667         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15668         rounding mode to recompute results that overflow to infinity or
15669         underflow to zero.
15670         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15671         bug 16284.
15672         * math/auto-libm-test-out: Regenerated.
15673         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15674         (ccosh_test): Likewise.
15675         (csin_test_data): Use plus_oflow.
15676         (csin_test): Use ALL_RM_TEST.
15677         (csinh_test_data): Use plus_oflow.
15678         (csinh_test): Use ALL_RM_TEST.
15679         * sysdeps/i386/fpu/libm-test-ulps: Update.
15680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15682 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15684         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15685         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15686         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15688         [BZ #16731]
15689         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15690         when x - 1 is zero.
15691         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15692         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15693         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15694         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15695         argument is 1.
15696         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15697         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15698         zero.
15699         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15700         * sysdeps/i386/fpu/libm-test-ulps: Update.
15701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15703 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15705         * scripts/bench.pl: Remove file.
15706         * scripts/bench.py: New benchmark script.
15707         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15708         * benchtests/README: Mention python dependency.
15709         * scripts/pylintrc: New file.
15710         * scripts/pylint: New file.
15712         * bits/mathdef.h: Use #ifdef instead of #if.
15713         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15714         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15715         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15716         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15717         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15718         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15720 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15721             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15723         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15725         and strpbrk-ppc64 objects.
15726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15727         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15728         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15729         multiarch strpbrk for POWER7.
15730         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15731         multiarch strpbrk for PPC64.
15732         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15733         ifunc selector.
15734         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15735         strpbrk for POWER7.
15737 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15739         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15740         (atan_test): Likewise.
15741         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15742         (atanh_test): Use ALL_RM_TEST.
15743         (atan2_test_data): Likewise.
15744         (cabs_test): Likewise.
15745         (cacosh_test): Likewise.
15746         (carg_test): Likewise.
15747         (casin_test): Likewise.
15748         (casinh_test): Likewise.
15749         (cbrt_test): Likewise.
15750         (csqrt_test): Likewise.
15751         (erf_test): Likewise.
15752         (erfc_test): Likewise.
15753         (pow10_test): Likewise.
15754         (exp2_test): Likewise.
15755         (hypot_test): Likewise.
15756         (j0_test): Likewise.
15757         (j1_test): Likewise.
15758         (lgamma_test): Likewise.
15759         (gamma_test): Likewise.
15760         (sincos_test): Likewise.
15761         (tanh_test): Likewise.
15762         (y0_test): Likewise.
15763         (y1_test): Likewise.
15764         * sysdeps/i386/fpu/libm-test-ulps: Update.
15765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15767 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15769         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15771         and strcspn-ppc64 objects.
15772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15773         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15774         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15775         multiarch strcspn for POWER7.
15776         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15777         multiarch strcspn for PPC64.
15778         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15779         ifunc selector.
15780         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15781         strcspn for POWER7.
15783 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15785         * math/gen-libm-test.pl (generate_testfile): Expect only function
15786         name as argument to AUTO_TESTS_* and pass results for all rounding
15787         modes to parse_args.
15788         (parse_auto_input): Separate inputs of automatic tests from
15789         outputs before storing in %auto_tests.
15790         * math/libm-test.inc (acos_test_data): Update call to
15791         AUTO_TESTS_f_f.
15792         (acos_test): Use ALL_RM_TEST.
15793         (acos_tonearest_test_data): Remove.
15794         (acos_test_tonearest): Likewise.
15795         (acos_towardzero_test_data): Likewise.
15796         (acos_test_towardzero): Likewise.
15797         (acos_downward_test_data): Likewise.
15798         (acos_test_downward): Likewise.
15799         (acos_upward_test_data): Likewise.
15800         (acos_test_upward): Likewise.
15801         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15802         (asin_test_data): Likewise.
15803         (asin_test): Use ALL_RM_TEST.
15804         (asin_tonearest_test_data): Remove.
15805         (asin_test_tonearest): Likewise.
15806         (asin_towardzero_test_data): Likewise.
15807         (asin_test_towardzero): Likewise.
15808         (asin_downward_test_data): Likewise.
15809         (asin_test_downward): Likewise.
15810         (asin_upward_test_data): Likewise.
15811         (asin_test_upward): Likewise.
15812         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15813         (atan_test_data): Likewise.
15814         (atanh_test_data): Likewise.
15815         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15816         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15817         (carg_test_data): Likewise.
15818         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15819         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15820         (ccosh_test_data): Likewise.
15821         (cexp_test_data): Likewise.
15822         (clog_test_data): Likewise.
15823         (clog10_test_data): Likewise.
15824         (cos_test_data): Update call to AUTO_TESTS_f_f.
15825         (cos_test): Use ALL_RM_TEST.
15826         (cos_tonearest_test_data): Remove.
15827         (cos_test_tonearest): Likewise.
15828         (cos_towardzero_test_data): Likewise.
15829         (cos_test_towardzero): Likewise.
15830         (cos_downward_test_data): Likewise.
15831         (cos_test_downward): Likewise.
15832         (cos_upward_test_data): Likewise.
15833         (cos_test_upward): Likewise.
15834         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15835         (cosh_test): Use ALL_RM_TEST.
15836         (cosh_tonearest_test_data): Remove.
15837         (cosh_test_tonearest): Likewise.
15838         (cosh_towardzero_test_data): Likewise.
15839         (cosh_test_towardzero): Likewise.
15840         (cosh_downward_test_data): Likewise.
15841         (cosh_test_downward): Likewise.
15842         (cosh_upward_test_data): Likewise.
15843         (cosh_test_upward): Likewise.
15844         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15845         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15846         (ctan_test_data): Likewise.
15847         (ctan_test): Use ALL_RM_TEST.
15848         (ctan_tonearest_test_data): Remove.
15849         (ctan_test_tonearest): Likewise.
15850         (ctan_towardzero_test_data): Likewise.
15851         (ctan_test_towardzero): Likewise.
15852         (ctan_downward_test_data): Likewise.
15853         (ctan_test_downward): Likewise.
15854         (ctan_upward_test_data): Likewise.
15855         (ctan_test_upward): Likewise.
15856         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15857         (ctanh_test): Use ALL_RM_TEST.
15858         (ctanh_tonearest_test_data): Remove.
15859         (ctanh_test_tonearest): Likewise.
15860         (ctanh_towardzero_test_data): Likewise.
15861         (ctanh_test_towardzero): Likewise.
15862         (ctanh_downward_test_data): Likewise.
15863         (ctanh_test_downward): Likewise.
15864         (ctanh_upward_test_data): Likewise.
15865         (ctanh_test_upward): Likewise.
15866         (erf_test_data): Update call to AUTO_TESTS_f_f.
15867         (erfc_test_data): Likewise.
15868         (exp_test_data): Likewise.
15869         (exp_test): Use ALL_RM_TEST.
15870         (exp_tonearest_test_data): Remove.
15871         (exp_test_tonearest): Likewise.
15872         (exp_towardzero_test_data): Likewise.
15873         (exp_test_towardzero): Likewise.
15874         (exp_downward_test_data): Likewise.
15875         (exp_test_downward): Likewise.
15876         (exp_upward_test_data): Likewise.
15877         (exp_test_upward): Likewise.
15878         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15879         (exp10_test): Use ALL_RM_TEST.
15880         (exp10_tonearest_test_data): Remove.
15881         (exp10_test_tonearest): Likewise.
15882         (exp10_towardzero_test_data): Likewise.
15883         (exp10_test_towardzero): Likewise.
15884         (exp10_downward_test_data): Likewise.
15885         (exp10_test_downward): Likewise.
15886         (exp10_upward_test_data): Likewise.
15887         (exp10_test_upward): Likewise.
15888         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15889         (expm1_test_data): Likewise.
15890         (expm1_test): Use ALL_RM_TEST.
15891         (expm1_tonearest_test_data): Remove.
15892         (expm1_test_tonearest): Likewise.
15893         (expm1_towardzero_test_data): Likewise.
15894         (expm1_test_towardzero): Likewise.
15895         (expm1_downward_test_data): Likewise.
15896         (expm1_test_downward): Likewise.
15897         (expm1_upward_test_data): Likewise.
15898         (expm1_test_upward): Likewise.
15899         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15900         (fma_test): Use ALL_RM_TEST.
15901         (fma_towardzero_test_data): Remove.
15902         (fma_test_towardzero): Likewise.
15903         (fma_downward_test_data): Likewise.
15904         (fma_test_downward): Likewise.
15905         (fma_upward_test_data): Likewise.
15906         (fma_test_upward): Likewise.
15907         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15908         (j0_test_data): Update call to AUTO_TESTS_f_f.
15909         (j1_test_data): Likewise.
15910         (jn_test_data): Update call to AUTO_TESTS_if_f.
15911         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15912         (log_test_data): Update call to AUTO_TESTS_f_f.
15913         (log10_test_data): Likewise.
15914         (log1p_test_data): Likewise.
15915         (log2_test_data): Likewise.
15916         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15917         (pow_tonearest_test_data): Likewise.
15918         (sin_test_data): Update call to AUTO_TESTS_f_f.
15919         (sin_test): Use ALL_RM_TEST.
15920         (sin_tonearest_test_data): Remove.
15921         (sin_test_tonearest): Likewise.
15922         (sin_towardzero_test_data): Likewise.
15923         (sin_test_towardzero): Likewise.
15924         (sin_downward_test_data): Likewise.
15925         (sin_test_downward): Likewise.
15926         (sin_upward_test_data): Likewise.
15927         (sin_test_upward): Likewise.
15928         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15929         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15930         (sinh_test): Use ALL_RM_TEST.
15931         (sinh_tonearest_test_data): Remove.
15932         (sinh_test_tonearest): Likewise.
15933         (sinh_towardzero_test_data): Likewise.
15934         (sinh_test_towardzero): Likewise.
15935         (sinh_downward_test_data): Likewise.
15936         (sinh_test_downward): Likewise.
15937         (sinh_upward_test_data): Likewise.
15938         (sinh_test_upward): Likewise.
15939         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15940         (sqrt_test): Use ALL_RM_TEST.
15941         (sqrt_tonearest_test_data): Remove.
15942         (sqrt_test_tonearest): Likewise.
15943         (sqrt_towardzero_test_data): Likewise.
15944         (sqrt_test_towardzero): Likewise.
15945         (sqrt_downward_test_data): Likewise.
15946         (sqrt_test_downward): Likewise.
15947         (sqrt_upward_test_data): Likewise.
15948         (sqrt_test_upward): Likewise.
15949         (tan_test_data): Update call to AUTO_TESTS_f_f.
15950         (tan_test): Use ALL_RM_TEST.
15951         (tan_tonearest_test_data): Remove.
15952         (tan_test_tonearest): Likewise.
15953         (tan_towardzero_test_data): Likewise.
15954         (tan_test_towardzero): Likewise.
15955         (tan_downward_test_data): Likewise.
15956         (tan_test_downward): Likewise.
15957         (tan_upward_test_data): Likewise.
15958         (tan_test_upward): Likewise.
15959         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15960         (tgamma_test_data): Likewise.
15961         (y0_test_data): Likewise.
15962         (y1_test_data): Likewise.
15963         (yn_test_data): Update call to AUTO_TESTS_if_f.
15964         (main): Do not call removed functions.
15966 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15968         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15969         (ldexp_test_data): Remove.
15970         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15971         scalbn_test_data.
15972         (scalb_test): Use ALL_RM_TEST.
15974 2014-03-19  Andreas Schwab  <schwab@suse.de>
15976         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15978 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15980         [BZ #16649]
15981         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15982         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15983         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15985         (__ASSUME_PREADV): Undefine.
15986         (__ASSUME_PWRITEV): Likewise.
15988 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15990         * bits/mman-linux.h: Add comment about non-Linux use.
15991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15992         bits/mman-linux.h resting place.
15994         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15995         * bits/mman-linux.h: ... here.
15997 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15999         * conform/conformtest.pl: Add standard definition when calling C
16000         preprocessor on data files.
16001         (checknamespace): Remove unused variable.
16003 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16005         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16006         minus_oflow, plus_uflow and minus_uflow in expected results.
16007         * math/libm-test.inc (scalbn_test_data): Add more tests of
16008         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16009         minus_uflow.
16010         (scalbn_test): Use ALL_RM_TEST.
16011         (scalbln_test_data): Add more tests of negative arguments.  Use
16012         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16013         (scalbln_test): Use ALL_RM_TEST.
16015 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16017         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16019 2014-03-18  Will Newton  <will.newton@linaro.org>
16021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16022         inaccurate comment.
16024 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16026         * Makerules [!subdir] (check-abi): Exit with error status if a
16027         test failed.
16029 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16031         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16032         for rint.  Include results for all rounding modes.
16033         (nearbyint_test): Use ALL_RM_TEST.
16034         (rint_test_data): Include all tests used for nearbyint.
16036 2014-03-17  Will Newton  <will.newton@linaro.org>
16038         * nptl/sysdeps/pthread/pthread.h: Revert previous
16039         change.
16041         * sysdeps/generic/ldsodefs.h: Revert previous
16042         change.
16044         * libio/genops.c: Revert previous change.
16045         * libio/libioP.h: Likewise.
16046         * stdio-common/vfprintf.c: Likewise.
16048         * sysdeps/generic/math_private.h: Revert previous
16049         change.
16051         * sysdeps/generic/math_private.h: Check whether
16052         HAVE_RM_CTX is defined with #ifdef rather
16053         than #if.
16055         * argp/argp-fmtstream.h: Check whether
16056         __STRICT_ANSI__ is defined with #ifdef rather
16057         than #if.
16058         * argp/argp.h: Likewise.
16060         * libio/genops.c: Check whether
16061         _IO_JUMPS_OFFSET is defined with #ifdef rather
16062         than #if.
16063         * libio/libioP.h: Likewise.
16064         * stdio-common/vfprintf.c: Likewise.
16066         * sysdeps/generic/ldsodefs.h: Check whether
16067         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16068         than #if.
16070         * nptl/sysdeps/pthread/pthread.h: Check
16071         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16072         its value.
16074 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16076         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16077         setting O_APPEND.
16078         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16079         test case.
16081         [BZ #16680]
16082         * libio/fileops.c (_IO_file_open): Seek to end of file but
16083         don't cache the offset.
16084         (get_file_offset): Remove function.
16085         (do_ftell): Use cached offset when available.
16086         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16087         don't cache the offset.
16088         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16089         case.
16090         (do_one_test): Call it.
16091         (do_ftell_test): Fix up expected old offset for a+ mode.
16092         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16093         available.
16095         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16096         up test status with function return status.
16097         (do_write_test): Likewise.
16098         (do_append_test): Likewise.
16100         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16101         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16102         Remove.
16104 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16106         * math/gen-libm-test.pl (parse_args): Handle results specified for
16107         each rounding mode separately.
16108         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16109         tests and results from lrint_tonearest_test_data,
16110         lrint_towardzero_test_data, lrint_downward_test_data and
16111         lrint_upward_test_data.
16112         (lrint_test): Use ALL_RM_TEST.
16113         (lrint_tonearest_test_data): Remove.
16114         (lrint_test_tonearest): Likewise.
16115         (lrint_towardzero_test_data): Likewise.
16116         (lrint_test_towardzero): Likewise.
16117         (lrint_downward_test_data): Likewise.
16118         (lrint_test_downward): Likewise.
16119         (lrint_upward_test_data): Likewise.
16120         (lrint_test_upward): Likewise.
16121         (llrint_test_data): Merge in per-rounding-mode tests and results
16122         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16123         llrint_downward_test_data and llrint_upward_test_data.
16124         (llrint_test): Use ALL_RM_TEST.
16125         (llrint_tonearest_test_data): Remove.
16126         (llrint_test_tonearest): Likewise.
16127         (llrint_towardzero_test_data): Likewise.
16128         (llrint_test_towardzero): Likewise.
16129         (llrint_downward_test_data): Likewise.
16130         (llrint_test_downward): Likewise.
16131         (llrint_upward_test_data): Likewise.
16132         (llrint_test_upward): Likewise.
16133         (rint_test_data): Merge in per-rounding-mode tests and results
16134         from rint_tonearest_test_data, rint_towardzero_test_data,
16135         rint_downward_test_data and rint_upward_test_data.  Add
16136         per-rounding-mode results for tests not in those arrays.
16137         (rint_test): Use ALL_RM_TEST.
16138         (rint_tonearest_test_data): Remove.
16139         (rint_test_tonearest): Likewise.
16140         (rint_towardzero_test_data): Likewise.
16141         (rint_test_towardzero): Likewise.
16142         (rint_downward_test_data): Likewise.
16143         (rint_test_downward): Likewise.
16144         (rint_upward_test_data): Likewise.
16145         (rint_test_upward): Likewise.
16146         (main): Don't call removed functions.
16148 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16150         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16151         "Compiled on ..." crapola.  It is anti-useful.
16153 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16155         * scripts/evaluate-test.sh: Handle fourth argument to determine
16156         whether test run should stop on failure.
16157         * Makeconfig (stop-on-test-failure): New variable.
16158         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16159         $(stop-on-test-failure).
16160         * Makefile (tests): Give a summary of results from testing and
16161         exit with failure status if they include an ERROR or FAIL.
16162         (xtests): Likewise.
16163         * manual/install.texi (Configuring and compiling): Mention
16164         stop-on-test-failure=y.
16165         * INSTALL: Regenerated.
16167 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16169         * scripts/versionlist.awk: New file.
16170         * Makerules [$(build-shared) = yes]
16171         (postclean-generated): Add Versions.def, not Versions.def.v and
16172         Versions.def.v.i.
16173         ($(common-objpfx)Versions.def.v.i): Target removed.
16174         ($(common-objpfx)Versions.def): New target.
16175         ($(common-objpfx)Versions.all): Depend on that rather that
16176         $(common-objpfx)Versions.def.v.
16177         * Versions.def: File removed.
16179         * Makeconfig (+gccwarn): Add -Wundef.
16180         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16181         a dl-sysdep.h breaking its contract.
16182         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16183         * include/stackinfo.h: New file.
16184         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16185         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16186         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16187         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16188         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16189         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16190         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16191         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16192         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16193         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16194         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16195         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16196         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16197         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16198         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16200 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16202         [BZ #16707]
16203         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16204         implementation.
16205         * math/libm-test.inc (round_test_data): Add more tests.
16207         [BZ #16706]
16208         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16209         implementation.
16210         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16212         [BZ #16701]
16213         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16214         implementation.
16215         * math/libm-test.inc (ceil_test_data): Add more tests.
16217         * math/libm-test.inc (trunc_test_data): Add more tests related to
16218         BZ#16414.
16220 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16222         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16223         with #if rather than #ifdef.
16224         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16226 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16228         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16229         first.  Disable AVX-512 GCC support if assembler doesn't support
16230         it.
16231         * sysdeps/x86_64/configure: Regenerated.
16233 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16235         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16236         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16237         (__old_pthread_attr_setstack): Likewise.
16238         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16239         [!_STACK_GROWS_DOWN]: Likewise.
16241 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16243         * config.make.in (have-bash2): Delete.
16244         * configure.ac (libc_cv_have_bash2): Delete.
16245         * configure: Regenerate.
16246         * elf/Makefile (common-ldd-rewrite): Rename to ...
16247         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16248         (sh-ldd-rewrite): Delete.
16249         (bash-ldd-rewrite): Delete.
16250         (have-bash2): Delete checks.
16251         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16252         ldd-rewrite.
16254         * config.make.in (have-ksh): Delete.
16255         (KSH): Delete.
16256         * configure.ac (libc_cv_have_ksh): Delete.
16257         * configure: Regenerate.
16259         * elf/Makefile: Delete $(have-ksh) check.
16260         ($(objpfx)sotruss): Change KSH to BASH.
16261         * elf/sotruss.ksh: Rename to ...
16262         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16263         function style to match POSIX.  Drop ksh vim mode setting.
16265         * manual/time.texi (Specifying the Time Zone with TZ): Change
16266         Tuesday to Thursday.
16268         * debug/tst-longjmp_chk2.c: Update header comment.
16269         (stackoverflow_handler): Add comment.  Call assert on pass value.
16271 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16273         [BZ #16194]
16274         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16275         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16276         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16277         (La_x86_64_vector): Add zmm.
16278         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16279         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16280         ($(objpfx)tst-audit10): New target.
16281         ($(objpfx)tst-audit10.out): Likewise.
16282         (tst-audit10-ENV): New.
16283         (AVX512-CFLAGS): Likewise.
16284         (CFLAGS-tst-audit10.c): Likewise.
16285         (CFLAGS-tst-auditmod10a.c): Likewise.
16286         (CFLAGS-tst-auditmod10b.c): Likewise.
16287         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16288         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16289         * sysdeps/x86_64/configure: Regenerated.
16290         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16291         AVX-512 zmm register support.
16292         (_dl_x86_64_save_sse): Likewise.
16293         (_dl_x86_64_restore_sse): Likewise.
16294         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16295         size vector registers.
16296         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16297         (ZMM_SIZE): Likewise.
16298         * sysdeps/x86_64/tst-audit10.c: New file.
16299         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16300         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16302 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16304         * configure.ac (HAVE_EHDR_START): New check.
16305         * configure: Regenerated.
16306         * config.h.in (HAVE_EHDR_START): New #undef.
16307         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16308         assuming the lowest-addressed segment maps the start of the file.
16310 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16312         * INSTALL: Regenerated.
16314 2014-03-13  Will Newton  <will.newton@linaro.org>
16316         * manual/setjmp.texi (System V contexts): Improve
16317         clarity and grammar of documentation.
16319 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16321         [BZ #16381]
16322         * elf/Makefile (tests): Add tst-pie2.
16323         (tests-pie): Add tst-pie2.
16324         * elf/tst-pie2.c: New file.
16325         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16326         for ET_EXEC.
16327         * elf/rtld.c (map_doit): Load executable as lt_executable.
16328         (dl_main): Likewise.
16330 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16332         [BZ #16642]
16333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16334         (__ASSUME_PSELECT): Undefine.
16336 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16338         [BZ #16689]
16339         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16340         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16341         static build.
16342         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16343         selector for static builds.
16345 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16347         [BZ #16695]
16348         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16349         key in the buffer.
16351 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16353         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16354         IFUNC selector for static builds.
16356 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16358         * sysdeps/mips/math_private.h [__mips_hard_float]
16359         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16360         libc_feresetround_mips_ctx.
16361         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16362         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16363         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16365         [BZ #16677]
16366         * math/s_nextafter.c (__nextafter): Do not return value from
16367         overflowing computation.
16368         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16369         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16370         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16371         Likewise.
16372         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16373         Likewise.
16374         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16375         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16377 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16379         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16380         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16381         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16382         the new mov targetting sp.
16384 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16386         [BZ #16683]
16387         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16388         Define it for static builds as well.
16389         (NO_BZERO_IMPL): Likewise.
16391 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16393         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16394         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16395         multiarch strspn for PPC64.
16396         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16397         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16399         (__libc_ifunc_impl_list): Likewise.
16400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16401         multiarch optimizations
16402         * string/strspn.c (strspn): Using macro to redefine symbol name.
16404 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16405             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16407         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16408         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16409         multiarch strncat for PPC64.
16410         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16411         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16413         (__libc_ifunc_impl_list): Likewise.
16414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16415         multiarch optimizations
16417 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16419         [BZ #16639]
16420         * nscd/nscd.service: Make service type forking.
16422 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16424         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16425         sign in non default rounding modes.
16426         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16428 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16430         * math/libm-test.inc (ALL_RM_TEST): New macro.
16431         (ceil_test): Use ALL_RM_TEST.
16432         (cimag_test): Likewise.
16433         (conj_test): Likewise.
16434         (copysign_test): Likewise.
16435         (cproj_test): Likewise.
16436         (creal_test): Likewise.
16437         (fabs_test): Likewise.
16438         (floor_test): Likewise.
16439         (fmax_test): Likewise.
16440         (fmin_test): Likewise.
16441         (fmod_test): Likewise.
16442         (fpclassify_test): Likewise.
16443         (frexp_test): Likewise.
16444         (ilogb_test): Likewise.
16445         (isfinite_test): Likewise.
16446         (finite_test): Likewise.
16447         (isgreater_test): Likewise.
16448         (isgreaterequal_test): Likewise.
16449         (isinf_test): Likewise.
16450         (isless_test): Likewise.
16451         (islessequal_test): Likewise.
16452         (islessgreater_test): Likewise.
16453         (isnan_test): Likewise.
16454         (isnormal_test): Likewise.
16455         (issignaling_test): Likewise.
16456         (isunordered_test): Likewise.
16457         (logb_test): Likewise.
16458         (logb_downward_test_data): Remove.
16459         (logb_test_downward): Likewise.
16460         (lround_test): Use ALL_RM_TEST.
16461         (llround_test): Likewise.
16462         (modf_test): Likewise.
16463         (nexttoward_test): Likewise.
16464         (remainder_test): Likewise.
16465         (drem_test): Likewise.
16466         (remainder_tonearest_test_data): Likewise.
16467         (remainder_test_tonearest): Likewise.
16468         (drem_test_tonearest): Likewise.
16469         (remainder_towardzero_test_data): Likewise.
16470         (remainder_test_towardzero): Likewise.
16471         (drem_test_towardzero): Likewise.
16472         (remainder_downward_test_data): Likewise.
16473         (remainder_test_downward): Likewise.
16474         (drem_test_downward): Likewise.
16475         (remainder_upward_test_data): Likewise.
16476         (remainder_test_upward): Likewise.
16477         (drem_test_upward): Likewise.
16478         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16479         (round_test): Use ALL_RM_TEST.
16480         (signbit_test): Likewise.
16481         (trunc_test): Likewise.
16482         (significand_test): Likewise.
16483         (main): Don't call removed functions.
16485 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16487         [BZ #16674]
16488         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16489         || __USE_XOPEN2K8].
16490         (ILL_ILLOPN): Likewise.
16491         (ILL_ILLADR): Likewise.
16492         (ILL_ILLTRP): Likewise.
16493         (ILL_PRVOPC): Likewise.
16494         (ILL_PRVREG): Likewise.
16495         (ILL_COPROC): Likewise.
16496         (ILL_BADSTK): Likewise.
16497         (FPE_INTDIV): Likewise.
16498         (FPE_INTOVF): Likewise.
16499         (FPE_FLTDIV): Likewise.
16500         (FPE_FLTOVF): Likewise.
16501         (FPE_FLTUND): Likewise.
16502         (FPE_FLTRES): Likewise.
16503         (FPE_FLTINV): Likewise.
16504         (FPE_FLTSUB): Likewise.
16505         (SEGV_MAPERR): Likewise.
16506         (SEGV_ACCERR): Likewise.
16507         (BUS_ADRALN): Likewise.
16508         (BUS_ADRERR): Likewise.
16509         (BUS_OBJERR): Likewise.
16510         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16511         (TRAP_TRACE): Likewise.
16512         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16513         __USE_XOPEN2K8].
16514         (CLD_KILLED): Likewise.
16515         (CLD_DUMPED): Likewise.
16516         (CLD_TRAPPED): Likewise.
16517         (CLD_STOPPED): Likewise.
16518         (CLD_CONTINUED): Likewise.
16519         (POLL_IN): Likewise.
16520         (POLL_OUT): Likewise.
16521         (POLL_MSG): Likewise.
16522         (POLL_ERR): Likewise.
16523         (POLL_PRI): Likewise.
16524         (POLL_HUP): Likewise.
16525         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16526         Likewise.
16527         (ILL_ILLOPN): Likewise.
16528         (ILL_ILLADR): Likewise.
16529         (ILL_ILLTRP): Likewise.
16530         (ILL_PRVOPC): Likewise.
16531         (ILL_PRVREG): Likewise.
16532         (ILL_COPROC): Likewise.
16533         (ILL_BADSTK): Likewise.
16534         (FPE_INTDIV): Likewise.
16535         (FPE_INTOVF): Likewise.
16536         (FPE_FLTDIV): Likewise.
16537         (FPE_FLTOVF): Likewise.
16538         (FPE_FLTUND): Likewise.
16539         (FPE_FLTRES): Likewise.
16540         (FPE_FLTINV): Likewise.
16541         (FPE_FLTSUB): Likewise.
16542         (SEGV_MAPERR): Likewise.
16543         (SEGV_ACCERR): Likewise.
16544         (BUS_ADRALN): Likewise.
16545         (BUS_ADRERR): Likewise.
16546         (BUS_OBJERR): Likewise.
16547         (BUS_MCEERR_AR): Likewise.
16548         (BUS_MCEERR_AO): Likewise.
16549         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16550         (TRAP_TRACE): Likewise.
16551         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16552         __USE_XOPEN2K8].
16553         (CLD_KILLED): Likewise.
16554         (CLD_DUMPED): Likewise.
16555         (CLD_TRAPPED): Likewise.
16556         (CLD_STOPPED): Likewise.
16557         (CLD_CONTINUED): Likewise.
16558         (POLL_IN): Likewise.
16559         (POLL_OUT): Likewise.
16560         (POLL_MSG): Likewise.
16561         (POLL_ERR): Likewise.
16562         (POLL_PRI): Likewise.
16563         (POLL_HUP): Likewise.
16564         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16565         (ILL_ILLOPN): Likewise.
16566         (ILL_ILLADR): Likewise.
16567         (ILL_ILLTRP): Likewise.
16568         (ILL_PRVOPC): Likewise.
16569         (ILL_PRVREG): Likewise.
16570         (ILL_COPROC): Likewise.
16571         (ILL_BADSTK): Likewise.
16572         (FPE_INTDIV): Likewise.
16573         (FPE_INTOVF): Likewise.
16574         (FPE_FLTDIV): Likewise.
16575         (FPE_FLTOVF): Likewise.
16576         (FPE_FLTUND): Likewise.
16577         (FPE_FLTRES): Likewise.
16578         (FPE_FLTINV): Likewise.
16579         (FPE_FLTSUB): Likewise.
16580         (SEGV_MAPERR): Likewise.
16581         (SEGV_ACCERR): Likewise.
16582         (BUS_ADRALN): Likewise.
16583         (BUS_ADRERR): Likewise.
16584         (BUS_OBJERR): Likewise.
16585         (BUS_MCEERR_AR): Likewise.
16586         (BUS_MCEERR_AO): Likewise.
16587         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16588         (TRAP_TRACE): Likewise.
16589         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16590         __USE_XOPEN2K8].
16591         (CLD_KILLED): Likewise.
16592         (CLD_DUMPED): Likewise.
16593         (CLD_TRAPPED): Likewise.
16594         (CLD_STOPPED): Likewise.
16595         (CLD_CONTINUED): Likewise.
16596         (POLL_IN): Likewise.
16597         (POLL_OUT): Likewise.
16598         (POLL_MSG): Likewise.
16599         (POLL_ERR): Likewise.
16600         (POLL_PRI): Likewise.
16601         (POLL_HUP): Likewise.
16602         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16603         Likewise.
16604         (ILL_ILLOPN): Likewise.
16605         (ILL_ILLADR): Likewise.
16606         (ILL_ILLTRP): Likewise.
16607         (ILL_PRVOPC): Likewise.
16608         (ILL_PRVREG): Likewise.
16609         (ILL_COPROC): Likewise.
16610         (ILL_BADSTK): Likewise.
16611         (ILL_BADIADDR): Likewise.
16612         (ILL_BREAK): Likewise.
16613         (FPE_INTDIV): Likewise.
16614         (FPE_INTOVF): Likewise.
16615         (FPE_FLTDIV): Likewise.
16616         (FPE_FLTOVF): Likewise.
16617         (FPE_FLTUND): Likewise.
16618         (FPE_FLTRES): Likewise.
16619         (FPE_FLTINV): Likewise.
16620         (FPE_FLTSUB): Likewise.
16621         (FPE_DECOVF): Likewise.
16622         (FPE_DECDIV): Likewise.
16623         (FPE_DECERR): Likewise.
16624         (FPE_INVASC): Likewise.
16625         (FPE_INVDEC): Likewise.
16626         (SEGV_MAPERR): Likewise.
16627         (SEGV_ACCERR): Likewise.
16628         (SEGV_PSTKOVF): Likewise.
16629         (BUS_ADRALN): Likewise.
16630         (BUS_ADRERR): Likewise.
16631         (BUS_OBJERR): Likewise.
16632         (BUS_MCEERR_AR): Likewise.
16633         (BUS_MCEERR_AO): Likewise.
16634         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16635         (TRAP_TRACE): Likewise.
16636         (TRAP_BRANCH): Likewise.
16637         (TRAP_HWBKPT): Likewise.
16638         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16639         __USE_XOPEN2K8].
16640         (CLD_KILLED): Likewise.
16641         (CLD_DUMPED): Likewise.
16642         (CLD_TRAPPED): Likewise.
16643         (CLD_STOPPED): Likewise.
16644         (CLD_CONTINUED): Likewise.
16645         (POLL_IN): Likewise.
16646         (POLL_OUT): Likewise.
16647         (POLL_MSG): Likewise.
16648         (POLL_ERR): Likewise.
16649         (POLL_PRI): Likewise.
16650         (POLL_HUP): Likewise.
16651         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16652         (ILL_ILLOPN): Likewise.
16653         (ILL_ILLADR): Likewise.
16654         (ILL_ILLTRP): Likewise.
16655         (ILL_PRVOPC): Likewise.
16656         (ILL_PRVREG): Likewise.
16657         (ILL_COPROC): Likewise.
16658         (ILL_BADSTK): Likewise.
16659         (FPE_INTDIV): Likewise.
16660         (FPE_INTOVF): Likewise.
16661         (FPE_FLTDIV): Likewise.
16662         (FPE_FLTOVF): Likewise.
16663         (FPE_FLTUND): Likewise.
16664         (FPE_FLTRES): Likewise.
16665         (FPE_FLTINV): Likewise.
16666         (FPE_FLTSUB): Likewise.
16667         (SEGV_MAPERR): Likewise.
16668         (SEGV_ACCERR): Likewise.
16669         (BUS_ADRALN): Likewise.
16670         (BUS_ADRERR): Likewise.
16671         (BUS_OBJERR): Likewise.
16672         (BUS_MCEERR_AR): Likewise.
16673         (BUS_MCEERR_AO): Likewise.
16674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16675         (TRAP_TRACE): Likewise.
16676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16677         __USE_XOPEN2K8].
16678         (CLD_KILLED): Likewise.
16679         (CLD_DUMPED): Likewise.
16680         (CLD_TRAPPED): Likewise.
16681         (CLD_STOPPED): Likewise.
16682         (CLD_CONTINUED): Likewise.
16683         (POLL_IN): Likewise.
16684         (POLL_OUT): Likewise.
16685         (POLL_MSG): Likewise.
16686         (POLL_ERR): Likewise.
16687         (POLL_PRI): Likewise.
16688         (POLL_HUP): Likewise.
16689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16690         (ILL_ILLOPN): Likewise.
16691         (ILL_ILLADR): Likewise.
16692         (ILL_ILLTRP): Likewise.
16693         (ILL_PRVOPC): Likewise.
16694         (ILL_PRVREG): Likewise.
16695         (ILL_COPROC): Likewise.
16696         (ILL_BADSTK): Likewise.
16697         (FPE_INTDIV): Likewise.
16698         (FPE_INTOVF): Likewise.
16699         (FPE_FLTDIV): Likewise.
16700         (FPE_FLTOVF): Likewise.
16701         (FPE_FLTUND): Likewise.
16702         (FPE_FLTRES): Likewise.
16703         (FPE_FLTINV): Likewise.
16704         (FPE_FLTSUB): Likewise.
16705         (SEGV_MAPERR): Likewise.
16706         (SEGV_ACCERR): Likewise.
16707         (BUS_ADRALN): Likewise.
16708         (BUS_ADRERR): Likewise.
16709         (BUS_OBJERR): Likewise.
16710         (BUS_MCEERR_AR): Likewise.
16711         (BUS_MCEERR_AO): Likewise.
16712         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16713         (TRAP_TRACE): Likewise.
16714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16715         __USE_XOPEN2K8].
16716         (CLD_KILLED): Likewise.
16717         (CLD_DUMPED): Likewise.
16718         (CLD_TRAPPED): Likewise.
16719         (CLD_STOPPED): Likewise.
16720         (CLD_CONTINUED): Likewise.
16721         (POLL_IN): Likewise.
16722         (POLL_OUT): Likewise.
16723         (POLL_MSG): Likewise.
16724         (POLL_ERR): Likewise.
16725         (POLL_PRI): Likewise.
16726         (POLL_HUP): Likewise.
16727         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16728         (ILL_ILLOPN): Likewise.
16729         (ILL_ILLADR): Likewise.
16730         (ILL_ILLTRP): Likewise.
16731         (ILL_PRVOPC): Likewise.
16732         (ILL_PRVREG): Likewise.
16733         (ILL_COPROC): Likewise.
16734         (ILL_BADSTK): Likewise.
16735         (FPE_INTDIV): Likewise.
16736         (FPE_INTOVF): Likewise.
16737         (FPE_FLTDIV): Likewise.
16738         (FPE_FLTOVF): Likewise.
16739         (FPE_FLTUND): Likewise.
16740         (FPE_FLTRES): Likewise.
16741         (FPE_FLTINV): Likewise.
16742         (FPE_FLTSUB): Likewise.
16743         (SEGV_MAPERR): Likewise.
16744         (SEGV_ACCERR): Likewise.
16745         (BUS_ADRALN): Likewise.
16746         (BUS_ADRERR): Likewise.
16747         (BUS_OBJERR): Likewise.
16748         (BUS_MCEERR_AR): Likewise.
16749         (BUS_MCEERR_AO): Likewise.
16750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16751         (TRAP_TRACE): Likewise.
16752         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16753         __USE_XOPEN2K8].
16754         (CLD_KILLED): Likewise.
16755         (CLD_DUMPED): Likewise.
16756         (CLD_TRAPPED): Likewise.
16757         (CLD_STOPPED): Likewise.
16758         (CLD_CONTINUED): Likewise.
16759         (POLL_IN): Likewise.
16760         (POLL_OUT): Likewise.
16761         (POLL_MSG): Likewise.
16762         (POLL_ERR): Likewise.
16763         (POLL_PRI): Likewise.
16764         (POLL_HUP): Likewise.
16765         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16766         (ILL_ILLOPN): Likewise.
16767         (ILL_ILLADR): Likewise.
16768         (ILL_ILLTRP): Likewise.
16769         (ILL_PRVOPC): Likewise.
16770         (ILL_PRVREG): Likewise.
16771         (ILL_COPROC): Likewise.
16772         (ILL_BADSTK): Likewise.
16773         (ILL_DBLFLT): Likewise.
16774         (ILL_HARDWALL): Likewise.
16775         (FPE_INTDIV): Likewise.
16776         (FPE_INTOVF): Likewise.
16777         (FPE_FLTDIV): Likewise.
16778         (FPE_FLTOVF): Likewise.
16779         (FPE_FLTUND): Likewise.
16780         (FPE_FLTRES): Likewise.
16781         (FPE_FLTINV): Likewise.
16782         (FPE_FLTSUB): Likewise.
16783         (SEGV_MAPERR): Likewise.
16784         (SEGV_ACCERR): Likewise.
16785         (BUS_ADRALN): Likewise.
16786         (BUS_ADRERR): Likewise.
16787         (BUS_OBJERR): Likewise.
16788         (BUS_MCEERR_AR): Likewise.
16789         (BUS_MCEERR_AO): Likewise.
16790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16791         (TRAP_TRACE): Likewise.
16792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16793         __USE_XOPEN2K8].
16794         (CLD_KILLED): Likewise.
16795         (CLD_DUMPED): Likewise.
16796         (CLD_TRAPPED): Likewise.
16797         (CLD_STOPPED): Likewise.
16798         (CLD_CONTINUED): Likewise.
16799         (POLL_IN): Likewise.
16800         (POLL_OUT): Likewise.
16801         (POLL_MSG): Likewise.
16802         (POLL_ERR): Likewise.
16803         (POLL_PRI): Likewise.
16804         (POLL_HUP): Likewise.
16805         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16806         (ILL_ILLOPN): Likewise.
16807         (ILL_ILLADR): Likewise.
16808         (ILL_ILLTRP): Likewise.
16809         (ILL_PRVOPC): Likewise.
16810         (ILL_PRVREG): Likewise.
16811         (ILL_COPROC): Likewise.
16812         (ILL_BADSTK): Likewise.
16813         (FPE_INTDIV): Likewise.
16814         (FPE_INTOVF): Likewise.
16815         (FPE_FLTDIV): Likewise.
16816         (FPE_FLTOVF): Likewise.
16817         (FPE_FLTUND): Likewise.
16818         (FPE_FLTRES): Likewise.
16819         (FPE_FLTINV): Likewise.
16820         (FPE_FLTSUB): Likewise.
16821         (SEGV_MAPERR): Likewise.
16822         (SEGV_ACCERR): Likewise.
16823         (BUS_ADRALN): Likewise.
16824         (BUS_ADRERR): Likewise.
16825         (BUS_OBJERR): Likewise.
16826         (BUS_MCEERR_AR): Likewise.
16827         (BUS_MCEERR_AO): Likewise.
16828         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16829         (TRAP_TRACE): Likewise.
16830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16831         __USE_XOPEN2K8].
16832         (CLD_KILLED): Likewise.
16833         (CLD_DUMPED): Likewise.
16834         (CLD_TRAPPED): Likewise.
16835         (CLD_STOPPED): Likewise.
16836         (CLD_CONTINUED): Likewise.
16837         (POLL_IN): Likewise.
16838         (POLL_OUT): Likewise.
16839         (POLL_MSG): Likewise.
16840         (POLL_ERR): Likewise.
16841         (POLL_PRI): Likewise.
16842         (POLL_HUP): Likewise.
16843         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16844         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16846         [BZ #16670]
16847         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16848         before #include of <time.h>.
16849         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16850         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16851         (test-xfail-UNIX98/sched.h/conform): Likewise.
16853 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16855         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16856         error absence of trapping exception support.
16857         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16859 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16861         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16862         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16863         * timezone/Makefile (testdata): Move definition above include of
16864         Rules.
16865         (test-zones): New variable.
16866         (tests-special): Add zone files.
16867         (build-testdata): Use $(evaluate-test).
16869         * elf/Makefile (tests-special): Rename tests to end with .out.
16870         ($(objpfx)noload-mem): Likewise.
16871         ($(objpfx)tst-leaks1-mem): Likewise.
16872         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16873         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16874         $(objpfx)test-iconvconfig.out.
16875         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16876         set -e inside subshell and redirect output to file.
16877         * iconvdata/Makefile (generated): Rename tests to end with .out.
16878         Correct type.
16879         (tests-special): Rename tests to end with .out.
16880         ($(objpfx)mtrace-tst-loading): Likewise.
16881         * intl/Makefile (generated): Likewise.
16882         (tests-special): Likewise.
16883         ($(objpfx)mtrace-tst-gettext): Likewise.
16884         * misc/Makefile (generated): Likewise.
16885         (tests-special): Likewise.
16886         ($(objpfx)tst-error1-mem): Likewise.
16887         * nptl/Makefile (tests-special): Likewise.
16888         ($(objpfx)tst-stack3-mem): Likewise.
16889         (generated): Likewise.
16890         * posix/Makefile (generated): Likewise.
16891         (tests-special): Likewise.
16892         (xtests-special): Likewise.
16893         ($(objpfx)tst-fnmatch-mem): Likewise.
16894         ($(objpfx)bug-regex2-mem): Likewise.
16895         ($(objpfx)bug-regex14-mem): Likewise.
16896         ($(objpfx)bug-regex21-mem): Likewise.
16897         ($(objpfx)bug-regex31-mem): Likewise.
16898         ($(objpfx)tst-vfork3-mem): Likewise.
16899         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16900         ($(objpfx)tst-pcre-mem): Likewise.
16901         ($(objpfx)tst-boost-mem): Likewise.
16902         ($(objpfx)bug-ga2-mem): Likewise.
16903         ($(objpfx)bug-glob2-mem): Likewise.
16904         * resolv/Makefile (generate): Likewise.
16905         (tests-special): Likewise.
16906         (xtests-special): Likewise.
16907         (generated): Likewise.
16908         ($(objpfx)mtrace-tst-leaks): Likewise.
16909         ($(objpfx)mtrace-tst-leaks2): Likewise.
16911         * scripts/merge-test-results.sh: New file.
16912         * Makefile (tests-special-notdir): New variable.
16913         (tests): Run merge-test-results.sh.
16914         (xtests): Likewise.
16915         * Rules (tests-special-notdir): New variable.
16916         (xtests-special-notdir): Likewise.
16917         (tests): Run merge-test-results.sh
16918         (xtests): Likewise.
16920         * Makeconfig (test-xfail-name): New variable.
16921         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16922         compute variable name for expected failures.
16923         * conform/Makefile (conformtest-headers-data): New variable.
16924         (conformtest-standards): Likewise.
16925         (conformtest-headers-ISO): Likewise.
16926         (conformtest-headers-ISO99): Likewise.
16927         (conformtest-headers-ISO11): Likewise.
16928         (conformtest-headers-POSIX): Likewise.
16929         (conformtest-headers-XPG3): Likewise.
16930         (conformtest-headers-XPG4): Likewise.
16931         (conformtest-headers-UNIX98): Likewise.
16932         (conformtest-headers-XOPEN2K): Likewise.
16933         (conformtest-headers-POSIX2008): Likewise.
16934         (conformtest-headers-XOPEN2K8): Likewise.
16935         (conformtest-header-list-base): Likewise.
16936         (conformtest-header-list-tests): Likewise.
16937         (conformtest-header-base): Likewise.
16938         (conformtest-header-tests): Likewise.
16939         (tests-special): Add $(conformtest-header-list-tests).  If
16940         [$(fast-check) && !$(cross-compiling)], add
16941         $(conformtest-header-tests) instead of
16942         $(objpfx)run-conformtest.out.
16943         (generated): Add $(conformtest-header-list-base).  If
16944         [$(fast-check) && !$(cross-compiling)], add
16945         $(conformtest-header-base).  Remove previous setting.
16946         ($(conformtest-header-list-tests)): New target.
16947         (test-xfail-run-conformtest): Remove variable.
16948         ($(objpfx)run-conformtest.out): Remove target.
16949         (test-xfail-ISO11/complex.h/conform): New variable.
16950         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16951         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16952         (test-xfail-XPG3/varargs.h/conform): Likewise.
16953         (test-xfail-XPG4/varargs.h/conform): Likewise.
16954         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16955         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16956         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16957         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16958         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16959         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16960         (test-xfail-XPG3/ftw.h/conform): Likewise.
16961         (test-xfail-XPG3/grp.h/conform): Likewise.
16962         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16963         (test-xfail-XPG3/limits.h/conform): Likewise.
16964         (test-xfail-XPG3/pwd.h/conform): Likewise.
16965         (test-xfail-XPG3/search.h/conform): Likewise.
16966         (test-xfail-XPG3/signal.h/conform): Likewise.
16967         (test-xfail-XPG3/stdio.h/conform): Likewise.
16968         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16969         (test-xfail-XPG3/string.h/conform): Likewise.
16970         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16971         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16972         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16973         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16974         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16975         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16976         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16977         (test-xfail-XPG3/termios.h/conform): Likewise.
16978         (test-xfail-XPG3/time.h/conform): Likewise.
16979         (test-xfail-XPG3/unistd.h/conform): Likewise.
16980         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16981         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16982         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16983         (test-xfail-XPG4/netdb.h/conform): Likewise.
16984         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16985         (test-xfail-XPG4/signal.h/conform): Likewise.
16986         (test-xfail-XPG4/stdio.h/conform): Likewise.
16987         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16988         (test-xfail-XPG4/stropts.h/conform): Likewise.
16989         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16990         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16991         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16992         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16993         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16994         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16995         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16996         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16997         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16998         (test-xfail-XPG4/termios.h/conform): Likewise.
16999         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17000         (test-xfail-XPG4/unistd.h/conform): Likewise.
17001         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17002         (test-xfail-POSIX/sched.h/conform): Likewise.
17003         (test-xfail-POSIX/signal.h/conform): Likewise.
17004         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17005         (test-xfail-POSIX/tar.h/conform): Likewise.
17006         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17007         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17008         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17009         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17010         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17011         (test-xfail-UNIX98/sched.h/conform): Likewise.
17012         (test-xfail-UNIX98/signal.h/conform): Likewise.
17013         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17014         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17015         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17016         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17017         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17018         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17019         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17020         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17021         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17022         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17023         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17024         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17025         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17026         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17027         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17028         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17029         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17030         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17031         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17032         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17033         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17034         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17035         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17036         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17037         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17038         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17039         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17040         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17041         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17042         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17043         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17044         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17045         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17046         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17047         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17048         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17049         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17050         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17051         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17052         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17053         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17054         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17055         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17056         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17057         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17058         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17059         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17060         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17061         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17062         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17063         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17064         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17065         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17066         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17067         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17068         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17069         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17070         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17071         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17072         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17073         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17074         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17075         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17076         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17077         (conformtest-cc-flags): Likewise.
17078         ($(conformtest-header-tests): New target.
17079         * conform/check-header-lists.sh: New file.
17080         * conform/run-conformtest.sh: Remove.
17082         * conform/conformtest.pl: Allow ' and \ in values given for
17083         constants.
17084         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17085         inclusion.
17086         [POSIX] (sys/types.h): Likewise.
17087         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17088         inclusion.
17089         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17090         inclusion.
17091         * conform/data/signal.h-data (SIGIO): Remove expectation.
17092         [XPG3] (SIGBUS): Do not expect.
17093         [POSIX || XPG3] (SIGPOLL): Likewise.
17094         [POSIX || XPG3] (SIGPROF): Likewise.
17095         [POSIX || XPG3] (SIGSYS): Likewise.
17096         [XPG3] (SIGTRAP): Likewise.
17097         [POSIX || XPG3] (SIGURG): Likewise.
17098         [POSIX || XPG3] (SIGVTALRM): Likewise.
17099         [POSIX || XPG3] (SIGXCPU): Likewise.
17100         [POSIX || XPG3] (SIGXFSZ): Likewise.
17101         [POSIX] (SA_SIGINFO): Expect.
17102         [XPG3] (siginfo_t): Do not expect type or contents.
17103         [POSIX] (si_pid): Do not expect element.
17104         [POSIX] (si_uid): Likewise.
17105         [POSIX] (si_addr): Likewise.
17106         [POSIX] (si_status): Likewise.
17107         [POSIX] (si_band): Likewise.
17108         [XPG4] (si_value): Likewise.
17109         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17110         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17111         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17112         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17113         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17114         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17115         [POSIX || XPG3] (ILL_COPROC): Likewise.
17116         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17117         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17118         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17119         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17120         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17121         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17122         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17123         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17124         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17125         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17126         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17127         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17128         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17129         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17130         [POSIX || XPG3] (CLD_EXITED): Likewise.
17131         [POSIX || XPG3] (CLD_KILLED): Likewise.
17132         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17133         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17134         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17135         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17136         [POSIX || XPG3] (POLL_IN): Likewise.
17137         [POSIX || XPG3] (POLL_OUT): Likewise.
17138         [POSIX || XPG3] (POLL_MSG): Likewise.
17139         [POSIX || XPG3] (POLL_ERR): Likewise.
17140         [POSIX || XPG3] (POLL_PRI): Likewise.
17141         [POSIX || XPG3] (POLL_HUP): Likewise.
17142         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17143         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17144         (SIG*): Do not allow.
17145         [XPG3] (si_*): Likewise.
17146         [XPG3] (SI_*): Likewise.
17147         [XPG3 || XPG4] (sigev_*): Likewise.
17148         [XPG3 || XPG4] (SIGEV_*): Likewise.
17149         [XPG3 || XPG4] (sival_*): Likewise.
17150         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17151         [POSIX || XPG3] (BUS_*): Likewise.
17152         [POSIX || XPG3] (CLD_*): Likewise.
17153         [POSIX || XPG3] (FPE_*): Likewise.
17154         [POSIX || XPG3] (ILL_*): Likewise.
17155         [POSIX || XPG3] (POLL_*): Likewise.
17156         [POSIX || XPG3] (SEGV_*): Likewise.
17157         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17158         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17159         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17160         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17161         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17162         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17163         Specify type and value.
17164         (TVERSLEN): Likewise.
17165         (REGTYPE): Likewise.
17166         (AREGTYPE): Likewise.
17167         (LNKTYPE): Likewise.
17168         (SYMTYPE): Likewise.
17169         (CHRTYPE): Likewise.
17170         (BLKTYPE): Likewise.
17171         (DIRTYPE): Likewise.
17172         (FIFOTYPE): Likewise.
17173         (CONTTYPE): Likewise.
17174         (TSUID): Likewise.
17175         (TSGID): Likewise.
17176         (TSVTX): Likewise.
17177         (TUREAD): Likewise.
17178         (TUWRITE): Likewise.
17179         (TUEXEC): Likewise.
17180         (TGREAD): Likewise.
17181         (TGWRITE): Likewise.
17182         (TGEXEC): Likewise.
17183         (TOREAD): Likewise.
17184         (TOWRITE): Likewise.
17185         (TOEXEC): Likewise.
17186         [POSIX] (TSVTX): Expect constant.
17188 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17190         * Makefile (tests): Change dependencies to ....
17191         (tests-special): ... additions to this variable.
17192         (tests): Depend on $(tests-special).
17193         * Makerules (check-abi-list): New variable.
17194         (check-abi): Depend on $(check-abi-list).
17195         [$(subdir) = elf] (tests-special): Add
17196         $(objpfx)check-abi-libc.out.
17197         [$(build-shared) = yes && subdir] (tests-special): Add
17198         $(check-abi-list).
17199         [$(build-shared) = yes && subdir] (tests): Do not depend on
17200         check-abi.
17201         * Rules (tests): Depend on $(tests-special).
17202         (xtests): Depend on $(xtests-special).
17203         * catgets/Makefile (tests): Change dependencies to ....
17204         (tests-special): ... additions to this variable.
17205         * conform/Makefile (tests): Change dependencies to ....
17206         (tests-special): ... additions to this variable.
17207         * elf/Makefile (tests): Change dependencies to ....
17208         (tests-special): ... additions to this variable.
17209         * grp/Makefile (tests): Change dependencies to ....
17210         (tests-special): ... additions to this variable.
17211         * iconv/Makefile (xtests): Change dependencies to ....
17212         (xtests-special): ... additions to this variable.
17213         * iconvdata/Makefile (tests): Change dependencies to ....
17214         (tests-special): ... additions to this variable.
17215         * intl/Makefile (tests): Change dependencies to ....
17216         (tests-special): ... additions to this variable.  Also add
17217         $(objpfx)tst-gettext.out.
17218         * io/Makefile (tests): Change dependencies to ....
17219         (tests-special): ... additions to this variable.
17220         * libio/Makefile (tests): Change dependencies to ....
17221         (tests-special): ... additions to this variable.
17222         * malloc/Makefile (tests): Change dependencies to ....
17223         (tests-special): ... additions to this variable.
17224         * misc/Makefile (tests): Change dependencies to ....
17225         (tests-special): ... additions to this variable.
17226         * nptl/Makefile (tests): Change dependencies to ....
17227         (tests-special): ... additions to this variable.
17228         * nptl_db/Makefile (tests): Change dependencies to ....
17229         (tests-special): ... additions to this variable.
17230         * posix/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         * resolv/Makefile (tests): Change dependencies to ....
17235         (tests-special): ... additions to this variable.
17236         (xtests): Change dependencies to ....
17237         (xtests-special): ... additions to this variable.
17238         * stdio-common/Makefile (tests): Change dependencies to ....
17239         (tests-special): ... additions to this variable.
17240         (do-tst-unbputc): Remove target.
17241         (do-tst-printf): Likewise.
17242         * stdlib/Makefile (tests): Change dependencies to ....
17243         (tests-special): ... additions to this variable.
17244         * string/Makefile (tests): Change dependencies to ....
17245         (tests-special): ... additions to this variable.
17246         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17247         (tests-special): ... additions to this variable.
17249         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17250         whole file.
17251         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17252         whole file.
17253         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17254         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17256         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17257         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17258         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17259         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17260         * conform/data/libgen.h-data [XPG3]: Likewise.
17261         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17262         * conform/data/ndbm.h-data [XPG3]: Likewise.
17263         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17264         * conform/data/netdb.h-data [XPG3]: Likewise.
17265         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17266         * conform/data/poll.h-data [XPG3]: Likewise.
17267         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17268         * conform/data/strings.h-data [XPG3]: Likewise.
17269         * conform/data/stropts.h-data [XPG3]: Likewise.
17270         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17271         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17272         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17273         Likewise.
17274         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17275         * conform/data/sys/time.h-data [XPG3]: Likewise.
17276         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17277         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17278         * conform/data/sys/un.h-data [XPG3]: Likewise.
17279         * conform/data/syslog.h-data [XPG3]: Likewise.
17280         * conform/data/ucontext.h-data [XPG3]: Likewise.
17281         * conform/data/utmpx.h-data [XPG3]: Likewise.
17282         * conform/data/varargs.h-data [UNIX98]: Enable file.
17284         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17286         * math/libm-test.inc (struct test_f_f_data): Move expected results
17287         into structure for each rounding mode.
17288         (struct test_ff_f_data): Likewise.
17289         (struct test_ff_f_data_nexttoward): Likewise.
17290         (struct test_fi_f_data): Likewise.
17291         (struct test_fl_f_data): Likewise.
17292         (struct test_if_f_data): Likewise.
17293         (struct test_fff_f_data): Likewise.
17294         (struct test_c_f_data): Likewise.
17295         (struct test_f_f1_data): Likewise.
17296         (struct test_fF_f1_data): Likewise.
17297         (struct test_ffI_f1_data): Likewise.
17298         (struct test_c_c_data): Likewise.
17299         (struct test_cc_c_data): Likewise.
17300         (struct test_f_i_data): Likewise.
17301         (struct test_ff_i_data): Likewise.
17302         (struct test_f_l_data): Likewise.
17303         (struct test_f_L_data): Likewise.
17304         (struct test_fFF_11_data): Likewise.
17305         (RM_): New macro.
17306         (RM_FE_DOWNWARD): Likewise.
17307         (RM_FE_TONEAREST): Likewise.
17308         (RM_FE_TOWARDZERO): Likewise.
17309         (RM_FE_UPWARD): Likewise.
17310         (RUN_TEST_LOOP_f_f): Update references to expected results.
17311         (RUN_TEST_LOOP_2_f): Likewise.
17312         (RUN_TEST_LOOP_fff_f): Likewise.
17313         (RUN_TEST_LOOP_c_f): Likewise.
17314         (RUN_TEST_LOOP_f_f1): Likewise.
17315         (RUN_TEST_LOOP_fF_f1): Likewise.
17316         (RUN_TEST_LOOP_fI_f1): Likewise.
17317         (RUN_TEST_LOOP_ffI_f1): Likewise.
17318         (RUN_TEST_LOOP_c_c): Likewise.
17319         (RUN_TEST_LOOP_cc_c): Likewise.
17320         (RUN_TEST_LOOP_f_i): Likewise.
17321         (RUN_TEST_LOOP_f_i_tg): Likewise.
17322         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17323         (RUN_TEST_LOOP_f_b): Likewise.
17324         (RUN_TEST_LOOP_f_b_tg): Likewise.
17325         (RUN_TEST_LOOP_f_l): Likewise.
17326         (RUN_TEST_LOOP_f_L): Likewise.
17327         (RUN_TEST_LOOP_fFF_11): Likewise.
17328         * math/gen-libm-test.pl (parse_args): Output four copies of
17329         expected results for each test.
17331         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17332         (__ASSUME_UTIMES): Remove.
17333         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17334         (__ASSUME_UTIMES): Likewise.
17336         * math/gen-auto-libm-tests.c: Update comment on output format.
17337         (output_for_one_input_case): Generate before-rounding and
17338         after-rounding information as conditions on output flags not
17339         floating-point format.
17340         * math/auto-libm-test-out: Regenerated.
17341         * math/gen-libm-test.pl (cond_value): New function.
17342         (or_cond_value): Use cond_value.
17343         (generate_testfile): Handle conditional exceptions.
17345 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17347         * math/libm-test.inc (max_valid_error): New variable.
17348         (init_max_error): Take new argument specifying whether function
17349         results are exactly determined.  Set max_valid_error and bound
17350         other variables for errors based on this argument.
17351         (set_max_error): Do not record results above max_valid_error.
17352         (check_float_internal): Only accept errors of up to 0.5ulps if
17353         also at most max_valid_error.
17354         (START): Take new argument EXACT and pass it to init_max_error.
17355         (acos_test): Update call to START.
17356         (acos_test_tonearest): Likewise.
17357         (acos_test_towardzero): Likewise.
17358         (acos_test_downward): Likewise.
17359         (acos_test_upward): Likewise.
17360         (acosh_test): Likewise.
17361         (asin_test): Likewise.
17362         (asin_test_tonearest): Likewise.
17363         (asin_test_towardzero): Likewise.
17364         (asin_test_downward): Likewise.
17365         (asin_test_upward): Likewise.
17366         (asinh_test): Likewise.
17367         (atan_test): Likewise.
17368         (atanh_test): Likewise.
17369         (atan2_test): Likewise.
17370         (cabs_test): Likewise.
17371         (cacos_test): Likewise.
17372         (cacosh_test): Likewise.
17373         (carg_test): Likewise.
17374         (casin_test): Likewise.
17375         (casinh_test): Likewise.
17376         (catan_test): Likewise.
17377         (catanh_test): Likewise.
17378         (cbrt_test): Likewise.
17379         (ccos_test): Likewise.
17380         (ccosh_test): Likewise.
17381         (ceil_test): Likewise.
17382         (cexp_test): Likewise.
17383         (cimag_test): Likewise.
17384         (clog_test): Likewise.
17385         (clog10_test): Likewise.
17386         (conj_test): Likewise.
17387         (copysign_test): Likewise.
17388         (cos_test): Likewise.
17389         (cos_test_tonearest): Likewise.
17390         (cos_test_towardzero): Likewise.
17391         (cos_test_downward): Likewise.
17392         (cos_test_upward): Likewise.
17393         (cosh_test): Likewise.
17394         (cosh_test_tonearest): Likewise.
17395         (cosh_test_towardzero): Likewise.
17396         (cosh_test_downward): Likewise.
17397         (cosh_test_upward): Likewise.
17398         (cpow_test): Likewise.
17399         (cproj_test): Likewise.
17400         (creal_test): Likewise.
17401         (csin_test): Likewise.
17402         (csinh_test): Likewise.
17403         (csqrt_test): Likewise.
17404         (ctan_test): Likewise.
17405         (ctan_test_tonearest): Likewise.
17406         (ctan_test_towardzero): Likewise.
17407         (ctan_test_downward): Likewise.
17408         (ctan_test_upward): Likewise.
17409         (ctanh_test): Likewise.
17410         (ctanh_test_tonearest): Likewise.
17411         (ctanh_test_towardzero): Likewise.
17412         (ctanh_test_downward): Likewise.
17413         (ctanh_test_upward): Likewise.
17414         (erf_test): Likewise.
17415         (erfc_test): Likewise.
17416         (exp_test): Likewise.
17417         (exp_test_tonearest): Likewise.
17418         (exp_test_towardzero): Likewise.
17419         (exp_test_downward): Likewise.
17420         (exp_test_upward): Likewise.
17421         (exp10_test): Likewise.
17422         (exp10_test_tonearest): Likewise.
17423         (exp10_test_towardzero): Likewise.
17424         (exp10_test_downward): Likewise.
17425         (exp10_test_upward): Likewise.
17426         (pow10_test): Likewise.
17427         (exp2_test): Likewise.
17428         (expm1_test): Likewise.
17429         (expm1_test_tonearest): Likewise.
17430         (expm1_test_towardzero): Likewise.
17431         (expm1_test_downward): Likewise.
17432         (expm1_test_upward): Likewise.
17433         (fabs_test): Likewise.
17434         (fdim_test): Likewise.
17435         (floor_test): Likewise.
17436         (fma_test): Likewise.
17437         (fma_test_towardzero): Likewise.
17438         (fma_test_downward): Likewise.
17439         (fma_test_upward): Likewise.
17440         (fmax_test): Likewise.
17441         (fmin_test): Likewise.
17442         (fmod_test): Likewise.
17443         (fpclassify_test): Likewise.
17444         (frexp_test): Likewise.
17445         (hypot_test): Likewise.
17446         (ilogb_test): Likewise.
17447         (isfinite_test): Likewise.
17448         (finite_test): Likewise.
17449         (isgreater_test): Likewise.
17450         (isgreaterequal_test): Likewise.
17451         (isinf_test): Likewise.
17452         (isless_test): Likewise.
17453         (islessequal_test): Likewise.
17454         (islessgreater_test): Likewise.
17455         (isnan_test): Likewise.
17456         (isnormal_test): Likewise.
17457         (issignaling_test): Likewise.
17458         (isunordered_test): Likewise.
17459         (j0_test): Likewise.
17460         (j1_test): Likewise.
17461         (jn_test): Likewise.
17462         (ldexp_test): Likewise.
17463         (lgamma_test): Likewise.
17464         (gamma_test): Likewise.
17465         (lrint_test): Likewise.
17466         (lrint_test_tonearest): Likewise.
17467         (lrint_test_towardzero): Likewise.
17468         (lrint_test_downward): Likewise.
17469         (lrint_test_upward): Likewise.
17470         (llrint_test): Likewise.
17471         (llrint_test_tonearest): Likewise.
17472         (llrint_test_towardzero): Likewise.
17473         (llrint_test_downward): Likewise.
17474         (llrint_test_upward): Likewise.
17475         (log_test): Likewise.
17476         (log10_test): Likewise.
17477         (log1p_test): Likewise.
17478         (log2_test): Likewise.
17479         (logb_test): Likewise.
17480         (logb_test_downward): Likewise.
17481         (lround_test): Likewise.
17482         (llround_test): Likewise.
17483         (modf_test): Likewise.
17484         (nearbyint_test): Likewise.
17485         (nextafter_test): Likewise.
17486         (nexttoward_test): Likewise.
17487         (pow_test): Likewise.
17488         (pow_test_tonearest): Likewise.
17489         (pow_test_towardzero): Likewise.
17490         (pow_test_downward): Likewise.
17491         (pow_test_upward): Likewise.
17492         (remainder_test): Likewise.
17493         (drem_test): Likewise.
17494         (remainder_test_tonearest): Likewise.
17495         (drem_test_tonearest): Likewise.
17496         (remainder_test_towardzero): Likewise.
17497         (drem_test_towardzero): Likewise.
17498         (remainder_test_downward): Likewise.
17499         (drem_test_downward): Likewise.
17500         (remainder_test_upward): Likewise.
17501         (drem_test_upward): Likewise.
17502         (remquo_test): Likewise.
17503         (rint_test): Likewise.
17504         (rint_test_tonearest): Likewise.
17505         (rint_test_towardzero): Likewise.
17506         (rint_test_downward): Likewise.
17507         (rint_test_upward): Likewise.
17508         (round_test): Likewise.
17509         (scalb_test): Likewise.
17510         (scalbn_test): Likewise.
17511         (scalbln_test): Likewise.
17512         (signbit_test): Likewise.
17513         (sin_test): Likewise.
17514         (sin_test_tonearest): Likewise.
17515         (sin_test_towardzero): Likewise.
17516         (sin_test_downward): Likewise.
17517         (sin_test_upward): Likewise.
17518         (sincos_test): Likewise.
17519         (sinh_test): Likewise.
17520         (sinh_test_tonearest): Likewise.
17521         (sinh_test_towardzero): Likewise.
17522         (sinh_test_downward): Likewise.
17523         (sinh_test_upward): Likewise.
17524         (sqrt_test): Likewise.
17525         (sqrt_test_tonearest): Likewise.
17526         (sqrt_test_towardzero): Likewise.
17527         (sqrt_test_downward): Likewise.
17528         (sqrt_test_upward): Likewise.
17529         (tan_test): Likewise.
17530         (tan_test_tonearest): Likewise.
17531         (tan_test_towardzero): Likewise.
17532         (tan_test_downward): Likewise.
17533         (tan_test_upward): Likewise.
17534         (tanh_test): Likewise.
17535         (tgamma_test): Likewise.
17536         (trunc_test): Likewise.
17537         (y0_test): Likewise.
17538         (y1_test): Likewise.
17539         (yn_test): Likewise.
17540         (significand_test): Likewise.
17542         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17543         individual tests in comment.
17544         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17545         (prev_max_error): New variable.
17546         (prev_real_max_error): Likewise.
17547         (prev_imag_max_error): Likewise.
17548         (compare_ulp_data): Don't refer to test names in comment.
17549         (find_test_ulps): Remove function.
17550         (find_function_ulps): Likewise.
17551         (find_complex_function_ulps): Likewise.
17552         (init_max_error): Take function name as argument.  Look up ulps
17553         for that function.
17554         (print_ulps): Remove function.
17555         (print_max_error): Use prev_max_error instead of calling
17556         find_function_ulps.
17557         (print_complex_max_error): Use prev_real_max_error and
17558         prev_imag_max_error instead of calling find_complex_function_ulps.
17559         (check_float_internal): Take max_ulp parameter instead of calling
17560         find_test_ulps.  Don't call print_ulps.
17561         (check_float): Update call to check_float_internal.
17562         (check_complex): Update calls to check_float_internal.
17563         (START): Pass argument to init_max_error.
17564         * math/gen-libm-test.pl (%results): Don't include "kind"
17565         information.
17566         (parse_ulps): Don't handle ulps of individual tests.
17567         (print_ulps_file): Likewise.
17568         (output_ulps): Likewise.
17569         * math/README.libm-test: Update.
17570         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17571         individual tests.
17572         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17573         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17574         * sysdeps/arm/libm-test-ulps: Likewise.
17575         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17576         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17577         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17578         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17579         * sysdeps/microblaze/libm-test-ulps: Likewise.
17580         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17581         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17582         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17583         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17584         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17585         * sysdeps/sh/libm-test-ulps: Likewise.
17586         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17587         * sysdeps/tile/libm-test-ulps: Likewise.
17588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17590 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17592         * math/libm-test.inc (print_complex_max_error): Check separately
17593         whether real and imaginary errors are within allowed range and
17594         pass 0 to print_complex_function_ulps instead of value within
17595         allowed range.
17597 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17599         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17600         formatting.
17601         (get_handles_fopen): Likewise.
17602         (do_write_test): Likewise.
17604         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17606         * libio/fileops.c (do_ftell): Use cached offset when
17607         available.
17608         * libio/iofwide.c (do_ftell_wide): Likewise.
17609         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17610         _IO_file_attach.
17611         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17613         [BZ #16532]
17614         * libio/libioP.h (get_file_offset): New function.
17615         * libio/fileops.c (get_file_offset): Likewise.
17616         (do_ftell): Likewise.
17617         (_IO_new_file_seekoff): Split out ftell logic.
17618         * libio/wfileops.c (do_ftell_wide): Likewise.
17619         (_IO_wfile_seekoff): Split out ftell logic.
17620         * libio/tst-ftell-active-handler.c: New test case.
17621         * libio/Makefile (tests): Add it.
17623 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17625         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17626         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17628 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17630         [BZ #16639]
17631         * nscd/connections.c (nscd_init): Call do_exit.
17632         (start_threads): Call do_exit and notify_parent.
17633         (begin_drop_privileges): Call do_exit.
17634         (finish_drop_privileges): Likewise.
17635         * nscd/selinux.c (preserve_capabilities): Likewise.
17636         (install_real_capabilities): Likewise.
17637         (nscd_selinux_enabled): Likewise.
17638         (avc_create_thread): Likewise.
17639         (avc_alloc_lock): Likewise.
17640         (nscd_avc_init): Likewise.
17641         * nscd/nscd.c (parent_fd): New static variable.
17642         (main): Create a pipe between parent and child processes.
17643         Skip closing parent_fd.
17644         (monitor_child): New function.
17645         (do_exit): Likewise.
17646         (notify_parent): Likewise.
17647         * nscd/nscd.h (notify_parent): Likewise.
17648         (do_exit): Likewise.
17650 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17652         * malloc/malloc.c (__libc_calloc): Revert last change.
17654 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17658 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17660         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17662         implementation.
17663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17664         (__libc_ifunc_impl_list): Likewise.
17665         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17666         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17667         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17668         * string/strrchr.c: Define STRRCHR.
17670 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17672         * benchtest/bench-strtok.c (simple_strtok): Delete.
17673         (strtok_string): Use as benchmark.
17674         * string/strtok (STRTOK): New macro.
17676 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17678         * manual/threads.texi: Add header and standard comments to all
17679         functions.
17681         * elf/dl-lookup.c (check_match): New function.
17682         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17683         (do_lookup_x): Remove nested function check_match. Use non-nested
17684         function check_match.
17686 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17688         * csu/Makefile (generated, before-compile): Use += rather than =.
17689         * catgets/Makefile (generated, generated-dirs): Likewise.
17690         * debug/Makefile (generated): Likewise.
17691         * dlfcn/Makefile (generated): Likewise.
17692         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17693         * iconvdata/Makefile (before-compile, generated): Likewise.
17694         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17695         * libio/Makefile (generated): Likewise.
17696         * malloc/Makefile (generated): Likewise.
17697         * manual/Makefile (generated, generated-dirs): Likewise.
17698         * misc/Makefile (generated): Likewise.
17699         * posix/Makefile (generated): Likewise.
17700         * resolv/Makefile (generated): Likewise.
17701         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17702         * timezone/Makefile (generated, generated-dirs): Likewise.
17704         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17706 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17709         power8 implementation.
17710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17711         file: POWER8 llround ifunc implementation.
17712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17713         (__lllround): Add POWER8 implementation.
17714         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17715         POWER8 llround implementation.
17717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17718         power8 implementation.
17719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17720         file: POWER8 llrint ifunc implementation.
17721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17722         Add POWER8 implementation.
17723         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17724         POWER8 llrint implementation.
17726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17727         power8 implementation.
17728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17729         file: POWER8 finite ifunc implementation.
17730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17731         Add POWER8 implementation.
17732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17733         Likewise.
17734         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17735         POWER8 finite implementation.
17736         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17739         power8 implementation.
17740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17741         file: POWER8 isinf ifunc implementation.
17742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17743         POWER8 implementation.
17744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17745         Likewise.
17746         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17747         isinf implementation.
17748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17750         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17751         (INIT_ARCH): Add hwcap2 initialization.
17752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17753         power8 implementation.
17754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17755         file: POWER8 isnan ifunc implementation.
17756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17757         POWER8 implementation.
17758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17759         Likewise.
17760         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17761         isnan implementation.
17762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17764 2014-02-27  Joey Ye  <joey.ye@arm.com>
17766         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17767         (_FP_NANFRAC_Q): Set to zero.
17769 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17771         [BZ #16623]
17772         * math/auto-libm-test-in: New test inputs.
17773         * math/auto-libm-test-out: Regenerate.
17774         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17775         and DA.
17776         (__cos): Likewise.
17777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17779 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17781         * scripts/evaluate-test.sh: Take new argument indicating whether
17782         failure is expected.
17783         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17784         indicating whether failure is expected.
17785         * conform/Makefile (test-xfail-run-conformtest): New variable.
17786         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17787         level.
17788         * posix/Makefile (test-xfail-annexc): New variable.
17789         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17791 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17793         * argp/Makefile: Include Makeconfig immediately after defining
17794         subdir.
17795         * assert/Makefile: Likewise.
17796         * benchtests/Makefile: Likewise.
17797         * catgets/Makefile: Likewise.
17798         * conform/Makefile: Likewise.
17799         * crypt/Makefile: Likewise.
17800         * csu/Makefile: Likewise.
17801         (all): Remove target.
17802         * ctype/Makefile: Include Makeconfig immediately after defining
17803         subdir.
17804         * debug/Makefile: Likewise.
17805         * dirent/Makefile: Likewise.
17806         * dlfcn/Makefile: Likewise.
17807         * gmon/Makefile: Likewise.
17808         * gnulib/Makefile: Likewise.
17809         * grp/Makefile: Likewise.
17810         * gshadow/Makefile: Likewise.
17811         * hesiod/Makefile: Likewise.
17812         * hurd/Makefile: Likewise.
17813         (all): Remove target.
17814         * iconvdata/Makefile: Include Makeconfig immediately after
17815         defining subdir.
17816         * inet/Makefile: Likewise.
17817         * intl/Makefile: Likewise.
17818         * io/Makefile: Likewise.
17819         * libio/Makefile: Likewise.
17820         (all): Remove target.
17821         * locale/Makefile: Include Makeconfig immediately after defining
17822         subdir.
17823         * login/Makefile: Likewise.
17824         * mach/Makefile: Likewise.
17825         (all): Remove target.
17826         * malloc/Makefile: Include Makeconfig immediately after defining
17827         subdir.
17828         (all): Remove target.
17829         * manual/Makefile: Include Makeconfig immediately after defining
17830         subdir.
17831         * math/Makefile: Likewise.
17832         * misc/Makefile: Likewise.
17833         * nis/Makefile: Likewise.
17834         * nss/Makefile: Likewise.
17835         * po/Makefile: Likewise.
17836         (all): Remove target.
17837         * posix/Makefile: Include Makeconfig immediately after defining
17838         subdir.
17839         * pwd/Makefile: Likewise.
17840         * resolv/Makefile: Likewise.
17841         * resource/Makefile: Likewise.
17842         * rt/Makefile: Likewise.
17843         * setjmp/Makefile: Likewise.
17844         * shadow/Makefile: Likewise.
17845         * signal/Makefile: Likewise.
17846         * socket/Makefile: Likewise.
17847         * soft-fp/Makefile: Likewise.
17848         * stdio-common/Makefile: Likewise.
17849         * stdlib/Makefile: Likewise.
17850         * streams/Makefile: Likewise.
17851         * string/Makefile: Likewise.
17852         * sunrpc/Makefile: Likewise.
17853         (all): Remove target.
17854         * sysvipc/Makefile: Include Makeconfig immediately after defining
17855         subdir.
17856         * termios/Makefile: Likewise.
17857         * time/Makefile: Likewise.
17858         * timezone/Makefile: Likewise.
17859         (all): Remove target.
17860         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17861         subdir.
17862         * wctype/Makefile: Likewise.
17864 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17866         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17867         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17868         (libc_feholdexcept_setround_mips): Ditto.
17869         (libc_feholdsetround): New.
17870         (libc_feholdsetroundf): New.
17871         (libc_feholdsetroundl): New.
17872         (libc_feupdateenv_test_mips): New.
17873         (libc_feupdateenv_test): New.
17874         (libc_feupdateenv_testf): New.
17875         (libc_feupdateenv_testl): New.
17876         (libc_feresetround): New.
17877         (libc_feresetroundf): New.
17878         (libc_feresetroundl): New.
17879         (libc_fetestexcept_mips): New.
17880         (libc_fetestexcept): New.
17881         (libc_fetestexceptf): New.
17882         (libc_fetestexceptl): New.
17883         (HAVE_RM_CTX): New.
17884         (libc_feholdexcept_setround_mips_ctx): New.
17885         (libc_feholdexcept_setround_ctx): New.
17886         (libc_feholdexcept_setroundf_ctx): New.
17887         (libc_feholdexcept_setroundl_ctx): New.
17888         (libc_fesetenv_mips_ctx): New.
17889         (libc_fesetenv_ctx): New.
17890         (libc_fesetenv_ctxf): New.
17891         (libc_fesetenv_ctxl): New.
17892         (libc_feupdateenv_mips_ctx): New.
17893         (libc_feupdateenv_ctx): New.
17894         (libc_feupdateenvf_ctx): New.
17895         (libc_feupdateenvl_ctx): New.
17896         (libc_feholdsetround_mips_ctx): New.
17897         (libc_feholdsetround_ctx): New.
17898         (libc_feholdsetroundf_ctx): New.
17899         (libc_feholdsetroundl_ctx): New.
17900         (libc_feresetround_mips_ctx): New.
17901         (libc_feresetround_ctx): New.
17902         (libc_feresetroundf_ctx): New.
17903         (libc_feresetroundl_ctx): New.
17905 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17907         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17909         * manual/ipc.texi: New file.
17910         * manual/Makefile (chapters): Add ipc.
17911         * manual/job.texi: Add "Inter-Process Communication" to next.
17912         * manual/process.texi: Add "Inter-Process Communication" to prev.
17914 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17918 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17920         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17922         * manual/arith.texi: Fix spaces after sentences.
17923         * manual/charset.texi: Likewise.
17924         * manual/errno.texi: Likewise.
17925         * manual/install.texi: Likewise.
17926         * manual/llio.texi: Likewise.
17927         * manual/locale.texi: Likewise.
17928         * manual/maint.texi: Likewise.
17929         * manual/math.texi: Likewise.
17930         * manual/memory.texi: Likewise.
17931         * manual/message.texi: Likewise.
17932         * manual/probes.texi: Likewise.
17933         * manual/resource.texi: Likewise.
17934         * manual/signal.texi: Likewise.
17935         * manual/socket.texi: Likewise.
17936         * manual/stdio.texi: Likewise.
17937         * manual/string.texi: Likewise.
17938         * manual/time.texi: Likewise.
17939         * manual/users.texi: Likewise.
17941 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17943         [BZ #16632]
17944         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17945         _DEFAULT_SOURCE is defined.
17947 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17948             Carlos O'Donell  <carlos@redhat.com>
17950         [BZ #16613]
17951         * elf/dl-tls.c (_dl_count_modids): New function.
17952         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17953         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17954         audit library and increment generation counter.
17955         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17956         * elf/tst-audit9.c: New file.
17957         * elf/tst-auditmod9a.c: New file.
17958         * elf/tst-auditmod9b.c: New file.
17959         * elf/Makefile: Add rules to build and run tst-audit9.
17961 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17963         [BZ #15347]
17964         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17966 2014-02-25  Will Newton  <will.newton@linaro.org>
17968         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17969         (__longjmp): Restore sp and lr before restoring callee
17970         saved registers.  Add longjmp and longjmp_target
17971         SystemTap probe point.
17972         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17973         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17974         Define to zero to match jmpbuf layout.
17975         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17976         (__sigsetjmp): Save sp and lr before saving callee
17977         saved registers.  Add setjmp SystemTap probe point.
17979 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17981         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17983 2014-02-24  Andreas Schwab  <schwab@suse.de>
17985         [BZ #15804]
17986         * elf/pldd.c (wait_for_ptrace_stop): New function.
17987         (main): Call it after attaching.
17989 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17991         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17992         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17993         Versions files is now verboten.
17994         * hurd/Versions (libc: GLIBC_2.0):
17995         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17996         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17997         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17998         * mach/Versions: Likewise.
18000         * csu/Versions: Remove unused %include.
18001         * resolv/Versions: Likewise.
18003 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18005         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18006         ($(objpfx)check-local-headers.out): Likewise.
18007         ($(objpfx)begin-end-check.out): Likewise.
18008         * Makerules (check-abi-%.out): Likewise.
18009         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18010         ($(objpfx)test2.cat): Likewise.
18011         ($(objpfx)de/libc.cat): Likewise.
18012         ($(objpfx)test-gencat.out): Likewise.
18013         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18014         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18015         ($(objpfx)noload-mem): Likewise.
18016         ($(objpfx)tst-pathopt.out): Likewise.
18017         ($(objpfx)tst-rtld-load-self.out): Likewise.
18018         ($(objpfx)tst-array1-cmp.out): Likewise.
18019         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18020         ($(objpfx)tst-array2-cmp.out): Likewise.
18021         ($(objpfx)tst-array3-cmp.out): Likewise.
18022         ($(objpfx)tst-array4-cmp.out): Likewise.
18023         ($(objpfx)tst-array5-cmp.out): Likewise.
18024         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18025         ($(objpfx)check-textrel.out): Likewise.
18026         ($(objpfx)check-execstack.out): Likewise.
18027         ($(objpfx)check-localplt.out): Likewise.
18028         ($(objpfx)order2-cmp.out): Likewise.
18029         ($(objpfx)tst-leaks1-mem): Likewise.
18030         ($(objpfx)tst-leaks1-static-mem): Likewise.
18031         ($(objpfx)tst-initorder-cmp.out): Likewise.
18032         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18033         ($(objpfx)tst-unused-dep.out): Likewise.
18034         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18035         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18036         * iconv/Makefile (test-iconvconfig): Likewise.
18037         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18038         ($(objpfx)iconv-test.out): Likewise.
18039         ($(objpfx)tst-tables.out): Likewise.
18040         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18041         ($(objpfx)tst-gettext.out): Likewise.
18042         ($(objpfx)tst-translit.out): Likewise.
18043         ($(objpfx)tst-gettext2.out): Likewise.
18044         ($(objpfx)tst-gettext4.out): Likewise.
18045         ($(objpfx)tst-gettext6.out): Likewise.
18046         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18047         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18048         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18049         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18050         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18051         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18052         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18053         ($(objpfx)wordexp-tst.out): Likewise.
18054         ($(objpfx)annexc.out): Likewise.
18055         ($(objpfx)tst-fnmatch-mem): Likewise.
18056         ($(objpfx)bug-regex2-mem): Likewise.
18057         ($(objpfx)bug-regex14-mem): Likewise.
18058         ($(objpfx)bug-regex21-mem): Likewise.
18059         ($(objpfx)bug-regex31-mem): Likewise.
18060         ($(objpfx)tst-vfork3-mem): Likewise.
18061         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18062         ($(objpfx)tst-pcre-mem): Likewise.
18063         ($(objpfx)tst-boost-mem): Likewise.
18064         ($(objpfx)tst-getconf.out): Likewise.
18065         ($(objpfx)bug-ga2-mem): Likewise.
18066         ($(objpfx)bug-glob2-mem): Likewise.
18067         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18068         ($(objpfx)mtrace-tst-leaks2): Likewise.
18069         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18070         ($(objpfx)tst-printf.out): Likewise.
18071         ($(objpfx)tst-setvbuf1.out): Likewise.
18072         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18073         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18074         ($(objpfx)tst-fmtmsg.out): Likewise.
18075         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18076         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18078         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18079         * bits/sigaction.h [__USE_MISC]: Likewise.
18080         * bits/waitstatus.h: Update #endif comments.
18081         * ctype/ctype.h: Likewise.
18082         * dirent/dirent.h: Likewise.
18083         [__USE_MISC]: Remove redundant conditionals.
18084         * grp/grp.h: Update #endif comments.
18085         [__USE_GNU]: Remove redundant conditionals.
18086         [__USE_MISC]: Likewise.
18087         * inet/netinet/in.h [__USE_GNU]: Likewise.
18088         * io/sys/stat.h [__USE_MISC]: Likewise.
18089         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18090         * libio/bits/stdio.h: Update #endif comments.
18091         [__USE_MISC]: Remove redundant conditionals.
18092         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18093         * libio/stdio.h: Update #endif comments.
18094         [__USE_MISC]: Remove redundant conditionals.
18095         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18096         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18097         * math/math.h: Update #else and #endif comments.
18098         [__USE_MISC]: Remove redundant conditionals.
18099         * misc/sys/uio.h: Update #endif comments.
18100         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18101         * posix/glob.h [__USE_MISC]: Likewise.
18102         * posix/sys/types.h: Update #endif comments.
18103         [__USE_MISC]: Remove redundant conditionals.
18104         * posix/sys/wait.h: Update #endif comments.
18105         [__USE_MISC]: Remove redundant conditionals.
18106         * posix/unistd.h: Update #endif comments.
18107         [__USE_MISC]: Remove redundant conditionals.
18108         * pwd/pwd.h [__USE_GNU]: Likewise.
18109         [__USE_MISC]: Likewise.
18110         * resolv/netdb.h [__USE_GNU]: Likewise.
18111         * signal/signal.h: Update #endif comments.
18112         [__USE_MISC]: Remove redundant conditionals.
18113         * stdlib/stdlib.h: Update #else and #endif comments.
18114         [__USE_MISC]: Remove redundant conditionals.
18115         [__USE_GNU]: Likewise.
18116         * string/bits/string2.h [__USE_MISC]: Likewise.
18117         * string/string.h: Update #endif comments.
18118         [__USE_MISC]: Remove redundant conditionals.
18119         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18120         Likewise.
18121         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18122         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18123         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18124         Likewise.
18125         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18126         Likewise.
18127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18128         comments.
18129         [__USE_MISC]: Remove redundant conditionals.
18130         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18131         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18132         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18133         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18134         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18135         Likewise.
18136         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18137         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18138         Likewise.
18139         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18140         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18141         Likewise.
18142         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18143         Likewise.
18144         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18145         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18146         Likewise.
18147         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18148         Likewise.
18149         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18150         * sysdeps/x86/bits/string.h: Update #endif comments.
18151         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18152         conditionals.
18153         * time/sys/time.h: Update #endif comments.
18154         * time/time.h: Likewise.
18155         [__USE_MISC]: Remove redundant conditionals.
18157 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18159         [BZ #16600]
18160         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18162 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18164         * Versions.def (librt): Add GLIBC_2.17.
18166 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18168         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18169         synonym for _SYS_AUXV_H to allow direct inclusion.
18170         * sysdeps/sparc/bits/hwcap.h: Likewise.
18171         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18172         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18173         * sysdeps/sparc/sysdep.h: Likewise.
18175 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18177         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18179 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18181         * benchtests/bench-strrchr.c: Print length instead of position.
18183 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18185         [BZ #16611]
18186         * sysdeps/unix/sysv/linux/kernel-features.h
18187         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18188         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18189         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18190         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18191         Likewise.
18192         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18193         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18194         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18195         (__ASSUME_SENDMMSG): Define instead of using previous
18196         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18197         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18198         (__ASSUME_SENDMMSG_SYSCALL): Define.
18199         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18200         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18201         Likewise.
18202         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18203         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18204         Likewise.
18205         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18206         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18207         Likewise.
18208         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18209         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18210         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18211         [__ASSUME_SENDMMSG]: Change conditionals to
18212         [__ASSUME_SENDMMSG_SOCKETCALL].
18213         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18214         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18215         Define.
18216         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18217         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18218         Likewise.
18219         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18220         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18221         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18222         [!__ASSUME_SENDMMSG]: Change conditional to
18223         [!__ASSUME_SENDMMSG_SOCKETCALL].
18224         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18225         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18226         Define.
18228         [BZ #16610]
18229         * sysdeps/unix/sysv/linux/kernel-features.h
18230         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18231         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18232         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18233         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18234         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18235         [__i386__ || __sparc__]
18236         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18237         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18238         (__ASSUME_RECVMMSG): Define instead of using previous
18239         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18240         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18241         (__ASSUME_RECVMMSG_SYSCALL): Define.
18242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18243         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18244         Likewise.
18245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18246         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18247         Likewise.
18248         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18249         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18250         Likewise.
18251         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18252         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18253         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18254         [__ASSUME_RECVMMSG]: Change condition to
18255         [__ASSUME_RECVMMSG_SOCKETCALL].
18256         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18257         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18258         Define.
18259         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18260         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18261         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18262         Likewise.
18263         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18264         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18265         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18266         [!__ASSUME_RECVMMSG]: Change condition to
18267         [!__ASSUME_RECVMMSG_SOCKETCALL].
18268         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18269         (__ASSUME_RECVMMSG_SYSCALL): Define.
18271         [BZ #16609]
18272         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18273         __powerpc__ || __s390__ || __sh__ || __sparc__]
18274         (__ASSUME_SOCKETCALL): Define.
18275         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18276         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18277         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18278         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18279         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18280         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18281         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18282         (__ASSUME_ACCEPT4): Define instead of using previous
18283         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18284         __powerpc__ || __sparc__ || __s390__)] condition.
18285         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18286         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18287         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18288         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18289         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18290         [!__ASSUME_ACCEPT4]: Change condition to
18291         [!__ASSUME_ACCEPT4_SOCKETCALL].
18292         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18293         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18294         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18296         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18297         __ASSUME_ACCEPT4_SYSCALL.
18298         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18299         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18301         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18302         __ASSUME_ACCEPT4_SYSCALL.
18303         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18304         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18305         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18306         [__ASSUME_ACCEPT4]: Change condition to
18307         [__ASSUME_ACCEPT4_SOCKETCALL].
18308         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18309         (__ASSUME_SOCKETCALL): Define.
18310         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18312         (__ASSUME_SOCKETCALL): Define.
18313         (__ASSUME_ACCEPT4): Remove.
18314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18315         Define.
18316         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18317         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18318         Likewise.
18319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18320         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18322         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18323         macro.
18324         (HWCAP_ARM_LPAE): Likewise.
18325         (HWCAP_ARM_EVTSTRM): Likewise.
18326         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18327         Add vpfd32, lpae and evtstrm.
18328         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18329         Increase to 22.
18331 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18333         * math/auto-libm-test-in: Add tests of clog10.
18334         * math/auto-libm-test-out: Regenerated.
18335         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18336         * sysdeps/i386/fpu/libm-test-ulps: Update.
18337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18339 2014-02-18  Andreas Schwab  <schwab@suse.de>
18341         [BZ #16574]
18342         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18343         Store non-zero if the second buffer was newly allocated.
18344         (send_dg): Likewise.
18345         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18346         to send_vc and send_dg.
18347         (res_nsend): Pass NULL for ansp2_malloced.
18348         * resolv/res_query.c (__libc_res_nquery): Add parameter
18349         answerp2_malloced and pass it down to __libc_res_nsend.
18350         (res_nquery): Pass additional NULL to __libc_res_nquery.
18351         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18352         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18353         second answer buffer if answerp2_malloced was set.
18354         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18355         (__libc_res_nquerydomain): Add parameter
18356         answerp2_malloced and pass it down to __libc_res_nquery.
18357         (res_nquerydomain): Pass additional NULL to
18358         __libc_res_nquerydomain.
18359         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18360         additional NULL to __libc_res_nsend and __libc_res_nquery.
18361         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18362         additional NULL to __libc_res_nsearch.
18363         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18364         parameter of __libc_res_nsearch to check for separately allocated
18365         second buffer.
18366         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18367         __libc_res_nquery.
18368         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18369         additional NULL to __libc_res_nquery.
18370         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18371         __libc_res_nsearch.
18372         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18373         * include/resolv.h: Update prototypes of __libc_res_nquery,
18374         __libc_res_nsearch, __libc_res_nsend.
18376 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18378         * math/auto-libm-test-in: Add tests of fma.
18379         * math/auto-libm-test-out: Regenerated.
18380         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18381         (fma_towardzero_test_data): Likewise.
18382         (fma_downward_test_data): Likewise.
18383         (fma_upward_test_data): Likewise.
18384         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18385         mpc_mode.
18386         (rounding_modes): Add values for new field.
18387         (func_calc_method): Add value mpfr_fff_f.
18388         (func_calc_desc): Add mpfr_fff_f union field.
18389         (test_function): Add field exact_args.
18390         (FUNC): Add macro argument EXACT_ARGS.
18391         (FUNC_mpfr_f_f): Update call to FUNC.
18392         (FUNC_mpfr_f_f): Likewise.
18393         (FUNC_mpfr_ff_f): Likewise.
18394         (FUNC_mpfr_if_f): Likewise.
18395         (FUNC_mpc_c_f): Likewise.
18396         (FUNC_mpc_c_c): Likewise.
18397         (test_functions): Add fma.  Update calls to FUNC.
18398         (handle_input_arg): Add argument exact_args.
18399         (add_test): Update call to handle_input_arg.
18400         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18401         (output_for_one_input_case): Update call to calc_generic_results.
18402         Recalculate exact zero results in each rounding mode.
18404         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18405         non-negative before setting low bit.
18406         * math/auto-libm-test-in: Mark one asin test possibly having
18407         spurious underflow.
18408         * math/auto-libm-test-out: Regenerated.
18409         * sysdeps/i386/fpu/libm-test-ulps: Update.
18410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18412 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18414         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18415         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18416         ports/sysdeps/unix/sysv/linux/microblaze.
18417         * README: Add missing listing for microblaze*-*-linux-gnu.
18419 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18421         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18422         duplicate code
18424 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18426         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18427         * sysdeps/unix/sysv/linux/ia64: Move directory from
18428         ports/sysdeps/unix/sysv/linux/ia64.
18429         * README: Update listing for ia64-*-linux-gnu.
18431 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18432             Joseph Myers  <joseph@codesourcery.com>
18434         * Makeconfig (test-name): New variable.
18435         (evaluate-test): Likewise.
18436         * Makerules (do-test-clean): Remove .test-result files.
18437         (common-mostlyclean): Likewise.
18438         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18439         * scripts/evaluate-test.sh: New file.
18441 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18443         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18444         separate $(objpfx)tst-fopenloc-cmp.out and
18445         $(objpfx)tst-fopenloc-mem.out targets.
18446         (tests): Update dependencies.
18447         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18448         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18449         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18450         (tst-rxspencer-no-utf8-ARGS): New variable.
18451         (tst-rxspencer-no-utf8-ENV): Likewise.
18452         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18453         instead of $(objpfx)tst-rxspencer-mem.
18454         ($(objpfx)tst-rxspencer-mem): Change target to
18455         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18456         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18457         * posix/tst-rxspencer-no-utf8.c: New file.
18459         * elf/Makefile ($(objpfx)order.out): Remove rule.
18460         [$(run-built-tests) = yes] (tests): Depend on
18461         $(objpfx)order-cmp.out.
18462         ($(objpfx)order-cmp.out): New rule.
18463         [$(run-built-tests) = yes] (tests): Depend on
18464         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18465         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18466         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18467         $(objpfx)tst-array5-static-cmp.out.
18468         ($(objpfx)tst-array1.out): Remove rule.
18469         ($(objpfx)tst-array1-cmp.out): New rule.
18470         ($(objpfx)tst-array1-static.out): Remove rule.
18471         ($(objpfx)tst-array1-static-cmp.out): New rule.
18472         ($(objpfx)tst-array2.out): Remove rule.
18473         ($(objpfx)tst-array2-cmp.out): New rule.
18474         ($(objpfx)tst-array3.out): Remove rule.
18475         ($(objpfx)tst-array3-cmp.out): New rule.
18476         ($(objpfx)tst-array4.out): Remove rule.
18477         ($(objpfx)tst-array4-cmp.out): New rule.
18478         ($(objpfx)tst-array5.out): Remove rule.
18479         ($(objpfx)tst-array5-cmp.out): New rule.
18480         ($(objpfx)tst-array5-static.out): Remove rule.
18481         ($(objpfx)tst-array5-static-cmp.out): New rule.
18482         [$(run-built-tests) = yes] (tests): Depend on
18483         $(objpfx)order2-cmp.out.
18484         ($(objpfx)order2.out): Remove rule.
18485         ($(objpfx)order2-cmp.out): New rule.
18486         ($(objpfx)tst-initorder.out): Remove rule.
18487         [$(run-built-tests) = yes] (tests): Depend on
18488         $(objpfx)tst-initorder-cmp.out.
18489         ($(objpfx)tst-initorder-cmp.out): New rule.
18490         ($(objpfx)tst-initorder2.out): Remove rule.
18491         [$(run-built-tests) = yes] (tests): Depend on
18492         $(objpfx)tst-initorder2-cmp.out.
18493         ($(objpfx)tst-initorder2-cmp.out): New rule.
18494         [$(run-built-tests) = yes] (tests): Depend on
18495         $(objpfx)tst-unused-dep-cmp.out.
18496         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18497         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18498         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18499         on $(objpfx)tst-setvbuf1-cmp.out.
18500         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18501         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18502         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18503         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18504         ($(objpfx)tst-svc.out): Remove rule.
18505         ($(objpfx)tst-svc-cmp.out): New rule.
18507 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18509         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18510         * ctype/ctype.h [__USE_MISC]: Likewise.
18511         * dirent/dirent.h [__USE_MISC]: Likewise.
18512         * grp/grp.h [__USE_MISC]: Likewise.
18513         * io/fcntl.h [__USE_MISC]: Likewise.
18514         * io/sys/stat.h [__USE_MISC]: Likewise.
18515         * libio/stdio.h [__USE_MISC]: Likewise.
18516         * posix/unistd.h [__USE_MISC]: Likewise.
18517         * pwd/pwd.h [__USE_MISC]: Likewise.
18518         * stdlib.h [__USE_MISC]: Likewise.
18519         * string/bits/string2.h [__USE_MISC]: Likewise.
18520         * string/string.h [__USE_MISC]: Likewise.
18521         * time/time.h [__USE_MISC]: Likewise.
18523 2014-02-13  Andreas Schwab  <schwab@suse.de>
18525         [BZ #16574]
18526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18527         second answer buffer if it was separately allocated.
18529 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18531         * sysdeps/mips/math-tests.h: Include <features.h>.
18532         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18533         (ROUNDING_TESTS_long_double): Do not define.
18534         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18535         (EXCEPTION_TESTS_long_double): Likewise.
18536         * sysdeps/mips/mips64/libm-test-ulps: Update.
18538         * include/features.h (__USE_BSD): Remove macro definitions.
18539         (__USE_SVID): Likewise.
18540         (_BSD_SOURCE): Likewise.
18541         (_SVID_SOURCE): Likewise.
18542         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18543         from definition of _DEFAULT_SOURCE.
18544         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18545         [_DEFAULT_SOURCE].
18546         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18547         * bits/mman.h [__USE_BSD]: Likewise.
18548         * bits/termios.h [__USE_BSD]: Likewise.
18549         * bits/waitstatus.h [__USE_BSD]: Likewise.
18550         * ctype/ctype.h [__USE_SVID]: Likewise.
18551         * dirent/dirent.h [__USE_BSD]: Likewise.
18552         * grp/grp.h [__USE_SVID]: Likewise.
18553         [__USE_BSD]: Likewise.
18554         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18555         * io/fcntl.h [__USE_BSD]: Likewise.
18556         * io/ftw.h [__USE_BSD]: Likewise.
18557         * io/sys/stat.h [__USE_BSD]: Likewise.
18558         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18559         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18560         * libio/stdio.h [__USE_SVID]: Likewise.
18561         [__USE_BSD]: Likewise.
18562         * math/math.h [__USE_SVID]: Likewise.
18563         [__USE_BSD]: Likewise.
18564         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18565         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18566         * misc/search.h [__USE_SVID]: Likewise.
18567         * misc/sys/mman.h [__USE_BSD]: Likewise.
18568         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18569         * misc/sys/uio.h [__USE_BSD]: Likewise.
18570         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18571         * posix/glob.h [__USE_BSD]: Likewise.
18572         * posix/regex.h [__USE_BSD]: Likewise.
18573         * posix/sys/types.h [__USE_BSD]: Likewise.
18574         [__USE_SVID]: Likewise.
18575         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18576         * posix/sys/wait.h [__USE_BSD]: Likewise.
18577         [__USE_SVID]: Likewise.
18578         * posix/unistd.h [__USE_BSD]: Likewise.
18579         [__USE_SVID]: Likewise.
18580         * pwd/pwd.h [__USE_SVID]: Likewise.
18581         * resolv/netdb.h [__USE_BSD]: Likewise.
18582         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18583         * signal/signal.h [__USE_BSD]: Likewise.
18584         [__USE_SVID]: Likewise.
18585         * socket/sys/socket.h [__USE_BSD]: Likewise.
18586         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18587         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18588         [__USE_SVID]: Likewise.
18589         * string/bits/string2.h [__USE_BSD]: Likewise.
18590         [__USE_SVID]: Likewise.
18591         * string/bits/string3.h [__USE_BSD]: Likewise.
18592         * string/endian.h [__USE_BSD]: Likewise.
18593         * string/string.h [__USE_SVID]: Likewise.
18594         [__USE_BSD]: Likewise.
18595         * string/strings.h [__USE_BSD]: Likewise.
18596         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18597         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18598         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18599         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18600         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18601         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18602         Likewise.
18603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18604         Likewise.
18605         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18606         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18607         Likewise.
18608         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18609         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18610         Likewise.
18611         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18612         Likewise.
18613         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18614         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18616         Likewise.
18617         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18618         Likewise.
18619         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18620         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18621         * termios/termios.h [__USE_BSD]: Likewise.
18622         * time/sys/time.h [__USE_BSD]: Likewise.
18623         * time/time.h [__USE_BSD]: Likewise.
18624         [__USE_SVID]: Likewise.
18626         * Makefile (subdir_targets): Remove subdir_lint.out.
18628         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18629         (do-tst-printf): Likewise.
18630         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18631         $(objpfx)tst-printf.out.
18633         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18635         * Makerules (check-abi-%): Change target to
18636         $(objpfx)check-abi-%.out.
18637         (check-abi target): Update dependencies.
18638         (check-abi-pattern variable): Redirect output of diff to $@.
18639         (check-abi variable): Likewise.
18640         * elf/Makefile (check-abi): Update dependencies.
18642         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18643         unused.
18644         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18645         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18646         subnormal range.
18647         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18648         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18649         value has largest subnormal exponent.
18650         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18651         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18652         * sysdeps/aarch64/soft-fp/sfp-machine.h
18653         (_FP_TININESS_AFTER_ROUNDING): New macro.
18654         * sysdeps/alpha/soft-fp/sfp-machine.h
18655         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18656         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18657         Likewise.
18658         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18659         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18660         * sysdeps/mips/soft-fp/sfp-machine.h
18661         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18662         * sysdeps/powerpc/soft-fp/sfp-machine.h
18663         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18664         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18665         Likewise.
18666         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18667         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18669         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18670         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18671         Likewise.
18673 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18675         [BZ #16545]
18676         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18677         model 1.
18679 2014-02-12  Richard Henderson  <rth@redhat.com>
18681         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18682         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18683         * sysdeps/unix/sysv/linux/alpha: Move directory from
18684         ports/sysdeps/unix/sysv/linux/alpha.
18685         * README: Update listing for alpha-*-linux-gnu.
18687 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18689         * include/features.h: Update comment documenting feature test
18690         macros.
18691         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18692         _DEFAULT_SOURCE.
18693         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18694         (_SVID_SOURCE): Likewise.
18695         (_DEFAULT_SOURCE): Update description of default features.
18696         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18697         with _GNU_SOURCE.
18698         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18699         (S_ISVTX): Likewise.
18700         * manual/math.texi (Mathematical Constants): Likewise.
18701         * manual/signal.texi (Interrupted Primitives): Likewise.
18702         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18703         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18704         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18705         Don't refer to _SVID_SOURCE in warning text.
18707         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18709         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18710         already defined.
18711         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18712         * sysdeps/mips/dl-lookup.c: Remove.
18713         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18715 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18717         [BZ #16447]
18718         * math/auto-libm-test-in: Add testcase for expl.
18719         * math/auto-libm-test-out: Regenerate.
18720         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18721         calculation of unsafe.
18722         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18724 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18726         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18727         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18728         ports/sysdeps/unix/sysv/linux/aarch64.
18729         * README: Update listing for aarch64*-*-linux-gnu.
18731 2014-02-11  Will Newton  <will.newton@linaro.org>
18733         * manual/probes.texi (Mathematical Function Probes): Use
18734         "triggered" instead of "hit".
18736         * manual/probes.texi (Internal Probes): Add documentation
18737         of setjmp, longjmp and longjmp_target probes.
18739         * include/stap-probe.h: Add comment about probe argument
18740         format.
18742         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18743         definition.  (tr_where, tr_freehook, tr_mallochook,
18744         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18746 2014-02-11  David S. Miller  <davem@davemloft.net>
18748         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18749         processing int_tests.
18751 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18753         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18754         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18755         * sysdeps/unix/sysv/linux/mips: Move directory from
18756         ports/sysdeps/unix/sysv/linux/mips.
18757         * README: Update listing for mips-*-linux-gnu and
18758         mips64-*-linux-gnu.
18760 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18762         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18763         * sysdeps/unix/sysv/linux/m68k: Move directory from
18764         ports/sysdeps/unix/sysv/linux/m68k.
18765         * README: Update listing for m68k-*-linux-gnu.
18767 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18769         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18770         * sysdeps/unix/sysv/linux/generic: Move directory from
18771         ports/sysdeps/unix/sysv/linux/generic.
18772         * sysdeps/unix/sysv/linux/tile: Move directory from
18773         ports/sysdeps/unix/sysv/linux/tile.
18774         * README: Update listing for tile*-*-linux-gnu.
18776 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18778         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18779         __builtin_expect.
18780         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18781         * catgets/open_catalog.c (__open_catalog): Likewise.
18782         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18783         * debug/confstr_chk.c: Likewise.
18784         * debug/fread_chk.c (__fread_chk): Likewise.
18785         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18786         * debug/getgroups_chk.c: Likewise.
18787         * debug/mbsnrtowcs_chk.c: Likewise.
18788         * debug/mbsrtowcs_chk.c: Likewise.
18789         * debug/mbstowcs_chk.c: Likewise.
18790         * debug/memcpy_chk.c: Likewise.
18791         * debug/memmove_chk.c: Likewise.
18792         * debug/mempcpy_chk.c: Likewise.
18793         * debug/memset_chk.c: Likewise.
18794         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18795         * debug/strcat_chk.c (__strcat_chk): Likewise.
18796         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18797         * debug/strncat_chk.c (__strncat_chk): Likewise.
18798         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18799         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18800         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18801         * debug/wcpncpy_chk.c: Likewise.
18802         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18803         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18804         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18805         * debug/wcsncpy_chk.c: Likewise.
18806         * debug/wcsnrtombs_chk.c: Likewise.
18807         * debug/wcsrtombs_chk.c: Likewise.
18808         * debug/wcstombs_chk.c: Likewise.
18809         * debug/wmemcpy_chk.c: Likewise.
18810         * debug/wmemmove_chk.c: Likewise.
18811         * debug/wmempcpy_chk.c: Likewise.
18812         * debug/wmemset_chk.c: Likewise.
18813         * dirent/scandirat.c (SCANDIRAT): Likewise.
18814         * dlfcn/dladdr1.c (dladdr1): Likewise.
18815         * dlfcn/dladdr.c (dladdr): Likewise.
18816         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18817         * dlfcn/dlerror.c (__dlerror): Likewise.
18818         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18819         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18820         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18821         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18822         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18823         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18824         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18825         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18826         Likewise.
18827         * elf/dl-conflict.c: Likewise.
18828         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18829         * elf/dl-dst.h: Likewise.
18830         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18831         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18832         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18833         * elf/dl-init.c (call_init, _dl_init): Likewise.
18834         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18835         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18836         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18837         Likewise.
18838         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18839         Likewise.
18840         * elf/dl-minimal.c (__libc_memalign): Likewise.
18841         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18842         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18843         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18844         * elf/dl-sym.c (do_sym): Likewise.
18845         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18846         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18847         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18848         * elf/dl-writev.h (_dl_writev): Likewise.
18849         * elf/ldconfig.c (search_dir): Likewise.
18850         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18851         (dl_main): Likewise.
18852         * elf/setup-vdso.h (setup_vdso): Likewise.
18853         * grp/compat-initgroups.c (compat_call): Likewise.
18854         * grp/fgetgrent.c (fgetgrent): Likewise.
18855         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18856         * grp/putgrent.c (putgrent): Likewise.
18857         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18858         Likewise.
18859         * hurd/hurdinit.c: Likewise.
18860         * iconvdata/8bit-gap.c (struct): Likewise.
18861         * iconvdata/ansi_x3.110.c : Likewise.
18862         * iconvdata/big5.c : Likewise.
18863         * iconvdata/big5hkscs.c : Likewise.
18864         * iconvdata/cp1255.c: Likewise.
18865         * iconvdata/cp1258.c : Likewise.
18866         * iconvdata/cp932.c : Likewise.
18867         * iconvdata/euc-cn.c: Likewise.
18868         * iconvdata/euc-jisx0213.c : Likewise.
18869         * iconvdata/euc-jp.c: Likewise.
18870         * iconvdata/euc-jp-ms.c : Likewise.
18871         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18872         * iconvdata/gb18030.c : Likewise.
18873         * iconvdata/gbbig5.c (const): Likewise.
18874         * iconvdata/gbgbk.c: Likewise.
18875         * iconvdata/gbk.c : Likewise.
18876         * iconvdata/ibm1364.c : Likewise.
18877         * iconvdata/ibm930.c : Likewise.
18878         * iconvdata/ibm932.c: Likewise.
18879         * iconvdata/ibm933.c : Likewise.
18880         * iconvdata/ibm935.c : Likewise.
18881         * iconvdata/ibm937.c : Likewise.
18882         * iconvdata/ibm939.c : Likewise.
18883         * iconvdata/ibm943.c: Likewise.
18884         * iconvdata/iso_11548-1.c: Likewise.
18885         * iconvdata/iso-2022-cn.c : Likewise.
18886         * iconvdata/iso-2022-cn-ext.c : Likewise.
18887         * iconvdata/iso-2022-jp-3.c: Likewise.
18888         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18889         * iconvdata/iso-2022-kr.c : Likewise.
18890         * iconvdata/iso646.c (gconv_end): Likewise.
18891         * iconvdata/iso_6937-2.c : Likewise.
18892         * iconvdata/iso_6937.c : Likewise.
18893         * iconvdata/iso8859-1.c: Likewise.
18894         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18895         * iconvdata/shift_jisx0213.c : Likewise.
18896         * iconvdata/sjis.c : Likewise.
18897         * iconvdata/t.61.c : Likewise.
18898         * iconvdata/tcvn5712-1.c : Likewise.
18899         * iconvdata/tscii.c: Likewise.
18900         * iconvdata/uhc.c : Likewise.
18901         * iconvdata/unicode.c (gconv_end): Likewise.
18902         * iconvdata/utf-16.c (gconv_end): Likewise.
18903         * iconvdata/utf-32.c (gconv_end): Likewise.
18904         * iconvdata/utf-7.c (base64): Likewise.
18905         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18906         * iconv/gconv_close.c (__gconv_close): Likewise.
18907         * iconv/gconv_open.c (__gconv_open): Likewise.
18908         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18909         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18910         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18911         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18912         (ucs4le_internal_loop_single): Likewise.
18913         * iconv/iconv.c (iconv): Likewise.
18914         * iconv/iconv_close.c: Likewise.
18915         * iconv/loop.c (SINGLE): Likewise.
18916         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18917         * include/atomic.h: Likewise.
18918         * inet/inet6_option.c (option_alloc): Likewise.
18919         * intl/bindtextdom.c (set_binding_values): Likewise.
18920         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18921         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18922         * intl/localealias.c (read_alias_file): Likewise.
18923         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18924         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18925         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18926         * libio/fmemopen.c (fmemopen): Likewise.
18927         * libio/iofgets.c (_IO_fgets): Likewise.
18928         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18929         * libio/iofgetws.c (fgetws): Likewise.
18930         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18931         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18932         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18933         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18934         * locale/findlocale.c (_nl_find_locale): Likewise.
18935         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18936         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18937         Likewise.
18938         * locale/setlocale.c (setlocale): Likewise.
18939         * login/programs/pt_chown.c (main): Likewise.
18940         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18941         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18942         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18943         (mmap, mmap64, mremap, munmap): Likewise.
18944         * math/e_exp2l.c: Likewise.
18945         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18946         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18947         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18948         * math/s_catan.c (__catan): Likewise.
18949         * math/s_catanf.c (__catanf): Likewise.
18950         * math/s_catanh.c (__catanh): Likewise.
18951         * math/s_catanhf.c (__catanhf): Likewise.
18952         * math/s_catanhl.c (__catanhl): Likewise.
18953         * math/s_catanl.c (__catanl): Likewise.
18954         * math/s_ccosh.c (__ccosh): Likewise.
18955         * math/s_ccoshf.c (__ccoshf): Likewise.
18956         * math/s_ccoshl.c (__ccoshl): Likewise.
18957         * math/s_cexp.c (__cexp): Likewise.
18958         * math/s_cexpf.c (__cexpf): Likewise.
18959         * math/s_cexpl.c (__cexpl): Likewise.
18960         * math/s_clog10.c (__clog10): Likewise.
18961         * math/s_clog10f.c (__clog10f): Likewise.
18962         * math/s_clog10l.c (__clog10l): Likewise.
18963         * math/s_clog.c (__clog): Likewise.
18964         * math/s_clogf.c (__clogf): Likewise.
18965         * math/s_clogl.c (__clogl): Likewise.
18966         * math/s_csin.c (__csin): Likewise.
18967         * math/s_csinf.c (__csinf): Likewise.
18968         * math/s_csinh.c (__csinh): Likewise.
18969         * math/s_csinhf.c (__csinhf): Likewise.
18970         * math/s_csinhl.c (__csinhl): Likewise.
18971         * math/s_csinl.c (__csinl): Likewise.
18972         * math/s_csqrt.c (__csqrt): Likewise.
18973         * math/s_csqrtf.c (__csqrtf): Likewise.
18974         * math/s_csqrtl.c (__csqrtl): Likewise.
18975         * math/s_ctan.c (__ctan): Likewise.
18976         * math/s_ctanf.c (__ctanf): Likewise.
18977         * math/s_ctanh.c (__ctanh): Likewise.
18978         * math/s_ctanhf.c (__ctanhf): Likewise.
18979         * math/s_ctanhl.c (__ctanhl): Likewise.
18980         * math/s_ctanl.c (__ctanl): Likewise.
18981         * math/w_pow.c: Likewise.
18982         * math/w_powf.c: Likewise.
18983         * math/w_powl.c: Likewise.
18984         * math/w_scalb.c (sysv_scalb): Likewise.
18985         * math/w_scalbf.c (sysv_scalbf): Likewise.
18986         * math/w_scalbl.c (sysv_scalbl): Likewise.
18987         * misc/error.c (error_tail): Likewise.
18988         * misc/pselect.c (__pselect): Likewise.
18989         * nis/nis_callback.c (__nis_create_callback): Likewise.
18990         * nis/nis_call.c (__nisfind_server): Likewise.
18991         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18992         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18993         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18994         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18995         * nis/nis_lookup.c (nis_lookup): Likewise.
18996         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18997         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18998         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18999         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19000         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19001         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19002         * nis/nss_compat/compat-initgroups.c (add_group)
19003         (internal_getgrent_r): Likewise.
19004         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19005         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19006         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19007         (internal_getspnam_r): Likewise.
19008         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19009         (_nss_nis_getaliasbyname_r): Likewise.
19010         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19011         (_nss_nis_getntohost_r): Likewise.
19012         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19013         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19014         (_nss_nis_getgrgid_r): Likewise.
19015         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19016         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19017         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19018         (_nss_nis_gethostbyname4_r): Likewise.
19019         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19020         (initgroups_netid): Likewise.
19021         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19022         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19023         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19024         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19025         (_nss_nis_getprotobynumber_r): Likewise.
19026         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19027         (_nss_nis_getsecretkey): Likewise.
19028         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19029         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19030         (_nss_nis_getpwuid_r): Likewise.
19031         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19032         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19033         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19034         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19035         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19036         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19037         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19038         Likewise.
19039         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19040         (_nss_nisplus_getntohost_r): Likewise.
19041         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19042         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19043         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19044         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19045         Likewise.
19046         * nis/nss_nisplus/nisplus-initgroups.c
19047         (_nss_nisplus_initgroups_dyn): Likewise.
19048         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19049         (_nss_nisplus_getnetbyaddr_r): Likewise.
19050         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19051         (_nss_nisplus_getprotobynumber_r): Likewise.
19052         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19053         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19054         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19055         Likewise.
19056         * nis/nss_nisplus/nisplus-service.c
19057         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19058         (_nss_nisplus_getservbyport_r): Likewise.
19059         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19060         (_nss_nisplus_getspnam_r): Likewise.
19061         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19062         Likewise.
19063         * nscd/aicache.c (addhstaiX): Likewise.
19064         * nscd/cache.c (cache_search, prune_cache): Likewise.
19065         * nscd/connections.c (register_traced_file, send_ro_fd)
19066         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19067         (main_loop_epoll): Likewise.
19068         * nscd/grpcache.c (addgrbyX): Likewise.
19069         * nscd/hstcache.c (addhstbyX): Likewise.
19070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19071         * nscd/mem.c (gc, mempool_alloc): Likewise.
19072         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19073         (addinnetgrX): Likewise.
19074         * nscd/nscd-client.h (__nscd_acquire_maplock)
19075         (__nscd_drop_map_ref): Likewise.
19076         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19077         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19078         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19079         Likewise.
19080         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19081         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19082         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19083         (__nscd_get_map_ref): Likewise.
19084         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19085         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19086         Likewise.
19087         * nscd/pwdcache.c (addpwbyX): Likewise.
19088         * nscd/selinux.c (preserve_capabilities): Likewise.
19089         * nscd/servicescache.c (addservbyX): Likewise.
19090         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19091         * posix/fnmatch.c (fnmatch): Likewise.
19092         * posix/getopt.c (_getopt_internal_r): Likewise.
19093         * posix/glob.c (glob, glob_in_dir): Likewise.
19094         * posix/wordexp.c (exec_comm_child): Likewise.
19095         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19096         (getanswer_r, gaih_getanswer_slice): Likewise.
19097         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19098         * resolv/res_init.c: Likewise.
19099         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19100         * resolv/res_query.c (__libc_res_nquery): Likewise.
19101         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19102         Likewise.
19103         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19104         * stdio-common/perror.c (perror): Likewise.
19105         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19106         * stdio-common/tmpnam.c (tmpnam): Likewise.
19107         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19108         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19109         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19110         Likewise.
19111         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19112         * stdlib/putenv.c (putenv): Likewise.
19113         * stdlib/setenv.c (__add_to_environ): Likewise.
19114         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19115         * stdlib/strtol_l.c (INTERNAL): Likewise.
19116         * string/memmem.c (memmem): Likewise.
19117         * string/strerror.c (strerror): Likewise.
19118         * string/strnlen.c (__strnlen): Likewise.
19119         * string/test-memmem.c (simple_memmem): Likewise.
19120         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19121         * sunrpc/pm_getport.c (__get_socket): Likewise.
19122         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19123         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19124         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19125         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19126         Likewise.
19127         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19128         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19129         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19130         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19131         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19132         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19133         Likewise.
19134         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19135         Likewise.
19136         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19137         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19138         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19139         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19140         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19141         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19142         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19143         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19144         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19145         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19146         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19147         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19148         Likewise.
19149         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19150         Likewise.
19151         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19152         Likewise.
19153         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19154         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19155         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19156         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19157         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19158         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19159         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19160         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19162         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19163         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19164         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19165         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19166         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19169         Likewise.
19170         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19171         Likewise.
19172         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19173         Likewise.
19174         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19175         Likewise.
19176         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19178         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19179         Likewise.
19180         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19181         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19182         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19183         * sysdeps/posix/sleep.c: Likewise.
19184         * sysdeps/posix/tempname.c: Likewise.
19185         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19186         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19187         Likewise.
19188         * sysdeps/powerpc/powerpc32/dl-machine.h
19189         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19190         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19192         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19193         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19194         Likewise.
19195         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19197         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19198         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19199         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19200         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19201         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19202         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19203         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19204         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19205         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19206         (elf_machine_lazy_rel): Likewise.
19207         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19208         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19209         (elf_machine_lazy_rel): Likewise.
19210         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19211         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19212         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19213         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19214         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19215         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19216         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19218         Likewise.
19219         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19220         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19221         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19222         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19223         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19224         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19225         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19226         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19227         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19228         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19229         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19230         Likewise.
19231         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19232         (__posix_fallocate64_l64): Likewise.
19233         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19234         (posix_fallocate): Likewise.
19235         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19236         Likewise.
19237         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19238         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19239         (getifaddrs_internal): Likewise.
19240         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19241         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19242         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19243         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19244         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19245         (__posix_fallocate64_l64): Likewise.
19246         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19247         Likewise.
19248         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19249         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19250         (__get_clockfreq): Likewise.
19251         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19252         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19253         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19255         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19256         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19257         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19258         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19259         Likewise.
19260         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19261         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19262         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19263         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19264         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19265         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19266         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19267         Likewise.
19268         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19269         (posix_fallocate): Likewise.
19270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19271         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19272         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19273         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19274         (elf_machine_rela, elf_machine_rela_relative)
19275         (elf_machine_lazy_rel): Likewise.
19276         * time/asctime.c (asctime_internal): Likewise.
19277         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19278         * time/tzset.c (__tzset_parse_tz): Likewise.
19279         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19280         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19281         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19282         * wcsmbs/wcsmbsload.h: Likewise.
19284         [BZ #15894]
19285         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19287         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19288         (arena_get2): Remove THREAD_STATS conditionals.
19289         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19290         (__malloc_stats, int): Likewise.
19292 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19294         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19295         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19297         * manual/setjmp.texi: Fix typos/grammar errors.
19299         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19300         Only return early when n is <= 0.  Delete unused return statement.
19302         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19303         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19304         * debug/tst-longjmp_chk3.c: New file.
19306         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19307         (test_main): Replace code with set_fortify_handler call.
19308         * debug/test-strcpy_chk.c: Likewise.
19309         * debug/tst-chk1.c: Likewise.
19310         * debug/tst-longjmp_chk.c: Likewise.
19311         * test-skeleton.c: Include fcntl.h & paths.h
19312         (set_fortify_handler): Define.
19314         * debug/tst-longjmp_chk.c: Add header comment and include
19315         ../test-skeleton.c.
19316         (do_test): Mark static.
19317         (TEST_FUNCTION): Define.
19319         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19320         (IP_PMTUDISC_INTERFACE): Likewise.
19321         (IP_MULTICAST_IF): Likewise.
19322         (IP_MULTICAST_TTL): Likewise.
19323         (IP_MULTICAST_LOOP): Likewise.
19324         (IP_ADD_MEMBERSHIP): Likewise.
19325         (IP_DROP_MEMBERSHIP): Likewise.
19326         (IP_UNBLOCK_SOURCE): Likewise.
19327         (IP_BLOCK_SOURCE): Likewise.
19328         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19329         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19330         (IP_MSFILTER): Likewise.
19331         (MCAST_JOIN_GROUP): Likewise.
19332         (MCAST_BLOCK_SOURCE): Likewise.
19333         (MCAST_UNBLOCK_SOURCE): Likewise.
19334         (MCAST_LEAVE_GROUP): Likewise.
19335         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19336         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19337         (MCAST_MSFILTER): Likewise.
19338         (IP_MULTICAST_ALL): Likewise.
19339         (IP_UNICAST_IF): Likewise.
19341         * timezone/Makefile: Delete $(have-ksh) check.
19342         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19343         * timezone/tzselect.ksh: Add +x mode bits.
19345         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19346         (ANON_INODE_FS_MAGIC): Likewise.
19347         (BDEVFS_MAGIC): Likewise.
19348         (BINFMTFS_MAGIC): Likewise.
19349         (BTRFS_TEST_MAGIC): Likewise.
19350         (CRAMFS_MAGIC_WEND): Likewise.
19351         (DEBUGFS_MAGIC): Likewise.
19352         (ECRYPTFS_SUPER_MAGIC): Likewise.
19353         (EXT3_SUPER_MAGIC): Likewise.
19354         (EXT4_SUPER_MAGIC): Likewise.
19355         (FUTEXFS_SUPER_MAGIC): Likewise.
19356         (HOSTFS_SUPER_MAGIC): Likewise.
19357         (HUGETLBFS_MAGIC): Likewise.
19358         (MINIX3_SUPER_MAGIC): Likewise.
19359         (MTD_INODE_FS_MAGIC): Likewise.
19360         (NILFS_SUPER_MAGIC): Likewise.
19361         (OPENPROM_SUPER_MAGIC): Likewise.
19362         (PIPEFS_MAGIC): Likewise.
19363         (PSTOREFS_MAGIC): Likewise.
19364         (QNX6_SUPER_MAGIC): Likewise.
19365         (RAMFS_MAGIC): Likewise.
19366         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19367         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19368         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19369         (SECURITYFS_MAGIC): Likewise.
19370         (SELINUX_MAGIC): Likewise.
19371         (SMACK_MAGIC): Likewise.
19372         (SOCKFS_MAGIC): Likewise.
19373         (SQUASHFS_MAGIC): Likewise.
19374         (STACK_END_MAGIC): Likewise.
19375         (TMPFS_MAGIC): Likewise.
19376         (USBDEVICE_SUPER_MAGIC): Likewise.
19377         (V9FS_MAGIC): Likewise.
19378         (XENFS_SUPER_MAGIC): Likewise.
19379         (CRAMFS_MAGIC): Fix typo in comment.
19380         (EXT2_SUPER_MAGIC): Update comment.
19381         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19383 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19385         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19386         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19387         * sysdeps/unix/sysv/linux/arm: Move directory from
19388         ports/sysdeps/unix/sysv/linux/arm.
19389         * README: Update listing for arm-*-linux-gnueabi.
19391         * README: Remove mention of am33.
19393 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19395         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19396         than the comma operator, to avoid "rhs of comma has no effect"
19397         compiler warnings.
19398         (__sigfillset, __sigandset, __sigorset): Likewise.
19399         * include/signal.h (__sigemptyset): Likewise.
19400         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19402 2014-02-07  Allan McRae  <allan@archlinux.org>
19404         * version.h (RELEASE): Set to "development".
19405         (VERSION): Set to "2.19.90"
19406         * NEWS: Add 2.20 section.
19408 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19410         [BZ #16529]
19411         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19413 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19415         * manual/contrib.texi: Update entry for Carlos O'Donell,
19416         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19418 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19420         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19422         * sysdeps/unix/sysv/linux/kernel-features.h
19423         [__LINUX_KERNEL_VERSION >= 0x020621]
19424         (__ASSUME_PROC_PID_TASK_COMM): Define.
19426 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19428         [BZ #16398]
19429         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19430         conversion when destination buffer does not have enough space.
19431         * libio/tst-ftell-partial-wide.c: New test case.
19432         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19434         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19435         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19436         Leonard and Allan McRae.
19438 2014-02-04  David S. Miller  <davem@davemloft.net>
19440         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19441         32-bit.
19443 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19446         New file
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19448         New file
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19450         New file.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19452         New file.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19454         New file.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19456         New file.
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19458         New file.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19460         New file.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19462         New file.
19463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19464         New file.
19465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19466         New file.
19467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19468         New file.
19469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19470         New file.
19472 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19474         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19475         * shlib-versions: Likewise.
19477 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19478             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19480         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19481         (abilist-pattern): New variable, set to %-le.abilist.
19483         * Makerules (abilist-pattern): New variable.
19484         (vpath): Use $(abilist-pattern) in place of %.abilist.
19485         (check-abi-% pattern rule): Likewise.
19486         (check-abi, update-abi): Likewise.
19488 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19492 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19494         * manual/startup.texi: Add next, previous, and top entries for
19495         the `Program Arguments' and `Environment Variables' nodes.
19497 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19499         * manual/macros.texi: Add comments before MTASC-safety macros.
19501         * manual/users.texi: Document MTASC-safety properties.
19503         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19504         (pthread_getspecific, pthread_setspecific): Format with
19505         @deftypefun, and add @safety note.
19506         * manual/signal.texi: Move comments that analyze the above
19507         functions to their home place.
19509 2014-02-03  Allan McRae  <allan@archlinux.org>
19511         * po/sl.po: Update Slovenian translation from translation project.
19513 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19515         * manual/time.texi (timegm): Add missing blank after @c.
19516         Reported by Joseph Myers <joseph@codesourcery.com>.
19518 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19520         * manual/check-safety.sh: New.
19521         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19523         * manual/terminal.texi: Document MTASC-safety properties.
19525         * manual/filesys.texi: Document MTASC-safety properties.
19527         * manual/errno.texi: Document MTASC-safety properties.
19529         * manual/intro.texi: Document safety identifiers and
19530         conditionals.
19532         * manual/string.texi (wcstok): Fix prototype.
19533         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19535         * manual/time.texi: Document MTASC-safety properties.
19537         * manual/string.texi: Document MTASC-safety properties.
19539         * manual/threads.texi: Document MTASC-safety properties.
19541         * manual/stdio.texi: Document MTASC-safety properties.
19543         * manual/syslog.texi: Document MTASC-safety properties.
19545         * manual/sysinfo.texi: Document MTASC-safety properties.
19547         * manual/startup.texi: Document MTASC-safety properties.
19549         * manual/socket.texi: Document MTASC-safety properties.
19551         * manual/signal.texi: Document MTASC-safety properties.
19553 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19555         * manual/setjmp.texi: Document MTASC-safety properties.
19557         * manual/search.texi: Document MTASC-safety properties.
19559         * manual/resource.texi: Document MTASC-safety properties.
19561         * manual/process.texi: Document MTASC-safety properties.
19563         * manual/platform.texi: Document MTASC-safety properties.
19565         * manual/pipe.texi: Document MTASC-safety properties.
19567         * manual/pattern.texi: Document MTASC-safety properties.
19569         * manual/message.texi: Document MTASC-safety properties.
19571         [BZ #12751]
19572         * manual/memory.texi: Document MTASC-safety properties.
19574         * manual/math.texi: Document MTASC-safety properties.
19576         * manual/locale.texi: Document MTASC-safety properties.
19578         * manual/llio.texi: Document MTASC-safety properties.
19580         * manual/libdl.texi: New.
19582         * manual/lang.texi: Document MTASC-safety properties.
19584         * manual/job.texi: Document MTASC-safety properties.
19586         * manual/getopt.texi: Document MTASC-safety properties.
19588         * manual/ctype.texi: Document MTASC-safety properties.
19590 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19592         [BZ #16046]
19593         * csu/libc-tls.c (static_map): Remove variable.
19594         (__libc_setup_tls): Use main executable's link map for TLS data.
19595         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19596         casing for LM_ID_BASE and GL(dl_nns).
19597         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19598         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19599         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19600         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19601         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19602         member.
19603         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19604         l_phnum members.
19606 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19608         * manual/debug.texi: Document MTASC-safety properties.
19610 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19612         [BZ #16510]
19613         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19614         of __x86_64__ when disabling x87 inline functions.
19616 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19618         * manual/charset.texi: Document MTASC-safety properties.
19620         * manual/crypt.texi: Document MTASC-safety properties.
19622         * manual/conf.texi: Document MTASC-safety properties.
19624         * manual/arith.texi: Document MTASC-safety properties.
19626         * manual/argp.texi: Document MTASC-safety properties.
19628         * manual/macros.texi: Introduce macros to document multi
19629         thread, asynchronous signal and asynchronous cancellation
19630         safety properties.
19631         * manual/intro.texi: Introduce the properties themselves.
19633 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19635         * sysdeps/sh/sh4/Makefile: New file.
19637 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19639         * math/gen-libm-test.pl ($srcdir): New variable.
19640         ($auto_input): Use it.
19642 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19644         [BZ #16506]
19645         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19646         access beyond array bounds when parsing netgroups file.
19648         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19649         the old buffer before realloc.
19651 2014-01-27  Allan McRae  <allan@archlinux.org>
19653         * po/fr.po: Update French translation from translation project.
19655 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19657         * sysdeps/sh/libm-test-ulps: Regenerate.
19659 2014-01-24  David S. Miller  <davem@davemloft.net>
19661         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19663 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19665         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19666         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19668 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19670         [BZ #16474]
19671         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19672         string pointers after reallocation.
19674 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19676         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19677         __SH4A__ instead of __SH_FPU_ANY__.
19679 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19681         * sysdeps/sh/fpu_control.h: New file.
19682         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19683         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19684         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19685         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19686         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19687         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19688         * sysdeps/sh/sys/ucontext.h: Remove.
19689         * sysdeps/sh/sys: Remove directory.
19691 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19693         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19694         s390/sys/ucontext.h.
19695         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19696         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19698 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19700         [BZ #15605]
19701         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19703 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19705         [BZ#16431]
19706         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19707         Adjust the vDSO correctly for internal calls.
19708         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19710 2014-01-20  Allan McRae  <allan@archlinux.org>
19712         * po/ca.po: Update Catalan translation from translation project.
19714 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19716         * sysdeps/s390/sotruss-lib.c: New file.
19718 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19720         [BZ#16430]
19721         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19722         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19723         local calls issues by not having a PLT stub required for IFUNC calls.
19724         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19726 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19728         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19729         * math/test-fpucw-static.c: Likewise.
19731 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19733         [BZ #16453]
19734         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19736 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19738         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19739         implementation for powerpc.
19741 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19743         [BZ #14782]
19744         * sysdeps/posix/system.c (__libc_system): Do not enable
19745         asynchronous cancellation.
19747 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19749         [BZ #16427]
19750         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19751         handling only for numbers special also in the IEEE case.
19753 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19755         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19757 2014-01-11  Allan McRae  <allan@archlinux.org>
19759         * po/bg.po: Update Bulgarian translation from translation project.
19761         * po/de.po: Update German translation from translation project.
19763 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19765         * sysdeps/generic/gcc-compat.h: New file.
19767 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19769         * benchtests/asin-inputs: Correct slow inputs.
19770         * benchtests/acos-inputs: Likewise.
19772 2014-01-10  Allan McRae  <allan@archlinux.org>
19774         * po:sv.po: Update Swedish translation from translation project.
19776         * po/vi.po: Update Vietnamese translation from translation project.
19778         * po/eo.po: Update Esperanto translation from translation project.
19780         * po/cs.po: Update Czech translation from translation project.
19782         * po/nl.po: Update Dutch translation from translation project.
19784         * po/pl.po: Update Polish translation from translation project.
19786         * po/ru.po: Update Russian translation from translation project.
19788         * po/uk.po: Update Ukrainian translation from translation project.
19790 2014-01-08  Brooks Moses  <bmoses@google.com>
19792         * elf/dl-load.c: Fix comment typo.
19794 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19796         * po/header.pot: Rename to...
19797         * po/pot.header: ... this.
19798         * po/Makefile: Use pot.header.
19800 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19801             Maxim Kuvyrkov  <maxim@kugelworks.com>
19803         [BZ #16394]
19804         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19805         SRC and DEST against LEN.
19807 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19809         [BZ #16414]
19810         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19811         implementation.
19812         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19814 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19818 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19820         [BZ #16408]
19821         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19822         for large positive arguments.
19824 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19826         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19828         * math/auto-libm-test-in: Mark various tests with
19829         xfail-rounding:ldbl-128ibm.
19830         * math/auto-libm-test-out: Regenerated.
19832         [BZ #16407]
19833         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19834         Increase overflow threshold.
19836 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19838         [BZ #14286]
19839         * stdio-common/vfprintf.c: Check for integer overflow.
19841 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19843         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19844         the first argument and return value of __tls_get_addr_internal.
19846 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19848         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19849         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19851 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19853         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19854         * sysdeps/s390/rtld-global-offsets.sym: New file.
19855         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19856         GLIBC_2.19 symbol.
19857         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19858         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19859         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19860         ... this.
19861         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19862         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19863         ... this.
19864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19865         Regenerate.
19866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19867         Regenerate.
19868         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19869         halfs of GPRs for high_gprs contexts.
19870         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19871         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19872         field.
19873         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19874         uc_flags field.
19875         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19876         64 bit versions:
19877         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19878         for high GPRs (uc_high_gprs) and for future extensions
19879         (__reserved).
19880         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19881         for future extensions (__reserved).
19882         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19883         64 bit versions:
19884         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19885         SC_HIGHGPRS offset definition.
19886         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19887         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19889         * Versions.def: Add GLIBC_2.19 for libpthread.
19890         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19891         siglongjmp for libpthread with GLIBC_2.19 symver.
19892         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19893         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19894         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19895         * sysdeps/s390/__longjmp.c: New file.
19896         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19897         * sysdeps/s390/longjmp.c: New file.
19898         * sysdeps/s390/setjmp.S: New file.
19899         * sysdeps/s390/sigjmp.S: New file.
19900         * sysdeps/s390/v1-longjmp.c: New file.
19901         * sysdeps/s390/v1-setjmp.h: New file.
19902         * sysdeps/s390/v1-sigjmp.c: New file.
19903         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19904         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19905         GLIBC_2.19 version.
19906         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19907         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19908         versioned symbols for ____longjmp_chk.
19909         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19910         Likewise.
19911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19912         Regenerate.
19913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19914         Regenerate.
19915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19916         Regenerate.
19917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19918         Regenerate.
19919         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19920         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19921         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19922         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19923         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19924         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19925         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19926         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19927         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19928         * sysdeps/s390/rtld-__longjmp.c: New file.
19929         * sysdeps/s390/rtld-setjmp.S: New file.
19931 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19933         [BZ #16400]
19934         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19935         Return -__logl (x) for small positive arguments without evaluating
19936         a polynomial.
19938 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19940         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19941         Rename to ...
19942         (__ptrace_peeksiginfo_args): ... this.
19943         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19944         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19945         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19947 2014-01-06  Allan McRae  <allan@archlinux.org>
19949         * inet/netinet/in.h: Fix typo in comment.
19951 2014-01-05  Andreas Jaeger  <aj@suse.de>
19953         * sysdeps/i386/fpu/libm-test-ulps: Update.
19955 2014-01-05  Allan McRae  <allan@archlinux.org>
19957         * po/libc.pot: Regenerated.
19959         * malloc/memusagestat.c: Fix gettext call formatting.
19961 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19963         * nscd/nscd.c: Improve usage() output.
19965 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19967         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19968         * sysdeps/unix/sysv/linux/configure: Regenerated.
19969         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19970         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19972 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19974         [BZ #16390]
19975         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19976         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19978 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19980         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19981         extra tokens at end of #undef directive.
19982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19983         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19984         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19986 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19988         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19990         * math/auto-libm-test-in: Mark various tests with
19991         xfail-rounding:ldbl-128ibm.
19992         * math/auto-libm-test-out: Regenerated.
19994 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19996         [BZ #16386]
19997         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19998         numbers with subnormal high part when calculating exponent.
20000         [BZ #16385]
20001         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20002         fabs.
20004         [BZ #16384]
20005         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20006         M_LN2l.
20007         (__ieee754_acoshl): Use __log1pl not __log1p.
20009 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20011         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20012         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20013         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20014         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20015         (reused_arena, arena_get2): Convert to GNU style.
20016         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20017         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20018         (memalign_check, __malloc_set_state): Likewise.
20019         * malloc/mallocbug.c (main): Likewise.
20020         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20021         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20022         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20023         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20024         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20025         (__posix_memalign, malloc_info): Likewise.
20026         * malloc/malloc.h: Likewise.
20027         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20028         (mallochook, memalignhook, reallochook, mabort): Likewise.
20029         * malloc/mcheck.h: Likewise.
20030         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20031         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20032         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20033         * malloc/morecore.c (__default_morecore): Likewise.
20034         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20035         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20036         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20037         (print_and_abort): Likewise.
20038         * malloc/obstack.h: Likewise.
20039         * malloc/set-freeres.c (__libc_freeres): Likewise.
20040         * malloc/tst-mallocstate.c (main): Likewise.
20041         * malloc/tst-mtrace.c (main): Likewise.
20042         * malloc/tst-realloc.c (do_test): Likewise.
20044 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20046         [BZ #16366]
20047         * nscd/netgroupcache.c (do_notfound): New function.
20048         (addgetnetgrentX): Use it.
20050         [BZ # 16365]
20051         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20052         NSS_STATUS_NOTFOUND.
20054 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20056         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20059 2014-01-01  Allan McRae  <allan@archlinux.org>
20061         * scripts/update-copyrights: Update configure input file suffix.
20063         * NEWS: Update copyright year.
20064         * catgets/gencat.c: Likewise.
20065         * csu/version.c: Likewise.
20066         * debug/catchsegv.sh: Likewise.
20067         * debug/pcprofiledump.c: Likewise.
20068         * debug/xtrace.sh: Likewise.
20069         * elf/ldconfig.c: Likewise.
20070         * elf/ldd.bash.in: Likewise.
20071         * elf/pldd.c: Likewise.
20072         * elf/sotruss.ksh: Likewise.
20073         * elf/sprof.c: Likewise.
20074         * iconv/iconv_prog.c: Likewise.
20075         * iconv/iconvconfig.c: Likewise.
20076         * locale/programs/locale.c: Likewise.
20077         * locale/programs/localedef.c: Likewise.
20078         * login/programs/pt_chown.c: Likewise.
20079         * malloc/memusage.sh: Likewise.
20080         * malloc/memusagestat.c: Likewise.
20081         * malloc/mtrace.pl: Likewise.
20082         * manual/libc.texinfo: Likewise.
20083         * nscd/nscd.c: Likewise.
20084         * nss/getent.c: Likewise.
20085         * nss/makedb.c: Likewise.
20086         * posix/getconf.c: Likewise.
20087         * scripts/test-installation.pl: Likewise.
20089         * All files with FSF copyright notices: Update copyright dates
20090         using scripts/update-copyrights.
20091         * intl/plural.c: Regenerated.
20092         * locale/programs/charmap-kw.h: Likewise.
20093         * locale/programs/locfile-kw.h: Likewise.
20095 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20097         * sysdeps/unix/sysv/linux/configure: Regenerated.
20098         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20099         the linux/fanotify.h header.
20100         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20101         HAVE_LINUX_FANOTIFY_H is defined.
20103 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20105         * benchtests/cos-inputs: New inputs.
20106         * benchtests/sin-inputs: Likewise.
20108         * benchtests/atan-inputs: New inputs. Fix name of multiple
20109         precision fallback inputs.
20111         * benchtests/atanh-inputs: New inputs.
20112         * benchtests/tanh-inputs: Likewise.
20114         * benchtests/acosh-inputs: New inputs.
20115         * benchtests/asinh-inputs: Likewise.
20117         * benchtests/cosh-inputs: New inputs.
20118         * benchtests/sinh-inputs: Likewise.
20120         * benchtests/acos-inputs: Add more inputs.
20121         * benchtests/asin-inputs: Likewise.
20123 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20125         [BZ #16375]
20126         * manual/arith.texi: Fix spelling.
20127         * manual/charset.texi: Likewise.
20128         * manual/errno.texi: Likewise.
20129         * manual/filesys.texi: Likewise.
20130         * manual/lang.texi: Likewise.
20131         * manual/llio.texi: Likewise.
20132         * manual/locale.texi: Likewise.
20133         * manual/message.texi: Likewise.
20134         * manual/resource.texi: Likewise.
20135         * manual/search.texi: Likewise.
20136         * manual/setjmp.texi: Likewise.
20137         * manual/stdio.texi: Likewise.
20138         * manual/string.texi: Likewise.
20139         * manual/sysinfo.texi: Likewise.
20140         * manual/time.texi: Likewise.
20142 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20144         * po/sl.po: New file.
20146 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20148         * .gitignore: Add core/.gdbinit/.gdb_history.
20150 2013-12-27  Allan McRae  <allan@archlinux.org>
20152         [BZ #16369]
20153         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20154         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20156 2013-12-24  Brooks Moses  <bmoses@google.com>
20158         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20159         all compilers that claim C++98 compliance, not just GCC.
20160         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20161         Likewise.
20163 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20165         * NEWS: Restore accidentally deleted bug-fix entries.
20167 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20168             Ondřej Bílka  <neleai@seznam.cz>
20170         [BZ #15073]
20171         * malloc/malloc.c (_int_free): Perform sanity check only if we
20172         have_lock.
20174 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20176         [BZ #12986]
20177         * manual/stdio.texi (String Input Conversions): Clarify that character
20178         classes are not supported.
20180 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20184 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20186         [BZ #16337]
20187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20188         Calculate results for small negative arguments directly rather
20189         than using reflection formula with special underflow handling.
20191         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20192         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20193         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20194         (fchflags): Likewise.
20195         (revoke): Likewise.
20196         (setlogin): Likewise.
20197         (sigaltstack): Likewise.
20198         (wait4): Likewise.
20199         (sigblock): Remove.
20200         (sigsetmask): Likewise.
20201         (wait3): Likewise.
20202         (waitpid): Likewise.
20203         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20204         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20205         file.
20206         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20207         * sysdeps/unix/bsd/Makefile: ... here.
20208         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20209         * sysdeps/unix/bsd/Versions: ... here.
20210         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20211         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20212         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20213         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20214         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20215         * sysdeps/unix/bsd/sigblock.c: ... here.
20216         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20217         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20218         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20219         * sysdeps/unix/bsd/sigvec.c: ... here.
20220         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20221         * sysdeps/unix/bsd/tcdrain.c: ... here.
20222         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20223         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20224         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20225         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20226         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20227         * sysdeps/unix/bsd/wait.c: ... here.
20228         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20229         * sysdeps/unix/bsd/wait3.c: ... here.
20230         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20231         * sysdeps/unix/bsd/waitpid.c: ... here.
20233 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20235         [BZ #16356]
20236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20237         round-to-nearest for [!USE_AS_EXPM1L].
20238         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20239         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20240         more tests of exp and exp10.  Expect some exp10 tests to miss
20241         exceptions or fail in directed rounding modes.
20242         * math/auto-libm-test-out: Regenerated.
20243         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20244         (exp10_test_tonearest): New function.
20245         (exp10_towardzero_test_data): New array.
20246         (exp10_test_towardzero): New function.
20247         (exp10_downward_test_data): New array.
20248         (exp10_test_downward): New function.
20249         (exp10_upward_test_data): New array.
20250         (exp10_test_upward): New function.
20251         (main): Call the new functions.
20252         * sysdeps/i386/fpu/libm-test-ulps: Update.
20253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20255 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20257         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20258         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20259         * math/auto-libm-test-out: Regenerated.
20260         * math/libm-test.inc (acosh_test_data): Add more tests.
20261         (atanh_test_data): Likewise.
20262         (ceil_test_data): Likewise.
20263         (copysign_test_data): Likewise.
20264         * sysdeps/i386/fpu/libm-test-ulps: Update.
20265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20267         * timezone/checktab.awk: Update from tzcode 2013i.
20268         * timezone/private.h: Likewise.
20269         * timezone/scheck.c: Likewise.
20270         * timezone/tzfile.h: Likewise.
20271         * timezone/tzselect.ksh: Likewise.
20272         * timezone/zdump.c: Likewise.
20273         * timezone/zic.c: Likewise.
20275         * math/auto-libm-test-in: Add tests of cpow.
20276         * math/auto-libm-test-out: Regenerated.
20277         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20278         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20279         mpc_cc_c.
20280         (func_calc_desc): Add mpc_cc_c union field.
20281         (test_functions): Add cpow.
20282         (special_fill_2pi): New function.
20283         (special_real_inputs): Add 2pi.
20284         (calc_generic_results): Handle mpc_cc_c.
20285         * sysdeps/i386/fpu/libm-test-ulps: Update.
20286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20288         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20289         csqrt, ctan and ctanh.
20290         * math/auto-libm-test-out: Regenerated.
20291         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20292         (TEST_COND_x86): Likewise.
20293         (ccos_test_data): Use AUTO_TESTS_c_c.
20294         (ccosh_test_data): Likewise.
20295         (cexp_test_data): Likewise.
20296         (clog_test_data): Likewise.
20297         (csqrt_test_data): Likewise.
20298         (ctan_test_data): Likewise.
20299         (ctan_tonearest_test_data): Likewise.
20300         (ctan_towardzero_test_data): Likewise.
20301         (ctan_downward_test_data): Likewise.
20302         (ctan_upward_test_data): Likewise.
20303         (ctanh_test_data): Likewise.
20304         (ctanh_tonearest_test_data): Likewise.
20305         (ctanh_towardzero_test_data): Likewise.
20306         (ctanh_downward_test_data): Likewise.
20307         (ctanh_upward_test_data): Likewise.
20308         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20309         mpc_c_c.
20310         (func_calc_desc): Add mpc_c_c union field.
20311         (FUNC_mpc_c_c): New macro.
20312         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20313         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20314         ctanh.
20315         (special_fill_min_subnorm_p120): New function.
20316         (special_real_inputs): Add min_subnorm_p120.
20317         (calc_generic_results): Handle mpc_c_c.
20318         * sysdeps/i386/fpu/libm-test-ulps: Update.
20319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20321 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20323         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20324         (do_sin_slow): New functions.
20325         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20326         (cslow2, csloww1, csloww2): Use the new functions.
20328         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20329         Use M to change sign of result instead of X.  Assume X is
20330         positive.
20331         (csloww1): Likewise.
20332         (__sin): Adjust.
20333         (__cos): Adjust.
20335         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20336         arguments A and DA.
20337         (__sin): Adjust.
20338         (__cos): Likewise.
20340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20341         (__cos): Likewise.
20342         (sloww1): Don't adjust sign of DX.
20343         (csloww1): Likewise.
20344         (sloww2): Use X directly and don't adjust sign of DX.
20345         (csloww2): Likewise.
20347 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20349         * math/auto-libm-test-in: Add tests of cabs and carg.
20350         * math/auto-libm-test-out: Regenerated.
20351         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20352         (carg_test_data): Likewise.
20353         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20354         mpc_c_f.
20355         (func_calc_desc): Add mpc_c_f union field.
20356         (test_functions): Add cabs and carg.
20357         (calc_generic_results): Handle mpc_c_f.
20359         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20360         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20361         as a macro and a compat symbol.
20362         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20363         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20364         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20365         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20366         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20367         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20368         not use .hidden.
20369         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20370         Likewise.
20371         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20372         Likewise.
20373         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20374         Likewise.
20375         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20376         Likewise.
20377         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20378         Likewise.
20379         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20380         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20381         from GLIBC_2.3.2.
20383 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20387 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20389         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20390         trailing whitespace removed.
20391         * scripts/config.guess: Update to version 2013-11-29.
20392         * scripts/config.sub: Update to version 2013-10-01.
20394         * math/auto-libm-test-in: Add tests of sincos.
20395         * math/auto-libm-test-out: Regenerated.
20396         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20397         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20398         mpfr_f_11.
20399         (func_calc_desc): Add mpfr_f_11 union field.
20400         (test_functions): Add sincos.
20401         (calc_generic_results): Handle mpfr_f_11.
20402         * sysdeps/i386/fpu/libm-test-ulps: Update.
20403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20405 2013-12-19  Andreas Schwab  <schwab@suse.de>
20407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20408         CALL_MCOUNT.
20409         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20410         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20411         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20413 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20415         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20416         * sysdeps/i386/fpu/libm-test-ulps: Update.
20417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20419         [BZ #16293]
20420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20421         round-to-nearest mode when using frndint.
20422         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20423         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20424         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20425         Likewise.
20426         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20427         sinh test to fail.
20428         * math/auto-libm-test-out: Regenerated.
20429         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20430         (TEST_COND_x86): Likewise.
20431         (expm1_tonearest_test_data): New array.
20432         (expm1_test_tonearest): New function.
20433         (expm1_towardzero_test_data): New array.
20434         (expm1_test_towardzero): New function.
20435         (expm1_downward_test_data): New array.
20436         (expm1_test_downward): New function.
20437         (expm1_upward_test_data): New array.
20438         (expm1_test_upward): New function.
20439         (main): Run the new test functions.
20440         * sysdeps/i386/fpu/libm-test-ulps: Update.
20441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20443         * include/features.h: Update comment documenting feature test
20444         macros.  Mention _DEFAULT_SOURCE in comment.
20445         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20446         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20447         _BSD_SOURCE and _SVID_SOURCE.
20448         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20449         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20450         !_SVID_SOURCE]: Likewise.
20451         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20452         (__USE_POSIX_IMPLICITLY): Define.
20453         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20454         (_POSIX_SOURCE): Undefine and redefine.
20455         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20456         (_POSIX_C_SOURCE): Likewise.
20457         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20458         (Feature Test Macros): Update documentation of default features.
20460 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20462         * benchtests/Makefile: Add bench-strtok.
20463         * benchtests/bench-strtok.c: New file: strtok benchtest.
20465 2013-12-19  Allan McRae  <allan@archlinux.org>
20467         * manual/install.texi: Suppress menu for plain text output.
20468         * INSTALL: Regenerated.
20470 2013-12-18  Brooks Moses  <bmoses@google.com>
20472         [BZ #15846]
20473         * misc/getauxval.c: Include errno.h.
20474         (__getauxval): Set errno to ENOENT if the requested type is not
20475         found.
20476         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20477         don't declare with __attribute_const__.
20478         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20479         * manual/startup.texi: Document that getauxval sets errno.
20481 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20483         * math/auto-libm-test-in: Add tests of jn and yn.
20484         * math/auto-libm-test-out: Regenerated.
20485         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20486         (yn_test_data): Likewise.
20487         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20488         mpfr_if_f.
20489         (func_calc_desc): Add mpfr_if_f union field.
20490         (FUNC_mpfr_if_f): New macro.
20491         (test_functions): Add jn and yn.
20492         (calc_generic_results): Assert type of second input for
20493         mpfr_ff_f.  Handle mpfr_if_f.
20494         (output_for_one_input_case): Disable all checking for arguments
20495         fitting floating-point types in case of an integer argument.
20496         * sysdeps/i386/fpu/libm-test-ulps: Update.
20497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20500         Don't expect fegetround reference in libm.so.
20502 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20504         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20505         $(config-cflags-nofma).
20507 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20509         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20510         * math/auto-libm-test-out: Regenerated.
20512         [BZ #16338]
20513         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20514         to determine exponent and adjust argument to have exponent of -1.
20515         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20516         log2.
20517         * math/auto-libm-test-out: Regenerated.
20518         * sysdeps/i386/fpu/libm-test-ulps: Update.
20519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20521 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20523         * manual/probes.texi: Remove cases when per-thread arenas are
20524         disabled.
20526 2013-12-18  Andreas Schwab  <schwab@suse.de>
20528         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20529         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20530         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20531         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20532         * sysdeps/i386/i686/multiarch/Makefile: Update.
20533         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20535 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20537         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20538         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20540 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20542         [BZ #15968]
20543         Support TZ transition times < 00:00:00.
20544         This is needed for version-3 tz-format files; it supports time
20545         stamps past 2037 for America/Godthab (the only entry in the tz
20546         database for which this change is relevant).
20547         * manual/time.texi (TZ Variable): Document transition times
20548         from -167:59:59 through -00:00:01.
20549         * time/tzset.c (tz_rule): Time of day is now signed.
20550         (__tzset_parse_tz): Parse negative time of day.
20552         Document TZ transition times >= 25:00:00.
20553         * manual/time.texi (TZ Variable): Document transition times from
20554         25:00:00 through 167:59:59.  These are already supported, and this
20555         support will help with version-3 tz-format files.
20557         * manual/time.texi (TZ Variable): Modernize North America example
20558         to reflect current (i.e., 2007-and-later) daylight saving rules.
20560         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20562 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20564         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20565         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20568         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20569         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20570         * sysdeps/unix/bsd/clock.c: Likewise.
20571         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20572         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20573         * sysdeps/unix/bsd/init-posix.c: Likewise.
20574         * sysdeps/unix/bsd/poll.c: Likewise.
20575         * sysdeps/unix/bsd/ptsname.c: Likewise.
20576         * sysdeps/unix/bsd/seekdir.c: Likewise.
20577         * sysdeps/unix/bsd/setegid.c: Likewise.
20578         * sysdeps/unix/bsd/seteuid.c: Likewise.
20579         * sysdeps/unix/bsd/setgid.c: Likewise.
20580         * sysdeps/unix/bsd/setrgid.c: Likewise.
20581         * sysdeps/unix/bsd/setruid.c: Likewise.
20582         * sysdeps/unix/bsd/setsid.c: Likewise.
20583         * sysdeps/unix/bsd/setuid.c: Likewise.
20584         * sysdeps/unix/bsd/sigaction.c: Likewise.
20585         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20586         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20587         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20588         * sysdeps/unix/bsd/telldir.c: Likewise.
20589         * sysdeps/unix/bsd/times.c: Likewise.
20590         * sysdeps/unix/bsd/usleep.c: Likewise.
20592         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20593         ($(objpfx)libbsd-compat.a): Remove rule.
20595         * include/features.h (__FAVOR_BSD): Do not define.
20596         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20597         features conflicting with POSIX.
20598         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20599         (_BSD_SOURCE): Remove description of not being a subset of other
20600         feature test macros.
20601         * manual/job.texi (getpgrp): Do not document BSD version.
20602         (getpgid): Do not document by reference to BSD getpgrp.
20603         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20604         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20605         * signal/signal.h [__FAVOR_BSD]: Likewise.
20606         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20607         instead of making contents conditional on [__FAVOR_BSD].
20608         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20610 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20614 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20616         [BZ #16314]
20617         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20618         values below 2**-450, not 2**-500.
20619         * math/auto-libm-test-in: Don't allow spurious underflow from
20620         hypot.
20621         * math/auto-libm-test-out: Regenerated.
20623         [BZ #16316]
20624         [BZ #16330]
20625         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20626         values of ha and hb and sort them after adjusting subnormal
20627         arguments.
20628         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20629         Likewise.
20630         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20631         values of ea and eb and sort them after adjusting subnormal
20632         arguments.
20633         * math/auto-libm-test-in: Do not expect some hypot tests of
20634         subnormals to fail.  Add more hypot tests.
20635         * math/auto-libm-test-out: Regenerated.
20637 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20639         [BZ #13304]
20640         * sysdeps/sh/s_fma.c: New file.
20641         * sysdeps/sh/s_fmaf.c: New file.
20642         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20643         version.
20644         * sysdeps/sh/Implies: Add sh/soft-fp.
20646 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20648         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20649         level of indirection to members `objname', `errstring', `malloced'.
20650         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20651         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20652         it as the __longjmp argument (just pass 1 instead).
20653         (_dl_catch_error): Initialize C with argument pointers and address of
20654         volatile local ERRCODE rather than copying values out of C at return.
20656 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20658         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20659         * math/auto-libm-test-out: Regenerated.
20660         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20661         (hypot_test_data): Likewise.
20662         (pow_test_data): Likewise.
20663         (pow_tonearest_test_data): Likewise.
20664         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20665         mpfr_ff_f.
20666         (func_calc_desc): Add mpfr_ff_f union field.
20667         (FUNC_mpfr_ff_f): New macro.
20668         (test_functions): Add atan2, hypot and pow.
20669         (special_fill_min): New function.
20670         (special_fill_minus_min): Likewise.
20671         (special_fill_min_subnorm): Likewise.
20672         (special_fill_minus_min_subnorm): Likewise.
20673         (special_real_inputs): Add min, -min, min_subnorm and
20674         -min_subnorm.
20675         (calc_generic_results): Handle mpfr_ff_f.
20676         * sysdeps/i386/fpu/libm-test-ulps: Update.
20677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20679 2013-12-16  Will Newton  <will.newton@linaro.org>
20681         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20682         (Aligned Memory Blocks): Add documentation for aligned_alloc
20683         and suggest it as an alternative to posix_memalign.
20684         (Hooks for Malloc): Document __memalign_hook is also called
20685         for aligned_alloc.  (Summary of Malloc): Add summary for
20686         aligned alloc.  Document __memalign_hook is also called
20687         for aligned_alloc.
20689 2013-12-16  Will Newton  <will.newton@linaro.org>
20691         * manual/memory.texi (Malloc Examples): Clarify default
20692         alignment documentation.  Suggest posix_memalign rather
20693         than memalign or valloc.
20694         (Aligned Memory Blocks): Remove suggestion to use memalign
20695         or valloc.  Remove obsolete comment about BSD.
20696         Document memalign errno values and mark the function obsolete.
20697         Document posix_memalign returned error codes.  Mark valloc
20698         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20699         called for posix_memalign and valloc.
20700         (Summary of Malloc): Add posix_memalign to function summary.
20701         __memalign_hook is also called for posix_memalign and valloc.
20703 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20705         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20706         TAYLOR_SIN.
20707         (__sin): Adjust.
20708         (__cos): Likewise.
20709         (sloww): Use mynumber union.  Expand ternary operator into
20710         if-else statements.
20711         (cslow): use mynumber union.
20713 2013-12-16  Allan McRae  <allan@archlinux.org>
20715         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20716         * configure: Regenerated.
20718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20720         [BZ #14120]
20721         * configure.ac: Added --enable-maintainer-mode. Check for
20722         autoconf when enabled.
20723         * configure: Regenerated.
20725         * nscd/nscd.service: New file.
20726         * nscd/nscd.tmpfiles: New file.
20728 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20730         [BZ #12100]
20731         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20732         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20733         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20734         (strstr): Add __strstr_sse2_unaligned ifunc.
20735         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20736         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20737         (strcasestr): Remove __strcasestr_sse42 ifunc.
20738         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20742 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20744         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20745         * sysdeps/sh/bits/fenv.h: ... here.
20746         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20748 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20750         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20753         hypotf multiarch implementations.
20754         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20755         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20757         multiarch hypot for PPC64.
20758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20759         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20760         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20761         multiarch hypotf for PPC64.
20763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20764         modff multiarch implementations.
20765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20768         multiarch modf for PPC64.
20769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20772         multiarch modff for PPC64.
20774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20775         and logl multiarch implementations.
20776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20779         multiarch logb for PPC64.
20780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20783         multiarch logb for PPC64.
20784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20787         multiarch logb for PPC64.
20789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20790         isinff multiarch implementation.
20791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20792         file.
20793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20795         multiarch isinf for PPC64.
20796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20797         file.
20798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20799         multiarch isinff for PPC64.
20801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20802         finitef multiarch implementation.
20803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20804         file.
20805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20807         multiarch finite for PPC64.
20808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20809         file.
20810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20811         multiarch finitef for PPC64.
20813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20814         lrint multiarch implementation.
20815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20816         file.
20817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20819         multiarch llrint for PPC64.
20820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20821         multiarch lrint for PPC64.
20823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20824         copysignf multiarch implementation.
20825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20826         file.
20827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20828         file.
20829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20830         multiarch copysign for PPC64.
20831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20832         multiarch copysignf for PPC64.
20834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20835         multiarch implementation.
20836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20837         file.
20838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20839         file.
20840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20841         file.
20842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20843         file.
20844         multiarch llround for PPC64.
20845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20846         multiarch trunc for PPC64.
20847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20848         multiarch truncf for PPC64.
20850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20851         multiarch implementation.
20852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20853         file.
20854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20855         file.
20856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20857         file.
20858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20859         file.
20860         multiarch llround for PPC64.
20861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20862         multiarch round for PPC64.
20863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20864         multiarch roundf for PPC64.
20866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20867         multiarch implementation.
20868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20869         file.
20870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20871         file.
20872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20873         file.
20874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20875         file.
20876         multiarch llround for PPC64.
20877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20878         multiarch floor for PPC64.
20879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20880         multiarch floorf for PPC64.
20882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20883         multiarch implementation.
20884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20885         file.
20886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20887         file.
20888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20889         file.
20890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20891         file.
20892         multiarch llround for PPC64.
20893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20894         multiarch ceil for PPC64.
20895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20896         multiarch ceilf for PPC64.
20898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20899         multiarch implementation.
20900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20901         file.
20902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20903         file.
20904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20905         file.
20906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20907         multiarch llround for PPC64.
20908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20909         multiarch lround for PPC64.
20911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20912         multiarch implementation.
20913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20916         file.
20917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20920         multiarch isnan for PPC64.
20921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20922         multiarch isnanf for PPC64.
20924         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20925         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20926         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20927         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20928         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20931         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20932         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20933         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20934         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20937         multiarch implementations.
20938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20939         (__libc_ifunc_impl_list): Likewise.
20940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20941         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20943         multiarch stpcpy for PPC64.
20945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20946         multiarch implementations.
20947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20948         (__libc_ifunc_impl_list): Likewise.
20949         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20950         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20951         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20952         multiarch strcpy for PPC64.
20954         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20955         redefine function name.
20956         (_wordcopy_fwd_dest_aligned): Likewise.
20957         (_wordcopy_bwd_aligned): Likewise.
20958         (_wordcopy_bwd_dest_aligned): Likewise.
20959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20960         multiarch implementations.
20961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20962         (__libc_ifunc_impl_list): Likewise.
20963         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20964         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20967         multiarch wcscpy for PPC64.
20969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20970         multiarch implementations.
20971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20972         (__libc_ifunc_impl_list): Likewise.
20973         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20976         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20977         multiarch wcscpy for PPC64.
20979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20980         multiarch implementations.
20981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20982         (__libc_ifunc_impl_list): Likewise.
20983         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20984         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20985         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20986         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20987         multiarch wcsrchr for PPC64.
20989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20990         multiarch implementations.
20991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20992         (__libc_ifunc_impl_list): Likewise.
20993         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20994         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20995         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20996         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20997         multiarch wcschr for PPC64.
20999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21000         multiarch implementations.
21001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21002         (__libc_ifunc_impl_list): Likewise.
21003         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21004         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21005         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21006         multiarch strchrnul for PPC64.
21008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21009         implementations.
21010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21011         (__libc_ifunc_impl_list): Likewise.
21012         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21013         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21014         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21015         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21016         strchr for PPC64.
21018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21019         implementations.
21020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21021         (__libc_ifunc_impl_list): Likewise.
21022         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21023         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21025         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21026         strncmp for PPC64.
21028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21029         multiarch implementations.
21030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21031         (__libc_ifunc_impl_list): Likewise.
21032         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21033         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21034         strncasecmp for PPC64.
21035         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21036         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21037         multiarch strncasecmp_l for PPC64.
21039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21040         multiarch implementations.
21041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21042         (__libc_ifunc_impl_list): Likewise.
21043         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21045         multiarch strcasecmp for PPC64.
21046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21047         file.
21048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21049         multiarch strcasecmp_l for PPC64.
21051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21052         implementations.
21053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21054         (__libc_ifunc_impl_list): Likewise.
21055         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21056         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21057         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21058         strnlen for PPC64.
21060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21061         implementations.
21062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21063         (__libc_ifunc_impl_list): Likewise.
21064         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21065         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21066         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21067         strlen for PPC64.
21069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21070         implementations.
21071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21072         (__libc_ifunc_impl_list): Likewise.
21073         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21074         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21075         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21076         rawmemrchr for PPC64.
21078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21079         implementation.
21080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21081         (__libc_ifunc_impl_list): Likewise.
21082         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21083         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21084         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21085         memrchr for PPC64.
21087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21088         implementation.
21089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21090         (__libc_ifunc_impl_list): Likewise.
21091         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21092         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21093         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21094         memchr for PPC64.
21096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21097         implementation.
21098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21099         (__libc_ifunc_impl_list): Likewise.
21100         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21101         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21102         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21103         mempcpy for PPC64.
21105         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21106         avoid cretion of __bzero symbol.
21107         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21108         Likewise.
21109         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21110         Likewise.
21111         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21112         Likewise.
21113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21114         multiarch implementations.
21115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21116         (__libc_ifunc_impl_list): Likewise.
21117         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21118         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21119         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21120         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21121         bzero for PPC32.
21122         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21123         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21124         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21125         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21126         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21127         memset for PPC64.
21128         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21130         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21132         implementations.
21133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21134         (__libc_ifunc_impl_list): Likewise.
21135         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21136         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21137         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21138         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21139         memcmp for PPC64.
21141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21142         multiarch for POWER/PPC64.
21143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21144         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21151         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21152         memcpy for PPC64.
21154         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21155         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21156         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21157         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21158         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21159         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21160         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21161         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21162         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21163         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21164         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21165         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21166         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21167         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21168         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21177 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21179         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21181 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21183         * benchtests/Makefile (bench): Add exp2 and log2.
21184         (LDLIBS-bench-exp2): Add -lm.
21185         (LDLIBS-bench-log2): Likewise.
21186         * benchtests/exp2-inputs: New inputs file.
21187         * benchtests/log2-inputs: New inputs file.
21188         * benchtests/log-inputs: Add new inputs.
21189         * benchtests/tan-inputs: Likewise.
21191 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21193         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21194         definition...
21195         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21196         (csloww2): ... from here.
21198         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21199         instead of structures.
21200         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21201         (POLYNOMIAL): Likewise.
21202         (TAYLOR_SLOW): Likewise.
21203         (__sin): Likewise.
21204         (__cos): Likewise.
21205         (slow1): Likewise.
21206         (slow2): Likewise.
21207         (sloww): Likewise.
21208         (sloww1); Likewise.
21209         (sloww2): Likewise.
21210         (bsloww1): Likewise.
21211         (bsloww2): Likewise.
21212         (cslow2): Likewise.
21213         (csloww): Likewise.
21214         (csloww1): Likewise.
21215         (csloww2): Likewise.
21217 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21219         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21220         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21221         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21222         * malloc/hooks.c (realloc_check): Likewise.
21224         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21225         * malloc/arena.c: Remove PER_THREAD conditional.
21226         [!PER_THREAD]: Remove code.
21227         (ptmalloc_unlock_all2): Likewise.
21228         (ptmalloc_init): Likewise.
21229         (_int_new_arena): Likewise.
21230         (arena_get2): Likewise.
21231         * malloc/hooks.c (__malloc_get_state): Likewise.
21232         (__malloc_set_state): Likewise.
21233         * malloc/malloc.c: Likewise.
21234         (struct malloc_state): Likewise.
21235         (struct malloc_par): Likewise.
21236         (__libc_realloc): Likewise.
21237         (__libc_mallopt): Likewise.
21239 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21241         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21243 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21245         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21246         macro to a function.  Check for zero perturb_byte.
21247         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21249         * malloc/malloc.c: (force_reg): Remove.
21250         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21251         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21252         force_reg by atomic_forced_read.
21253         * malloc/arena.c (ptmalloc_init): Likewise.
21254         * malloc/hooks.c (top_check): Likewise.
21256 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21260 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21264 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21266         * math/auto-libm-test-in: Add tests of lgamma.
21267         * math/auto-libm-test-out: Regenerated.
21268         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21269         (M_LOG_2_SQRT_PIl): Likewise.
21270         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21271         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21272         mpfr_f_f1.
21273         (func_calc_desc): Add mpfr_f_f1 union field.
21274         (ARGS1): New macro.
21275         (ARGS2): Likewise.
21276         (ARGS3): Likewise.
21277         (ARGS4): Likewise.
21278         (RET1): Likewise.
21279         (RET2): Likewise.
21280         (CALC): Likewise.
21281         (FUNC): Likewise.
21282         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21283         (test_functions): Add lgamma.
21284         (calc_generic_results): Handle mpfr_f_f1.
21285         * sysdeps/i386/fpu/libm-test-ulps: Update.
21286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21290         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21291         __mpn_add_n for PowerPC64/POWER7.
21292         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21293         __mpn_sub_n for PowerPC64/POWER7.
21295         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21296         __mpn_addmul_1 for PowerPC64.
21297         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21298         __mpn_submul_1 for PowerPC64.
21299         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21300         for PowerPC64.
21301         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21302         for PowerPC64.
21304 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21306         [BZ #15089]
21307         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21311         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21313         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21314         add multiarch folders.
21315         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21316         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21317         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21318         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21319         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21320         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21321         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21322         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21323         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21324         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21325         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21334         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21336         New file.
21337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21338         New file.
21339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21340         multiarch __ieee754_hypot for PowerPC32.
21341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21342         New file.
21343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21344         New file.
21345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21346         multiarch __ieee754_hypotf for PowerPC32.
21348         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21349         long_double_symbol only if __logbl is defined.
21350         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21351         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21353         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21355         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21356         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21357         path for implementation.
21358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21359         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21361         logb, and logbl multiarch implementations for PowerPC32.
21362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21363         file.
21364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21365         file.
21366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21367         multiarch logb for PowerPC32.
21368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21369         file.
21370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21371         file.
21372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21373         multiarch logbf for PowerPC32.
21374         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21376         file.
21377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21378         multiarch logbl implementation for PowerPC32.
21380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21381         and modff multiarch implementations.
21382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21383         New file.
21384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21385         New file.
21386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21387         multiarch modf for PowerPC32.
21388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21389         New file.
21390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21391         New file.
21392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21393         multiarch modff for PowerPC32.
21395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21396         and lrintf multiarch implementations.
21397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21398         New file.
21399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21400         New file.
21401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21402         multiarch lrint for PowerPC32.
21403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21404         file: multiarch lrintf for PowerPC32.
21406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21407         and lroundf multiarch implementations.
21408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21409         New file.
21410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21411         New file.
21412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21413         New file.
21414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21415         multiarch lround for PowerPC32.
21416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21417         file: multiarch lroundf for PowerPC32.
21419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21420         copysign and copysignf multiarch implementations.
21421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21422         New file.
21423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21424         New file.
21425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21426         file: multiarch copysign for PowerPC32.
21427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21428         file: multiarch copysignf for PowerPC32.
21430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21431         and truncf multiarch implementations.
21432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21433         New file.
21434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21435         file.
21436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21437         multiarch trunc for PowerPC32.
21438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21439         New file.
21440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21441         New file.
21442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21443         multiarch truncf for PowerPC32.
21445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21446         and roundf multiarch implementations.
21447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21448         New file.
21449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21450         file.
21451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21452         multiarch round for PowerPC32.
21453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21454         New file.
21455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21456         New file.
21457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21458         multiarch roundf for PowerPC32.
21460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21461         and floorf multiarch implementations.
21462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21463         New file.
21464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21465         file.
21466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21467         multiarch floor for PowerPC32.
21468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21469         New file.
21470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21471         New file.
21472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21473         multiarch floorf for PowerPC32.
21475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21476         and ceilf multiarch implementations.
21477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21478         New file.
21479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21480         file.
21481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21482         multiarch ceil for PowerPC32.
21483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21484         New file.
21485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21486         file.
21487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21488         multiarch ceilf for PowerPC32.
21490         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21491         is defined.
21492         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21493         FINITEF is defined.
21494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21495         and finitef multiarch implementations.
21496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21497         New file.
21498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21499         file.
21500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21501         multiarch finite for PowerPC32.
21502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21503         New file.
21504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21505         file: multiarch finitef for PowerPC32.
21507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21508         and isinff multiarch implementations.
21509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21510         file.
21511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21512         file.
21513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21514         multiarch isinf for PowerPC32.
21515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21516         New file.
21517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21518         multiarch isinff for PowerPC32.
21520         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21521         alias when __isnan is defined.
21522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21523         and isnanf multiarch implementations.
21524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21525         file.
21526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21527         file.
21528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21529         file.
21530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21531         file.
21532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21533         multiarch isnan for PowerPC32.
21534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21535         New file.
21536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21537         New file.
21538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21539         multiarch isnanf for PowerPC32.
21541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21542         and sqrtf multiarch implementations.
21543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21544         file.
21545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21546         file.
21547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21548         multiarch sqrt for PowerPC32.
21549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21550         file.
21551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21552         file.
21553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21554         multiarch sqrtf for PowerPC32.
21556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21557         and llroundf multiarch implementations.
21558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21559         New file.
21560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21561         New file.
21562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21563         New file.
21564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21565         file: multiarch llround for PowerPC32.
21566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21567         file: multiarch llroundf for PowerPC32.
21569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21570         multiarch PowerPC32 fpu implementations.
21571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21572         New file.
21573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21574         New file.
21575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21576         multiarch llrint for PowerPC32.
21577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21578         New file.
21579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21580         New file.
21581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21582         file.
21584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21586         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21587         file.
21588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21589         file.
21590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21591         file.
21592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21593         multiarch wordcopy for PPC32.
21594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21595         wordcopy objects.
21596         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21597         (__libc_ifunc_impl_list): Likewise.
21598         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21599         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21600         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21601         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21602         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21603         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21605         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21607         file.
21608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21609         file.
21610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21611         file.
21612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21613         multiarch wcscpy for PPC32.
21614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21615         multiarch objects.
21616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21617         (__libc_ifunc_impl_list): Likewise.
21618         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21619         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21620         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21621         sysdeps/powerpc/power6/wcscpy.c.
21623         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21625         file.
21626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21627         file.
21628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21629         file.
21630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21631         multiarch wcsrchr for PPC32.
21632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21633         multiarch objects.
21634         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21635         (__libc_ifunc_impl_list): Likewise.
21636         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21637         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21638         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21639         sysdeps/powerpc/power6/wcsrchr.c.
21641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21642         file.
21643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21644         file.
21645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21647         multiarch wcschr for PPc32.
21648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21649         multiarch objects.
21650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21651         (__libc_ifunc_impl_list): Likewise.
21652         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21653         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21654         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21655         sysdeps/powerpc/power6/wcschr.c.
21657         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21658         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21659         file.
21660         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21661         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21662         file: multiarch strchr for PPC32.
21663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21664         multiarch objects.
21665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21666         (__libc_ifunc_impl_list): Likewise.
21668         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21669         name.
21670         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21671         file.
21672         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21673         file.
21674         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21675         multiarch strchrnul for PPC32.
21676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21677         multiarch objects.
21678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21679         (__libc_ifunc_impl_list): Likewise.
21681         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21682         file.
21683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21684         multiarch strncasecmp for PPC32.
21685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21686         file.
21687         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21688         multiarch strncasecmp_l for PPC32.
21689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21690         strncasecmp multiarch objects.
21691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21692         (__libc_ifunc_impl_list): Likewise.
21694         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21695         file.
21696         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21697         multiarch strncasecmp for PPC32.
21698         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21699         New file.
21700         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21701         multiarch strcasecmp_l for PPC32.
21702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21703         multiarch objects.
21704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21705         (__libc_ifunc_impl_list): Likewise.
21707         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21708         file.
21709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21710         file.
21711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21712         multiarch strncmp for PPC32.
21713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21714         multiarch objects.
21715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21716         (__libc_ifunc_impl_list): Likewise.
21718         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21719         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21720         file.
21721         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21722         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21724         multiarch objects.
21725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21726         (__libc_ifunc_impl_list): Likewise.
21728         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21729         file.
21730         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21731         file.
21732         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21734         multiarch objects.
21735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21736         (__libc_ifunc_impl_list): Likewise.
21738         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21739         file.
21740         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21741         file.
21742         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21743         multiarch rawmemchr for PPC32.
21744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21745         multiarch objects.
21746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21747         (__libc_ifunc_impl_list): Likewise.
21749         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21750         file.
21751         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21752         file.
21753         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21754         file: memrchr multiarch for PPC32.
21755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21756         multiarch objects.
21757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21758         (__libc_ifunc_impl_list): Likewise.
21760         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21761         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21762         file.
21763         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21764         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21765         multiarch memchr for PPC32.
21766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21767         multiarch objects.
21768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21769         (__libc_ifunc_impl_list): Likewise.
21771         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21772         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21773         file.
21774         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21775         file.
21776         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21777         file: multiarch mempcpy for PPC32.
21778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21779         multiarch objects.
21780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21781         (__libc_ifunc_impl_list): Likewise.
21783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21784         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21785         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21786         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21787         multiarch bzero for PPC32.
21788         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21789         file.
21790         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21791         file.
21792         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21793         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21794         file: multiarch memset for PPC32.
21795         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21797         memset multiarch objects.
21798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21799         (__libc_ifunc_impl_list): Likewise.
21801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21802         file.
21803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21804         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21805         memcmp for PPC32.
21806         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21808         multiarch objects.
21809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21810         (__libc_ifunc_impl_list): Likewise.
21812         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21815         file.
21816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21817         file.
21818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21819         file.
21820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21821         multiarch memcpy for PPC32.
21822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21823         multiarch objects.
21824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21825         (__libc_ifunc_impl_list): Likewise.
21827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21828         support multiarch for POWER/PPC32.
21829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21830         Likewise.
21831         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21833         Implies file to make multiarch folder appers before the fpu and
21834         default folder for power4 configuration.
21836 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21838         * scripts/bench.pl: Append volatile keyword to type.
21840 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21842         * sysdeps/sh/sotruss-lib.c: New file.
21843         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21845 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21849 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21851         [BZ #6810]
21852         * math/w_tgamma.c: Include <errno.h>.
21853         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21854         * math/w_tgammaf.c: Include <errno.h>.
21855         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21856         * math/w_tgammal.c: Include <errno.h>.
21857         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21858         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21859         underflow.  Add more tgamma tests.
21860         * math/auto-libm-test-out: Regenerated.
21861         * sysdeps/i386/fpu/libm-test-ulps: Update.
21862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21864         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21865         sin, sinh, tan, tanh, tgamma, y0 and y1.
21866         * math/auto-libm-test-out: Regenerated.
21867         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21868         (TEST_COND_x86): Likewise.
21869         (M_E2l): Remove macro.
21870         (M_E3l): Likewise.
21871         (M_2_SQRT_PIl): Likewise.
21872         (M_SQRT_PIl): Likewise.
21873         (M_1_DIV_El): Likewise.
21874         (log_test_data): Use AUTO_TESTS_f_f.
21875         (log10_test_data): Likewise.
21876         (log1p_test_data): Likewise.
21877         (log2_test_data): Likewise.
21878         (sin_test_data): Likewise.
21879         (sin_tonearest_test_data): Likewise.
21880         (sin_towardzero_test_data): Likewise.
21881         (sin_downward_test_data): Likewise.
21882         (sin_upward_test_data): Likewise.
21883         (sinh_test_data): Likewise.
21884         (sinh_tonearest_test_data): Likewise.
21885         (sinh_towardzero_test_data): Likewise.
21886         (sinh_downward_test_data): Likewise.
21887         (sinh_upward_test_data): Likewise.
21888         (tan_test_data): Likewise.
21889         (tan_tonearest_test_data): Likewise.
21890         (tan_towardzero_test_data): Likewise.
21891         (tan_downward_test_data): Likewise.
21892         (tan_upward_test_data): Likewise.
21893         (tanh_test_data): Likewise.
21894         (tgamma_test_data): Likewise.
21895         (y0_test_data): Likewise.
21896         (y1_test_data): Likewise.
21897         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21898         (special_real_inputs): Add pi/4.
21899         * sysdeps/i386/fpu/libm-test-ulps: Update.
21900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21902 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21904         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21905         "longjmp_target" static probes.
21906         (__longjmp): Rename to __longjmp_symbol.
21907         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21908         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21909         on which longjmp to generate.
21910         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21911         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21912         probe.
21913         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21914         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21915         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21916         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21917         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21918         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21920         __longjmp_symbol based on which __longjmp to generate.
21921         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21922         probe.
21923         (setjmp): Rename to setjmp_symbol.
21924         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21925         (_setjmp): Rename to _setjmp_symbol.
21926         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21927         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21928         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21929         which setjmp to generate.
21930         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21931         "longjmp_target" static probes.
21933 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21935         * benchtests/README: Add note about output arguments.
21936         * benchtests/bench-sincos.c: Remove file.
21937         * benchtests/sincos-inputs: New file.
21938         * scripts/bench.pl: Identify output arguments and define
21939         static variables for them.
21941         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21943         [BZ #15941]
21944         * Makefile (INSTALL): Add install-plain.texi as the primary
21945         dependency.
21946         * manual/install-plain.texi: New file.
21947         * manual/install.texi: Include node directive only for
21948         non-plaintext output.
21950 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21952         * stdlib/longlong.h: Update from GCC.
21954         [BZ #6807]
21955         [BZ #15901]
21956         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21957         * math/w_j0f.c (y0f): Likewise.
21958         * math/w_j0l.c (__y0l): Likewise.
21959         * math/w_j1.c (y1): Likewise.
21960         * math/w_j1f.c (y1f): Likewise.
21961         * math/w_j1l.c (__y1l): Likewise
21962         * math/w_jn.c (yn): Likewise.
21963         * math/w_jnf.c (ynf): Likewise.
21964         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21965         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21966         value for Bessel function domain errors outside _SVID_ mode.
21967         Adjust sign of return value for yn (negative integer, 0).
21968         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21969         by zero in return for negative x and set sign appropriately for
21970         negative n.
21971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21972         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21973         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21974         expectations in error cases.
21975         (y1_test_data): Likewise.
21976         (yn_test_data): Likewise.
21977         * sysdeps/i386/fpu/libm-test-ulps: Update.
21978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21980 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21982         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21983         "64" to "64-v1".  Add "64-v2".
21984         (abi-64-options): Rename to ...
21985         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21986         (abi-64-condition): Rename to ...
21987         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21988         (abi-64-ld-soname): Rename to ...
21989         (abi-64-v1-ld-soname): ... this.
21990         (abi-64-v2-options): Define.
21991         (abi-64-v2-condition): Likewise.
21992         (abi-64-v2-ld-soname): Likewise.
21993         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21994         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21999 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22000             Alan Modra  <amodra@gmail.com>
22002         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22003         New versions for use with the ELFv2 ABI.
22004         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22005         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22006         declaration.
22007         (struct La_ppc64v2_retval): Likewise.
22008         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22009         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22010         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22011         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22012         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22013         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22014         Do not save or restore CR.
22015         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22016         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22017         return values for ELFv2 ABI.  Fix location of FPR return registers.
22018         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22019         updated values for _CALL_ELF == 2.
22020         (La_regs, La_retval, int_retval): Likewise.
22022 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22024         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22025         (FRAME_MIN_SIZE_PARM): Likewise.
22026         (FRAME_BACKCHAIN): Likewise.
22027         (FRAME_CR_SAVE): Likewise.
22028         (FRAME_LR_SAVE): Likewise.
22029         (FRAME_TOC_SAVE): Likewise.
22030         (FRAME_PARM_SAVE): Likewise.
22031         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22032         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22033         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22034         (call_mcount_parm_offset): New macro.
22035         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22036         (PROF): Use symbolic stack frame offsets.
22037         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22038         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22039         Redefine in terms of FRAME_MIN_SIZE.
22040         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22041         (_dl_profile_resolve): Likewise.  Update comment.
22042         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22043         symbols stack frame offsets.
22044         (__sigsetjmp): Likewise.
22045         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22046         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22047         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22048         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22051         (FRAME_BACKCHAIN): Remove.
22052         (FRAME_CR_SAVE): Likewise.
22053         (FRAME_LR_SAVE): Likewise.
22054         (FRAME_COMPILER_DW): Likewise.
22055         (FRAME_LINKER_DW): Likewise.
22056         (FRAME_TOC_SAVE): Likewise.
22057         (FRAME_PARM_SAVE): Likewise.
22058         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22059         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22060         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22062         (CHECK_SP): Use symbolic stack frame offsets.
22063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22064         zone" instead of caller's parameter save area for temp storage.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22066         Likewise.  Also, use symbolic stack frame offsets.
22067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22068         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22069         our own stack frame instead of the caller's.
22070         (__socket): Use symbolic stack frame offsets.
22072 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22073             Alan Modra  <amodra@gmail.com>
22075         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22076         Define.
22077         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22078         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22079         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22080         New function.
22081         (elf_machine_fixup_plt): Call it.
22082         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22083         reloc arguments.
22084         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22085         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22086         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22087         r2 before calling target.
22089 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22090             Alan Modra  <amodra@gmail.com>
22092         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22093         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22094         versions of macros to support ELFv2 ABI.
22095         (LOCALENTRY): New macro.
22096         (ENTRY, EALIGN): Use it.
22097         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22098         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22099         fall through into ENTRY entry point.
22100         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22101         Only define if _CALL_ELF != 2.
22103         (elf_machine_matches_host): Verify ABI version matches.
22104         (RTLD_START): Use LOCALENTRY.
22105         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22106         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22107         (PLT_ENTRY_WORDS): New macro.
22108         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22109         (elf_machine_runtime_setup): Support ELFv2 ABI.
22110         (elf_machine_fixup_plt): Likewise.
22111         (elf_machine_plt_conflict): Likewise.
22112         (resolve_ifunc): Likewise.
22113         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22114         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22115         Likewise.
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22117         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22119         (makecontext): Support ELFv2 ABI.
22120         * elf/elf.h (EF_PPC64_ABI): Define.
22122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22124         * sysdeps/powerpc/powerpc64/sysdep.h
22125         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22126         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22127         (ENTRY) [ASSEMBLER]: ... but instead here ...
22128         (EALIGN) [ASSEMBLER]: ... and here.
22129         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22130         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22131         (ENTRY_2) [!ASSEMBLER]: Use it.
22132         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22133         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22134         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22135         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22136         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22138         Use PPC64_LOAD_FUNCPTR.
22140         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22142 2013-12-04  Alan Modra  <amodra@gmail.com>
22144         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22145         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22146         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22147         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22150         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22151         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22152         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22153         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22154         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22159         (__makecontext): Fix incorrect CFI when backtracing out of
22160         context created via makecontext.
22161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22162         (__setcontext): Fix incorrect CFI during switch to new context.
22163         (__novec_setcontext): Likewise.
22165 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22167         [BZ #4772]
22168         * time/strptime_l.c (__strptime_internal): Allow modifiers
22169         in strptime.
22170         * time/tst-strptime.c (day_tests): Add testcase.
22172 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22174         * scripts/bench.pl: Skip over blank lines.
22176 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22178         [BZ #926]
22179         * manual/time.texi (Calendar Time): Clarify what timezone functions
22180         use.
22182 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22186 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22188         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22189         implementation.
22190         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22191         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22192         * debug/memset_chk.c (__memset_chk): Likewise.
22193         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22194         * debug/strncpy_chk.c: Likewise.
22196 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22198         [BZ #15268]
22199         [BZ #15425]
22200         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22201         (__ieee754_exp): For possibly underflowing results, check size of
22202         result and force underflow exception if required.
22203         * math/auto-libm-test-in: Add more tests of exp.
22204         * math/auto-libm-test-out: Regenerated.
22205         * sysdeps/i386/fpu/libm-test-ulps: Update.
22206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22208         [BZ #16283]
22209         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22210         * math/w_exp2f.c (__exp2f): Likewise.
22211         * math/w_exp2l.c (__exp2l): Likewise.
22212         * math/auto-libm-test-in: Do not allow missing errno on exp2
22213         underflow.
22214         * math/auto-libm-test-out: Regenerated.
22216 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22218         [BZ #16274]
22219         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22220         handle filename validation.
22221         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22222         (do_open): Delete.
22224 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22226         [BZ #6786]
22227         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22228         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22229         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22230         <float.h>.
22231         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22232         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22233         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22235         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22236         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22237         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22238         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22239         Add more erfc tests.
22240         * math/auto-libm-test-out: Regenerated.
22241         * sysdeps/i386/fpu/libm-test-ulps: Update.
22242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22245         exp2, expm1, j0 and j1.
22246         * math/auto-libm-test-out: Regenerated.
22247         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22248         (erfc_test_data): Likewise.
22249         (exp_test_data): Likewise.
22250         (exp_tonearest_test_data): Likewise.
22251         (exp_towardzero_test_data): Likewise.
22252         (exp_downward_test_data): Likewise.
22253         (exp_upward_test_data): Likewise.
22254         (exp10_test_data): Likewise.
22255         (exp2_test_data): Likewise.
22256         (expm1_test_data): Likewise.
22257         (j0_test_data): Likewise.
22258         (j1_test_data): Likewise.
22259         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22260         (input_flag_type): Add flag_xfail_rounding.
22261         (input_flags): Add xfail-rounding.
22262         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22263         (output_for_one_input_case): Handle flag_xfail_rounding.
22264         * sysdeps/i386/fpu/libm-test-ulps: Update.
22265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22267 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22269         [BZ #16289]
22270         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22271         division by 0.
22273 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22275         [BZ #16195]
22276         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22277         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22278         (STAP_PROBE0): New macro.
22279         (STAP_PROBE1): Likewise.
22280         (STAP_PROBE2): Likewise.
22281         (STAP_PROBE3): Likewise.
22282         (STAP_PROBE4): Likewise.
22284 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22286         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22288 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22290         * benchtests/Makefile (bench): Add sqrt.
22291         (LDLIBS-bench-sqrt): New.
22292         * benchtests/sqrt-input: New.
22294 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22296         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22297         (GAIH_EAI): Likewise.
22298         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22299         (gaih_inet): Likewise.
22300         (getaddrinfo): Don't use GAIH_EAI.
22302         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22303         (struct gaih): Remove definition.
22305 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22307         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22308         Use HERRNOP directly.
22310 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22314 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22316         * math/gen-auto-libm-tests.c (test_functions): Add more
22317         single-argument functions.
22318         (special_fill_pi_2): New function.
22319         (special_fill_minus_pi_2): Likewise.
22320         (special_fill_pi_6): Likewise.
22321         (special_fill_minus_pi_6): Likewise.
22322         (special_fill_pi_3): Likewise.
22323         (special_fill_2pi_3): Likewise.
22324         (special_fill_e): Likewise.
22325         (special_fill_1_e): Likewise.
22326         (special_fill_e_minus_1): Likewise.
22327         (special_real_inputs): Add more special inputs.
22328         (output_for_one_input_case): Do not require ERANGE on underflow to
22329         zero if round-to-nearest result does not underflow to zero, unless
22330         exact results required.
22331         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22332         atan, atanh, cbrt, cos and cosh.
22333         * math/auto-libm-test-out: Regenerated.
22334         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22335         (acos_tonearest_test_data): Likewise.
22336         (acos_towardzero_test_data): Likewise.
22337         (acos_downward_test_data): Likewise.
22338         (acos_upward_test_data): Likewise.
22339         (acosh_test_data): Likewise.
22340         (asin_test_data): Likewise.
22341         (asin_tonearest_test_data): Likewise.
22342         (asin_towardzero_test_data): Likewise.
22343         (asin_upward_test_data): Likewise.
22344         (asinh_test_data): Likewise.
22345         (atan_test_data): Likewise.
22346         (atanh_test_data): Likewise.
22347         (cbrt_test_data): Likewise.
22348         (cos_test_data): Likewise.
22349         (cos_tonearest_test_data): Likewise.
22350         (cos_towardzero_test_data): Likewise.
22351         (cos_downward_test_data): Likewise.
22352         (cos_upward_test_data): Likewise.
22353         (cosh_test_data): Likewise.
22354         (cosh_tonearest_test_data): Likewise.
22355         (cosh_towardzero_test_data): Likewise.
22356         (cosh_downward_test_data): Likewise.
22357         (cosh_upward_test_data): Likewise.
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22361 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22363         [BZ #6787]
22364         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22365         * math/w_exp10f.c (__exp10f): Likewise.
22366         * math/w_exp10l.c (__exp10l): Likewise.
22367         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22368         errno settings in existing tests.
22370         [BZ #14032]
22371         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22372         precision control set to double precision.
22373         * sysdeps/i386/fpu/w_sqrt.c: New file.
22374         * math/auto-libm-test-in: Add more tests.
22375         * math/auto-libm-test-out: Update.
22377         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22378         (sqrt_test_tonearest): New function.
22379         (sqrt_towardzero_test_data): New variable.
22380         (sqrt_test_towardzero): New function.
22381         (sqrt_downward_test_data): New variable.
22382         (sqrt_test_downward): New function.
22383         (sqrt_upward_test_data): New variable.
22384         (sqrt_test_upward): New function.
22385         (main): Call the new functions.
22387         * math/gen-auto-libm-tests.c: New file.
22388         * math/auto-libm-test-in: Likewise.
22389         * math/auto-libm-test-out: New generated file.
22390         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22391         variables.
22392         (%beautify): Add generated representations of zero.
22393         (top level): Set $auto_input and call parse_auto_input.
22394         (beautify): Remove trailing "f" from hex float constants.
22395         (parse_args): Handle XFAIL_TEST.
22396         (convert_condition): New function.
22397         (or_value): Likewise.
22398         (or_cond_value): Likewise.
22399         (generate_testfile): Handle AUTO_TESTS_* lines.
22400         (parse_auto_input): New function.
22401         * math/libm-test.inc (XFAIL_TEST): New macro.
22402         (ERRNO_UNCHANGED): Update value.
22403         (ERRNO_EDOM): Likewise.
22404         (ERRNO_ERANGE): Likewise.
22405         (IGNORE_RESULT): Likewise.
22406         (TEST_COND_flt_32): New macro.
22407         (TEST_COND_dbl_64): Likewise.
22408         (TEST_COND_ldbl_96_intel): Likewise.
22409         (TEST_COND_ldbl_96_m68k): Likewise.
22410         (TEST_COND_ldbl_128): Likewise.
22411         (TEST_COND_ldbl_128ibm): Likewise.
22412         (TEST_COND_long32): Likewise.
22413         (TEST_COND_long64): Likewise.
22414         (TEST_COND_before_rounding): Likewise.
22415         (TEST_COND_after_rounding): Likewise.
22416         (enable_test): Handle XFAIL_TEST flag.
22417         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22418         with finite results.
22419         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22420         auto-libm-test-out.
22422 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22423             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22425         [BZ #16214]
22426         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22427         __tls_get_addr_internal instead of __tls_get_offset in order to
22428         avoid GOT pointer dependency.  Make rtld export
22429         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22430         __tls_get_addr since we are a __tls_get_offset platform.
22431         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22432         GOT pointer being set up before.
22433         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22435 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22437         * manual/math.texi (Errors in Math Functions): Document accuracy
22438         goals.
22440         [BZ #15004]
22441         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22442         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22444         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22445         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22446         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22447         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22448         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22449         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22450         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22451         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22452         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22453         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22454         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22455         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22456         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22458         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22459         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22460         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22461         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22462         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22463         Likewise.
22464         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22465         Likewise.
22466         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22467         Likewise.
22468         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22469         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22470         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22471         atomic-feupdateenv and flt-rounds.
22472         * sysdeps/powerpc/nofpu/Versions (libc): Add
22473         __atomic_feholdexcept, __atomic_feclearexcept,
22474         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22475         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22476         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22477         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22478         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22479         here.
22480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22481         Update.
22483         * manual/arith.texi (FP Exceptions): Document that exceptions may
22484         not be raised when matherr is used.
22485         (Math Error Reporting): Document overflow in directed rounding
22486         modes.  Document that errno may not be set when finite values are
22487         returned on overflow.  Document intent to set errno on underflow
22488         only for underflow to zero.
22490         [BZ #16271]
22491         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22492         round-to-nearest then adjust result for other rounding modes.
22493         * include/fenv.h (fegetround): Use libm_hidden_proto.
22494         * math/fegetround.c (fegetround): Use libm_hidden_def.
22495         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22496         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22497         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22498         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22499         Likewise.
22500         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22501         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22502         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22503         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22505 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22507         [BZ #16077]
22508         * nss/Versions (libnss_files): Add
22509         _nss_files_gethostbyname3_r.
22510         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22511         New function.
22512         (HOST_DB_LOOKUP): Remove macro.
22513         (_nss_files_gethostbyname_r): Implement function without the
22514         HOST_DB_LOOKUP macro.
22515         (_nss_files_gethostbyname2_r): Likewise.
22517 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22519         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22521 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22523         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22524         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22525         warning.
22527 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22529         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22530         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22531         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22532         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22533         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22534         __fe_nomask_env_priv and attribute_hidden.
22535         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22536         (libc_feupdateenv_test_ppc): Likewise.
22537         (libc_feresetround_ppc): Likewise.
22538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22539         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22540         compat_symbol macro.
22541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22542         (__fe_nomask_env): Likewise.
22543         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22545 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22547         * string/Makefile: Remove ifunc tests.
22548         * string/test-string.h: Define TEST_IFUNC.
22549         * string/test-bcopy-ifunc.c: Remove.
22550         * string/test-bzero-ifunc.c: Likewise.
22551         * string/test-memccpy-ifunc.c: Likewise.
22552         * string/test-memchr-ifunc.c: Likewise.
22553         * string/test-memcmp-ifunc.c: Likewise.
22554         * string/test-memcpy-ifunc.c: Likewise.
22555         * string/test-memmem-ifunc.c: Likewise.
22556         * string/test-memmove-ifunc.c: Likewise.
22557         * string/test-mempcpy-ifunc.c: Likewise.
22558         * string/test-memrchr-ifunc.c: Likewise.
22559         * string/test-memset-ifunc.c: Likewise.
22560         * string/test-rawmemchr-ifunc.c: Likewise.
22561         * string/test-stpcpy-ifunc.c: Likewise.
22562         * string/test-stpncpy-ifunc.c: Likewise.
22563         * string/test-strcasecmp-ifunc.c: Likewise.
22564         * string/test-strcasestr-ifunc.c: Likewise.
22565         * string/test-strcat-ifunc.c: Likewise.
22566         * string/test-strchr-ifunc.c: Likewise.
22567         * string/test-strchrnul-ifunc.c: Likewise.
22568         * string/test-strcmp-ifunc.c: Likewise.
22569         * string/test-strcpy-ifunc.c: Likewise.
22570         * string/test-strcspn-ifunc.c: Likewise.
22571         * string/test-strlen-ifunc.c: Likewise.
22572         * string/test-strncasecmp-ifunc.c: Likewise.
22573         * string/test-strncat-ifunc.c: Likewise.
22574         * string/test-strncmp-ifunc.c: Likewise.
22575         * string/test-strncpy-ifunc.c: Likewise.
22576         * string/test-strnlen-ifunc.c: Likewise.
22577         * string/test-strpbrk-ifunc.c: Likewise.
22578         * string/test-strrchr-ifunc.c: Likewise.
22579         * string/test-strspn-ifunc.c: Likewise.
22580         * string/test-strstr-ifunc.c: Likewise.
22582 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22584         * benchtests/Makefile: Remove ifunc tests.
22585         * benchtests/bench-string.h: Define TEST_IFUNC.
22586         * benchtests/bench-bcopy-ifunc.c: Remove.
22587         * benchtests/bench-bzero-ifunc.c: Likewise.
22588         * benchtests/bench-memccpy-ifunc.c: Likewise.
22589         * benchtests/bench-memchr-ifunc.c: Likewise.
22590         * benchtests/bench-memcmp-ifunc.c: Likewise.
22591         * benchtests/bench-memcpy-ifunc.c: Likewise.
22592         * benchtests/bench-memmem-ifunc.c: Likewise.
22593         * benchtests/bench-memmove-ifunc.c: Likewise.
22594         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22595         * benchtests/bench-memrchr-ifunc.c: Likewise.
22596         * benchtests/bench-memset-ifunc.c: Likewise.
22597         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22598         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22599         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22600         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22601         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22602         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22603         * benchtests/bench-strcat-ifunc.c: Likewise.
22604         * benchtests/bench-strchr-ifunc.c: Likewise.
22605         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22606         * benchtests/bench-strcmp-ifunc.c: Likewise.
22607         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22608         * benchtests/bench-strcpy-ifunc.c: Likewise.
22609         * benchtests/bench-strcspn-ifunc.c: Likewise.
22610         * benchtests/bench-strlen-ifunc.c: Likewise.
22611         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22612         * benchtests/bench-strncat-ifunc.c: Likewise.
22613         * benchtests/bench-strncmp-ifunc.c: Likewise.
22614         * benchtests/bench-strncpy-ifunc.c: Likewise.
22615         * benchtests/bench-strnlen-ifunc.c: Likewise.
22616         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22617         * benchtests/bench-strrchr-ifunc.c: Likewise.
22618         * benchtests/bench-strsep-ifunc.c: Likewise.
22619         * benchtests/bench-strspn-ifunc.c: Likewise.
22620         * benchtests/bench-strstr-ifunc.c: Likewise.
22622 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22624         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22626 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22628         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22629         * rt/aio.h: Likewise.
22630         * sysdeps/gnu/bits/utmp.h: Likewise.
22631         * sysdeps/gnu/bits/utmpx.h: Likewise.
22632         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22633         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22634         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22635         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22636         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22637         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22638         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22639         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22640         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22641         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22642         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22643         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22644         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22646         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22647         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22648         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22649         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22650         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22651         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22652         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22653         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22654         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22655         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22656         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22658         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22659         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22660         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22661         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22662         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22663         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22664         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22665         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22666         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22667         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22668         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22669         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22670         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22671         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22672         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22673         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22675 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22677         [BZ #16245]
22678         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22679         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22681 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22683         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22684         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22685         Likewise.
22687 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22689         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22690         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22691         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22692         (__fesetround): Remove define.
22693         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22694         rounding and exceptions handling.
22695         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22696         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22697         (__fe_nomask_env): Likewise.
22698         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22699         __fegetround instead of fegetround.
22700         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22701         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22703 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22705         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22706         it's there.
22708         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22710 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22712         [BZ #11157]
22713         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22714         (encrypt_r): Likewise.
22715         * malloc/obstack.h (obstack_free): Likewise.
22716         * posix/unistd.h (encrypt): Likewise.
22718 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22720         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22721         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22722         DL_CALL_DT_FINI() that call the functions directly.
22723         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22724         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22725         * elf/dl-fini.c: Likewise.
22727 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22729         * malloc/hooks.c (memalign_check): Add alignment rounding.
22730         * malloc/malloc.c (_mid_memalign): New function.
22731         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22732         Implement by calling _mid_memalign.
22733         * manual/probes.texi (Memory Allocation Probes): Remove
22734         memory_valloc_retry and memory_pvalloc_retry.
22736 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22738         * locale/programs/locarchive.c (open_archive): Add const
22739         qualifier to ARCHIVEFNAME and copy default fname to
22740         DEFAULT_FNAME.
22742         [BZ #15601]
22743         * libio/tst-widetext.input: Rename Oriya to Odia.
22744         * locale/iso-639.def: Likewise.
22746         * manual/probes.texi (Mathematical Function Probes): Add
22747         documentation for sin, cos, asin and acos probes.
22748         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22749         (__sin32): Add slowasin probe.
22750         (__cos32): Add slowacos probe.
22751         (__mpsin): Add slowsin probe.
22752         (__mpcos): Add slowcos probe.
22754 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22756         [BZ #15483]
22757         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22758         thread-local __sim_exceptions_thread and global
22759         __sim_exceptions_global.
22760         (__sim_disabled_exceptions): Change to thread-local
22761         __sim_disabled_exceptions_thread and global
22762         __sim_disabled_exceptions_global.
22763         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22764         and global __sim_round_mode_global.
22765         (__simulate_exceptions): Use thread-local floating-point state and
22766         set global state from it as needed.
22767         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22768         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22769         __sim_round_mode_thread.
22770         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22771         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22772         and global __sim_exceptions_global.
22773         (__sim_disabled_exceptions): Change to thread-local
22774         __sim_disabled_exceptions_thread and global
22775         __sim_disabled_exceptions_global.
22776         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22777         and global __sim_round_mode_global.
22778         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22779         (SIM_SET_GLOBAL): Likewise.
22780         * sysdeps/powerpc/soft-fp/sfp-machine.h
22781         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22782         __sim_round_mode_thread.
22783         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22784         __sim_disabled_exceptions_thread.
22785         (__sim_exceptions): Change to __sim_exceptions_thread.
22786         (__sim_disabled_exceptions): Change to
22787         __sim_disabled_exceptions_thread.
22788         (__sim_round_mode): Change to __sim_round_mode_thread.
22789         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22790         thread-local floating-point state and set global state from it as
22791         needed.
22792         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22793         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22794         (__sim_disabled_exceptions): Remove extern declaration.
22795         (feenableexcept): Use thread-local floating-point state and set
22796         global state from it as needed.
22797         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22798         extern declaration.
22799         (__sim_disabled_exceptions): Likewise.
22800         (__sim_round_mode): Likewise.
22801         (__fegetenv): Use thread-local floating-point state.
22802         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22803         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22804         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22805         floating-point state and set global state from it as needed.
22806         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22807         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22808         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22809         Likewise.
22810         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22811         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22812         Likewise.
22813         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22814         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22815         Use __sim_round_mode_thread.
22816         * math/test-fenv-tls.c: New file.
22817         * math/Makefile (tests): Add test-fenv-tls.
22818         ($(objpfx)test-fenv-tls): Depend on
22819         $(common-objpfx)nptl/libpthread.so.
22821 2013-11-19  Andreas Schwab  <schwab@suse.de>
22823         * locale/programs/locale.c (show_info): Decode wordarray elements.
22824         * locale/categories.def (LC_MONETARY): Add element for
22825         _NL_MONETARY_CRNCYSTR.
22826         * locale/C-monetary.c (conversion_rate): New variable.
22827         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22828         element.
22830 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22832         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22833         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22835 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22837         * elf/Makefile (tst-auxv): New test.
22838         * elf/tst-auxv.c: New
22839         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22841 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22843         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22844         (hidden_proto): Caller changed.
22845         (hidden_tls_proto): New macro.
22846         (libc_hidden_tls_proto): Likewise.
22847         (rtld_hidden_tls_proto): Likewise.
22848         (libm_hidden_tls_proto): Likewise.
22849         (libresolv_hidden_tls_proto): Likewise.
22850         (librt_hidden_tls_proto): Likewise.
22851         (libdl_hidden_tls_proto): Likewise.
22852         (libnss_files_hidden_tls_proto): Likewise.
22853         (libnsl_hidden_tls_proto): Likewise.
22854         (libnss_nisplus_hidden_tls_proto): Likewise.
22855         (libutil_hidden_tls_proto): Likewise.
22857 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22859         [BZ #10253]
22860         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22861         (decompose_rpath): Defer expansion to fillin_rpath.
22862         (_dl_init_paths): Pass linkmap to fillin_rpath.
22864 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22866         * benchtests/Makefile: Add strsep.
22867         * benchtests/bench-strsep.c: New file: strsep benchtest.
22868         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22870 2013-11-18  Andreas Schwab  <schwab@suse.de>
22872         * locale/programs/locale.c (show_info) [case byte]: Check for
22873         '\377' instead of '\177'.
22874         * locale/C-monetary.c (not_available): Always use "\377".
22875         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22876         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22877         detect unavailable sign_posn locale elements.
22878         * locale/localeconv.c (__localeconv): For grouping and
22879         mon_grouping handle "\177" and "\377" like no grouping.
22880         (INT_ELEM): New macro.  Use it to set all numeric members.
22881         * locale/programs/ld-monetary.c (monetary_read)
22882         <tok_mon_grouping>: Normalize single -1 to the empty string.
22883         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22884         Likewise.
22886 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22888         [BZ #16055]
22889         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22890         when we match (nil).
22891         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22893 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22895         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22896         (NO_TEST_INLINE): Update value.
22897         (ERRNO_UNCHANGED): Likewise.
22898         (ERRNO_EDOM): Likewise.
22899         (ERRNO_ERANGE): Likewise.
22900         (IGNORE_RESULT): Likewise.
22901         (check_float_internal): Check signs of NaN results if
22902         TEST_NAN_SIGN used.
22903         (check_complex): Pass TEST_NAN_SIGN flag through to second
22904         check_float_internal call.
22905         (copysign_test_data): Add tests with quiet NaNs as second
22906         argument.  Use TEST_NAN_SIGN.
22907         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22908         TEST_NAN_SIGN.
22909         (signbit_test_data): Add tests of quiet NaN argument.
22910         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22912         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22913         $ignore_result.
22914         (parse_args): Handle function results specified as IGNORE.
22915         * math/libm-test.inc (IGNORE_RESULT): New macro.
22916         (check_float_internal): Do not check numerical result if flag
22917         IGNORE_RESULT set.
22918         (check_complex): Pass through IGNORE_RESULT to second
22919         check_float_internal call.
22920         (check_int): Do not check numerical result if flag IGNORE_RESULT
22921         set.
22922         (check_long): Likewise.
22923         (check_bool): Likewise.
22924         (check_longlong): Likewise.
22925         (lrint_test_data): Add tests of infinite and NaN arguments.
22926         (lrint_tonearest_test_data): Likewise.
22927         (lrint_towardzero_test_data): Likewise.
22928         (lrint_downward_test_data): Likewise.
22929         (lrint_upward_test_data): Likewise.
22930         (llrint_test_data): Likewise.
22931         (llrint_tonearest_test_data): Likewise.
22932         (llrint_towardzero_test_data): Likewise.
22933         (llrint_downward_test_data): Likewise.
22934         (llrint_upward_test_data): Likewise.
22935         (lround_test_data): Likewise.
22936         (llround_test_data): Likewise.
22938         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22939         (ERRNO_UNCHANGED): Update value.
22940         (ERRNO_EDOM): Likewise.
22941         (ERRNO_ERANGE): Likewise.
22942         (NO_TEST_INLINE_FLOAT): New macro.
22943         (NO_TEST_INLINE_DOUBLE): Likewise.
22944         (enable_test): New function.
22945         (RUN_TEST_f_f): Check enable_test before running test.
22946         (RUN_TEST_2_f): Likewise.
22947         (RUN_TEST_fff_f): Likewise.
22948         (RUN_TEST_c_f): Likewise.
22949         (RUN_TEST_f_f1): Likewise.
22950         (RUN_TEST_fF_f1): Likewise.
22951         (RUN_TEST_fI_f1): Likewise.
22952         (RUN_TEST_ffI_f1): Likewise.
22953         (RUN_TEST_c_c): Likewise.
22954         (RUN_TEST_cc_c): Likewise.
22955         (RUN_TEST_f_i): Likewise.
22956         (RUN_TEST_f_i_tg): Likewise.
22957         (RUN_TEST_ff_i_tg): Likewise.
22958         (RUN_TEST_f_b): Likewise.
22959         (RUN_TEST_f_b_tg): Likewise.
22960         (RUN_TEST_f_l): Likewise.
22961         (RUN_TEST_f_L): Likewise.
22962         (RUN_TEST_fFF_11): Likewise.
22963         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22964         conditionals.
22965         (cosh_test_data): Likewise.
22966         (exp_test_data): Likewise.
22967         (expm1_test_data): Likewise.
22968         (hypot_test_data): Likewise.
22969         (pow_test_data): Likewise.
22970         (sinh_test_data): Likewise.
22971         (tanh_test_data): Likewise.
22972         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22973         flags argument.
22975         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22976         tests with quiet NaN input and output.
22977         (acosh_test_data): Likewise.
22978         (asin_test_data): Likewise.
22979         (asinh_test_data): Likewise.
22980         (atan_test_data): Likewise.
22981         (atanh_test_data): Likewise.
22982         (atan2_test_data): Likewise.
22983         (cbrt_test_data): Likewise.
22984         (cos_test_data): Likewise.
22985         (cosh_test_data): Likewise.
22986         (erf_test_data): Likewise.
22987         (erfc_test_data): Likewise.
22988         (exp_test_data): Likewise.
22989         (exp10_test_data): Likewise.
22990         (exp2_test_data): Likewise.
22991         (expm1_test_data): Likewise.
22992         (hypot_test_data): Likewise.
22993         (j0_test_data): Likewise.
22994         (j1_test_data): Likewise.
22995         (jn_test_data): Likewise.
22996         (lgamma_test_data): Likewise.
22997         (log_test_data): Likewise.
22998         (log10_test_data): Likewise.
22999         (log1p_test_data): Likewise.
23000         (log2_test_data): Likewise.
23001         (pow_test_data): Likewise.
23002         (scalb_test_data): Likewise.
23003         (sin_test_data): Likewise.
23004         (sincos_test_data): Likewise.
23005         (sinh_test_data): Likewise.
23006         (tan_test_data): Likewise.
23007         (tanh_test_data): Likewise.
23008         (tgamma_test_data): Likewise.
23009         (y0_test_data): Likewise.
23010         (y1_test_data): Likewise.
23011         (yn_test_data): Likewise.
23013         [BZ #16167]
23014         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23015         argument being NaN and avoid computations with second argument in
23016         that case.
23017         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23018         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23019         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23021 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23023         * locale/iso-639.def: Add Chitwani Tharu (the).
23025 2013-11-14  Andreas Schwab  <schwab@suse.de>
23027         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23028         word instead of empty string.
23030 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23033         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23035         (__fe_nomask_env): Likewise.
23037 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23039         * benchtests/bench-timing.h: Include time.h.
23041 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23043         [BZ #15997]
23044         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23045         to 3.4.0 for x32.
23046         * sysdeps/unix/sysv/linux/configure: Regenerated.
23048 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23050         [BZ #16151]
23051         * stdlib/strtod_l.c (round_and_return): Do not consider
23052         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23053         exponent one less than half the least subnormal exponent.
23054         * stdlib/test-strtod-round-data: Add more tests.
23055         * stdlib/tst-strtod-round.c (tests): Regenerated.
23057 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23059         [BZ #14143]
23060         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23061         (__fe_mask_env): Likewise.
23062         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23063         libm_hidden_proto and add function prototype.
23064         (__fe_mask_env): Add function prototype.
23065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23066         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23068         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23070         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23072 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23074         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23075         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23077 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23079         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23080         of htab_find_slot().
23082 2013-11-11  David S. Miller  <davem@davemloft.net>
23084         [BZ #16150]
23085         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23086         symbol in the non-vis3 case in static builds.
23087         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23088         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23089         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23090         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23092 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23094         [BZ #387]
23095         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23096         it is empty.
23098 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23100         * benchtests/Makefile: Add bench-strtod.
23101         * benchtests/bench-strtod.c: New file: strtod benchtest
23103 2013-11-11  Andreas Schwab  <schwab@suse.de>
23105         [BZ #16153]
23106         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23107         terminating NUL in key length.
23109 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23111         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23112         Add artificial ODP entry for vDSO symbol for PPC64.
23113         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23114         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23116 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23118         [BZ #15374]
23119         * nss/getent.c (services_keys): Recognize services starting with digit.
23121 2013-11-06  David S. Miller  <davem@davemloft.net>
23123         [BZ #15985]
23124         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23125         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23127 2013-11-06  Will Newton  <will.newton@linaro.org>
23129         * manual/memory.texi (Malloc Examples): Remove register
23130         keyword from examples.
23132 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23134         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23136 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23138         [BZ #6981]
23139         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23140         depending on [__GCC_IEC_559 > 0].
23141         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23142         depending on [__GCC_IEC_559_COMPLEX > 0].
23144 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23146         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23147         to iso-639.def.
23149 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23151         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23153 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23155         [BZ #16112]
23156         * malloc/malloc (malloc_info): Do not handle first bin as
23157         special case.
23159 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23161         * locale/iso-639.def: Add Central Nahuatl (nhn).
23163 2013-11-01  Bruno Haible  <bruno@clisp.org>
23165         [BZ #7003]
23166         * manual/math.texi (BSD Random): Specify range upper bound as
23167         in POSIX.
23169 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23171         * locale/iso-639.def: Add Meadow Mari (mhr).
23173 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23175         [BZ #14752], [BZ #15763]
23176         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23177         Validate name.
23178         * rt/tst_shm.c: Add test for escaping directory.
23180 2013-10-31  Andreas Schwab  <schwab@suse.de>
23182         [BZ #15917]
23183         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23184         followed by 'x' as part of digit sequence.
23185         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23187 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23189         [BZ #16037]
23190         * configure.ac: allow GNU Make 4.0 and greater.
23191         * configure: Regenerated.
23193 2013-10-30  Will Newton  <will.newton@linaro.org>
23195         [BZ #16038]
23196         * malloc/hooks.c (memalign_check): Limit alignment to the
23197         maximum representable power of two.
23198         * malloc/malloc.c (__libc_memalign): Likewise.
23199         * malloc/tst-memalign.c (do_test): Add test for very
23200         large alignment values.
23201         * malloc/tst-posix_memalign.c (do_test): Likewise.
23203 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23205         [BZ #11087]
23206         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23207         (munmap_chunk): Likewise.
23208         (mremap_chunk): Likewise.
23210 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23212         [BZ #15799]
23213         * stdlib/div.c (div): Remove obsolete code.
23214         * stdlib/ldiv.c (ldiv): Likewise.
23215         * stdlib/lldiv.c (lldiv): Likewise.
23217 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23219         [BZ #16071]
23220         * nss/nss_files/files-XXX.c (get_contents_ret): New
23221         enumerator.
23222         (get_contents): New function.
23223         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23225 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23227         * configure.in: Moved to ...
23228         * configure.ac: ... here. Change reference to configure.in
23229         to configure.ac.
23230         * sysdeps/arm/preconfigure.ac: ... here.
23231         configure.in to configure.ac.
23232         * sysdeps/gnu/configure.in: Moved to ...
23233         * sysdeps/gnu/configure.ac: ... here.
23234         * sysdeps/i386/configure.in: Moved to ...
23235         * sysdeps/i386/configure.ac: ... here.
23236         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23237         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23238         * sysdeps/mach/configure.in: Moved to ...
23239         * sysdeps/mach/configure.ac: ... here.
23240         * sysdeps/mach/hurd/configure.in: Moved to ...
23241         * sysdeps/mach/hurd/configure.ac: ... here.
23242         * sysdeps/powerpc/configure.in: Moved to ...
23243         * sysdeps/powerpc/configure.ac: ... here.
23244         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23245         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23246         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23247         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23248         * sysdeps/s390/s390-32/configure.in: Moved to ...
23249         * sysdeps/s390/s390-32/configure.ac: ... here.
23250         * sysdeps/s390/s390-64/configure.in: Moved to ...
23251         * sysdeps/s390/s390-64/configure.ac: ... here.
23252         * sysdeps/sh/configure.in: Moved to ...
23253         * sysdeps/sh/configure.ac: ... here.
23254         * sysdeps/sparc/configure.in: Moved to ...
23255         * sysdeps/sparc/configure.ac: ... here.
23256         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23257         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23258         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23259         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23260         * sysdeps/x86_64/configure.in: Moved to ...
23261         * sysdeps/x86_64/configure.ac: ... here.
23262         * sysdeps/x86_64/preconfigure.in: Moved to ...
23263         * sysdeps/x86_64/preconfigure.ac: ... here.
23264         * aclocal.m4: Change reference to configure.in to configure.ac.
23265         * config.h.in: Likewise.
23266         * manual/install.texi: Likewise.
23267         * manual/maint.texi: Likewise.
23268         * Makefile: Likewise.
23269         * malloc/Makefile: Likewise.
23270         * nscd/Makefile: Likewise.
23271         * Makeconfig: Change reference to configure.in and
23272         preconfigure.in to configure.ac and preconfigure.ac
23273         respectively.
23274         * INSTALL: Regenerated.
23275         * configure: Likewise.
23276         * sysdeps/gnu/configure: Likewise.
23277         * sysdeps/i386/configure: Likewise.
23278         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23279         * sysdeps/mach/configure: Likewise.
23280         * sysdeps/mach/hurd/configure: Likewise.
23281         * sysdeps/powerpc/configure: Likewise.
23282         * sysdeps/powerpc/powerpc32/configure: Likewise.
23283         * sysdeps/powerpc/powerpc64/configure: Likewise.
23284         * sysdeps/s390/s390-32/configure: Likewise.
23285         * sysdeps/s390/s390-64/configure: Likewise.
23286         * sysdeps/sh/configure: Likewise.
23287         * sysdeps/sparc/configure: Likewise.
23288         * sysdeps/unix/sysv/linux/configure: Likewise.
23289         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23290         * sysdeps/x86_64/configure: Likewise.
23291         * sysdeps/x86_64/preconfigure: Likewise.
23293 2013-10-29  Andreas Schwab  <schwab@suse.de>
23295         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23297 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23299         * benchtests/pow-inputs: Add new inputs.
23301         * benchtests/exp-inputs: Add new inputs.
23303         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23304         conditional check for return value.
23305         (__cos32): Likewise.
23307 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23309         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23310         to provide a boost for large inputs with word alignment.
23311         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23312         implementation based on optimized PPC64 strcpy.
23313         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23314         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23315         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23316         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23318 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23320         [BZ #2801]
23321         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23323 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23325         [BZ #14876]
23326         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23327         * time/tst-strptime.c (day_tests): Add testcase.
23329 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23331         [BZ #14029]
23332         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23334 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23336         [BZ #16074]
23337         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23338         MAP_FAILED on error.
23340 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23342         [BZ #16072]
23343         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23344         heap for large requests.
23346 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23348         [BZ #9954]
23349         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23350         result if the result has no associated interface.
23351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23352         interface for all 127.X.Y.Z addresses.
23354 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23356         * locale/iso-639.def: Add Ligurian (lij)
23358 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23360         [BZ #15825]
23361         * sunrpc/rpc_main.c: Document rpcgen -5.
23363 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23365         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23367 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23369         [BZ #10278]
23370         * posix/glob.c: Match only directories when trailing slash is present.
23371         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23372         (main): Add testcase.
23374 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23376         [BZ #15670]
23377         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23379 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23381         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23382         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23383         AUTH_DES and cindex for FIPS 140-2.
23384         (DES Encryption): Add cindex FIPS 46-3.
23386         * locale/locarchive.h (struct locarhandle): Add fname.
23387         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23388         if an optional argument was specified to --list-archive,
23389         otherwise NULL.
23390         * locale/programs/locarchive.c (show_archive_content): Take new
23391         argument fname and pass it via ah.fname to open_archive.
23392         * locale/programs/localedef.h: Update decl.
23393         (open_archive): If AH->fname is non-null, open that file
23394         rather than the default file name, and don't ignore ENOENT.
23395         (create_archive): Set AH.fname to NULL.
23396         (delete_locales_from_archive): Likewise.
23397         (add_locales_to_archive): Likewise.
23398         * locale/programs/locfile.c (write_all_categories): Likewise.
23400 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23401             Aldy Hernandez  <aldyh@redhat.com>
23403         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23404         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23405         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23406         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23407         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23408         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23409         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23411         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23412         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23413         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23414         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23415         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23416         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23417         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23418         Likewise.
23419         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23420         Likewise.
23421         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23422         Likewise.
23423         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23424         Likewise.
23425         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23426         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23427         Likewise.
23428         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23429         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23430         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23431         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23432         Likewise.
23433         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23434         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23435         * sysdeps/powerpc/preconfigure: Likewise.
23436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23437         Likewise.
23438         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23439         Replace contents of file by #include of <fenv_libc.h>.
23440         * sysdeps/powerpc/soft-fp/sfp-machine.h
23441         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23442         and <sys/prctl.h>.
23443         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23445         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23446         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23448         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23451         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23454         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23456         Allow copysignl PLT reference to be missing.
23458 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23459             Joseph Myers  <joseph@codesourcery.com
23461         [BZ #15948]
23462         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23463         single character.
23464         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23466 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23468         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23469         * elf/tst-tls1.c: Likewise.
23470         * elf/tst-tls10.h: Likewise.
23471         * elf/tst-tls14.c: Likewise.
23472         * elf/tst-tls2.c: Likewise.
23473         * elf/tst-tls3.c: Likewise.
23474         * elf/tst-tls4.c: Likewise.
23475         * elf/tst-tls5.c: Likewise.
23476         * elf/tst-tls6.c: Likewise.
23477         * elf/tst-tls7.c: Likewise.
23478         * elf/tst-tls8.c: Likewise.
23479         * elf/tst-tls9.c: Likewise.
23480         * elf/tst-tlsmod1.c: Likewise.
23481         * elf/tst-tlsmod13.c: Likewise.
23482         * elf/tst-tlsmod13a.c: Likewise.
23483         * elf/tst-tlsmod14a.c: Likewise.
23484         * elf/tst-tlsmod16a.c: Likewise.
23485         * elf/tst-tlsmod16b.c: Likewise.
23486         * elf/tst-tlsmod2.c: Likewise.
23487         * elf/tst-tlsmod3.c: Likewise.
23488         * elf/tst-tlsmod4.c: Likewise.
23489         * elf/tst-tlsmod5.c: Likewise.
23490         * elf/tst-tlsmod6.c: Likewise.
23492 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23494         [BZ #12486]
23495         * malloc/malloc.c: remove checks for statistics.
23497 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23499         [BZ #15277]
23500         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23501         * inet/tst-network.c: Add testcase.
23503 2013-10-17  Andreas Schwab  <schwab@suse.de>
23505         [BZ #15218]
23506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23507         to determine canonical name.
23509 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23511         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23512         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23514         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23516         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23517         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23518         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23519         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23520         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23521         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23522         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23523         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23524         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23525         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23526         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23528         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23529         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23530         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23531         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23532         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23534         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23535         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23536         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23537         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23538         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23539         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23540         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23541         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23542         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23543         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23544         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23545         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23546         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23547         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23548         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23549         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23550         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23551         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23552         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23553         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23554         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23555         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23556         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23557         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23558         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23559         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23560         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23561         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23562         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23563         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23564         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23565         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23566         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23568         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23570 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23572         [BZ #16041]
23573         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23574         make result into a quiet NaN.
23576 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23578         * soft-fp/adddf3.c: Fix horizontal whitespace.
23579         * soft-fp/addsf3.c: Likewise.
23580         * soft-fp/addtf3.c: Likewise.
23581         * soft-fp/divdf3.c: Likewise.
23582         * soft-fp/divsf3.c: Likewise.
23583         * soft-fp/divtf3.c: Likewise.
23584         * soft-fp/double.h: Likewise.
23585         * soft-fp/eqdf2.c: Likewise.
23586         * soft-fp/eqsf2.c: Likewise.
23587         * soft-fp/eqtf2.c: Likewise.
23588         * soft-fp/extenddftf2.c: Likewise.
23589         * soft-fp/extended.h: Likewise.
23590         * soft-fp/extendsfdf2.c: Likewise.
23591         * soft-fp/extendsftf2.c: Likewise.
23592         * soft-fp/extendxftf2.c: Likewise.
23593         * soft-fp/fixdfdi.c: Likewise.
23594         * soft-fp/fixdfsi.c: Likewise.
23595         * soft-fp/fixdfti.c: Likewise.
23596         * soft-fp/fixsfdi.c: Likewise.
23597         * soft-fp/fixsfsi.c: Likewise.
23598         * soft-fp/fixsfti.c: Likewise.
23599         * soft-fp/fixtfdi.c: Likewise.
23600         * soft-fp/fixtfsi.c: Likewise.
23601         * soft-fp/fixtfti.c: Likewise.
23602         * soft-fp/fixunsdfdi.c: Likewise.
23603         * soft-fp/fixunsdfsi.c: Likewise.
23604         * soft-fp/fixunsdfti.c: Likewise.
23605         * soft-fp/fixunssfdi.c: Likewise.
23606         * soft-fp/fixunssfsi.c: Likewise.
23607         * soft-fp/fixunssfti.c: Likewise.
23608         * soft-fp/fixunstfdi.c: Likewise.
23609         * soft-fp/fixunstfsi.c: Likewise.
23610         * soft-fp/fixunstfti.c: Likewise.
23611         * soft-fp/floatdidf.c: Likewise.
23612         * soft-fp/floatdisf.c: Likewise.
23613         * soft-fp/floatditf.c: Likewise.
23614         * soft-fp/floatsidf.c: Likewise.
23615         * soft-fp/floatsisf.c: Likewise.
23616         * soft-fp/floatsitf.c: Likewise.
23617         * soft-fp/floattidf.c: Likewise.
23618         * soft-fp/floattisf.c: Likewise.
23619         * soft-fp/floattitf.c: Likewise.
23620         * soft-fp/floatundidf.c: Likewise.
23621         * soft-fp/floatundisf.c: Likewise.
23622         * soft-fp/floatunditf.c: Likewise.
23623         * soft-fp/floatunsidf.c: Likewise.
23624         * soft-fp/floatunsisf.c: Likewise.
23625         * soft-fp/floatunsitf.c: Likewise.
23626         * soft-fp/floatuntidf.c: Likewise.
23627         * soft-fp/floatuntisf.c: Likewise.
23628         * soft-fp/floatuntitf.c: Likewise.
23629         * soft-fp/fmadf4.c: Likewise.
23630         * soft-fp/fmasf4.c: Likewise.
23631         * soft-fp/fmatf4.c: Likewise.
23632         * soft-fp/gedf2.c: Likewise.
23633         * soft-fp/gesf2.c: Likewise.
23634         * soft-fp/getf2.c: Likewise.
23635         * soft-fp/ledf2.c: Likewise.
23636         * soft-fp/lesf2.c: Likewise.
23637         * soft-fp/letf2.c: Likewise.
23638         * soft-fp/muldf3.c: Likewise.
23639         * soft-fp/mulsf3.c: Likewise.
23640         * soft-fp/multf3.c: Likewise.
23641         * soft-fp/negdf2.c: Likewise.
23642         * soft-fp/negsf2.c: Likewise.
23643         * soft-fp/negtf2.c: Likewise.
23644         * soft-fp/op-1.h: Likewise.
23645         * soft-fp/op-2.h: Likewise.
23646         * soft-fp/op-4.h: Likewise.
23647         * soft-fp/op-8.h: Likewise.
23648         * soft-fp/op-common.h: Likewise.
23649         * soft-fp/quad.h: Likewise.
23650         * soft-fp/single.h: Likewise.
23651         * soft-fp/soft-fp.h: Likewise.
23652         * soft-fp/sqrtdf2.c: Likewise.
23653         * soft-fp/sqrtsf2.c: Likewise.
23654         * soft-fp/sqrttf2.c: Likewise.
23655         * soft-fp/subdf3.c: Likewise.
23656         * soft-fp/subsf3.c: Likewise.
23657         * soft-fp/subtf3.c: Likewise.
23658         * soft-fp/truncdfsf2.c: Likewise.
23659         * soft-fp/trunctfdf2.c: Likewise.
23660         * soft-fp/trunctfsf2.c: Likewise.
23661         * soft-fp/trunctfxf2.c: Likewise.
23662         * soft-fp/unorddf2.c: Likewise.
23663         * soft-fp/unordsf2.c: Likewise.
23664         * soft-fp/unordtf2.c: Likewise.
23666 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23668         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23669         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23671 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23673         * elf/dl-libc.c: Clear initfini list after freeing.
23675 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23677         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23678         * soft-fp/addsf3.c: Likewise.
23679         * soft-fp/addtf3.c: Likewise.
23680         * soft-fp/divdf3.c: Likewise.
23681         * soft-fp/divsf3.c: Likewise.
23682         * soft-fp/divtf3.c: Likewise.
23683         * soft-fp/double.h: Likewise.
23684         * soft-fp/eqdf2.c: Likewise.
23685         * soft-fp/eqsf2.c: Likewise.
23686         * soft-fp/eqtf2.c: Likewise.
23687         * soft-fp/extenddftf2.c: Likewise.
23688         * soft-fp/extended.h: Likewise.
23689         * soft-fp/extendsfdf2.c: Likewise.
23690         * soft-fp/extendsftf2.c: Likewise.
23691         * soft-fp/extendxftf2.c: Likewise.
23692         * soft-fp/fixdfdi.c: Likewise.
23693         * soft-fp/fixdfsi.c: Likewise.
23694         * soft-fp/fixdfti.c: Likewise.
23695         * soft-fp/fixsfdi.c: Likewise.
23696         * soft-fp/fixsfsi.c: Likewise.
23697         * soft-fp/fixsfti.c: Likewise.
23698         * soft-fp/fixtfdi.c: Likewise.
23699         * soft-fp/fixtfsi.c: Likewise.
23700         * soft-fp/fixtfti.c: Likewise.
23701         * soft-fp/fixunsdfdi.c: Likewise.
23702         * soft-fp/fixunsdfsi.c: Likewise.
23703         * soft-fp/fixunsdfti.c: Likewise.
23704         * soft-fp/fixunssfdi.c: Likewise.
23705         * soft-fp/fixunssfsi.c: Likewise.
23706         * soft-fp/fixunssfti.c: Likewise.
23707         * soft-fp/fixunstfdi.c: Likewise.
23708         * soft-fp/fixunstfsi.c: Likewise.
23709         * soft-fp/fixunstfti.c: Likewise.
23710         * soft-fp/floatdidf.c: Likewise.
23711         * soft-fp/floatdisf.c: Likewise.
23712         * soft-fp/floatditf.c: Likewise.
23713         * soft-fp/floatsidf.c: Likewise.
23714         * soft-fp/floatsisf.c: Likewise.
23715         * soft-fp/floatsitf.c: Likewise.
23716         * soft-fp/floattidf.c: Likewise.
23717         * soft-fp/floattisf.c: Likewise.
23718         * soft-fp/floattitf.c: Likewise.
23719         * soft-fp/floatundidf.c: Likewise.
23720         * soft-fp/floatundisf.c: Likewise.
23721         * soft-fp/floatunsidf.c: Likewise.
23722         * soft-fp/floatunsisf.c: Likewise.
23723         * soft-fp/floatuntidf.c: Likewise.
23724         * soft-fp/floatuntisf.c: Likewise.
23725         * soft-fp/floatuntitf.c: Likewise.
23726         * soft-fp/fmadf4.c: Likewise.
23727         * soft-fp/fmasf4.c: Likewise.
23728         * soft-fp/fmatf4.c: Likewise.
23729         * soft-fp/gedf2.c: Likewise.
23730         * soft-fp/gesf2.c: Likewise.
23731         * soft-fp/getf2.c: Likewise.
23732         * soft-fp/ledf2.c: Likewise.
23733         * soft-fp/lesf2.c: Likewise.
23734         * soft-fp/letf2.c: Likewise.
23735         * soft-fp/muldf3.c: Likewise.
23736         * soft-fp/mulsf3.c: Likewise.
23737         * soft-fp/multf3.c: Likewise.
23738         * soft-fp/negdf2.c: Likewise.
23739         * soft-fp/negsf2.c: Likewise.
23740         * soft-fp/negtf2.c: Likewise.
23741         * soft-fp/op-1.h: Likewise.
23742         * soft-fp/op-2.h: Likewise.
23743         * soft-fp/op-4.h: Likewise.
23744         * soft-fp/op-8.h: Likewise.
23745         * soft-fp/op-common.h: Likewise.
23746         * soft-fp/quad.h: Likewise.
23747         * soft-fp/single.h: Likewise.
23748         * soft-fp/soft-fp.h: Likewise.
23749         * soft-fp/sqrtdf2.c: Likewise.
23750         * soft-fp/sqrtsf2.c: Likewise.
23751         * soft-fp/sqrttf2.c: Likewise.
23752         * soft-fp/subdf3.c: Likewise.
23753         * soft-fp/subsf3.c: Likewise.
23754         * soft-fp/subtf3.c: Likewise.
23755         * soft-fp/truncdfsf2.c: Likewise.
23756         * soft-fp/trunctfdf2.c: Likewise.
23757         * soft-fp/trunctfsf2.c: Likewise.
23758         * soft-fp/trunctfxf2.c: Likewise.
23759         * soft-fp/unorddf2.c: Likewise.
23760         * soft-fp/unordsf2.c: Likewise.
23761         * soft-fp/unordtf2.c: Likewise.
23763 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23765         [BZ #15672]
23766         * misc/error.c (error_tail): Fix possible buffer overflow.
23768 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23770         [BZ #13028]
23771         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23772         address.
23774 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23776         [BZ #832]
23777         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23778         testing pipefail option.
23780 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23782         * soft-fp/double.h: Indent preprocessor directives inside #if.
23783         * soft-fp/extended.h: Likewise.
23784         * soft-fp/op-2.h: Likewise.
23785         * soft-fp/op-4.h: Likewise.
23786         * soft-fp/op-common.h: Likewise.
23787         * soft-fp/quad.h: Likewise.
23788         * soft-fp/single.h: Likewise.
23789         * soft-fp/soft-fp.h: Likewise.
23791 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23793         * iconv/iconv_prog.c: Fix typos.
23794         * stdio-common/psiginfo-data.h: Likewise.
23796 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23798         [BZ #15764]
23799         * locale/setlocale.c: Fix typo.
23801 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23803         [BZ #16036]
23804         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23805         signaling NaN arguments.
23806         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23807         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23809         [BZ #14910]
23810         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23811         unordered operands.
23812         * soft-fp/gesf2.c (__gesf2): Likewise.
23813         * soft-fp/getf2.c (__getf2): Likewise.
23814         * soft-fp/ledf2.c (__ledf2): Likewise.
23815         * soft-fp/lesf2.c (__lesf2): Likewise.
23816         * soft-fp/letf2.c (__letf2): Likewise.
23818         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23819         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23820         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23821         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23822         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23823         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23824         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23825         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23826         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23827         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23828         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23829         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23830         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23831         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23832         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23833         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23834         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23835         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23836         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23837         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23838         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23839         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23840         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23841         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23842         * soft-fp/floattidf.c (__floattidf): Likewise.
23843         * soft-fp/floattisf.c (__floattisf): Likewise.
23844         * soft-fp/floattitf.c (__floattitf): Likewise.
23845         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23846         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23847         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23848         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23849         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23850         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23851         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23852         * soft-fp/gesf2.c (__gesf2): Likewise.
23853         * soft-fp/getf2.c (__getf2): Likewise.
23854         * soft-fp/ledf2.c (__ledf2): Likewise.
23855         * soft-fp/lesf2.c (__lesf2): Likewise.
23856         * soft-fp/letf2.c (__letf2): Likewise.
23858         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23859         Undefine and redefine.
23860         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23861         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23862         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23863         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23864         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23865         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23866         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23867         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23868         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23869         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23870         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23871         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23872         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23873         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23874         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23876         [BZ #16032]
23877         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23878         without decrementing exponent if mantissa >= that for the
23879         denominator, not >.
23880         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23881         denominator, not >.  Decrement exponent in < case instead of
23882         incrementing in >= case.
23883         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23884         without decrementing exponent if mantissa >= that for the
23885         denominator, not >.
23887         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23888         computing saturated result for unsigned overflow.
23890 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23891             Jeff Law  <law@redhat.com>
23893         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23894         (atan2Mp): Add systemtap probe marker.
23895         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23896         (__ieee754_log): Add systemtap probe marker.
23897         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23898         (atanMp): Add systemtap probe marker.
23899         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23900         (tanMp): Add systemtap probe marker.
23901         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23902         (__slowexp): Add systemtap probe marker.
23903         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23904         (__slowpow): Add systemtap probe marker.
23905         * manual/probes.texi: Document probes.
23907 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23909         [BZ #15362]
23910         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23911         written.
23912         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23913         written.
23914         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23915         written to buffer but not flushed.
23916         * libio/iofwrite_u.c:  Likewise.
23917         * libio/iopadn.c:  Return bytes returned even if EOF was
23918         encountered.
23919         * libio/iowpadn.c:  Likewise.
23920         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23921         if _IO_padn does not write the whole buffer.
23922         [!COMPILE_WPRINTF] (PAD): Likewise.
23924 2013-10-10  David S. Miller  <davem@davemloft.net>
23926         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23927         directory block.
23929 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23931         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23932         instead of FSF address.
23933         * soft-fp/fixdfti.c: Likewise.
23934         * soft-fp/fixsfti.c: Likewise.
23935         * soft-fp/fixtfti.c: Likewise.
23936         * soft-fp/fixunsdfti.c: Likewise.
23937         * soft-fp/fixunssfti.c: Likewise.
23938         * soft-fp/fixunstfti.c: Likewise.
23939         * soft-fp/floattidf.c: Likewise.
23940         * soft-fp/floattisf.c: Likewise.
23941         * soft-fp/floattitf.c: Likewise.
23942         * soft-fp/floatuntidf.c: Likewise.
23943         * soft-fp/floatuntisf.c: Likewise.
23944         * soft-fp/floatuntitf.c: Likewise.
23945         * soft-fp/trunctfxf2.c: Likewise.
23947         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23948         * soft-fp/fixdfti.c: Likewise.
23949         * soft-fp/fixsfti.c: Likewise.
23950         * soft-fp/fixtfti.c: Likewise.
23951         * soft-fp/fixunsdfti.c: Likewise.
23952         * soft-fp/fixunssfti.c: Likewise.
23953         * soft-fp/fixunstfti.c: Likewise.
23954         * soft-fp/floattidf.c: Likewise.
23955         * soft-fp/floattisf.c: Likewise.
23956         * soft-fp/floattitf.c: Likewise.
23957         * soft-fp/floatuntidf.c: Likewise.
23958         * soft-fp/floatuntisf.c: Likewise.
23959         * soft-fp/floatuntitf.c: Likewise.
23960         * soft-fp/trunctfxf2.c: Likewise.
23962 2013-10-10  David S. Miller  <davem@davemloft.net>
23964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23966 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23968         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23969         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23970         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23971         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23972         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23973         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23974         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23976         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23977         for NaNs before doing comparisons on argument.
23978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23979         Likewise.
23981 2013-10-10  Will Newton  <will.newton@linaro.org>
23983         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23984         passed to _int_memalign does not overflow.
23986 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23988         * scripts/bench.pl: Add include-sources directive.
23989         * benchtests/README: Update documentation.
23991 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23993         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23994         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23995         instead of FP_INIT_ROUNDMODE.
23996         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23997         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23999         [BZ #16034]
24000         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24001         copy class of input value.
24002         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24003         not handle exceptions.
24004         * soft-fp/negsf2.c (__negsf2): Likewise.
24005         * soft-fp/negtf2.c (__negtf2): Likewise.
24006         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24008 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24010         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24011         semicolon.  From Linux kernel.
24013 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24015         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24017 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24019         [BZ #156]
24020         * manual/socket.texi: Added statement about buffer
24021         for gethostbyname2_r.
24023 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24025         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24026         Use .p2align directive instead, throughout.
24027         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24028         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24029         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24030         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24031         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24032         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24033         * sysdeps/x86_64/strchr.S: Likewise.
24034         * sysdeps/x86_64/strrchr.S: Likewise.
24036 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24038         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24040         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24042         * sysdeps/generic/math_private.h (__mpsin1): Remove
24043         declaration.
24044         (__mpcos1): Likewise.
24045         (__mpsin): New argument __range_reduce.
24046         (__mpcos): Likewise.
24047         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24048         (slow): Use __mpsin and __mpcos.
24049         (slow1): Likewise.
24050         (slow2): Likewise.
24051         (sloww): Likewise.
24052         (sloww1): Likewise.
24053         (sloww2): Likewise.
24054         (bsloww): Likewise.
24055         (bsloww1): Likewise.
24056         (bsloww2): Likewise.
24057         (cslow2): Likewise.
24058         (csloww): Likewise.
24059         (csloww1): Likewise.
24060         (csloww2): Likewise.
24061         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24062         range_reduce.  Merge in __mpsin1.
24063         (__mpcos): Likewise.
24064         (__mpsin1): Remove.
24065         (__mpcos1): Likewise.
24067 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24069         * locale/loadlocale.c (_nl_intern_locale_data): Use
24070         LOCFILE_ALIGNED_P.
24071         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24072         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24073         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24074         obstack data is appropriately aligned.
24075         (obstack_int32_grow_fast): Likewise.
24076         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24077         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24078         (add_locale_uint32_array): Likewise.
24080 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24082         * benchtests/Makefile: Remove ARGLIST and RET variables.
24083         ($(objpfx)bench-%.c): Pass only function name to the script.
24084         * benchtests/README: Update documentation.
24085         * benchtests/acos-inputs: Add new directives.
24086         * benchtests/acosh-inputs: Likewise.
24087         * benchtests/asin-inputs: Likewise.
24088         * benchtests/asinh-inputs: Likewise.
24089         * benchtests/atan-inputs: Likewise.
24090         * benchtests/atanh-inputs: Likewise.
24091         * benchtests/cos-inputs: Likewise.
24092         * benchtests/cosh-inputs: Likewise.
24093         * benchtests/exp-inputs: Likewise.
24094         * benchtests/log-inputs: Likewise.
24095         * benchtests/pow-inputs: Likewise.
24096         * benchtests/rint-inputs: Likewise.
24097         * benchtests/sin-inputs: Likewise.
24098         * benchtests/sinh-inputs: Likewise.
24099         * benchtests/tan-inputs: Likewise.
24100         * benchtests/tanh-inputs: Likewise.
24101         * scripts/bench.pl: Add support for new directives.
24103 2013-10-07  Alan Modra  <amodra@gmail.com>
24105         * README: Fix careless merge.
24107 2013-10-05  Alan Modra  <amodra@gmail.com>
24109         * NEWS: Mention powerpc64le support and bugs fixed.
24110         * README: Both big-endian and little-endian powerpc64 supported.
24112 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24114         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24115         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24116         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24117         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24119 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24121         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24122         match prototype.
24124 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24126         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24127         Move -mhard-float appending from
24128         ports/sysdeps/powerpc/powerpc32/Makefile.
24129         [$(with-fp) = yes] (ASFLAGS): Likewise.
24130         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24131         * sysdeps/powerpc/nofpu: Move directory from
24132         ports/sysdeps/powerpc/nofpu.
24133         * sysdeps/powerpc/soft-fp: Move directory from
24134         ports/sysdeps/powerpc/soft-fp.
24135         * sysdeps/powerpc/powerpc32/405: Move directory from
24136         ports/sysdeps/powerpc/powerpc32/405.
24137         * sysdeps/powerpc/powerpc32/440: Move directory from
24138         ports/sysdeps/powerpc/powerpc32/440.
24139         * sysdeps/powerpc/powerpc32/464: Move directory from
24140         ports/sysdeps/powerpc/powerpc32/464.
24141         * sysdeps/powerpc/powerpc32/476: Move directory from
24142         ports/sysdeps/powerpc/powerpc32/476.
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24144         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24146         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24148         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24150         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24152         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24153         * README: Update for powerpc-*-linux-gnu software floating point
24154         support in libc.
24156         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24157         case to powerpc/powerpc32*.
24158         * sysdeps/unix/sysv/linux/configure: Regenerated.
24160         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24161         (_FPU_MASK_OM): Define as 0x04.
24162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24164         0x00c10080.
24165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24166         0x0000003c.
24167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24170         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24171         getcontext_e500.
24172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24173         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24174         setcontext_e500.
24175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24176         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24177         and setcontext_e500.
24179 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24181         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24183 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24185         * manual/threads.texi (Default Thread Attributes): Fix typo.
24187 2013-10-04  Will Newton  <will.newton@linaro.org>
24189         * malloc/Makefile: Add tst-memalign.
24190         * malloc/tst-memalign.c: New file.
24192         * malloc/tst-posix_memalign.c: Add comments.
24193         (do_test): Add comments and call free on all potentially
24194         allocated pointers. Add space after cast.
24196         * malloc/tst-pvalloc.c: Add comments.
24197         (do_test): Add comments and call free on all potentially
24198         allocated pointers. Remove duplicate check for NULL pointer.
24199         Add space after cast.
24201         * malloc/tst-valloc.c: Add comments.
24202         (do_test): Add comments and call free on all potentially
24203         allocated pointers. Remove duplicate check for NULL pointer.
24204         Add space after cast.
24206 2013-10-04  Alan Modra  <amodra@gmail.com>
24208         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24209         Use stdint types in rather than __attribute__((mode())).
24210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24212 2013-10-04  Alan Modra  <amodra@gmail.com>
24214         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24215         Correct handling of unaligned relocs for little-endian.
24216         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24218 2013-10-04  Alan Modra  <amodra@gmail.com>
24220         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24221         * configure: Regenerate.
24222         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24223         * shlib-versions: Likewise.
24225 2013-10-04  Alan Modra  <amodra@gmail.com>
24227         * string/tester.c (test_memrchr): Increment reported test cycle.
24229 2013-10-04  Alan Modra  <amodra@gmail.com>
24231         * string/test-memcpy.c (do_one_test): When reporting errors, print
24232         string address and don't overrun end of string.
24234 2013-10-04  Alan Modra  <amodra@gmail.com>
24236         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24237         insrdi.  Make better use of reg selection to speed exit slightly.
24238         Schedule entry path a little better.  Remove useless "are we done"
24239         checks on entry to main loop.  Handle wrapping around zero address.
24240         Correct main loop count.  Handle single left-over word from main
24241         loop inline rather than by using loop_small.  Remove extra word
24242         case in loop_small caused by wrong loop count.  Add little-endian
24243         support.
24244         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24245         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24246         cache hint.
24247         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24248         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24249         support.  Avoid rlwimi.
24250         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24252 2013-10-04  Alan Modra  <amodra@gmail.com>
24254         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24255         insrdi.  Formatting.
24256         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24257         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24258         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24259         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24260         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24261         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24263 2013-10-04  Alan Modra  <amodra@gmail.com>
24265         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24266         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24267         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24268         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24269         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24270         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24271         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24272         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24273         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24274         use of regs.  Use power7 mtocrf.  Tidy function tails.
24276 2013-10-04  Alan Modra  <amodra@gmail.com>
24278         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24279         Formatting.  Consistently use rXXX register defines or rN defines.
24280         Use early exit labels that avoid restoring unused non-volatile regs.
24281         Make cr field use more consistent with rWORDn compares.  Rename
24282         regs used as shift registers for unaligned loop, using rN defines
24283         for short lifetime/multiple use regs.
24284         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24285         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24286         addi 1,1,64 to pop stack frame.  Simplify return value code.
24287         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24289 2013-10-04  Alan Modra  <amodra@gmail.com>
24291         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24292         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24293         rather than rlwimi.
24294         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24295         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24296         little-endian support.  Correct typos.
24297         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24298         rather than rlwimi.
24299         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24300         in loop and entry code to keep "and." results.
24301         (strchr): Add little-endian support.  Comment.  Move cntlzd
24302         earlier in tail.
24303         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24305 2013-10-04  Alan Modra  <amodra@gmail.com>
24307         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24308         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24309         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24310         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24312 2013-10-04  Alan Modra  <amodra@gmail.com>
24314         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24315         (rTMP): Define as r11.
24316         (strcmp): Add little-endian support.  Optimise tail.
24317         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24318         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24319         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24320         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24321         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24323         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24325 2013-10-04  Alan Modra  <amodra@gmail.com>
24327         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24328         little-endian support.  Remove unnecessary "are we done" tests.
24329         Handle "s" wrapping around zero and extremely large "size".
24330         Correct main loop count.  Handle single left-over word from main
24331         loop inline rather than by using small_loop.  Correct comments.
24332         Delete "zero" tail, use "end_max" instead.
24333         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24335 2013-10-04  Alan Modra  <amodra@gmail.com>
24337         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24338         support.  Don't branch over align.
24339         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24340         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24341         support.  Rearrange tmp reg use to suit.  Comment.
24342         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24344 2013-10-04  Alan Modra  <amodra@gmail.com>
24346         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24348 2013-10-04  Alan Modra  <amodra@gmail.com>
24350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24351         conditional form of branch and link when obtaining pc.
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24354 2013-10-04  Alan Modra  <amodra@gmail.com>
24356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24357         HIWORD/LOWORD.
24358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24361 2013-10-04  Alan Modra  <amodra@gmail.com>
24363         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24364         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24365         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24366         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24367         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24368         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24369         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24370         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24371         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24372         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24374 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24375             Alistair Popple <alistair@ozlabs.au.ibm.com>
24376             Alan Modra <amodra@gmail.com>
24378         [BZ #15723]
24379         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24380         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24381         _dl_hwcap access for little-endian.
24382         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24383         destroy vmx regs when saving unaligned.
24384         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24385         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24386         destroy vmx regs when saving unaligned.
24388 2013-10-04  Alan Modra  <amodra@gmail.com>
24390         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24391         Don't use a union to pack hi/low value.
24393 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24395         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24396         for little-endian.
24397         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24398         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24399         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24400         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24401         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24403 2013-10-04  Alan Modra  <amodra@gmail.com>
24405         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24406         constants to usual value for .cst8 section, and remove redundant
24407         high address load.
24408         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24409         constant for 0x1p52.  Load little-endian words of double from
24410         correct stack offsets.
24412 2013-10-04  Alan Modra  <amodra@gmail.com>
24414         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24415         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24416         words of double from correct stack offsets.
24417         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24418         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24419         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24420         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24421         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24422         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24423         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24424         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24425         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24426         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24427         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24429         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24430         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24431         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24432         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24433         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24435 2013-10-04  Alan Modra  <amodra@gmail.com>
24437         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24438         64-bit int/double union.
24439         (_FPU_SETCW): Likewise.
24440         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24441         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24443 2013-10-04  Alan Modra  <amodra@gmail.com>
24445         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24446         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24448 2013-10-04  Alan Modra  <amodra@gmail.com>
24450         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24451         use vector int constants.
24452         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24454 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24456         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24457         array with long long.
24458         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24459         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24460         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24461         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24462         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24463         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24464         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24465         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24466         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24467         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24468         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24469         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24470         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24472 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24474         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24475         (__signbit): Likewise.  Correct for little-endian.
24476         (__signbitl): Call __signbit.
24477         (lrint): Correct for little-endian.
24478         (lrintf): Call lrint.
24480 2013-10-04  Alan Modra  <amodra@gmail.com>
24482         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24483         union 32-bit int array member with 64-bit int array.
24484         (t515, tm256): Double rather than long double.
24485         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24487 2013-10-04  Alan Modra  <amodra@gmail.com>
24489         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24490         Delete.
24491         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24492         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24493         version of math_ldbl.h.
24495 2013-10-04  Alan Modra  <amodra@gmail.com>
24497         [BZ #15734], [BZ #15735]
24498         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24499         all uses of ieee875 long double macros and unions.  Simplify test
24500         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24501         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24502         normalize after ldbl_extract_mantissa, and don't add hidden bit
24503         already handled.  Don't treat low word of ieee854 mantissa like
24504         low word of IBM long double and mask off bit when testing for
24505         zero.
24506         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24507         all uses of ieee875 long double macros and unions.  Simplify tests
24508         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24509         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24510         two1022, instead use their values.  Recognise that tests for large
24511         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24512         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24513         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24514         test for 0.0L and nan.  Correct negation.
24515         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24516         ieee875 long double macros and unions.  Correct output for large
24517         magnitude x.  Correct absolute value calculation.
24518         (__erfcl): Likewise.
24519         * math/libm-test.inc: Add tests for errors discovered in IBM long
24520         double versions of fmodl, remainderl, erfl and erfcl.
24522 2013-10-04  Alan Modra  <amodra@gmail.com>
24524         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24525         all uses of ieee854 long double macros and unions.  Simplify tests
24526         for long doubles that are fully specified by the high double.
24527         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24528         Likewise.
24529         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24530         Remove dead code too.
24531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24532         (__ieee754_ynl): Likewise.
24533         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24534         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24535         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24536         Remove dead code too.
24537         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24538         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24539         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24540         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24541         Simplify.
24542         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24543         Simplify.
24544         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24547         Comment on variable precision.
24548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24550         Likewise.
24551         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24552         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24553         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24554         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24555         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24557 2013-10-04  Alan Modra  <amodra@gmail.com>
24559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24561         all uses of ieee854 long double macros and unions.
24562         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24564         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24566         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24567         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24568         Likewise.
24569         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24570         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24571         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24572         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24573         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24574         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24575         Simplify sign and nan test too.
24576         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24577         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24578         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24579         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24580         Likewise.
24581         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24582         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24583         Likewise.
24584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24585         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24586         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24587         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24588         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24591 2013-10-04  Alan Modra  <amodra@gmail.com>
24593         * stdio-common/printf_size.c (__printf_size): Don't use
24594         union ieee854_long_double in fpnum union.
24595         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24596         signbit macro to retrieve sign from long double.
24597         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24598         retrieve sign from long double.
24599         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24600         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24601         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24602         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24603         * math/test-misc.c (main): Don't use union ieee854_long_double.
24605 2013-10-04  Alan Modra  <amodra@gmail.com>
24607         [BZ #15680]
24608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24609         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24610         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24611         calculation.  Remove unnecessary test for denormal exponent.
24612         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24613         Correct handling of denormals.  Avoid undefined shift behaviour.
24614         Correct normalisation of low mantissa when low double is denormal.
24615         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24616         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24617         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24618         Correct normalisation of low mantissa.  Test for overflow of high
24619         mantissa and normalise.
24620         (ldbl_nearbyint): Use more readable constant for two52.
24621         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24622         (__mpn_construct_long_double): Fix test for overflow of high
24623         mantissa and correct normalisation.  Avoid undefined shift.
24625 2013-10-04  Alan Modra  <amodra@gmail.com>
24627         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24628         (union ibm_extended_long_double): Define as an array of ieee754_double.
24629         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24630         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24631         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24632         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24634         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24636         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24638         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24639         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24641 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24643         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24644         page size instead of calling getpagesize.
24646         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24647         (LOCFILE_ALIGN_MASK): Likewise.
24648         (LOCFILE_ALIGN_UP): Likewise.
24649         (LOCFILE_ALIGNED_P): Likewise.
24650         * locale/programs/ld-collate.c (collate_output): Use the new
24651         macros instead of __alignof__ (int32_t).
24652         * locale/weight.h (findidx): Likewise.
24654 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24656         [BZ #431]
24657         * manual/string.texi: Fix strncat and wcsncat.
24659 2013-10-03  Brooks Moses  <bmoses@google.com>
24661         [BZ #15915]
24662         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24663         * Makerules: ...here, and adjust associated comments.
24665 2013-10-02  Will Newton  <will.newton@linaro.org>
24667         * malloc/Makefile: Add tst-pvalloc.
24668         * malloc/tst-pvalloc.c: New file.
24670 2013-10-02  Will Newton  <will.newton@linaro.org>
24672         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24673         improve test coverage.
24675 2013-10-02  Will Newton  <will.newton@linaro.org>
24677         * malloc/Makefile: Add tst-posix_memalign.
24678         * malloc/tst-posix_memalign.c: New file.
24680 2013-10-01  Eric Blake  <eblake@redhat.com>
24682         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24683         Use __THROWNL rather than __THROW on static functions.
24685 2013-09-30  Petr Machata  <pmachata@redhat.com>
24687         * elf/elf.h (R_AARCH64_ABS16): New macro.
24688         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24689         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24690         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24691         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24692         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24693         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24694         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24695         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24696         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24697         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24698         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24699         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24700         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24701         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24702         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24703         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24704         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24705         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24706         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24707         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24708         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24709         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24710         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24711         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24712         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24713         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24714         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24715         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24716         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24717         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24718         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24719         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24720         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24721         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24722         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24723         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24724         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24725         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24726         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24727         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24728         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24729         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24730         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24731         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24732         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24733         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24734         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24735         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24736         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24737         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24738         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24739         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24740         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24741         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24742         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24743         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24744         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24745         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24746         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24747         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24748         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24749         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24750         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24751         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24752         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24753         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24754         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24755         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24756         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24757         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24758         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24759         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24760         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24761         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24762         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24763         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24764         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24765         (R_AARCH64_TLSDESC_LDR): Likewise.
24766         (R_AARCH64_TLSDESC_ADD): Likewise.
24767         (R_AARCH64_TLSDESC_CALL): Likewise.
24769 2013-09-30  Andreas Schwab  <schwab@suse.de>
24771         [BZ #15048]
24772         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24773         the nss database lookup.
24774         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24777 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24779         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24781 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24783         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24784         ${Bash-specific parameter/pattern/string} parameter expansion.
24785         * sysdeps/unix/make-syscalls.sh: Likewise.
24787 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24789         * sysdeps/sh/stackguard-macros.h: New file.
24791 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24795         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24796         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24797         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24798         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24800 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24802         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24803         Fix thread ID register.
24805 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24807         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24808         [POSIX || UNIX98]: Require rather than permitting all symbols from
24809         <time.h>.
24810         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24811         element of struct sched_param.
24812         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24813         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24814         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24815         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24816         constant.
24818 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24820         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24821         argument calculation.
24823 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24825         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24826         Expect macro.
24827         [POSIX] (pthread_attr_t): Do not require type.
24828         [POSIX] (pthread_cond_t): Likewise.
24829         [POSIX] (pthread_condattr_t): Likewise.
24830         [POSIX] (pthread_key_t): Likewise.
24831         [POSIX] (pthread_mutex_t): Likewise.
24832         [POSIX] (pthread_mutexattr_t): Likewise.
24833         [POSIX] (pthread_once_t): Likewise.
24834         [POSIX] (pthread_t): Likewise.
24835         [POSIX-based standards] (pthread_atfork): Expect function.
24837 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24838             Richard Sandiford  <richard@codesourcery.com>
24840         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24841         (swap_endianness_p): New extern variable.
24842         (set_big_endian): New inline function.
24843         (maybe_swap_uint32): Likewise.
24844         (maybe_swap_uint32_array): Likewise.
24845         (maybe_swap_uint32_obstack): Likewise.
24846         * locale/programs/locfile.c: Include <stdbool.h>.
24847         (swap_endianness_p): New variable.
24848         (add_locale_uint32): Call maybe_swap_uint32.
24849         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24850         (write_locale_data): Call maybe_swap_uint32_array.
24851         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24852         maybe_swap_uint32.
24853         (obstack_int32_grow_fast): Likewise.
24854         (output_weightwc): Call maybe_swap_uint32_obstack.
24855         (collate_output): Likewise.
24856         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24857         (OPT_LITTLE_ENDIAN): Likewise.
24858         (options): Add --little-endian and --big-endian options.
24859         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24860         * locale/programs/locarchive.c: Include "locfile.h".
24861         (GET): New macro.
24862         (SET): Likewise.
24863         (INC): Likewise.
24864         (create_archive): Use the new macros to access fields of
24865         structures directly mapped from or written to locale archives.
24866         (oldlocrecentcmp): Likewise.
24867         (enlarge_archive): Likewise.
24868         (insert_name): Likewise.
24869         (add_alias): Likewise.
24870         (add_locale): Likewise.
24871         (delete_locales_from_archive): Likewise.
24872         (show_archive_content): Likewise.
24873         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24874         locale data.
24876 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24878         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24879         http://www.gnu.org/doc/freemanuals.texi.
24880         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24882 2013-09-24  Will Newton  <will.newton@linaro.org>
24884         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24885         macro.
24887 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24889         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24890         unsigned char.
24892 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24894         * manual/threads.texi (POSIX Threads): Fix a typo.
24896 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24898         [BZ #14547]
24899         * string/tst-strcoll-overflow.c: New test case.
24900         * string/Makefile (xtests): Add tst-strcoll-overflow.
24901         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24902         cache if string sizes may cause integer overflow.
24904         [BZ #14547]
24905         * string/strcoll_l.c (coll_seq): New members rule, idx,
24906         save_idx and back_us.
24907         (get_next_seq_nocache): New function.
24908         (do_compare_nocache): New function.
24909         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24910         when malloc fails.
24912 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24914         [BZ #15754]
24915         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24916         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24917         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24919         [BZ #15754]
24920         * elf/Makefile (tests): Add tst-ptrguard1.
24921         (tests-static): Add tst-ptrguard1-static.
24922         (tst-ptrguard1-ARGS): Define.
24923         (tst-ptrguard1-static-ARGS): Define.
24924         * elf/tst-ptrguard1.c: New file.
24925         * elf/tst-ptrguard1-static.c: New file.
24926         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24927         * sysdeps/i386/stackguard-macros.h: Likewise.
24928         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24929         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24930         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24931         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24932         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24933         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24935 2013-09-23  Hector Marco  <hecmargi@upv.es>
24936             Ismael Ripoll  <iripoll@disca.upv.es>
24937             Carlos O'Donell  <carlos@redhat.com>
24939         [BZ #15754]
24940         * sysdeps/generic/stackguard-macros.h: Define
24941         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24942         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24943         Define __pointer_chk_guard_local.
24944         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24945         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24947 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24949         [BZ #15859]
24950         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24952 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24954         * include/string.h (__ffs): Declare as hidden.
24955         * string/ffs.c (__ffs): Define as hidden.
24956         * sysdeps/i386/ffs.c (__ffs): Likewise.
24957         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24958         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24959         * sysdeps/s390/ffs.c (__ffs): Likewise.
24960         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24962 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24964         * NEWS: Mention malloc probes.
24966         * malloc/arena.c (new_heap): New memory_heap_new probe.
24967         (grow_heap): New memory_heap_more probe.
24968         (shrink_heap): New memory_heap_less probe.
24969         (heap_trim): New memory_heap_free probe.
24970         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24971         (systrim): New memory_sbrk_less probe.
24972         * manual/probes.texi: Document them.
24974         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24975         * manual/probes.texi: Document it.
24977         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24978         (__libc_realloc): Add memory_realloc_retry probe.
24979         (__libc_memalign): Add memory_memalign_retry probe.
24980         (__libc_valloc): Add memory_valloc_retry probe.
24981         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24982         (__libc_calloc): Add memory_calloc_retry probe.
24983         * manual/probes.texi: Document them.
24985         * malloc/arena.c (get_free_list): Add probe
24986         memory_arena_reuse_free_list.
24987         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24988         and memory_arena_reuse.
24989         (arena_get2) [!PER_THREAD]: Likewise.
24990         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24991         memory_arena_reuse_realloc.
24992         * manual/probes.texi: Document them.
24994         * malloc/malloc.c (__libc_free): Add
24995         memory_mallopt_free_dyn_thresholds probe.
24996         (__libc_mallopt): Add multiple memory_mallopt probes.
24997         * manual/probes.texi: Document them.
24999         * malloc/malloc.c: Include stap-probe.h.
25000         (__libc_mallopt): Add memory_mallopt probe.
25001         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25002         * manual/probes.texi: New.
25003         * manual/Makefile (chapters): Add probes.
25004         * manual/threads.texi: Set next node.
25006 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25008         [BZ #15963, #13985]
25009         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25010         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25011         Add `Chinese' to `nan' entry name.
25013 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25015         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25016         (POLYNOMIAL): Likewise.
25017         (TAYLOR_SINCOS): Likewise.
25018         (TAYLOR_SLOW): Likewise.
25019         (__sin): Use TAYLOR_SINCOS.
25020         (__cos): Likewise.
25021         (slow): Use TAYLOR_SLOW.
25022         (sloww): Likewise.
25023         (bsloww): Likewise.
25024         (csloww): Likewise.
25026 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25028         * stdlib/strtod_l.c: Fix buffer overrun.
25030 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25032         * benchtests/Makefile (bench): Add sincos.
25033         * benchtests/bench-sincos.c: New file.
25035         * math/libm-test.inc (cos_test_data): New test inputs.
25036         (sin_test_data): Likewise.
25038         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25039         macro.
25040         (__sin): Use it.
25041         (__cos): Likewise.
25042         (slow1): Likewise.
25043         (slow2): Likewise.
25044         (sloww1): Likewise.
25045         (sloww2): Likewise.
25046         (bsloww1): Likewise.
25047         (bsloww2): Likewise.
25048         (cslow2): Likewise.
25049         (csloww1): Likewise.
25050         (csloww2): Likewise.
25052         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25053         function.
25054         (__sin): Use it.
25055         (__cos): Likewise.
25057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25058         gotos.
25059         (__cos): Likewise.
25061 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25063         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25064         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25065         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25066         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25067         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25068         * elf/cache.c (print_entry): Handle the new cache flags.
25070 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25071             Aldy Hernandez  <aldyh@redhat.com>
25073         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25074         Change condition to [_SOFT_FLOAT].
25075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25087         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25090         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25091         declaration.
25093 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25095         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25096         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25097         (__longjmp): Use LOAD_GP to load saved GPRs.
25098         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25099         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25100         (__sigsetjmp): Use SAVE_GP to save GPRs.
25102         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25103         Do not append -msoft-float.
25104         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25106 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25108         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25110 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25112         [BZ #15966]
25113         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25114         (_FPU_GETCW): Use initial "__" on variable and field names but not
25115         on macro parameter name.
25116         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25117         parentheses around reference to macro parameter.
25119 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25121         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25122         prototype.
25123         (ctype_startup): Use uint32_t in cast and sizeof for
25124         ctype->charnames.
25126 2013-09-11  Jia Liu  <proljc@gmail.com>
25128         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25129         __daddr_t_defined.
25130         [__FreeBSD__]: Likewise.
25132 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25135         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25136         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25137         (strchr): Remove __strchr_sse42 ifunc selection.
25138         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25139         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25141 2013-09-11  Will Newton  <will.newton@linaro.org>
25143         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25144         parameter to RES. Remove hardcoded 1000 value.
25145         * benchtests/bench-skeleton.c (main): Pass RES parameter
25146         to TIMING_INIT and multiply result by 1000.
25148 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25152 2013-09-11  Andreas Schwab  <schwab@suse.de>
25154         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25155         if not defined.
25156         (O_TMPFILE) [__USE_GNU]: Define.
25157         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25158         Define.
25160 2013-09-11  Will Newton  <will.newton@linaro.org>
25162         [BZ #15857]
25163         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25164         does not overflow.
25166 2013-09-11  Will Newton  <will.newton@linaro.org>
25168         [BZ #15856]
25169         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25170         does not overflow.
25172 2013-09-11  Will Newton  <will.newton@linaro.org>
25174         [BZ #15855]
25175         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25176         does not overflow.
25178 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25180         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25181         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25182         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25186 2013-09-10  Allan McRae  <allan@archlinux.org>
25188         [BZ #15748]
25189         * manual/arith.texi (Parsing of Floats): Clarify
25190         cross-reference.
25192         [BZ #15849]
25193         * manual/install.texi (Running make install): Mention
25194         --enable-pt-chown.
25195         * INSTALL: Regenerated.
25197 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25199         * csu/init-first.c (_init): Remove the !SHARED condition around
25200         FPU control word initialization.
25201         * elf/dl-support.c (_dl_fpu_control): New variable.
25202         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25203         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25204         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25205         * math/test-fpucw-static.c: New file.
25206         * math/test-fpucw-ieee.c: New file.
25207         * math/test-fpucw-ieee-static.c: New file.
25208         * math/Makefile (tests): Add `test-fpucw-ieee' and
25209         `$(tests-static)'.
25210         (tests-static): New variable.
25211         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25212         dependency to...
25213         [($(build-shared),yes)]
25214         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25215         ... this.
25216         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25217         New dependency.
25219 2013-09-09  Allan McRae  <allan@archlinux.org>
25221         [BZ #15939]
25222         * manual/string.texi (Collation Functions): Fix typo in
25223         strcoll example.
25224         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25226         [BZ #15893]
25227         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25229         [BZ #15892]
25230         * libio/memstream.c (open_memstream): Fix memory leak.
25231         * libio/wmemstream.c (open_wmemstream): Likewise.
25233         [BZ #15895]
25234         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25236 2013-09-09  Will Newton  <will.newton@linaro.org>
25238         * malloc/Makefile: Add tst-realloc to tests.
25239         * malloc/tst-realloc.c: New file.
25241 2013-09-09  Allan McRae  <allan@archlinux.org>
25243         [BZ #15844]
25244         * COPYING: Update from GNU website to fix FSF address.
25245         * COPYING.LIB: Likewise.
25247 2013-09-06  David S. Miller  <davem@davemloft.net>
25249         * po/zh_TW.po: Update Chinese (traditional) translation from
25250         translation project.
25252 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25253             Joseph Myers  <joseph@codesourcery.com>
25255         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25256         "localeinfo.h".
25257         (obstack_chunk_alloc): New macro.
25258         (obstack_chunk_free): Likewise.
25259         (record_offset): New function.
25260         (init_locale_data): Likewise.
25261         (align_locale_data): Likewise.
25262         (add_locale_empty): Likewise.
25263         (add_locale_raw_data): Likewise.
25264         (add_locale_raw_obstack): Likewise.
25265         (add_locale_string): Likewise.
25266         (add_locale_wstring): Likewise.
25267         (add_locale_uint32): Likewise.
25268         (add_locale_uint32_array): Likewise.
25269         (add_locale_char): Likewise.
25270         (start_locale_structure): Likewise.
25271         (end_locale_structure): Likewise.
25272         (start_locale_prelude): Likewise.
25273         (end_locale_prelude): Likewise.
25274         (write_locale_data): Take locale_file structure rather than an
25275         iovec.
25276         * locale/programs/locfile.h: Include "obstack.h".
25277         (struct locale_file): Change to store locale file contents instead
25278         of header.
25279         (init_locale_data): New prototype.
25280         (align_locale_data): Likewise.
25281         (add_locale_empty): Likewise.
25282         (add_locale_raw_data): Likewise.
25283         (add_locale_raw_obstack): Likewise.
25284         (add_locale_string): Likewise.
25285         (add_locale_wstring): Likewise.
25286         (add_locale_uint32): Likewise.
25287         (add_locale_uint32_array): Likewise.
25288         (add_locale_char): Likewise.
25289         (start_locale_structure): Likewise.
25290         (end_locale_structure): Likewise.
25291         (start_locale_prelude): Likewise.
25292         (end_locale_prelude): Likewise.
25293         (write_locale_data): Update prototype.
25294         * locale/programs/3level.h (struct TABLE): Remove result field.
25295         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25296         Use new locale_file interface.
25297         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25298         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25299         * locale/programs/ld-address.c (address_output): Use new
25300         locale_file interface.
25301         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25302         NO_ADD_LOCALE.
25303         (collate_finish): Don't call collseq_table_finalize.
25304         (collate_output): Use new locale_file interface.
25305         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25306         in file.
25307         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25308         (TABLE): Move defines earlier in file.
25309         (ELEMENT): Likewise.
25310         (DEFAULT): Likewise.
25311         (wctrans_table_add): Move macro and inline function earlier in
25312         file.
25313         (struct wctype_table): Move type earlier in file.
25314         (add_locale_wctype_table): New static prototype.
25315         (struct locale_ctype_t): Use logical types instead of struct iovec
25316         pointers for members.
25317         (ctype_output): Use new locale_file interface.
25318         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25319         new locale_file interface.
25320         (allocate_arrays): Update for use of new locale_file interface.
25321         * locale/programs/ld-identification.c (identification_output): Use
25322         new locale_file interface.
25323         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25324         * locale/programs/ld-messages.c (messages_output): Likewise.
25325         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25326         * locale/programs/ld-name.c (name_output): Likewise.
25327         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25328         * locale/programs/ld-paper.c (paper_output): Likewise.
25329         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25330         * locale/programs/ld-time.c (time_output): Likewise.
25332 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25334         * benchtests/Makefile: Add memrchr benchmark.
25335         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25336         benchmark as memrchr.
25337         * benchtests/bench-memrchr-ifunc.c: New file.
25338         * benchtests/bench-memrchr.c: New file.
25340 2013-09-06   Will Newton  <will.newton@linaro.org>
25342         * benchtests/Makefile (string-bench): Add memcpy.
25344 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25345             Cong Wang  <amwang@redhat.com>
25347         [BZ #15850]
25348         * sysdeps/unix/sysv/linux/bits/in.h
25349         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25350         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25351         before __USE_KERNEL_IPV6_DEFS uses.
25352         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25353         IPPROTO_BEETPH.
25354         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25355         sockaddr_in6, or ipv6_mreq.
25357 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25359         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25360         memory access for final bytes in some large inputs.
25361         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25363 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25365         * string/test-memrchr.c: New file.
25366         * string/test-memrchr-ifunc.c: New file.
25367         * string/Makefile: Add new memrchr testcase.
25369 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25371         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25372         fanotify_init returns EPERM.
25374 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25376         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25377         errors.
25378         (top level): Treat second token from macro or constant entries for
25379         allowed headers as allowed.
25380         * include/complex.h: Condition internal declarations on
25381         [!_ISOMAC].
25382         * include/fenv.h: Condition include of <stdbool.h> and internal
25383         declarations on [!_ISOMAC].
25385 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25387         [BZ #15923]
25388         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25390 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25392         * configure.in (--enable-versioning): Remove configure option.
25393         (libc_cv_asm_symver_directive): Remove configure test.
25394         (libc_cv_ld_version_script_option): Likewise.
25395         (VERSIONING): Remove variable and AC_SUBST.
25396         (DO_VERSIONING): Remove AC_DEFINE.
25397         * configure: Regenerated.
25398         * config.h.in (DO_VERSIONING): Remove macro.
25399         * Makerules [$(versioning) = yes]: Change conditionals to
25400         [$(build-shared) = yes].
25401         * config.make.in (versioning): Remove variable.
25402         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25403         [$(build-shared) = yes].
25404         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25405         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25406         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25407         [$(build-shared) = yes].
25408         * extra-lib.mk [$(versioning) = yes]: Likewise.
25409         * hurd/Makefile [$(versioning) = yes]: Likewise.
25410         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25411         [SHARED].
25412         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25413         [SHARED].
25414         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25415         [SHARED && !NO_HIDDEN].
25416         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25417         [SHARED].
25418         [SHARED && DO_VERSIONING]: Likewise..
25419         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25420         [$(build-shared) = yes].
25421         * manual/install.texi (--disable-versioning): Remove
25422         documentation.
25423         * INSTALL: Regenerated.
25424         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25425         to [SHARED].
25426         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25427         [$(build-shared) = yes].
25428         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25429         * sysdeps/i386/i686/multiarch/strstr-c.c
25430         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25431         [SHARED && !NO_HIDDEN].
25432         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25433         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25434         * sysdeps/powerpc/powerpc32/dl-machine.c
25435         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25436         * sysdeps/powerpc/powerpc32/sysdep.h
25437         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25438         to [SHARED && PIC && !NO_HIDDEN].
25439         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25440         conditional to [SHARED].
25442 2013-09-04   Will Newton  <will.newton@linaro.org>
25444         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25445         * benchtests/bench-string.h: Include bench-timing.h instead
25446         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25447         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25448         call to HP_TIMING_DIFF_INIT.
25449         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25450         instead of hp-timing.h macros.
25451         * benchtests/bench-memchr.c: Likewise.
25452         * benchtests/bench-memcmp.c: Likewise.
25453         * benchtests/bench-memcpy.c: Likewise.
25454         * benchtests/bench-memmem.c: Likewise.
25455         * benchtests/bench-memmove.c: Likewise.
25456         * benchtests/bench-memset.c: Likewise.
25457         * benchtests/bench-rawmemchr.c: Likewise.
25458         * benchtests/bench-strcasecmp.c: Likewise.
25459         * benchtests/bench-strcasestr.c: Likewise.
25460         * benchtests/bench-strcat.c: Likewise.
25461         * benchtests/bench-strchr.c: Likewise.
25462         * benchtests/bench-strcmp.c: Likewise.
25463         * benchtests/bench-strcpy.c: Likewise.
25464         * benchtests/bench-strcpy_chk.c: Likewise.
25465         * benchtests/bench-strlen.c: Likewise.
25466         * benchtests/bench-strncasecmp.c: Likewise.
25467         * benchtests/bench-strncat.c: Likewise.
25468         * benchtests/bench-strncmp.c: Likewise.
25469         * benchtests/bench-strncpy.c: Likewise.
25470         * benchtests/bench-strnlen.c: Likewise.
25471         * benchtests/bench-strpbrk.c: Likewise.
25472         * benchtests/bench-strrchr.c: Likewise.
25473         * benchtests/bench-strspn.c: Likewise.
25474         * benchtests/bench-strstr.c: Likewise.
25476 2013-09-04  Will Newton  <will.newton@linaro.org>
25478         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25480 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25482         [BZ #15427]
25483         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25484         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25485         * math/libm-test.inc (lgamma_test_data): Add more tests.
25486         * sysdeps/i386/fpu/libm-test-ulps: Update.
25487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25489 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25491         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25493         Add ifunc.
25494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25495         Add strcmp-sse2-unaligned
25496         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25498 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25500         * Versions.def (libc): Add GLIBC_2.19.
25502 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25504         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25505         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25507 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25509         [BZ #14155]
25510         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25511         intermediate calculations in recurrence.
25512         (__ieee754_ynf): Likewise.
25513         * math/libm-test.inc (jn_test_data): Do not allow spurious
25514         underflow exception.  Add more tests.
25515         (yn_test_data): Add more tests.
25516         * sysdeps/i386/fpu/libm-test-ulps: Update.
25517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25521         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25523 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25525         * csu/init-first.c: Fix then/than typos.
25526         * locale/programs/ld-collate.c: Likewise.
25527         * locale/programs/linereader.h: Likewise.
25528         * manual/charset.texi: Likewise.
25529         * manual/filesys.texi: Likewise.
25530         * manual/stdio.texi: Likewise.
25531         * manual/string.texi: Likewise.
25532         * stdlib/fmtmsg.c: Likewise.
25533         * sysdeps/i386/stpncpy.S: Likewise.
25534         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25535         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25536         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25537         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25539 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25541         * elf/dl-open.c: Fix typos.
25542         * iconvdata/gbbig5.c: Likewise.
25543         * iconvdata/iso-2022-jp.c: Likewise.
25544         * iconv/gconv_int.h: Likewise.
25545         * iconv/loop.c: Likewise.
25546         * nis/rpcsvc/nis.h: Likewise.
25547         * resolv/ns_name.c: Likewise.
25548         * stdio-common/vfscanf.c: Likewise.
25549         * streams/stropts.h: Likewise.
25550         * sunrpc/rpc_thread.c: Likewise.
25551         * sysdeps/i386/strpbrk.S: Likewise.
25552         * sysdeps/ieee754/k_standard.c: Likewise.
25553         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25555         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25556         * sysdeps/mach/hurd/profil.c: Likewise.
25557         * sysdeps/s390/dl-procinfo.h: Likewise.
25558         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25559         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25560         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25561         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25562         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25564 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25566         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25569 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25571         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25572         aix specific files.
25573         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25574         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25575         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25576         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25577         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25578         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25579         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25580         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25582 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25583             Roland McGrath  <roland@hack.frob.com>
25585         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25586         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25588 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25590         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25591         __executable_start symbol instead of _start.
25593 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25595         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25596         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25597         Move macros to...
25598         * sysdeps/gnu/ldsodefs.h: ... this new file.
25600         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25601         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25602         instead of ELFOSABI_LINUX.
25604         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25605         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25606         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25607         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25608         Likewise.
25609         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25610         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25611         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25612         Likewise.
25613         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25614         (ibm_extended_long_double): Add ieee_nan member.
25615         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25616         (do_test): New function.
25618         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25619         TEST_TRUNC.
25620         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25621         functions, renamed from truncdfsf_test, trunctfsf_test,
25622         trunctfdf_test.
25623         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25624         functions.
25625         (do_test): Run all these.
25627 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25629         * argp/argp-help.c: Fix typos.
25630         * argp/argp-parse.c: Likewise.
25631         * debug/backtracesyms.c: Likewise.
25632         * elf/elf.h: Likewise.
25633         * malloc/malloc.c: Likewise.
25634         * nis/nis_print.c: Likewise.
25635         * resolv/res_comp.c: Likewise.
25636         * stdlib/stdlib.h: Likewise.
25637         * sunrpc/clnt_tcp.c: Likewise.
25638         * sunrpc/clnt_udp.c: Likewise.
25639         * sunrpc/clnt_unix.c: Likewise.
25640         * sysdeps/unix/bsd/ptsname.c: Likewise.
25641         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25642         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25644         Likewise.
25645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25646         Likewise.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25648         Likewise.
25649         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25651 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25653         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25656 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25658         [BZ #15897]
25659         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25660         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25661         ($(objpfx)bug-dl-leaf): New rule.
25662         ($(objpfx)bug-dl-leaf.so): Likewise.
25663         ($(objpfx)bug-dl-leaf.out): Likewise.
25664         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25665         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25666         * dlfcn/bug-dl-leaf.c: New test.
25667         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25668         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25669         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25670         (dlclose): Likewise.
25671         (dlmopen): Likewise.
25673 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25675         * include/netdb.h [!_ISOMAC]:
25676         Don't include <tls.h>.
25677         (h_errno, __libc_h_errno): Move declaration and macros out of
25678         [_LIBC_REENTRANT].
25680         * include/resolv.h [_RESOLV_H_]:
25681         Don't include <tls.h>.
25682         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25683         * resolv/res_libc.c: Don't include <tls.h>.
25684         (_res): Use __attribute__ ((nocommon)) in place of
25685         __attribute__ ((section (".bss"))).
25687         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25688         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25690         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25692         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25693         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25695         * resolv/res_mkquery.c: Include <sys/time.h>.
25697         * inet/ifreq.c: Moved to ...
25698         * sysdeps/unix/ifreq.c: ... here.
25699         * inet/ifreq.c: New file, true stub version.
25701         * socket/sa_len.c: New file.
25702         * socket/Makefile (aux): Add it.
25703         * sysdeps/unix/sysv/linux/Makefile
25704         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25705         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25706         and #include <socket/sa_len.c>.
25707         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25708         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25710         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25711         * bits/socket.h: ... here.
25713         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25714         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25715         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25717 2013-08-27  Andreas Schwab  <schwab@suse.de>
25719         [BZ #15736]
25720         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25721         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25722         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25723         * string/test-strcasecmp.c (test_main): Run tests in several
25724         locales.
25725         * string/test-strncasecmp.c (test_main): Likewise.
25727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25728         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25729         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25730         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25731         (__strncasecmp_ssse3) [PIC]: Likewise.
25733 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25735         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25737         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25738         instead of explicitly declaring xdecrypt.
25739         * nis/nss_nis/nis-publickey.c: Likewise.
25741 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25743         [BZ #15890]
25744         * nscd/aicache.c: Include res_hconf.h.
25745         (addhstaiX): Initialize res_hconf.
25747 2013-08-26  Andreas Schwab  <schwab@suse.de>
25749         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25750         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25752 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25754         * nscd/aicache.c (addhstaiX): Fix indentation.
25756 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25758         * configure.ac: Quote $build_pt_chown test.
25759         * configure: Regenerated.
25761 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25763         [BZ #15532]
25764         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25765         * math/s_cexpf.c (__cexpf): Likewise.
25766         * math/s_cexpl.c (__cexpl): Likewise.
25767         * math/libm-test.inc (cexp_test_data): Correct expected return
25768         value for NaN + i0.  Add another test.
25770 2013-08-22  David S. Miller  <davem@davemloft.net>
25772         * po/ca.po: Update Catalan translation from translation project.
25773         * po/uk.po: Add Ukrainian translations from translation project.
25775 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25777         [BZ #15797]
25778         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25779         is infinite, not alongside NaN test.
25780         * math/s_fdimf.c (__fdimf): Likewise.
25781         * math/s_fdiml.c (__fdiml): Likewise.
25782         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25783         errno is unchanged.
25785 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25787         * argp/argp-help.c: Fix typos.
25788         * crypt/speeds.c: Likewise.
25789         * csu/check_fds.c: Likewise.
25790         * elf/dl-load.c: Likewise.
25791         * elf/dl-open.c: Likewise.
25792         * elf/reldep3.c: Likewise.
25793         * elf/reldep.c: Likewise.
25794         * elf/sprof.c: Likewise.
25795         * iconv/iconv_charmap.c: Likewise.
25796         * iconv/skeleton.c: Likewise.
25797         * iconv/strtab.c: Likewise.
25798         * io/lockf64.c: Likewise.
25799         * libio/libioP.h: Likewise.
25800         * resolv/gai_notify.c: Likewise.
25801         * resolv/ns_name.c: Likewise.
25802         * resolv/ns_samedomain.c: Likewise.
25803         * resolv/res_send.c: Likewise.
25804         * stdlib/random.c: Likewise.
25805         * sunrpc/rpc/xdr.h: Likewise.
25806         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25807         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25808         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25809         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25810         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25811         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25812         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25813         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25814         * sysdeps/mach/hurd/check_fds.c: Likewise.
25815         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25816         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25817         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25818         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25819         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25820         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25821         * sysdeps/pthread/aio_notify.c: Likewise.
25822         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25823         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25824         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25825         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25826         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25828 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25830         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25831         version if bit_Slow_SSE4_2 is set.
25832         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25833         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25835 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25837         [BZ #15867]
25838         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25839         trampoline stack frame information.
25840         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25841         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25842         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25843         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25844         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25845         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25846         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25847         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25848         sa_flags value.
25849         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25850         interrupting a syscall and set with option SA_SIGINFO.
25852 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25854         [BZ #15531]
25855         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25856         argument is infinite.
25857         * math/s_cprojf.c (__cprojf): Likewise.
25858         * math/s_cprojl.c (__cprojl): Likewise.
25859         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25860         * math/libm-test.inc (cproj_test_data): Add more tests.
25862         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25864         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25865         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25866         size.  Use __ffs to determine corresponding shift.
25868 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25869             Roland McGrath  <roland@hack.frob.com>
25871         * Makefile (INSTALL): Remove trailing blank lines from output of
25872         makeinfo.
25874 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25876         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25877         Align 32 bit compat elf_greg to 8 bytes.
25879 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25881         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25883 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25885         * string/strcoll_l.c (coll_seq): New structure.
25886         (get_next_seq_cached): New function.
25887         (get_next_seq): New function.
25888         (do_compare): New function.
25889         (STRCOLL): Use GNU style definition.  Simplify implementation
25890         by using get_next_seq, get_next_seq_cached and do_compare.
25892 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25894         [BZ #14699]
25895         CVE-2013-4237
25896         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25897         member.
25898         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25899         member.
25900         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25901         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25902         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25903         conditional.
25904         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25905         GETDENTS_64BIT_ALIGNED.
25906         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25907         * manual/filesys.texi (Reading/Closing Directory): Document
25908         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25909         strongly.
25910         * manual/conf.texi (Limits for Files): Add portability note to
25911         NAME_MAX, PATH_MAX.
25912         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25914 2013-08-13  Andreas Schwab  <schwab@suse.de>
25916         [BZ #15749]
25917         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25918         of fabs.
25919         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25920         LDBL_MAX_EXP >= 16384]: Add tests for it.
25922 2013-08-12  David S. Miller  <davem@davemloft.net>
25924         * version.h (RELEASE): Set to "development".
25925         (VERSION): Set to "2.18.90".
25926         * NEWS: Add 2.19 section.
25928 2013-08-03  David S. Miller  <davem@davemloft.net>
25930         * po/ko.po: Update Korean translation from translation project.
25932 2013-08-01  David S. Miller  <davem@davemloft.net>
25934         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25935         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25936         Bilka.
25938 2013-07-30  David S. Miller  <davem@davemloft.net>
25940         * po/fr.po: Update French translation from translation project.
25942 2013-07-28  David S. Miller  <davem@davemloft.net>
25944         * po/cs.po: Update Czech translation from translation project.
25946         * po/sv.po: Update Swedish translation from translation project.
25948 2013-07-27  David S. Miller  <davem@davemloft.net>
25950         * po/eo.po: Update Esperanto translation from translation project.
25952         * po/vi.po: Update Vietnamese translation from translation project.
25954         * po/de.po: Update German translation from translation project.
25956 2013-07-26  David S. Miller  <davem@davemloft.net>
25958         * po/bg.po: Update Bulgarian translation from translation project.
25960         * po/nl.po: Update Dutch translation from translation project.
25961         * po/pl.po: Update Polish translation from translation project.
25962         * po/ru.po: Update Russian translation from translation project.
25964 2013-07-24  David S. Miller  <davem@davemloft.net>
25966         * po/libc.pot: Update.
25968 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25970         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25971         variable page size.
25972         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25973         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25974         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25976 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25978         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25980 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25981             Andreas Schwab  <schwab@suse.de>
25982             Roland McGrath  <roland@hack.frob.com>
25983             Joseph Myers  <joseph@codesourcery.com>
25984             Carlos O'Donell  <carlos@redhat.com>
25986         [BZ #15755]
25987         * config.h.in: Define HAVE_PT_CHOWN.
25988         * config.make.in (build-pt-chown): New variable.
25989         * configure.in (--enable-pt_chown): New configure option.
25990         * configure: Regenerate.
25991         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25992         build-pt-chown is enabled.
25993         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25994         pt_chown to fix pty ownership.
25995         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25996         CLOSE_ALL_FDS.
25997         * manual/install.texi (Configuring and compiling): Mention
25998         --enable-pt_chown. Add @findex for grantpt.
25999         * INSTALL: Regenerate.
26001 2013-07-20  David S. Miller  <davem@davemloft.net>
26003         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26004         difference between 32-bit and 64-bit.
26006 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26008         [BZ #15711]
26009         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26010         Avoid system header dependency with -ffreestanding.
26011         ($(objpfx)bits/syscall%d): Likewise.
26013 2013-07-13  David S. Miller  <davem@davemloft.net>
26015         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26016         underflows from atanl/atan2l due to bug 15319.
26017         (casinh_test_data): Likewise.
26019 2013-07-07  David S. Miller  <davem@davemloft.net>
26021         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26023 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26025         * sysdeps/i386/fpu/libm-test-ulps: Update.
26026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26028 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26030         * configure.in (--enable-lock-elision): Fix message text.
26031         * INSTALL: Regenerate.
26032         * configure: Regenerate.
26034 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26038 2013-07-03  Andreas Jaeger  <aj@suse.de>
26040         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26041         define.
26042         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26043         (ptrace_peeksiginfo_args): Add.
26044         (__ptrace_peeksiginfo_flags): Add.
26045         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26047         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26049 2013-07-03  Allan McRae  <allan@archlinux.org>
26051         * sysdeps/i386/fpu/libm-test-ulps: Update.
26053 2013-07-02  David S. Miller  <davem@davemloft.net>
26055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26057 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26061 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26063         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066 2013-07-02  Andi Kleen <ak@linux.intel.com>
26068         * config.h.in (ENABLE_LOCK_ELISION): Add.
26069         * configure.in (--enable-lock-elision): Add option.
26070         * manual/install.texi: Document --enable lock elision.
26071         * configure: Regenerate
26072         * INSTALL: Regenerate.
26074 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26076         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26077         SSE4.2 strcasecmp for libc.a.
26078         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26080 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26082         [BZ #13304]
26083         * soft-fp/op-common.h (_FP_FMA): New macro.
26084         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26085         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26086         (_FP_MUL_MEAT_1_imm): ... here.
26087         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26088         (_FP_MUL_MEAT_1_wide): ... here.
26089         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26090         (_FP_MUL_MEAT_1_hard): ... here.
26091         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26092         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26093         (_FP_MUL_MEAT_2_wide): ... here.
26094         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26095         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26096         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26097         (_FP_MUL_MEAT_2_gmp): ... here.
26098         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26099         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26100         (_FP_MUL_MEAT_4_wide): ... here.
26101         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26102         (_FP_MUL_MEAT_4_gmp): ... here.
26103         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26104         (_FP_WFRACBITS_DW_S): Likewise.
26105         (_FP_WFRACXBITS_DW_S): Likewise.
26106         (_FP_HIGHBIT_DW_S): Likewise.
26107         (FP_FMA_S): Likewise.
26108         (_FP_FRAC_HIGH_DW_S): Likewise.
26109         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26110         (_FP_WFRACBITS_DW_D): Likewise.
26111         (_FP_WFRACXBITS_DW_D): Likewise.
26112         (_FP_HIGHBIT_DW_D): Likewise.
26113         (FP_FMA_D): Likewise.
26114         (_FP_FRAC_HIGH_DW_D): Likewise.
26115         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26116         (_FP_WFRACBITS_DW_E): Likewise.
26117         (_FP_WFRACXBITS_DW_E): Likewise.
26118         (_FP_HIGHBIT_DW_E): Likewise.
26119         (FP_FMA_E): Likewise.
26120         (_FP_FRAC_HIGH_DW_E): Likewise.
26121         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26122         (_FP_WFRACBITS_DW_Q): Likewise.
26123         (_FP_WFRACXBITS_DW_Q): Likewise.
26124         (_FP_HIGHBIT_DW_Q): Likewise.
26125         (FP_FMA_Q): Likewise.
26126         (_FP_FRAC_HIGH_DW_Q): Likewise.
26127         * soft-fp/fmasf4.c: New file.
26128         * soft-fp/fmadf4.c: Likewise.
26129         * soft-fp/fmatf4.c: Likewise.
26131 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26134         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26135         Silvermont.
26136         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26137         macro.
26138         (index_Slow_SSE4_2): Likewise.
26139         (index_Prefer_PMINUB_for_stringop): Likewise.
26140         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26141         bit_Slow_SSE4_2 is set.
26142         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26143         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26145 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26147         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26148         rtld_global._dl_hwcap2.
26149         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26150         POWER8.
26151         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26152         POWER8 feature descriptions defined in _dl_hwcap2.
26153         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26154         string handling for POWER8 feature bits.
26155         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26156         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26157         _dl_powerpc_cap_flags.
26158         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26159         * sysdeps/powerpc/rtld-global-offsets.sym
26160         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26161         _dl_hwcap2 in the rtld_global_ro structure.
26163 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26165         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26166         hardware capabilities in support of AT_HWCAP2.
26167         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26168         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26169         GLRO(dl_hwcap2).
26170         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26171         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26172         explicitly the unknown a_type display mechanism is used.
26173         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26174         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26175         struct member.
26176         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26177         to macro prototype for AT_HWCAP2 support.
26178         * sysdeps/i386/dl-procinfo.h: Likewise.
26179         * sysdeps/s390/dl-procinfo.h: Likewise.
26180         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26181         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26182         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26183         return -1 for unknown a_type display fallback.
26184         * sysdeps/sparc/dl-procinfo.h: Likewise.
26185         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26186         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26188 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26190         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26191         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26193 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26195         [BZ #12492]
26196         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26197         mprotect making __stack_prot writable.
26199 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26200             Joseph Myers  <joseph@codesourcery.com>
26202         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26203         as being properly aligned.
26205 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26207         * dlfcn/modstatic5.c: New file.
26208         * dlfcn/tststatic5.c: New file.
26209         * dlfcn/Makefile (tests): Add tststatic5.
26210         (tests-static): Likewise.
26211         (modules-names): Add modstatic5.
26212         (tststatic5-ENV): New variable.
26213         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26215         [BZ #15022]
26216         * elf/dl-support.c (_dl_main_map): New variable.
26217         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26218         (_dl_nns, _dl_load_adds): Set to 1.
26219         (_dl_initial_searchlist): Refer to _dl_main_map.
26220         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26221         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26222         call to _dl_get_origin.
26223         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26224         around call_map.
26225         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26226         * dlfcn/modstatic3.c: New file.
26227         * dlfcn/tststatic3.c: New file.
26228         * dlfcn/tststatic4.c: New file.
26229         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26230         (tests-static): Likewise.
26231         (modules-names): Add modstatic3.
26232         (tststatic3-ENV, tststatic4-ENV): New variables.
26233         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26234         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26236 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26238         * configure.in (CC): Require GCC version 4.4 or later.
26239         * configure: Regenerated.
26240         * manual/install.texi (Tools for Compilation): Update GCC version
26241         requirement.
26242         * INSTALL: Regenerated.
26244 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26246         [BZ #15674]
26247         * string/test-memcmp.c (check2): New.
26248         (main): Call check2.
26250         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26252 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26254         [BZ #15022]
26255         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26256         over to...
26257         (dl_open_worker) [!SHARED]: ... here.
26259 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26261         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26263 2013-06-25  Richard Henderson  <rth@redhat.com>
26265         * locale/programs/locarchive.c: Include <libc-internal.h>
26267 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26269         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26270         trailing whitespace removed.
26272 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26274         [BZ #10283]
26275         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26276         * locale/programs/locarchive.c: Include libc-mmap.h.
26277         (prepare_address_space): Take two new outputs (the mmap base and len).
26278         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26279         values.
26280         (create_archive): Declare new mmap base and len values for
26281         prepare_address_space, and store the result in ah.
26282         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26283         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26284         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26285         Declare new mmap base and len values for
26286         prepare_address_space, and store the result in new_ah.
26287         (open_archive): Declare new mmap base and len values for
26288         prepare_address_space, and store the result in ah.
26289         (close_archive): If ah->mmap_base is not NULL, use that and
26290         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26291         * sysdeps/generic/libc-mmap.h: New file.
26293 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26295         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26296         (ALIGN_UP): Likewise.
26297         (PTR_ALIGN_DOWN): Likewise.
26298         (PTR_ALIGN_UP): Likewise.
26300 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26302         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26303         entry mapped to PPC_PLATFORM_POWER8.
26304         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26305         POWER8.
26306         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26307         (_dl_string_platform): Add case for exporting platform position for
26308         POWER8.
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26310         search path to sysdeps/powerpc/powerpc32/power8 directory.
26311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26312         search path to sysdeps/powerpc/powerpc64/power8 directory.
26313         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26314         power7 directories.
26315         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26316         power7 directories.
26318 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26320         * INSTALL: Regenerate.
26322         * nscd/connections.c (nscd_init): Fix comment.
26324 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26326         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26328         [BZ #15667]
26329         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26330         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26332 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26334         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26335         DL_DST_REQ_STATIC.
26336         (DL_DST_REQ_STATIC): Remove macro.
26338 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26340         [BZ #7006]
26341         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26342         with a shift of 0 bits.
26344 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26346         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26347         $(tststatic-ENV).
26349 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26351         [BZ #15655]
26352         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26354 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26356         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26357         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26358         accepts -fno-tree-loop-distribute-patterns.
26359         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26360         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26361         recursive call.
26362         * string/memset.c (memset): Likewise.
26363         * string/test-memmove.c (simple_memmove): Disable loop transformation
26364         to library calls.
26365         * string/test-memset.c (simple_memset): Likewise.
26366         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26367         * benchtests/bench-memset.c (simple_memset): Likewise.
26368         * configure: Regenerated.
26370 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26372         * math/test-misc.c (main): Ignore fesetround failure when failures
26373         of subsequent rounding tests would be ignored.
26375         [BZ #15654]
26376         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26377         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26378         * math/fegetenv.c (__fegetenv): Return 0.
26379         * math/fegetexcept.c (fegetexcept): Return 0.
26380         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26381         FE_TONEAREST.
26382         * math/feholdexcpt.c (feholdexcept): Return 0.
26383         * math/fesetenv.c (__fesetenv): Return 0.
26384         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26385         argument FE_TONEAREST.
26386         * math/feupdateenv.c (__feupdateenv): Return 0.
26387         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26389 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26391         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26392         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26393         ($(objpfx)rtld-%.os rules): Use them.
26395 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26397         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26398         fields.
26400 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26402         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26403         length of target pattern, then descending length of dependency pattern.
26404         * configure.in (AWK): Require gawk 3.1.2 or newer.
26405         * manual/install.texi (Tools for Compilation): Say that we do.
26406         * configure: Regenerated.
26408         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26409         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26410         * scripts/sysd-rules.awk: ... this new script.
26411         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26412         than a glob-style pattern.
26414 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26416         * math/test-misc.c (main): Do not treat incorrectly rounded
26417         conversions as failure unless ROUNDING_TESTS passes.
26419 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26421         [BZ #15631]
26422         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26423         restore exception state around main square root computation, then
26424         check for inexactness explicitly.
26426         * math/libm-test.inc (fma_test_data): Add another test.
26428 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26430         * manual/threads.texi (Non-POSIX Extensions): New document
26431         node.  Document pthread_getattr_default_np and
26432         pthread_setattr_default_np.
26434         * Versions.def (libpthread): Add GLIBC_2.18.
26435         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26437         Likewise.
26438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26439         Likewise.
26440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26441         Likewise.
26442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26443         Likewise.
26444         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26445         Likewise.
26446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26447         Likewise.
26448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26449         Likewise.
26450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26451         Likewise.
26452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26453         Likewise.
26455 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26458         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26460 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26461             H.J. Lu  <hjl.tools@gmail.com>
26463         [BZ #15627]
26464         * sysdeps/x86_64/rtld-memset.c: Remove file.
26465         * sysdeps/x86_64/rtld-memset.S: New file.
26467 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26469         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26470         (test_in_one_mode): Take arguments for whether the rounding mode
26471         is supported for each floating-point type.
26472         (do_test): Pass new arguments to test_in_one_mode using
26473         ROUNDING_TESTS.
26475 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26477         * posix/tst-waitid.c (do_test): Distinguish different instances of
26478         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26479         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26480         before entering the kernel for waitpid.
26482 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26484         * NEWS: Fix note on clock function precision.  Text by Roland
26485         McGrath.
26487 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26489         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26490         it into place only when and if the sanity check passes.
26492 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26494         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26495         output for whether conversion result is exact.  Take argument
26496         indicating whether type is IBM long double.
26497         (round_for_all): Change need_exact field to ibm_ld.
26498         * stdlib/tst-strtod-round.c (struct exactness): New type.
26499         (struct test): Change bool ld_ok field to struct exactness exact.
26500         (TEST): Update all definitions for change to field.
26501         (tests): Regenerate array contents.
26502         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26503         field value.  Check for IBM long double here.
26504         (do_test): Update calls to test_in_one_mode.
26506 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26508         [BZ #12515]
26509         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26510         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26512 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26514         [BZ #15605]
26515         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26516         generated by the compiler on loop optimizations.
26517         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26518         general definitions.
26520 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26522         * math/bug-nextafter.c: Include <math-tests.h>.
26523         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26524         the relevant type.
26525         * math/bug-nexttoward.c: Include <math-tests.h>.
26526         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26527         the relevant type.
26528         * math/test-misc.c: Include <math-tests.h>.
26529         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26530         the relevant type.
26532 2013-06-12  Andreas Jaeger  <aj@suse.de>
26534         * po/ia.po: Update Interlingua translation from translation
26535         project.
26537 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26539         * include/fenv.h: Include stdbool.h.
26540         (struct rm_ctx): New structure.
26541         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26542         Define macro.
26543         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26544         (SET_RESTORE_ROUNDF): Likewise.
26545         (SET_RESTORE_ROUNDL): Likewise.
26546         (SET_RESTORE_ROUND_NOEX): Likewise.
26547         (SET_RESTORE_ROUND_NOEXF): Likewise.
26548         (SET_RESTORE_ROUND_NOEXL): Likewise.
26549         (SET_RESTORE_ROUND_53BIT): Likewise.
26550         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26551         (libc_feresetround_noexf_ctx): Likewise.
26552         (libc_feresetround_noexl_ctx): Likewise.
26553         (libc_feholdsetround_53bit_ctx): Likewise.
26554         (libc_feresetround_53bit_ctx): Likewise.
26555         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26556         (libc_feholdexcept_setround_sse_ctx): New function.
26557         (libc_fesetenv_sse_ctx): Likewise.
26558         (libc_feupdateenv_sse_ctx): Likewise.
26559         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26560         (libc_feholdexcept_setround_387_ctx): Likewise.
26561         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26562         (libc_feholdsetround_387_prec_ctx): Likewise.
26563         (libc_feholdsetround_387_ctx): Likewise.
26564         (libc_feholdsetround_387_53bit_ctx): Likewise.
26565         (libc_feholdsetround_sse_ctx): Likewise.
26566         (libc_feresetround_sse_ctx): Likewise.
26567         (libc_feresetround_387_ctx): Likewise.
26568         (libc_feupdateenv_387_ctx): Likewise.
26569         (libc_feholdexcept_setroundf_ctx): Define macro.
26570         (libc_fesetenvf_ctx): Likewise.
26571         (libc_feupdateenvf_ctx): Likewise.
26572         (libc_feholdsetroundf_ctx): Likewise.
26573         (libc_feresetroundf_ctx): Likewise.
26574         (libc_feholdexcept_setround_ctx): Likewise.
26575         (libc_fesetenv_ctx): Likewise.
26576         (libc_feupdateenv_ctx): Likewise.
26577         (libc_feholdsetround_ctx): Likewise.
26578         (libc_feresetround_ctx): Likewise.
26579         (libc_feholdexcept_setroundl_ctx): Likewise.
26580         (libc_feupdateenvl_ctx): Likewise.
26581         (libc_feholdsetroundl_ctx): Likewise.
26582         (libc_feresetroundl_ctx): Likewise.
26583         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26584         (libc_feresetround_53bit_ctx): Likewise.
26586 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26588         * locale/iso-639.def: Convert to UTF-8.
26590 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26592         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26593         (EXCEPTION_TESTS_double): Likewise.
26594         (EXCEPTION_TESTS_long_double): Likewise.
26595         (EXCEPTION_TESTS): Likewise.
26596         * math/libm-test.inc (test_exceptions): Only test exceptions if
26597         EXCEPTION_TESTS (FLOAT).
26599 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26601         * benchtests/Makefile (string-bench): Add strcpy_chk and
26602         stpcpy_chk.
26603         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26604         * benchtests/bench-stpcpy_chk.c: New file.
26605         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26606         * benchtests/bench-strcpy_chk.c: New file.
26607         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26608         code.
26609         (do_test): Likewise.
26611 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26613         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26614         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26615         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26616         with tabs where appropriate.
26617         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26618         dl-procinfo.h.
26619         [PPC_PLATFORM_PPC440]: Likewise.
26620         [PPC_PLATFORM_PPC464]: Likewise.
26621         [PPC_PLATFORM_PPC476]: Likewise.
26622         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26623         ppc464, and ppc476 platform strings merging from ports/
26624         dl-procinfo.h.
26626 2013-06-11  Andreas Schwab  <schwab@suse.de>
26628         [BZ #14991]
26629         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26630         (from_ucs4_idx): Regenerate.
26631         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26632         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26633         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26634         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26635         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26636         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26637         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26638         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26639         from FROM_LOOP and TO_LOOP specific macros.
26640         (BODY): Handle combining characters.
26641         * iconvdata/BIG5HKSCS.irreversible: Update.
26642         * iconvdata/BIG5HKSCS.precomposed: New file.
26643         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26644         characters.
26645         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26647 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26649         * include/sys/time.h: Fix indentation and add copyright header.
26651         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26652         (do_test): Likewise.
26653         * string/test-memchr.c (do_one_test): Likewise.
26654         (do_test): Likewise.
26655         * string/test-memcmp.c (do_one_test): Likewise.
26656         (do_test): Likewise.
26657         * string/test-memcpy.c (do_one_test): Likewise.
26658         (do_test): Likewise.
26659         * string/test-memmem.c (do_one_test): Likewise.
26660         (do_test): Likewise.
26661         (do_random_tests): Likewise.
26662         * string/test-memmove.c (do_one_test): Likewise.
26663         (do_test): Likewise.
26664         * string/test-memset.c (do_one_test): Likewise.
26665         (do_test): Likewise.
26666         * string/test-rawmemchr.c (do_one_test): Likewise.
26667         (do_test): Likewise.
26668         * string/test-strcasecmp.c (do_one_test): Likewise.
26669         (do_test): Likewise.
26670         * string/test-strcasestr.c (do_one_test): Likewise.
26671         (do_test): Likewise.
26672         * string/test-strcat.c (do_one_test): Likewise.
26673         (do_test): Likewise.
26674         * string/test-strchr.c (do_one_test): Likewise.
26675         (do_test): Likewise.
26676         * string/test-strcmp.c (do_one_test): Likewise.
26677         (do_test): Likewise.
26678         * string/test-strcpy.c (do_one_test): Likewise.
26679         (do_test): Likewise.
26680         * string/test-string.h: Likewise.
26681         (test_init): Likewise.
26682         * string/test-strlen.c (do_one_test): Likewise.
26683         (do_test): Likewise.
26684         * string/test-strncasecmp.c (do_one_test): Likewise.
26685         (do_test): Likewise.
26686         * string/test-strncat.c (do_one_test): Likewise.
26687         (do_test): Likewise.
26688         * string/test-strncmp.c (do_one_test): Likewise.
26689         (do_test_limit): Likewise.
26690         (do_test): Likewise.
26691         * string/test-strncpy.c (do_one_test): Likewise.
26692         (do_test): Likewise.
26693         * string/test-strnlen.c (do_one_test): Likewise.
26694         (do_test): Likewise.
26695         * string/test-strpbrk.c (do_one_test): Likewise.
26696         (do_test): Likewise.
26697         * string/test-strrchr.c (do_one_test): Likewise.
26698         (do_test): Likewise.
26699         * string/test-strspn.c (do_one_test): Likewise.
26700         (do_test): Likewise.
26701         * string/test-strstr.c (do_one_test): Likewise.
26702         (do_test): Likewise.
26704         * benchtests/Makefile (string-bench): Add string benchmarks.
26705         * benchtests/bench-bcopy-ifunc.c: New file.
26706         * benchtests/bench-bcopy.c: New file.
26707         * benchtests/bench-bzero-ifunc.c: New file.
26708         * benchtests/bench-bzero.c: New file.
26709         * benchtests/bench-memccpy-ifunc.c: New file.
26710         * benchtests/bench-memccpy.c: New file.
26711         * benchtests/bench-memchr-ifunc.c: New file.
26712         * benchtests/bench-memchr.c: New file.
26713         * benchtests/bench-memcmp-ifunc.c: New file.
26714         * benchtests/bench-memcmp.c: New file.
26715         * benchtests/bench-memmem-ifunc.c: New file.
26716         * benchtests/bench-memmem.c: New file.
26717         * benchtests/bench-memmove-ifunc.c: New file.
26718         * benchtests/bench-memmove.c: New file.
26719         * benchtests/bench-mempcpy-ifunc.c: New file.
26720         * benchtests/bench-mempcpy.c: New file.
26721         * benchtests/bench-memset-ifunc.c: New file.
26722         * benchtests/bench-memset.c: New file.
26723         * benchtests/bench-rawmemchr-ifunc.c: New file.
26724         * benchtests/bench-rawmemchr.c: New file.
26725         * benchtests/bench-stpcpy-ifunc.c: New file.
26726         * benchtests/bench-stpcpy.c: New file.
26727         * benchtests/bench-stpncpy-ifunc.c: New file.
26728         * benchtests/bench-stpncpy.c: New file.
26729         * benchtests/bench-strcasecmp-ifunc.c: New file.
26730         * benchtests/bench-strcasecmp.c: New file.
26731         * benchtests/bench-strcasestr-ifunc.c: New file.
26732         * benchtests/bench-strcasestr.c: New file.
26733         * benchtests/bench-strcat-ifunc.c: New file.
26734         * benchtests/bench-strcat.c: New file.
26735         * benchtests/bench-strchr-ifunc.c: New file.
26736         * benchtests/bench-strchr.c: New file.
26737         * benchtests/bench-strchrnul-ifunc.c: New file.
26738         * benchtests/bench-strchrnul.c: New file.
26739         * benchtests/bench-strcmp-ifunc.c: New file.
26740         * benchtests/bench-strcmp.c: New file.
26741         * benchtests/bench-strcpy-ifunc.c: New file.
26742         * benchtests/bench-strcpy.c: New file.
26743         * benchtests/bench-strcspn-ifunc.c: New file.
26744         * benchtests/bench-strcspn.c: New file.
26745         * benchtests/bench-strlen-ifunc.c: New file.
26746         * benchtests/bench-strlen.c: New file.
26747         * benchtests/bench-strncasecmp-ifunc.c: New file.
26748         * benchtests/bench-strncasecmp.c: New file.
26749         * benchtests/bench-strncat-ifunc.c: New file.
26750         * benchtests/bench-strncat.c: New file.
26751         * benchtests/bench-strncmp-ifunc.c: New file.
26752         * benchtests/bench-strncmp.c: New file.
26753         * benchtests/bench-strncpy-ifunc.c: New file.
26754         * benchtests/bench-strncpy.c: New file.
26755         * benchtests/bench-strnlen-ifunc.c: New file.
26756         * benchtests/bench-strnlen.c: New file.
26757         * benchtests/bench-strpbrk-ifunc.c: New file.
26758         * benchtests/bench-strpbrk.c: New file.
26759         * benchtests/bench-strrchr-ifunc.c: New file.
26760         * benchtests/bench-strrchr.c: New file.
26761         * benchtests/bench-strspn-ifunc.c: New file.
26762         * benchtests/bench-strspn.c: New file.
26763         * benchtests/bench-strstr-ifunc.c: New file.
26764         * benchtests/bench-strstr.c: New file.
26766         * benchtests/Makefile: Disable parallel execution of targets.
26767         (string-bench): Add memcpy.
26768         (benchset): New variable to store a list of benchmark sets.
26769         (bench-func): Renamed from bench.
26770         (bench-set): New target.
26771         (bench): Depend on bench-func and bench-set.
26772         * benchtests/README: Add section on benchmark sets.
26773         * benchtests/bench-memcpy-ifunc.c: New file.
26774         * benchtests/bench-memcpy.c: New file.
26775         * benchtests/bench-string.h: New file.
26777 2013-06-11  Andreas Schwab  <schwab@suse.de>
26779         [BZ #15577]
26780         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26781         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26782         values in the triple.
26783         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26784         terminator in the group key.
26786 2013-06-11  Andreas Jaeger  <aj@suse.de>
26788         * po/zh_TW.po: Update Chinese (traditional) translation from
26789         translation project.
26791 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26793         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26794         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26795         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26796         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26797         (clock_getcpuclockid): Likewise.
26798         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26799         Add weak_alias and libc_hidden_def.
26800         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26801         * rt/clock_gettime.c (clock_gettime): Rename to
26802         __clock_gettime.  Add weak_alias and libc_hidden_def.
26803         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26804         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26805         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26806         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26807         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26808         Likewise.
26809         * rt/clock_settime.c (clock_settime): Rename to
26810         __clock_settime.  Add weak_alias and libc_hidden_def.
26811         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26813 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26815         * mach/err_boot.sub: Remove trailing whitespace.
26816         * mach/err_ipc.sub: Likewise.
26817         * mach/err_mach.sub: Likewise.
26819         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26820         (ROUNDING_TESTS_double): Likewise.
26821         (ROUNDING_TESTS_long_double): Likewise.
26822         (ROUNDING_TESTS): Likewise.
26823         * math/libm-test.inc: Include <math-tests.h>.
26824         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26825         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26826         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26827         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26829 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26831         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26832         of assigning.
26834 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26836         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26837         otherwise empty TRANS lines.
26838         * sysdeps/gnu/errlist.c: Regenerated.
26840         * catgets/gencat.c (error_print): Use (void) in function
26841         definition.
26842         * crypt/crypt_util.c (__init_des): Likewise.
26843         * crypt/speeds.c (Stop): Likewise.
26844         (main): Likewise.
26845         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26846         * inet/ruserpass.c (token): Likewise.
26847         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26848         * intl/localealias.c (extend_alias_table): Likewise.
26849         * intl/plural-exp.c (init_germanic_plural): Likewise.
26850         * libio/fcloseall.c (__fcloseall): Likewise.
26851         * libio/genops.c (_IO_flush_all): Likewise.
26852         (_IO_flush_all_linebuffered): Likewise.
26853         (_IO_cleanup): Likewise.
26854         (_IO_iter_begin): Likewise.
26855         (_IO_iter_end): Likewise.
26856         (_IO_list_lock): Likewise.
26857         (_IO_list_unlock): Likewise.
26858         (_IO_list_resetlock): Likewise.
26859         * libio/getchar.c (getchar): Likewise.
26860         * libio/getchar_u.c (getchar_unlocked): Likewise.
26861         * libio/getwchar.c (getwchar): Likewise.
26862         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26863         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26864         * login/getpt.c (__getpt): Likewise.
26865         * login/tst-utmp.c (main): Likewise.
26866         * malloc/hooks.c (__malloc_check_init): Likewise.
26867         * malloc/malloc.c (__malloc_stats): Likewise.
26868         * malloc/mtrace.c (tr_break): Likewise.
26869         (mtrace): Likewise.
26870         (muntrace): Likewise.
26871         * misc/fstab.c (endfsent): Likewise.
26872         * misc/getclktck.c (__getclktck): Likewise.
26873         * misc/getdtsz.c (__getdtablesize): Likewise.
26874         * misc/gethostid.c (gethostid): Likewise.
26875         * misc/getpagesize.c (__getpagesize): Likewise.
26876         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26877         (__get_nprocs): Likewise.
26878         (__get_phys_pages): Likewise.
26879         (__get_avphys_pages): Likewise.
26880         * misc/getttyent.c (getttyent): Likewise.
26881         (setttyent): Likewise.
26882         (endttyent): Likewise.
26883         * misc/getusershell.c (getusershell): Likewise.
26884         (endusershell): Likewise.
26885         (setusershell): Likewise.
26886         (initshells): Likewise.
26887         * misc/hsearch.c (__hdestroy): Likewise.
26888         * misc/sync.c (sync): Likewise.
26889         * misc/syslog.c (closelog_internal): Likewise.
26890         (closelog): Likewise.
26891         * misc/ttyslot.c (ttyslot): Likewise.
26892         * misc/vhangup.c (vhangup): Likewise.
26893         * posix/fork.c (__fork): Likewise.
26894         * posix/getegid.c (__getegid): Likewise.
26895         * posix/geteuid.c (__geteuid): Likewise.
26896         * posix/getgid.c (__getgid): Likewise.
26897         * posix/getpid.c (__getpid): Likewise.
26898         * posix/getppid.c (__getppid): Likewise.
26899         * posix/getuid.c (__getuid): Likewise.
26900         * posix/pause.c (pause): Likewise.
26901         * posix/setpgrp.c (setpgrp): Likewise.
26902         * posix/setsid.c (__setsid): Likewise.
26903         * posix/test-vfork.c (noop): Likewise.
26904         * resolv/gethnamaddr.c (_endhtent): Likewise.
26905         (_gethtent): Likewise.
26906         (ht_endhostent): Likewise.
26907         (gethostent): Likewise.
26908         (dns_service): Likewise.
26909         * stdlib/drand48.c (drand48): Likewise.
26910         * stdlib/lrand48.c (lrand48): Likewise.
26911         * stdlib/mrand48.c (mrand48): Likewise.
26912         * stdlib/rand.c (rand): Likewise.
26913         * stdlib/random.c (__random): Likewise.
26914         * stdlib/setenv.c (clearenv): Likewise.
26915         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26916         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26917         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26918         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26919         (__get_nprocs): Likewise.
26920         (__get_phys_pages): Likewise.
26921         (__get_avphys_pages): Likewise.
26922         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26923         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26924         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26925         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26926         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26927         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26928         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26929         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26930         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26931         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26932         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26933         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26934         * sysdeps/posix/clock.c (clock): Likewise.
26935         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26936         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26937         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26938         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26939         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26940         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26941         (__get_nprocs_conf): Likewise.
26942         (__get_phys_pages): Likewise.
26943         (__get_avphys_pages): Likewise.
26944         * time/clock.c (clock): Likewise.
26945         * time/tzset.c (__tzname_max): Likewise.
26947 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26949         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26950         (__bswap_32): Do not use "register".
26951         * crypt/crypt.c (_ufc_doit_r): Likewise.
26952         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26953         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26954         * gmon/gmon.c (__monstartup): Likewise.
26955         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26956         * hurd/hurdmalloc.c (more_memory): Likewise.
26957         (malloc): Likewise.
26958         (free): Likewise.
26959         (realloc): Likewise.
26960         (malloc_fork_prepare): Likewise.
26961         (malloc_fork_parent): Likewise.
26962         (malloc_fork_child): Likewise.
26963         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26964         (_svcauth_des): Likewise.
26965         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26966         * inet/inet_net.c (inet_network): Likewise.
26967         * inet/inet_netof.c (inet_netof): Likewise.
26968         * inet/rcmd.c (__validuser2_sa): Likewise.
26969         * io/fts.c (fts_open): Likewise.
26970         (fts_load): Likewise.
26971         (fts_close): Likewise.
26972         (fts_read): Likewise.
26973         (fts_children): Likewise.
26974         (fts_build): Likewise.
26975         (fts_stat): Likewise.
26976         (fts_sort): Likewise.
26977         (fts_alloc): Likewise.
26978         (fts_lfree): Likewise.
26979         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26980         (_IO_file_xsgetn): Likewise.
26981         (_IO_file_xsgetn_mmap): Likewise.
26982         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26983         (_IO_cookie_write): Likewise.
26984         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26985         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26986         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26987         * malloc/obstack.c (_obstack_begin): Likewise.
26988         (_obstack_begin_1): Likewise.
26989         (_obstack_newchunk): Likewise.
26990         (_obstack_allocated_p): Likewise.
26991         (obstack_free): Likewise.
26992         (_obstack_memory_used): Likewise.
26993         * misc/getttyent.c (getttynam): Likewise.
26994         (getttyent): Likewise.
26995         (skip): Likewise.
26996         (value): Likewise.
26997         * misc/getusershell.c (initshells): Likewise.
26998         * misc/syslog.c (__vsyslog_chk): Likewise.
26999         * misc/ttyslot.c (ttyslot): Likewise.
27000         * nis/nis_hash.c (__nis_hash): Likewise.
27001         * posix/fnmatch_loop.c (FCT): Likewise.
27002         * posix/getconf.c (print_all): Likewise.
27003         (main): Likewise.
27004         * posix/getopt.c (exchange): Likewise.
27005         * posix/glob.c (globfree): Likewise.
27006         (prefix_array): Likewise.
27007         (__glob_pattern_type): Likewise.
27008         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27009         (NS_GET32): Likewise.
27010         (NS_PUT16): Likewise.
27011         (NS_PUT32): Likewise.
27012         * resolv/gethnamaddr.c (getanswer): Likewise.
27013         (gethostbyname2): Likewise.
27014         (gethostbyaddr): Likewise.
27015         (_gethtent): Likewise.
27016         (_gethtbyname2): Likewise.
27017         (_gethtbyaddr): Likewise.
27018         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27019         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27020         * resolv/res_init.c (__res_vinit): Likewise.
27021         (net_mask): Likewise.
27022         * resolv/res_mkquery.c (outchar): Likewise.
27023         (PRINT): Likewise.
27024         * stdio-common/printf_fp.c (outchar): Likewise.
27025         (PRINT): Likewise.
27026         * stdio-common/printf_fphex.c (outchar): Likewise.
27027         (PRINT): Likewise.
27028         * stdio-common/printf_size.c (outchar): Likewise.
27029         (PRINT): Likewise.
27030         * stdio-common/test_rdwr.c (main): Likewise.
27031         * stdio-common/tfformat.c (matches): Likewise.
27032         * stdio-common/vfprintf.c (outchar): Likewise.
27033         (printf_unknown): Likewise.
27034         (buffered_vfprintf): Likewise.
27035         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27036         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27037         (ReadFile): Likewise.
27038         * stdlib/qsort.c (SWAP): Likewise.
27039         (_quicksort): Likewise.
27040         * stdlib/setenv.c (__add_to_environ): Likewise.
27041         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27042         * stdlib/strtol_l.c (__strtol_l): Likewise.
27043         * stdlib/tst-strtod.c (main): Likewise.
27044         * stdlib/tst-strtol.c (main): Likewise.
27045         * stdlib/tst-strtoll.c (main): Likewise.
27046         * string/bits/string2.h (__strcmp_cc): Likewise.
27047         (__strcmp_cg): Likewise.
27048         (__strcspn_c1): Likewise.
27049         (__strcspn_c2): Likewise.
27050         (__strcspn_c3): Likewise.
27051         (__strspn_c1): Likewise.
27052         (__strspn_c2): Likewise.
27053         (__strspn_c3): Likewise.
27054         (__strsep_1c): Likewise.
27055         (__strsep_2c): Likewise.
27056         (__strsep_3c): Likewise.
27057         * string/memccpy.c (__memccpy): Likewise.
27058         * string/stpcpy.c (__stpcpy): Likewise.
27059         * string/strcmp.c (strcmp): Likewise.
27060         * string/strrchr.c (strrchr): Likewise.
27061         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27062         Likewise.
27063         * sysdeps/mach/hurd/getcwd.c
27064         (_hurd_canonicalize_directory_name_internal): Likewise.
27065         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27066         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27067         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27068         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27069         Likewise, in both definitions.
27070         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27071         definitions.
27072         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27073         64] (__bswap_64): Likewise.
27074         * time/test_time.c (main): Likewise.
27075         * time/tzfile.c (__tzfile_read): Likewise.
27076         (__tzfile_compute): Likewise.
27077         * time/tzset.c (__tzset_parse_tz): Likewise.
27078         (tzset_internal): Likewise.
27079         (compute_change): Likewise.
27080         * wcsmbs/wcscat.c (__wcscat): Likewise.
27081         * wcsmbs/wcschr.c (wcschr): Likewise.
27082         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27083         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27084         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27085         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27086         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27087         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27088         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27089         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27090         * wcsmbs/wmemset.c (wmemset): Likewise.
27092 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27094         * scripts/config.guess: Update to version 2013-05-16.
27095         * scripts/config.sub: Update to version 2013-04-24.
27096         * scripts/install-sh: Update to version 2011-11-20.07.
27097         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27098         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27100 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27102         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27103         * elf/sln.c: Likewise.
27104         * hurd/hurd/ioctl.h: Likewise.
27105         * hurd/hurdmalloc.c: Likewise.
27106         * hurd/xattr.c: Likewise.
27107         * include/shlib-compat.h: Likewise.
27108         * inet/ruserpass.c: Likewise.
27109         * libio/iofgets_u.c: Likewise.
27110         * libio/iofgetws_u.c: Likewise.
27111         * locale/programs/ld-identification.c: Likewise.
27112         * locale/programs/ld-time.c: Likewise.
27113         * mach/msg-destroy.c: Likewise.
27114         * nss/nss_files/files-netgrp.c: Likewise.
27115         * resolv/res_data.c: Likewise.
27116         * soft-fp/op-1.h: Likewise.
27117         * soft-fp/op-2.h: Likewise.
27118         * soft-fp/op-4.h: Likewise.
27119         * soft-fp/op-common.h: Likewise.
27120         * stdio-common/printf_fphex.c: Likewise.
27121         * stdlib/strtod_l.c: Likewise.
27122         * sunrpc/rpc/clnt.h: Likewise.
27123         * sysdeps/generic/framestate.c: Likewise.
27124         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27125         * sysdeps/i386/bsd-setjmp.S: Likewise.
27126         * sysdeps/i386/__longjmp.S: Likewise.
27127         * sysdeps/i386/setjmp.S: Likewise.
27128         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27129         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27130         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27131         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27132         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27133         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27134         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27135         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27136         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27137         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27138         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27139         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27140         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27141         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27142         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27143         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27144         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27145         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27146         * sysdeps/ieee754/support.c: Likewise.
27147         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27148         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27149         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27150         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27151         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27152         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27153         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27154         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27155         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27156         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27157         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27158         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27159         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27160         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27161         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27162         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27163         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27166 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27168         * posix/transbug.c: Remove executable mode.
27170 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27172         * crypt/speeds.c: Remove trailing whitespace.
27173         * dlfcn/default.c: Likewise.
27174         * elf/ifuncdep2.c: Likewise.
27175         * elf/ifuncmain1.c: Likewise.
27176         * elf/ifuncmain1vis.c: Likewise.
27177         * elf/testobj.h: Likewise.
27178         * elf/tst-stackguard1.c: Likewise.
27179         * gmon/sys/gmon.h: Likewise.
27180         * hurd/hurdmsg.c: Likewise.
27181         * hurd/new-fd.c: Likewise.
27182         * hurd/ports-get.c: Likewise.
27183         * iconvdata/ibm1008_420.c: Likewise.
27184         * inet/tst-getni1.c: Likewise.
27185         * inet/tst-getni2.c: Likewise.
27186         * libio/ioungetc.c: Likewise.
27187         * libio/wfiledoalloc.c: Likewise.
27188         * manual/libm-err-tab.pl: Likewise.
27189         * math/w_dremf.c: Likewise.
27190         * misc/ftruncate.c: Likewise.
27191         * posix/bug-glob2.c: Likewise.
27192         * posix/tst-pcre.c: Likewise.
27193         * posix/wait4.c: Likewise.
27194         * resolv/README: Likewise.
27195         * resolv/res_debug.h: Likewise.
27196         * resolv/tst-inet_ntop.c: Likewise.
27197         * setjmp/bug269-setjmp.c: Likewise.
27198         * soft-fp/extended.h: Likewise.
27199         * soft-fp/op-1.h: Likewise.
27200         * soft-fp/op-2.h: Likewise.
27201         * soft-fp/op-4.h: Likewise.
27202         * soft-fp/op-8.h: Likewise.
27203         * soft-fp/testit.c: Likewise.
27204         * stdio-common/bug16.c: Likewise.
27205         * stdlib/random.c: Likewise.
27206         * sunrpc/rpcsvc/rquota.x: Likewise.
27207         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27208         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27209         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27210         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27211         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27212         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27213         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27214         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27215         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27216         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27217         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27218         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27219         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27220         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27221         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27223         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27224         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27225         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27226         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27227         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27228         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27229         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27230         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27231         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27232         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27233         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27235         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27236         * sysdeps/ieee754/s_lib_version.c: Likewise.
27237         * sysdeps/mach/hurd/check_fds.c: Likewise.
27238         * sysdeps/mach/hurd/getsockname.c: Likewise.
27239         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27240         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27241         * sysdeps/powerpc/bits/link.h: Likewise.
27242         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27243         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27244         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27245         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27246         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27247         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27248         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27249         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27250         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27251         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27252         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27253         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27254         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27255         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27256         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27257         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27258         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27259         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27261         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27262         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27263         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27264         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27265         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27266         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27267         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27268         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27269         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27270         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27271         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27272         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27273         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27274         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27275         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27276         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27277         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27278         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27279         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27280         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27281         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27282         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27283         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27284         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27285         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27286         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27287         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27288         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27289         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27290         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27291         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27292         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27294         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27295         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27296         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27297         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27298         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27299         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27300         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27301         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27302         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27303         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27304         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27305         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27306         * sysdeps/powerpc/sysdep.h: Likewise.
27307         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27308         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27309         * sysdeps/sh/dl-trampoline.S: Likewise.
27310         * sysdeps/sh/memset.S: Likewise.
27311         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27312         * sysdeps/sh/strlen.S: Likewise.
27313         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27314         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27315         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27316         * sysdeps/sparc/sparc32/rem.S: Likewise.
27317         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27318         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27319         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27320         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27321         * sysdeps/sparc/sparc32/urem.S: Likewise.
27322         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27323         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27324         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27325         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27326         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27327         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27328         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27329         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27330         * sysdeps/unix/bsd/times.c: Likewise.
27331         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27332         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27336         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27337         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27338         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27339         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27340         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27341         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27342         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27343         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27344         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27345         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27346         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27347         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27348         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27349         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27350         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27351         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27352         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27353         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27354         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27355         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27356         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27357         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27358         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27359         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27360         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27361         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27362         * sysdeps/x86_64/strcspn.S: Likewise.
27364 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27366         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27367         generated file.  Regenerate properly from gen-translit.pl.
27368         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27369         locale/C-translit.h.
27371 2013-06-05  Andreas Schwab  <schwab@suse.de>
27373         [BZ #15100]
27374         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27375         week as 6 instead of -1.
27376         * time/tst-strptime.c (day_tests): Add test case.
27378 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27380         * sysdeps/generic/math_private.h
27381         (libc_feholdexcept_setround_53bit): Replace with
27382         libc_feholdsetround_53bit.
27383         (libc_feupdateenv_53bit): Replace with
27384         libc_feresetround_53bit.
27385         (SET_RESTORE_ROUND_53BIT): Adjust.
27387 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27389         * string/test-strchrnul.c: Add copyright header.
27391         * posix/tst-getaddrinfo4.c: Increase test timeout.
27393 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27395         [BZ #15536]
27396         * math/libm-test.inc (MAX_EXP): Remove
27397         (MIN_EXP): Define.
27398         (ulp): Use MIN_EXP - MANT_DIG.
27399         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27401 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27403         * po/be.po: Revert last change.
27404         * po/zh_CN.po: Likewise.
27405         * po/header.pot: Likewise.
27407 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27409         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27410         link-libc-deps to empty as target-specific variable.
27411         * Makerules (link-libc-args): New variable.
27412         (libc-for-link): Likewise.
27413         (link-libc-deps): Likewise.
27414         (lib%.so): Depend on $(link-libc-deps).  Link with
27415         $(link-libc-args).
27416         (build-module): Link with $(link-libc-args).
27417         (build-module-asneeded): Likewise.
27418         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27419         list of objects.
27420         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27421         target-specific variable.
27422         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27423         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27424         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27425         libc.
27426         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27427         libc and ld.so.
27428         ($(objpfx)libpcprofile.so): Likewise.
27429         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27430         libc_nonshared.a.
27431         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27432         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27433         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27434         $(link-libc-deps).
27435         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27436         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27437         * login/Makefile ($(objpfx)libutil.so): Likewise.
27438         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27439         * math/Makefile ($(objpfx)libm.so): Likewise.
27440         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27441         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27442         variable instead of depending directly on libc.
27443         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27444         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27445         $(link-libc-deps).
27446         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27447         libc.
27448         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27449         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27450         ($(objpfx)libanl.so): Likewise.
27451         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27452         ld.so.
27453         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27454         $(link-libc-deps).
27455         * sysdeps/i386/fpu/Makefile: Remove file.
27456         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27457         ($(objpfx)libm.so): Remove dependency on ld.so.
27459 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27461         [BZ # 15553]
27462         * nis/yp_xdr.c (XDRMAXNAME): Define.
27463         (XDRMAXRECORD): Define.
27464         (xdr_domainname): Use XDRMAXNAME.
27465         (xdr_mapname): Likewise.
27466         (xdr_peername): Likewise.
27467         (xdr_keydat): Use XDRMAXRECORD.
27468         (xdr_valdat): Likewise.
27470 2013-05-30  Jeff Law  <law@redhat.com>
27472         [BZ #14256]
27473         * manual/errno.texi (ESTALE): Update to account for more than
27474         just NFS file systems.
27475         * sysdeps/gnu/errlist.c: Regenerated.
27477 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27479         [BZ #15465]
27480         * elf/Makefile (tests): Add tst-null-argv.
27481         (modules-names):  Add tst-null-argv-lib.
27482         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27483         (tst-null-argv-ENV): Set environment for tst-null-argv.
27484         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27485         (RTLD_PROGNAME): New macro.
27486         * elf/tst-null-argv.c: New test case.
27487         * elf/tst-null-argv-lib.c: Library for test case.
27488         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27489         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27490         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27491         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27492         * elf/dl-init.c (call_init): Likewise.
27493         (_dl_init): Likewise.
27494         * elf/dl-load.c (print_search_path): Likewise.
27495         (_dl_map_object): Likewise.
27496         * elf/dl-lookup.c (do_lookup_x): Likewise.
27497         (add_dependency): Likewise.
27498         (_dl_lookup_symbol_x): Likewise.
27499         (_dl_debug_bindings): Likewise.
27500         * elf/dl-open.c (_dl_show_scope): Likewise.
27501         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27502         * elf/dl-version.c (match_symbol): Likewise.
27503         (_dl_check_map_versions): Likewise.
27504         * elf/rtld.c (dl_main): Likewise.
27505         (print_unresolved): Use RTLD_PROGNAME.
27506         (print_missing_version): Likewise.
27507         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27508         (elf_machine_rela): Likewise.
27509         * sysdeps/powerpc/powerpc32/dl-machine.c
27510         (__process_machine_rela): Likewise.
27511         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27512         Likewise.
27513         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27514         Likewise.
27515         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27516         Likewise.
27517         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27518         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27519         Likewise.
27520         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27521         Likewise.
27522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27524 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27526         * po/be.po: Add descriptive title.
27527         * po/zh_CN.po: Likewise.
27528         * po/header.pot: Likewise.
27530 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27532         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27533         error message.
27534         (enlarge_archive): Likewise.
27536 2013-05-28  Ben North  <ben@redfrontdoor.org>
27538         * manual/arith.texi (frexp): It is the magnitude of the return
27539         value which lies in [0.5, 1), not the return value itself.
27541 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27545 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27547         * stdio-common/bug26.c (main): Correct fscanf template.
27549         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27550         declare _dl_skip_args.
27552         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27553         Don't declare.
27555         * manual/platform.texi: Add missing @end deftypefun.
27557 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27559         [BZ #15529]
27560         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27561         bit of mantissa of 2^16382.
27562         * math/libm-test.inc (hypot_test_data): Add more tests.
27564         * math/libm-test.inc: Add drem and pow10 to list of tested
27565         functions.
27566         (pow10_test): New function.
27567         (drem_test): Likewise.
27568         (drem_test_tonearest): Likewise.
27569         (drem_test_towardzero): Likewise.
27570         (drem_test_downward): Likewise.
27571         (drem_test_upward): Likewise.
27572         (main): Call the new functions.
27574         * math/libm-test.inc (finite_test_data): Remove.
27575         (finite_test): Run tests from isfinite_test_data.
27576         (gamma_test_data): Remove.
27577         (gamma_test): Run tests from lgamma_test_data.
27578         * sysdeps/i386/fpu/libm-test-ulps: Update.
27579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27581 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27583         * manual/platform.texi: Add PowerPC PPR function set documentation.
27584         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27585         implementation.
27587 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27589         * math/libm-test.inc (MAX_EXP): Define.
27590         (ULPDIFF): Define.
27591         (ulp): New function.
27592         (check_float_internal): Use ULPDIFF.
27593         (cpow_test): Disable failing test.
27594         (check_ulp): Test ulp() implemetnation.
27595         (main): Call check_ulp before starting tests.
27597 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27599         * math/gen-libm-test.pl (generate_testfile): Do not handle
27600         START_DATA and END_DATA.
27601         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27602         END_DATA.
27603         (acos_tonearest_test_data): Likewise.
27604         (acos_towardzero_test_data): Likewise.
27605         (acos_downward_test_data): Likewise.
27606         (acos_upward_test_data): Likewise.
27607         (acosh_test_data): Likewise.
27608         (asin_test_data): Likewise.
27609         (asin_tonearest_test_data): Likewise.
27610         (asin_towardzero_test_data): Likewise.
27611         (asin_downward_test_data): Likewise.
27612         (asin_upward_test_data): Likewise.
27613         (asinh_test_data): Likewise.
27614         (atan_test_data): Likewise.
27615         (atanh_test_data): Likewise.
27616         (atan2_test_data): Likewise.
27617         (cabs_test_data): Likewise.
27618         (cacos_test_data): Likewise.
27619         (cacosh_test_data): Likewise.
27620         (carg_test_data): Likewise.
27621         (casin_test_data): Likewise.
27622         (casinh_test_data): Likewise.
27623         (catan_test_data): Likewise.
27624         (catanh_test_data): Likewise.
27625         (cbrt_test_data): Likewise.
27626         (ccos_test_data): Likewise.
27627         (ccosh_test_data): Likewise.
27628         (ceil_test_data): Likewise.
27629         (cexp_test_data): Likewise.
27630         (cimag_test_data): Likewise.
27631         (clog_test_data): Likewise.
27632         (clog10_test_data): Likewise.
27633         (conj_test_data): Likewise.
27634         (copysign_test_data): Likewise.
27635         (cos_test_data): Likewise.
27636         (cos_tonearest_test_data): Likewise.
27637         (cos_towardzero_test_data): Likewise.
27638         (cos_downward_test_data): Likewise.
27639         (cos_upward_test_data): Likewise.
27640         (cosh_test_data): Likewise.
27641         (cosh_tonearest_test_data): Likewise.
27642         (cosh_towardzero_test_data): Likewise.
27643         (cosh_downward_test_data): Likewise.
27644         (cosh_upward_test_data): Likewise.
27645         (cpow_test_data): Likewise.
27646         (cproj_test_data): Likewise.
27647         (creal_test_data): Likewise.
27648         (csin_test_data): Likewise.
27649         (csinh_test_data): Likewise.
27650         (csqrt_test_data): Likewise.
27651         (ctan_test_data): Likewise.
27652         (ctan_tonearest_test_data): Likewise.
27653         (ctan_towardzero_test_data): Likewise.
27654         (ctan_downward_test_data): Likewise.
27655         (ctan_upward_test_data): Likewise.
27656         (ctanh_test_data): Likewise.
27657         (ctanh_tonearest_test_data): Likewise.
27658         (ctanh_towardzero_test_data): Likewise.
27659         (ctanh_downward_test_data): Likewise.
27660         (ctanh_upward_test_data): Likewise.
27661         (erf_test_data): Likewise.
27662         (erfc_test_data): Likewise.
27663         (exp_test_data): Likewise.
27664         (exp_tonearest_test_data): Likewise.
27665         (exp_towardzero_test_data): Likewise.
27666         (exp_downward_test_data): Likewise.
27667         (exp_upward_test_data): Likewise.
27668         (exp10_test_data): Likewise.
27669         (exp2_test_data): Likewise.
27670         (expm1_test_data): Likewise.
27671         (fabs_test_data): Likewise.
27672         (fdim_test_data): Likewise.
27673         (finite_test_data): Likewise.
27674         (floor_test_data): Likewise.
27675         (fma_test_data): Likewise.
27676         (fma_towardzero_test_data): Likewise.
27677         (fma_downward_test_data): Likewise.
27678         (fma_upward_test_data): Likewise.
27679         (fmax_test_data): Likewise.
27680         (fmin_test_data): Likewise.
27681         (fmod_test_data): Likewise.
27682         (fpclassify_test_data): Likewise.
27683         (frexp_test_data): Likewise.
27684         (gamma_test_data): Likewise.
27685         (hypot_test_data): Likewise.
27686         (ilogb_test_data): Likewise.
27687         (isfinite_test_data): Likewise.
27688         (isgreater_test_data): Likewise.
27689         (isgreaterequal_test_data): Likewise.
27690         (isinf_test_data): Likewise.
27691         (isless_test_data): Likewise.
27692         (islessequal_test_data): Likewise.
27693         (islessgreater_test_data): Likewise.
27694         (isnan_test_data): Likewise.
27695         (isnormal_test_data): Likewise.
27696         (issignaling_test_data): Likewise.
27697         (isunordered_test_data): Likewise.
27698         (j0_test_data): Likewise.
27699         (j1_test_data): Likewise.
27700         (jn_test_data): Likewise.
27701         (ldexp_test_data): Likewise.
27702         (lgamma_test_data): Likewise.
27703         (lrint_test_data): Likewise.
27704         (lrint_tonearest_test_data): Likewise.
27705         (lrint_towardzero_test_data): Likewise.
27706         (lrint_downward_test_data): Likewise.
27707         (lrint_upward_test_data): Likewise.
27708         (llrint_test_data): Likewise.
27709         (llrint_tonearest_test_data): Likewise.
27710         (llrint_towardzero_test_data): Likewise.
27711         (llrint_downward_test_data): Likewise.
27712         (llrint_upward_test_data): Likewise.
27713         (log_test_data): Likewise.
27714         (log10_test_data): Likewise.
27715         (log1p_test_data): Likewise.
27716         (log2_test_data): Likewise.
27717         (logb_test_data): Likewise.
27718         (logb_downward_test_data): Likewise.
27719         (lround_test_data): Likewise.
27720         (llround_test_data): Likewise.
27721         (modf_test_data): Likewise.
27722         (nearbyint_test_data): Likewise.
27723         (nextafter_test_data): Likewise.
27724         (nexttoward_test_data): Likewise.
27725         (pow_test_data): Likewise.
27726         (pow_tonearest_test_data): Likewise.
27727         (pow_towardzero_test_data): Likewise.
27728         (pow_downward_test_data): Likewise.
27729         (pow_upward_test_data): Likewise.
27730         (remainder_test_data): Likewise.
27731         (remainder_tonearest_test_data): Likewise.
27732         (remainder_towardzero_test_data): Likewise.
27733         (remainder_downward_test_data): Likewise.
27734         (remainder_upward_test_data): Likewise.
27735         (remquo_test_data): Likewise.
27736         (rint_test_data): Likewise.
27737         (rint_tonearest_test_data): Likewise.
27738         (rint_towardzero_test_data): Likewise.
27739         (rint_downward_test_data): Likewise.
27740         (rint_upward_test_data): Likewise.
27741         (round_test_data): Likewise.
27742         (scalb_test_data): Likewise.
27743         (scalbn_test_data): Likewise.
27744         (scalbln_test_data): Likewise.
27745         (signbit_test_data): Likewise.
27746         (sin_test_data): Likewise.
27747         (sin_tonearest_test_data): Likewise.
27748         (sin_towardzero_test_data): Likewise.
27749         (sin_downward_test_data): Likewise.
27750         (sin_upward_test_data): Likewise.
27751         (sincos_test_data): Likewise.
27752         (sinh_test_data): Likewise.
27753         (sinh_tonearest_test_data): Likewise.
27754         (sinh_towardzero_test_data): Likewise.
27755         (sinh_downward_test_data): Likewise.
27756         (sinh_upward_test_data): Likewise.
27757         (sqrt_test_data): Likewise.
27758         (tan_test_data): Likewise.
27759         (tan_tonearest_test_data): Likewise.
27760         (tan_towardzero_test_data): Likewise.
27761         (tan_downward_test_data): Likewise.
27762         (tan_upward_test_data): Likewise.
27763         (tanh_test_data): Likewise.
27764         (tgamma_test_data): Likewise.
27765         (trunc_test_data): Likewise.
27766         (y0_test_data): Likewise.
27767         (y1_test_data): Likewise.
27768         (yn_test_data): Likewise.
27769         (significand_test_data): Likewise.
27771         * math/gen-libm-test.pl (@functions): Remove variable.
27772         (generate_testfile): Don't handle START and END lines.
27773         * math/libm-test.inc (START): New macro.
27774         (END): Likewise.
27775         (END_COMPLEX): Likewise.
27776         (acos_test): Use END macro without arguments.
27777         (acos_test_tonearest): Likewise.
27778         (acos_test_towardzero): Likewise.
27779         (acos_test_downward): Likewise.
27780         (acos_test_upward): Likewise.
27781         (acosh_test): Likewise.
27782         (asin_test): Likewise.
27783         (asin_test_tonearest): Likewise.
27784         (asin_test_towardzero): Likewise.
27785         (asin_test_downward): Likewise.
27786         (asin_test_upward): Likewise.
27787         (asinh_test): Likewise.
27788         (atan_test): Likewise.
27789         (atanh_test): Likewise.
27790         (atan2_test): Likewise.
27791         (cabs_test): Likewise.
27792         (cacos_test): Use END_COMPLEX macro without arguments.
27793         (cacosh_test): Likewise.
27794         (carg_test): Use END macro without arguments.
27795         (casin_test): Use END_COMPLEX macro without arguments.
27796         (casinh_test): Likewise.
27797         (catan_test): Likewise.
27798         (catanh_test): Likewise.
27799         (cbrt_test): Use END macro without arguments.
27800         (ccos_test): Use END_COMPLEX macro without arguments.
27801         (ccosh_test): Likewise.
27802         (ceil_test): Use END macro without arguments.
27803         (cexp_test): Use END_COMPLEX macro without arguments.
27804         (cimag_test): Use END macro without arguments.
27805         (clog_test): Use END_COMPLEX macro without arguments.
27806         (clog10_test): Likewise.
27807         (conj_test): Likewise.
27808         (copysign_test): Use END macro without arguments.
27809         (cos_test): Likewise.
27810         (cos_test_tonearest): Likewise.
27811         (cos_test_towardzero): Likewise.
27812         (cos_test_downward): Likewise.
27813         (cos_test_upward): Likewise.
27814         (cosh_test): Likewise.
27815         (cosh_test_tonearest): Likewise.
27816         (cosh_test_towardzero): Likewise.
27817         (cosh_test_downward): Likewise.
27818         (cosh_test_upward): Likewise.
27819         (cpow_test): Use END_COMPLEX macro without arguments.
27820         (cproj_test): Likewise.
27821         (creal_test): Use END macro without arguments.
27822         (csin_test): Use END_COMPLEX macro without arguments.
27823         (csinh_test): Likewise.
27824         (csqrt_test): Likewise.
27825         (ctan_test): Likewise.
27826         (ctan_test_tonearest): Likewise.
27827         (ctan_test_towardzero): Likewise.
27828         (ctan_test_downward): Likewise.
27829         (ctan_test_upward): Likewise.
27830         (ctanh_test): Likewise.
27831         (ctanh_test_tonearest): Likewise.
27832         (ctanh_test_towardzero): Likewise.
27833         (ctanh_test_downward): Likewise.
27834         (ctanh_test_upward): Likewise.
27835         (erf_test): Use END macro without arguments.
27836         (erfc_test): Likewise.
27837         (exp_test): Likewise.
27838         (exp_test_tonearest): Likewise.
27839         (exp_test_towardzero): Likewise.
27840         (exp_test_downward): Likewise.
27841         (exp_test_upward): Likewise.
27842         (exp10_test): Likewise.
27843         (exp2_test): Likewise.
27844         (expm1_test): Likewise.
27845         (fabs_test): Likewise.
27846         (fdim_test): Likewise.
27847         (finite_test): Likewise.
27848         (floor_test): Likewise.
27849         (fma_test): Likewise.
27850         (fma_test_towardzero): Likewise.
27851         (fma_test_downward): Likewise.
27852         (fma_test_upward): Likewise.
27853         (fmax_test): Likewise.
27854         (fmin_test): Likewise.
27855         (fmod_test): Likewise.
27856         (fpclassify_test): Likewise.
27857         (frexp_test): Likewise.
27858         (gamma_test): Likewise.
27859         (hypot_test): Likewise.
27860         (ilogb_test): Likewise.
27861         (isfinite_test): Likewise.
27862         (isgreater_test): Likewise.
27863         (isgreaterequal_test): Likewise.
27864         (isinf_test): Likewise.
27865         (isless_test): Likewise.
27866         (islessequal_test): Likewise.
27867         (islessgreater_test): Likewise.
27868         (isnan_test): Likewise.
27869         (isnormal_test): Likewise.
27870         (issignaling_test): Likewise.
27871         (isunordered_test): Likewise.
27872         (j0_test): Likewise.
27873         (j1_test): Likewise.
27874         (jn_test): Likewise.
27875         (ldexp_test): Likewise.
27876         (lgamma_test): Likewise.
27877         (lrint_test): Likewise.
27878         (lrint_test_tonearest): Likewise.
27879         (lrint_test_towardzero): Likewise.
27880         (lrint_test_downward): Likewise.
27881         (lrint_test_upward): Likewise.
27882         (llrint_test): Likewise.
27883         (llrint_test_tonearest): Likewise.
27884         (llrint_test_towardzero): Likewise.
27885         (llrint_test_downward): Likewise.
27886         (llrint_test_upward): Likewise.
27887         (log_test): Likewise.
27888         (log10_test): Likewise.
27889         (log1p_test): Likewise.
27890         (log2_test): Likewise.
27891         (logb_test): Likewise.
27892         (logb_test_downward): Likewise.
27893         (lround_test): Likewise.
27894         (llround_test): Likewise.
27895         (modf_test): Likewise.
27896         (nearbyint_test): Likewise.
27897         (nextafter_test): Likewise.
27898         (nexttoward_test): Likewise.
27899         (pow_test): Likewise.
27900         (pow_test_tonearest): Likewise.
27901         (pow_test_towardzero): Likewise.
27902         (pow_test_downward): Likewise.
27903         (pow_test_upward): Likewise.
27904         (remainder_test): Likewise.
27905         (remainder_test_tonearest): Likewise.
27906         (remainder_test_towardzero): Likewise.
27907         (remainder_test_downward): Likewise.
27908         (remainder_test_upward): Likewise.
27909         (remquo_test): Likewise.
27910         (rint_test): Likewise.
27911         (rint_test_tonearest): Likewise.
27912         (rint_test_towardzero): Likewise.
27913         (rint_test_downward): Likewise.
27914         (rint_test_upward): Likewise.
27915         (round_test): Likewise.
27916         (scalb_test): Likewise.
27917         (scalbn_test): Likewise.
27918         (scalbln_test): Likewise.
27919         (signbit_test): Likewise.
27920         (sin_test): Likewise.
27921         (sin_test_tonearest): Likewise.
27922         (sin_test_towardzero): Likewise.
27923         (sin_test_downward): Likewise.
27924         (sin_test_upward): Likewise.
27925         (sincos_test): Likewise.
27926         (sinh_test): Likewise.
27927         (sinh_test_tonearest): Likewise.
27928         (sinh_test_towardzero): Likewise.
27929         (sinh_test_downward): Likewise.
27930         (sinh_test_upward): Likewise.
27931         (sqrt_test): Likewise.
27932         (tan_test): Likewise.
27933         (tan_test_tonearest): Likewise.
27934         (tan_test_towardzero): Likewise.
27935         (tan_test_downward): Likewise.
27936         (tan_test_upward): Likewise.
27937         (tanh_test): Likewise.
27938         (tgamma_test): Likewise.
27939         (trunc_test): Likewise.
27940         (y0_test): Likewise.
27941         (y1_test): Likewise.
27942         (yn_test): Likewise.
27943         (significand_test): Likewise.
27945 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27947         [BZ #15381]
27948         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27950 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27952         [BZ #14894]
27953         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27954         __ppc_mdoio and __ppc_mdoom.
27955         * manual/platform.texi: Document new functions __ppc_yield,
27956         __ppc_mdoio and __ppc_mdoom.
27958 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27960         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27961         (main): Mention "tls" pseudo-hwcap is legacy.
27962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27964 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27966         * math/gen-libm-test.pl (parse_args): Output only string of
27967         arguments as text for test name, not full call or descriptions of
27968         tests for extra outputs.
27969         (generate_testfile): Do not pass function name to parse_args.
27970         Generate this_func variable from START.
27971         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27972         field to arg_str.
27973         (struct test_ff_f_data): Likewise.
27974         (test_ff_f_data_nexttoward): Likewise.
27975         (struct test_fi_f_data): Likewise.
27976         (struct test_fl_f_data): Likewise.
27977         (struct test_if_f_data): Likewise.
27978         (struct test_fff_f_data): Likewise.
27979         (struct test_c_f_data): Likewise.
27980         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27981         (struct test_fF_f1_data): Likewise.
27982         (struct test_ffI_f1_data): Likewise.
27983         (struct test_c_c_data): Rename test_name field to arg_str.
27984         (struct test_cc_c_data): Likewise.
27985         (struct test_f_i_data): Likewise.
27986         (struct test_ff_i_data): Likewise.
27987         (struct test_f_l_data): Likewise.
27988         (struct test_f_L_data): Likewise.
27989         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27990         and extra2_name.
27991         (COMMON_TEST_SETUP): New macro.
27992         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27993         (COMMON_TEST_CLEANUP): Likewise.
27994         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27995         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27996         macros.
27997         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27998         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27999         macros.
28000         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28001         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28002         cleanup macros.
28003         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28004         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28005         macros.
28006         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28007         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28008         macros.
28009         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28010         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28011         cleanup macros.
28012         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28013         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28014         cleanup macros.
28015         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28016         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28017         cleanup macros.
28018         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28019         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28020         macros.
28021         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28022         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28023         macros.
28024         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28025         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28026         macros.
28027         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28028         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28029         cleanup macros.
28030         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28031         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28032         cleanup macros.
28033         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28034         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28035         macros.
28036         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28037         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28038         cleanup macros.
28039         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28040         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28041         macros.
28042         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28043         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28044         macros.
28045         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28046         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28047         cleanup macros.
28048         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28050 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28052         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28053         to _sifields.sigfault.
28054         (si_addr_lsb): Define new macro.
28055         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28056         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28057         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28059 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28061         [BZ #15441]
28062         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28063         returns -1.
28064         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28065         null return -1.
28066         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28067         loading the domain.
28069 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28071         * math/gen-libm-test.pl (parse_args): Do not include expected
28072         result in test name.
28073         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28074         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28075         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28076         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28077         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28080 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28082         * benchtests/Makefile: Sort function entries.
28084         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28085         tanh, asinh, acosh, atanh.
28086         * benchtests/acos-inputs: New file.
28087         * benchtests/acosh-inputs: New file.
28088         * benchtests/asin-inputs: New file.
28089         * benchtests/asinh-inputs: New file.
28090         * benchtests/atanh-inputs: New file.
28091         * benchtests/cosh-inputs: New file.
28092         * benchtests/log-inputs: New file.
28093         * benchtests/sinh-inputs: New file.
28094         * benchtests/tanh-inputs: New file.
28096 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28098         [BZ #15339]
28099         * posix/tst-getaddrinfo4.c: New test.
28100         * posix/Makefile (tests): Add it.
28102 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28104         [BZ #15339]
28105         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28106         when no services were used.
28107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28108         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28110 2013-05-21  Andreas Schwab  <schwab@suse.de>
28112         [BZ #15014]
28113         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28114         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28115         successful.
28116         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28117         redundant variable declarations and reallocation of buffer when
28118         parsing as IPv6 address.  Always set NSS status when called from
28119         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28120         buffer too small.  Correct computation of needed size.
28121         * nss/Makefile (tests): Add test-digits-dots.
28122         * nss/test-digits-dots.c: New test.
28124 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28126         * benchtests/Makefile: Remove instructions for adding
28127         benchmark tests.
28128         * benchtests/README: New file to explain how to execute and
28129         enhance the benchmark tests.
28131 2013-05-21  Andreas Schwab  <schwab@suse.de>
28133         [BZ #15493]
28134         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28135         * setjmp/tst-sigsetjmp.c: New test.
28137 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28139         * sysdeps/x86_64/memset.S (memset): New implementation.
28140         (__bzero): Likewise.
28141         (__memset_tail): New function.
28143 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28145         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28146         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28147         __memcpy_sse2_unaligned ifunc selection.
28148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28149         Add memcpy-sse2-unaligned.S.
28150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28151         Add: __memcpy_sse2_unaligned.
28153 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28155         [BZ #15490]
28156         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28157         math_force_eval before restoring floating-point envrionment.
28158         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28159         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28160         Likewise.
28161         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28162         <math_private.h>.
28163         (__nearbyintl): Use math_force_eval before restoring
28164         floating-point environment.
28165         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28167         * math/gen-libm-test.pl (special_functions): Remove.
28168         (parse_args): Don't handle TEST_extra.  Handle functions with no
28169         return value.
28170         * math/libm-test.inc (struct test_sincos_data): Replace with
28171         struct test_fFF_11_data.
28172         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28173         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28174         (sincos_test_data): Change element type to struct
28175         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28176         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28177         RUN_TEST_LOOP_sincos.
28178         * math/README.libm-test: Don't mention special handling of
28179         individual functions.
28180         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28181         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28182         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28183         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28184         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28187         * math/gen-libm-test.pl (get_variable): Remove function.
28188         (parse_args): Don't show pointer parameters to call in test
28189         names.  Use "extra output N" in test names for extra outputs
28190         rather than naming variables.
28192 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28194         [BZ #15488]
28195         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28196         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28197         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28198         double tests.
28199         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28200         disable.
28201         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28202         check_long_double.
28204         * math/gen-libm-test.pl (@tests): Remove variable.
28205         ($count): Likewise.
28206         (new_test): Remove function.
28207         (show_exceptions): New function.
28208         (special_functions): Use show_exceptions instead of new_test.
28209         (parse_args): Likewise.
28210         (generate_testfile): Pass only function name in generated call to
28211         print_max_error or print_complex_max_error.
28212         (get_ulps): Do not handle complex tests specially.
28213         (output_test): Rename to ...
28214         (get_all_ulps_for_test): ... this.  Return a string rather than
28215         printing to a file.  Require ulps to be present.
28216         (output_ulps): Generate arrays rather than #defines.
28217         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28218         (struct ulp_data): New type.
28219         (BUILD_COMPLEX_ULP): Remove macro.
28220         (compare_ulp_data): New function.
28221         (find_ulps): Likewise.
28222         (find_test_ulps): Likewise.
28223         (find_function_ulps): Likewise.
28224         (find_complex_function_ulps): Likewise.
28225         (print_max_error): Determine allowed ulps using
28226         find_function_ulps.
28227         (print_complex_max_error): Determine allowed ulps using
28228         find_complex_function_ulps.
28229         (check_float_internal): Determine max ulps using find_test_ulps.
28230         (check_float): Do not take max_ulp parameter.  Update call to
28231         check_float_internal.
28232         (check_complex): Likewise.
28233         (check_int): Do not take max_ulp parameter.
28234         (check_long): Likewise.
28235         (check_bool): Likewise.
28236         (check_longlong): Likewise.
28237         (struct test_f_f_data): Remove max_ulp field.
28238         (struct test_ff_f_data): Likewise.
28239         (struct test_ff_f_data_nexttoward): Likewise.
28240         (struct test_fi_f_data): Likewise.
28241         (struct test_fl_f_data): Likewise.
28242         (struct test_if_f_data): Likewise.
28243         (struct test_fff_f_data): Likewise.
28244         (struct test_c_f_data): Likewise.
28245         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28246         (struct test_fF_f1_data): Likewise.
28247         (struct test_ffI_f1_data): Likewise.
28248         (struct test_c_c_data): Remove max_ulp field.
28249         (struct test_cc_c_data): Likewise.
28250         (struct test_f_i_data): Likewise.
28251         (struct test_ff_i_data): Likewise.
28252         (struct test_f_l_data): Likewise.
28253         (struct test_f_L_data): Likewise.
28254         (struct test_sincos_data): Likewise.
28255         (RUN_TEST_f_f): Do not handle ulps.
28256         (RUN_TEST_LOOP_f_f): Likewise.
28257         (RUN_TEST_2_f): Likewise.
28258         (RUN_TEST_LOOP_2_f): Likewise.
28259         (RUN_TEST_fff_f): Likewise.
28260         (RUN_TEST_LOOP_fff_f): Likewise.
28261         (RUN_TEST_c_f): Likewise.
28262         (RUN_TEST_LOOP_c_f): Likewise.
28263         (RUN_TEST_f_f1): Likewise.
28264         (RUN_TEST_LOOP_f_f1): Likewise.
28265         (RUN_TEST_fF_f1): Likewise.
28266         (RUN_TEST_LOOP_fF_f1): Likewise.
28267         (RUN_TEST_fI_f1): Likewise.
28268         (RUN_TEST_LOOP_fI_f1): Likewise.
28269         (RUN_TEST_ffI_f1): Likewise.
28270         (RUN_TEST_LOOP_ffI_f1): Likewise.
28271         (RUN_TEST_c_c): Likewise.
28272         (RUN_TEST_LOOP_c_c): Likewise.
28273         (RUN_TEST_cc_c): Likewise.
28274         (RUN_TEST_LOOP_cc_c): Likewise.
28275         (RUN_TEST_f_i): Likewise.
28276         (RUN_TEST_LOOP_f_i): Likewise.
28277         (RUN_TEST_f_i_tg): Likewise.
28278         (RUN_TEST_LOOP_f_i_tg): Likewise.
28279         (RUN_TEST_ff_i_tg): Likewise.
28280         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28281         (RUN_TEST_f_b): Likewise.
28282         (RUN_TEST_LOOP_f_b): Likewise.
28283         (RUN_TEST_f_b_tg): Likewise.
28284         (RUN_TEST_LOOP_f_b_tg): Likewise.
28285         (RUN_TEST_f_l): Likewise.
28286         (RUN_TEST_LOOP_f_l): Likewise.
28287         (RUN_TEST_f_L): Likewise.
28288         (RUN_TEST_LOOP_f_L): Likewise.
28289         (RUN_TEST_sincos): Likewise.
28290         (RUN_TEST_LOOP_sincos): Likewise.
28292 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28294         [BZ #15480]
28295         [BZ #15485]
28296         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28297         main case of finite arguments, set rounding mode to FE_TONEAREST
28298         and discard exceptions.
28299         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28300         exceptions.
28301         (remainder_tonearest_test_data): New variable.
28302         (remainder_test_tonearest): New function.
28303         (remainder_towardzero_test_data): New variable.
28304         (remainder_test_towardzero): New function.
28305         (remainder_downward_test_data): New variable.
28306         (remainder_test_downward): New function.
28307         (remainder_upward_test_data): New variable.
28308         (remainder_test_upward): New function.
28309         (main): Call the new test functions.
28311         * math/libm-test.inc (struct test_f_f1_data): Remove field
28312         extra_init.
28313         (struct test_fF_f1_data): Likewise.
28314         (struct test_ffI_f1_data): Likewise.
28315         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28316         based on value of EXTRA_EXPECTED.
28317         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28318         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28319         EXTRA_VAR based on value of EXTRA_EXPECTED.
28320         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28321         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28322         EXTRA_VAR based on value of EXTRA_EXPECTED.
28323         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28324         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28325         EXTRA_VAR based on value of EXTRA_EXPECTED.
28326         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28327         * math/gen-libm-test.pl (parse_args): Don't output initializers
28328         for extra output values.
28330         * math/libm-test.inc (check_int): Expect result to be exactly
28331         equal to expected value and do not handle ulps.
28332         (check_long): Likewise.
28333         (check_longlong): Likewise.
28335         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28336         exceptions.
28337         (cimag_test_data): Likewise.
28338         (conj_test_data): Likewise.
28339         (copysign_test_data): Likewise.
28340         (cproj_test_data): Likewise.
28341         (creal_test_data): Likewise.
28342         (fabs_test_data): Likewise.
28343         (fdim_test_data): Likewise.
28344         (finite_test_data): Likewise.
28345         (floor_test_data): Likewise.
28346         (fmax_test_data): Likewise.
28347         (fmin_test_data): Likewise.
28348         (fmod_test_data): Likewise.
28349         (fpclassify_test_data): Likewise.
28350         (frexp_test_data): Likewise.
28351         (ilogb_test_data): Likewise.
28352         (isfinite_test_data): Likewise.
28353         (isgreater_test_data): Likewise.
28354         (isgreaterequal_test_data): Likewise.
28355         (isinf_test_data): Likewise.
28356         (isless_test_data): Likewise.
28357         (islessequal_test_data): Likewise.
28358         (islessgreater_test_data): Likewise.
28359         (isnan_test_data): Likewise.
28360         (isnormal_test_data): Likewise.
28361         (issignaling_test_data): Likewise.
28362         (isunordered_test_data): Likewise.
28363         (ldexp_test_data): Likewise.
28364         (lrint_test_data): Likewise.
28365         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28366         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28367         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28368         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28369         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28370         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28371         test input.
28372         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28373         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28374         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28375         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28376         that test input.
28377         (lrint_downward_test_data): Test for "inexact" exceptions.
28378         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28379         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28380         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28381         test input.
28382         (lrint_upward_test_data): Test for "inexact" exceptions.
28383         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28384         test input.
28385         (llrint_test_data): Test for "inexact" exceptions.
28386         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28387         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28388         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28389         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28390         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28391         (llrint_downward_test_data): Test for "inexact" exceptions.
28392         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28393         (llrint_upward_test_data): Test for "inexact" exceptions.
28394         (logb_test_data): Likewise.
28395         (logb_downward_test_data): Likewise.
28396         (nextafter_test_data): Likewise.
28397         (nexttoward_test_data): Likewise.
28398         (remainder_test_data): Likewise.
28399         (remquo_test_data): Likewise.
28400         (scalbn_test_data): Likewise.
28401         (scalbln_test_data): Likewise.
28402         (signbit_test_data): Likewise.
28403         (sqrt_test_data): Likewise.
28404         (significand_test_data): Likewise.
28406 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28408         [BZ #15424]
28409         * benchtests/bench-modf.c (struct args): Mark arg0 as
28410         volatile.
28411         * scripts/bench.pl: Mark members of struct args as volatile.
28413 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28415         [BZ # 15497]
28416         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28417         negative infinity on POWER6 or lower.
28418         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28420 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28422         [BZ #15442]
28423         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28424         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28425         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28426         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28427         (_FP_SETQNAN): New macro.
28428         (_FP_SETQNAN_SEMIRAW): Likewise.
28429         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28430         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28431         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28432         (FP_EXTEND): Use _FP_FRAC_SNANP.
28433         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28434         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28435         into account.
28436         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28437         New macro.
28438         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28439         Likewise.
28441 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28443         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28444         with DIVIDE_BY_ZERO_EXCEPTION.
28445         (gamma_test_data): Likewise.
28446         (lgamma_test_data): Likewise.
28447         (log_test_data): Likewise.
28448         (log10_test_data): Likewise.
28449         (log2_test_data): Likewise.
28450         (tgamma_test_data): Likewise.
28452         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28453         (acos_test_tonearest): Likewise.
28454         (acos_test_towardzero): Likewise.
28455         (acos_test_downward): Likewise.
28456         (acos_test_upward): Likewise.
28457         (acosh_test): Likewise.
28458         (asin_test): Likewise.
28459         (asin_test_tonearest): Likewise.
28460         (asin_test_towardzero): Likewise.
28461         (asin_test_downward): Likewise.
28462         (asin_test_upward): Likewise.
28463         (asinh_test): Likewise.
28464         (atan_test): Likewise.
28465         (atanh_test): Likewise.
28466         (atan2_test): Likewise.
28467         (cabs_test): Likewise.
28468         (cacos_test): Likewise.
28469         (cacosh_test): Likewise.
28470         (casin_test): Likewise.
28471         (casinh_test): Likewise.
28472         (catan_test): Likewise.
28473         (catanh_test): Likewise.
28474         (cbrt_test): Likewise.
28475         (ccos_test): Likewise.
28476         (ccosh_test): Likewise.
28477         (cexp_test): Likewise.
28478         (clog_test): Likewise.
28479         (clog10_test): Likewise.
28480         (cos_test): Likewise.
28481         (cos_test_tonearest): Likewise.
28482         (cos_test_towardzero): Likewise.
28483         (cos_test_downward): Likewise.
28484         (cos_test_upward): Likewise.
28485         (cosh_test): Likewise.
28486         (cosh_test_tonearest): Likewise.
28487         (cosh_test_towardzero): Likewise.
28488         (cosh_test_downward): Likewise.
28489         (cosh_test_upward): Likewise.
28490         (cpow_test): Likewise.
28491         (csin_test): Likewise.
28492         (csinh_test): Likewise.
28493         (csqrt_test): Likewise.
28494         (ctan_test): Likewise.
28495         (ctan_test_tonearest): Likewise.
28496         (ctan_test_towardzero): Likewise.
28497         (ctan_test_downward): Likewise.
28498         (ctan_test_upward): Likewise.
28499         (ctanh_test): Likewise.
28500         (ctanh_test_tonearest): Likewise.
28501         (ctanh_test_towardzero): Likewise.
28502         (ctanh_test_downward): Likewise.
28503         (ctanh_test_upward): Likewise.
28504         (erf_test): Likewise.
28505         (erfc_test): Likewise.
28506         (exp_test): Likewise.
28507         (exp_test_tonearest): Likewise.
28508         (exp_test_towardzero): Likewise.
28509         (exp_test_downward): Likewise.
28510         (exp_test_upward): Likewise.
28511         (exp10_test): Likewise.
28512         (exp2_test): Likewise.
28513         (expm1_test): Likewise.
28514         (fmod_test): Likewise.
28515         (gamma_test): Likewise.
28516         (hypot_test): Likewise.
28517         (j0_test): Likewise.
28518         (j1_test): Likewise.
28519         (jn_test): Likewise.
28520         (lgamma_test): Likewise.
28521         (log_test): Likewise.
28522         (log10_test): Likewise.
28523         (log1p_test): Likewise.
28524         (log2_test): Likewise.
28525         (logb_test_downward): Likewise.
28526         (pow_test): Likewise.
28527         (pow_test_tonearest): Likewise.
28528         (pow_test_towardzero): Likewise.
28529         (pow_test_downward): Likewise.
28530         (pow_test_upward): Likewise.
28531         (remainder_test): Likewise.
28532         (remquo_test): Likewise.
28533         (sin_test): Likewise.
28534         (sin_test_tonearest): Likewise.
28535         (sin_test_towardzero): Likewise.
28536         (sin_test_downward): Likewise.
28537         (sin_test_upward): Likewise.
28538         (sincos_test): Likewise.
28539         (sinh_test): Likewise.
28540         (sinh_test_tonearest): Likewise.
28541         (sinh_test_towardzero): Likewise.
28542         (sinh_test_downward): Likewise.
28543         (sinh_test_upward): Likewise.
28544         (sqrt_test): Likewise.
28545         (tan_test): Likewise.
28546         (tan_test_tonearest): Likewise.
28547         (tan_test_towardzero): Likewise.
28548         (tan_test_downward): Likewise.
28549         (tan_test_upward): Likewise.
28550         (tanh_test): Likewise.
28551         (tgamma_test): Likewise.
28552         (y0_test): Likewise.
28553         (y1_test): Likewise.
28554         (yn_test): Likewise.
28556         * math/gen-libm-test.pl (adjust_arg): Remove function.
28557         (special_function): Remove argument $in_func.  Only handle
28558         generating output for tables of tests, not inside functions.
28559         (parse_args): Likewise.
28560         (generate_testfile): Remove variable $in_func.  Update call to
28561         parse_args.
28562         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28563         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28564         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28565         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28566         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28567         (MAX_VALUE_INIT): Rename macro to max_value.
28568         (MIN_VALUE_INIT): Rename macro to min_value.
28569         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28570         (plus_zero): Remove variable.
28571         (minus_zero): Likewise.
28572         (plus_infty): Likewise.
28573         (minus_infty): Likewise.
28574         (qnan_value): Likewise.
28575         (max_value): Likewise.
28576         (min_value): Likewise.
28577         (min_subnorm_value): Likewise.
28579 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28581         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28582         uint64_t or uint32_t usage.
28583         * crypt/sha256-block.c: Likewise.
28584         * crypt/sha256-crypt.c: Likewise.
28585         * crypt/sha256.c: Likewise.
28586         * crypt/sha512-block.c: Likewise.
28587         * crypt/sha512-crypt.c: Likewise.
28588         * crypt/sha512.c: Likewise.
28589         * debug/backtrace-tst.c: Likewise.
28590         * debug/pcprofiledump.c: Likewise.
28591         * elf/cache.c: Likewise.
28592         * elf/dl-cache.c: Likewise.
28593         * elf/dl-misc.c: Likewise.
28594         * elf/dl-profile.c: Likewise.
28595         * elf/dl-support.c: Likewise.
28596         * elf/ldconfig.c: Likewise.
28597         * elf/sprof.c: Likewise.
28598         * iconv/dummy-repertoire.c: Likewise.
28599         * iconv/iconv_charmap.c: Likewise.
28600         * iconv/skeleton.c: Likewise.
28601         * iconvdata/8bit-generic.c: Likewise.
28602         * iconvdata/cp737.h: Likewise.
28603         * iconvdata/cp775.h: Likewise.
28604         * iconvdata/ibm1008.h: Likewise.
28605         * iconvdata/ibm1025.h: Likewise.
28606         * iconvdata/ibm1046.h: Likewise.
28607         * iconvdata/ibm1097.h: Likewise.
28608         * iconvdata/ibm1112.h: Likewise.
28609         * iconvdata/ibm1122.h: Likewise.
28610         * iconvdata/ibm1123.h: Likewise.
28611         * iconvdata/ibm1124.h: Likewise.
28612         * iconvdata/ibm1129.h: Likewise.
28613         * iconvdata/ibm1130.h: Likewise.
28614         * iconvdata/ibm1132.h: Likewise.
28615         * iconvdata/ibm1133.h: Likewise.
28616         * iconvdata/ibm1137.h: Likewise.
28617         * iconvdata/ibm1140.h: Likewise.
28618         * iconvdata/ibm1141.h: Likewise.
28619         * iconvdata/ibm1142.h: Likewise.
28620         * iconvdata/ibm1143.h: Likewise.
28621         * iconvdata/ibm1144.h: Likewise.
28622         * iconvdata/ibm1145.h: Likewise.
28623         * iconvdata/ibm1146.h: Likewise.
28624         * iconvdata/ibm1147.h: Likewise.
28625         * iconvdata/ibm1148.h: Likewise.
28626         * iconvdata/ibm1149.h: Likewise.
28627         * iconvdata/ibm1153.h: Likewise.
28628         * iconvdata/ibm1154.h: Likewise.
28629         * iconvdata/ibm1155.h: Likewise.
28630         * iconvdata/ibm1156.h: Likewise.
28631         * iconvdata/ibm1157.h: Likewise.
28632         * iconvdata/ibm1158.h: Likewise.
28633         * iconvdata/ibm1160.h: Likewise.
28634         * iconvdata/ibm1161.h: Likewise.
28635         * iconvdata/ibm1162.h: Likewise.
28636         * iconvdata/ibm1163.h: Likewise.
28637         * iconvdata/ibm1164.h: Likewise.
28638         * iconvdata/ibm1166.h: Likewise.
28639         * iconvdata/ibm1167.h: Likewise.
28640         * iconvdata/ibm12712.h: Likewise.
28641         * iconvdata/ibm1390.h: Likewise.
28642         * iconvdata/ibm1399.h: Likewise.
28643         * iconvdata/ibm16804.h: Likewise.
28644         * iconvdata/ibm4517.h: Likewise.
28645         * iconvdata/ibm4899.h: Likewise.
28646         * iconvdata/ibm4909.h: Likewise.
28647         * iconvdata/ibm4971.h: Likewise.
28648         * iconvdata/ibm5347.h: Likewise.
28649         * iconvdata/ibm803.h: Likewise.
28650         * iconvdata/ibm856.h: Likewise.
28651         * iconvdata/ibm901.h: Likewise.
28652         * iconvdata/ibm902.h: Likewise.
28653         * iconvdata/ibm9030.h: Likewise.
28654         * iconvdata/ibm9066.h: Likewise.
28655         * iconvdata/ibm921.h: Likewise.
28656         * iconvdata/ibm922.h: Likewise.
28657         * iconvdata/ibm9448.h: Likewise.
28658         * iconvdata/isiri-3342.h: Likewise.
28659         * iconvdata/jis0201.h: Likewise.
28660         * include/link.h: Likewise.
28661         * include/netdb.h: Likewise.
28662         * inet/check_native.c: Likewise.
28663         * inet/check_pf.c: Likewise.
28664         * inet/getipv4sourcefilter.c: Likewise.
28665         * inet/getnameinfo.c: Likewise.
28666         * inet/getsourcefilter.c: Likewise.
28667         * inet/htonl.c: Likewise.
28668         * inet/setipv4sourcefilter.c: Likewise.
28669         * inet/setsourcefilter.c: Likewise.
28670         * inet/test-inet6_opt.c: Likewise.
28671         * inet/tst-network.c: Likewise.
28672         * locale/C-collate.c: Likewise.
28673         * locale/C-ctype.c: Likewise.
28674         * locale/C-time.c: Likewise.
28675         * locale/C-translit.h: Likewise.
28676         * locale/loadarchive.c: Likewise.
28677         * locale/programs/3level.h: Likewise.
28678         * locale/programs/charmap.c: Likewise.
28679         * locale/programs/charmap.h: Likewise.
28680         * locale/programs/ld-address.c: Likewise.
28681         * locale/programs/ld-collate.c: Likewise.
28682         * locale/programs/ld-ctype.c: Likewise.
28683         * locale/programs/ld-identification.c: Likewise.
28684         * locale/programs/ld-measurement.c: Likewise.
28685         * locale/programs/ld-messages.c: Likewise.
28686         * locale/programs/ld-monetary.c: Likewise.
28687         * locale/programs/ld-name.c: Likewise.
28688         * locale/programs/ld-numeric.c: Likewise.
28689         * locale/programs/ld-paper.c: Likewise.
28690         * locale/programs/ld-telephone.c: Likewise.
28691         * locale/programs/ld-time.c: Likewise.
28692         * locale/programs/linereader.c: Likewise.
28693         * locale/programs/locale.c: Likewise.
28694         * locale/programs/locarchive.c: Likewise.
28695         * locale/programs/locfile.h: Likewise.
28696         * locale/programs/repertoire.c: Likewise.
28697         * locale/programs/simple-hash.c: Likewise.
28698         * locale/programs/simple-hash.h: Likewise.
28699         * malloc/memusage.c: Likewise.
28700         * malloc/memusagestat.c: Likewise.
28701         * nis/nis_defaults.c: Likewise.
28702         * nis/nis_hash.c: Likewise.
28703         * nis/nis_print.c: Likewise.
28704         * nis/nis_xdr.c: Likewise.
28705         * nscd/connections.c: Likewise.
28706         * nscd/hstcache.c: Likewise.
28707         * nscd/nscd_gethst_r.c: Likewise.
28708         * nscd/nscd_getserv_r.c: Likewise.
28709         * nscd/nscd_helper.c: Likewise.
28710         * nscd/servicescache.c: Likewise.
28711         * nss/makedb.c: Likewise.
28712         * nss/nss_db/db-XXX.c: Likewise.
28713         * nss/nss_db/db-initgroups.c: Likewise.
28714         * nss/nss_db/db-netgrp.c: Likewise.
28715         * nss/nss_files/files-network.c: Likewise.
28716         * nss/nss_files/files-parse.c: Likewise.
28717         * posix/bug-regex5.c: Likewise.
28718         * posix/fnmatch_loop.c: Likewise.
28719         * posix/regcomp.c: Likewise.
28720         * posix/regexec.c: Likewise.
28721         * posix/tst-rfc3484-2.c: Likewise.
28722         * posix/tst-rfc3484-3.c: Likewise.
28723         * posix/tst-rfc3484.c: Likewise.
28724         * resolv/nss_dns/dns-canon.c: Likewise.
28725         * resolv/nss_dns/dns-network.c: Likewise.
28726         * resolv/res_init.c: Likewise.
28727         * resolv/res_mkquery.c: Likewise.
28728         * resolv/tst-aton.c: Likewise.
28729         * stdlib/cxa_atexit.c: Likewise.
28730         * stdlib/cxa_finalize.c: Likewise.
28731         * stdlib/gen-fpioconst.c: Likewise.
28732         * stdlib/strtol_l.c: Likewise.
28733         * string/tst-endian.c: Likewise.
28734         * sunrpc/auth_des.c: Likewise.
28735         * sunrpc/clnt_udp.c: Likewise.
28736         * sunrpc/rtime.c: Likewise.
28737         * sunrpc/svcauth_des.c: Likewise.
28738         * sunrpc/xdr.c: Likewise.
28739         * sunrpc/xdr_intXX_t.c: Likewise.
28740         * sunrpc/xdr_rec.c: Likewise.
28741         * sysdeps/generic/ldconfig.h: Likewise.
28742         * sysdeps/generic/ldsodefs.h: Likewise.
28743         * sysdeps/generic/memusage.h: Likewise.
28744         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28745         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28746         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28747         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28748         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28750         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28751         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28752         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28753         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28754         * sysdeps/posix/getaddrinfo.c: Likewise.
28755         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28756         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28757         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28758         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28759         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28760         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28761         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28762         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28763         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28764         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28765         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28766         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28767         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28768         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28769         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28770         * sysdeps/x86_64/dl-tls.h: Likewise.
28771         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28772         * time/alt_digit.c: Likewise.
28773         * time/era.c: Likewise.
28774         * wcsmbs/tst-c16c32-1.c: Likewise.
28776 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28778         * math/libm-test.inc (struct test_sincos_data): New type.
28779         (RUN_TEST_LOOP_sincos): New macro.
28780         (sincos_test_data): New variable.
28781         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28783 2013-05-16  Richard Henderson  <rth@redhat.com>
28785         * math/atest-exp2.c (LIMB64): New macro.
28786         (CONSTSZ): New macro.
28787         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28788         (hexdig): Move ...
28789         (print_mpn_fp): ... to function scope.
28790         (read_mpn_hex): Remove.
28791         (get_log2): Remove.
28792         (exp2_mpn): Use mp_log2.
28793         (main): Use mp_exp1.
28795 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28797         * math/libm-test.inc: Remove comment about not testing "inexact"
28798         exceptions.
28799         (INEXACT_EXCEPTION): New macro.
28800         (NO_INEXACT_EXCEPTION): Likewise.
28801         (INVALID_EXCEPTION_OK): Update value.
28802         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28803         (OVERFLOW_EXCEPTION_OK): Likewise.
28804         (UNDERFLOW_EXCEPTION_OK): Likewise.
28805         (IGNORE_ZERO_INF_SIGN): Likewise.
28806         (ERRNO_UNCHANGED): Likewise.
28807         (ERRNO_EDOM): Likewise.
28808         (ERRNO_ERANGE): Likewise.
28809         (test_exceptions): Handle testing "inexact" exceptions.
28810         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28811         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28812         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28813         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28814         INEXACT_EXCEPTION.
28815         (rint_towardzero_test_data): Likewise.
28816         (rint_downward_test_data): Likewise.
28817         (rint_upward_test_data): Likewise.
28819         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28820         with OVERFLOW_EXCEPTION.
28821         (exp10_test_data): Likewise.
28822         (exp2_test_data): Likewise.
28823         (expm1_test_data): Likewise.
28824         (lgamma_test_data): Likewise.
28825         (pow_test_data): Likewise.
28826         (tgamma_test_data): Likewise.
28827         (yn_test_data): Remove duplicate test of overflow.
28829         * math/libm-test.inc (struct test_cc_c_data): New type.
28830         (RUN_TEST_LOOP_cc_c): New macro.
28831         (cpow_test_data): New variable.
28832         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28834         * math/libm-test.inc (struct test_f_L_data): New type.
28835         (RUN_TEST_LOOP_f_L): New macro.
28836         (llrint_test_data): New variable.
28837         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28838         (llrint_tonearest_test_data): New variable.
28839         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28840         (llrint_towardzero_test_data): New variable.
28841         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28842         (llrint_downward_test_data): New variable.
28843         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28844         (llrint_upward_test_data): New variable.
28845         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28846         (llround_test_data): New variable.
28847         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28849 2013-05-13  Peter Collingbourne  <pcc@google.com>
28851         * math/atest-exp2.c (get_log2): Remove const attribute.
28853 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28855         * math/libm-test.inc (struct test_f_l_data): New type.
28856         (RUN_TEST_LOOP_f_l): New macro.
28857         (lrint_test_data): New variable.
28858         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28859         (lrint_tonearest_test_data): New variable.
28860         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28861         (lrint_towardzero_test_data): New variable.
28862         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28863         (lrint_downward_test_data): New variable.
28864         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28865         (lrint_upward_test_data): New variable.
28866         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28867         (lround_test_data): New variable.
28868         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28870 2013-05-15  Peter Collingbourne  <pcc@google.com>
28872         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28873         (EXTRACT_WORDS64) Use where appropriate.
28874         (INSERT_WORDS64) Likewise.
28876         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28877         constraints with x constraints.
28878         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28880         * malloc/obstack.c (_obstack_compat): Add initializer.
28882 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28885         si_trapno and add si_addr_lsb to _sifields.sigfault.
28886         (si_trapno): Remove macro.
28887         (si_addr_lsb): Define new macro.
28888         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28890 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28892         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28893         instead of TEST_f_l.
28894         (llrint_test_tonearest): Likewise.
28895         (llrint_test_towardzero): Likewise.
28896         (llrint_test_downward): Likewise.
28897         (llrint_test_upward): Likewise.
28898         (llround_test): Likewise.
28900         * math/libm-test.inc (struct test_f_i_data): Add comment.
28901         (RUN_TEST_LOOP_f_b): New macro.
28902         (RUN_TEST_LOOP_f_b_tg): Likewise.
28903         (finite_test_data): New variable.
28904         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28905         (isfinite_test_data): New variable.
28906         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28907         (isinf_test_data): New variable.
28908         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28909         (isnan_test_data): New variable.
28910         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28911         (isnormal_test_data): New variable.
28912         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28913         (issignaling_test_data): New variable.
28914         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28915         (signbit_test_data): New variable.
28916         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28918         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28919         with INVALID_EXCEPTION.
28920         (acosh_test_data): Likewise.
28921         (asin_test_data): Likewise.
28922         (atanh_test_data): Likewise.
28923         (fmod_test_data): Likewise.
28924         (log_test_data): Likewise.
28925         (log10_test_data): Likewise.
28926         (log2_test_data): Likewise.
28927         (pow_test_data): Likewise.
28928         (sqrt_test_data): Likewise.
28929         (y0_test_data): Likewise.
28930         (y1_test_data): Likewise.
28931         (yn_test_data): Likewise.
28933         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28934         function contents.
28936         * math/libm-test.inc (struct test_ff_i_data): New type.
28937         (RUN_TEST_LOOP_ff_i_tg): New macro.
28938         (isgreater_test_data): New variable.
28939         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28940         (isgreaterequal_test_data): New variable.
28941         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28942         (isless_test_data): New variable.
28943         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28944         (islessequal_test_data): New variable.
28945         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28946         (islessgreater_test_data): New variable.
28947         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28948         (isunordered_test_data): New variable.
28949         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28951 2013-05-14  David S. Miller  <davem@davemloft.net>
28953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28955 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28957         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28959         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28960         extra_test to int.
28961         (struct test_f_i_data): Change type of max_ulp to int.
28963         * math/libm-test.inc (test_ffI_f1_data): New type.
28964         (RUN_TEST_LOOP_ffI_f1): New macro.
28965         (remquo_test_data): New variable.
28966         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28968         * setjmp/tst-setjmp-fp.c: New file.
28969         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28970         (link-libm): New variable.
28971         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28973         * math/libm-test.inc (struct test_f_i_data): New type.
28974         (RUN_TEST_LOOP_f_i): New macro.
28975         (RUN_TEST_LOOP_f_i_tg): Likewise.
28976         (fpclassify_test_data): New variable.
28977         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28978         (ilogb_test_data): New variable.
28979         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28981         * math/libm-test.inc (scalbln_test): Correct function name in END
28982         call.
28984         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28985         (RUN_TEST_LOOP_fI_f1): New macro.
28986         (frexp_test_data): New variable.
28987         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28989         * math/libm-test.inc (struct test_fF_f1_data): New type.
28990         (RUN_TEST_LOOP_fF_f1): New macro.
28991         (modf_test_data): New variable.
28992         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28994         * math/libm-test.inc (struct test_f_f1_data): New type.
28995         (RUN_TEST_LOOP_f_f1): New macro.
28996         (gamma_test_data): New variable.
28997         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28998         (lgamma_test_data): New variable.
28999         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29001 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29003         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29004         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29005         (main): Comment "tls" pseudo-hwcap.
29007 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29009         * math/libm-test.inc (struct test_fl_f_data): New type.
29010         (RUN_TEST_LOOP_fl_f): New variable.
29011         (scalbln_test_data): New variable.
29012         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29014         * math/libm-test.inc (struct test_fi_f_data): New type.
29015         (RUN_TEST_LOOP_fi_f): New macro.
29016         (ldexp_test_data): New variable.
29017         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29018         (scalbn_test_data): New variable.
29019         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29021         * math/libm-test.inc (struct test_c_f_data): New type.
29022         (RUN_TEST_LOOP_c_f): New macro.
29023         (cabs_test_data): New variable.
29024         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29025         (carg_test_data): New variable.
29026         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29027         (cimag_test_data): New variable.
29028         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29029         (creal_test_data): New variable.
29030         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29032         * math/libm-test.inc (struct test_if_f_data): New type.
29033         (RUN_TEST_LOOP_if_f): New macro.
29034         (jn_test_data): New variable.
29035         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29036         (yn_test_data): New variable.
29037         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29039         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29041 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29043         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29044         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29046 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29048         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29049         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29050         (bench-deps): Add bench-timing.h.
29051         * benchtests-bench-skeleton.c: Include bench-timing.h.
29052         (main): Use TIMING_* macros instead of clock_gettime.
29053         * benchtests/bench-timing.h: New file.
29055         [BZ #14582]
29056         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29057         Renamed from _LIB_VERSION.
29058         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29060 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29062         * math/libm-test.inc (struct test_fff_f_data): New type.
29063         (RUN_TEST_LOOP_fff_f): New macro.
29064         (fma_test_data): New variable.
29065         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29066         (fma_towardzero_test_data): New variable.
29067         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29068         (fma_downward_test_data): New variable.
29069         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29070         (fma_upward_test_data): New variable.
29071         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29073         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29074         (struct test_c_c_data): New type.
29075         (RUN_TEST_LOOP_c_c): New macro.
29076         (cacos_test_data): New variable.
29077         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29078         (cacosh_test_data): New variable.
29079         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29080         (casin_test_data): New variable.
29081         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29082         (casinh_test_data): New variable.
29083         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29084         (catan_test_data): New variable.
29085         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29086         (catanh_test_data): New variable.
29087         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29088         (ccos_test_data): New variable.
29089         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29090         (ccosh_test_data): New variable.
29091         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29092         (cexp_test_data): New variable.
29093         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29094         (clog_test_data): New variable.
29095         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29096         (clog10_test_data): New variable.
29097         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29098         (conj_test_data): New variable.
29099         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29100         (cproj_test_data): New variable.
29101         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29102         (csin_test_data): New variable.
29103         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29104         (csinh_test_data): New variable.
29105         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29106         (csqrt_test_data): New variable.
29107         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29108         (ctan_test_data): New variable.
29109         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29110         (ctan_tonearest_test_data): New variable.
29111         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29112         (ctan_towardzero_test_data): New variable.
29113         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29114         (ctan_downward_test_data): New variable.
29115         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29116         (ctan_upward_test_data): New variable.
29117         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29118         (ctanh_test_data): New variable.
29119         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29120         (ctanh_tonearest_test_data): New variable.
29121         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29122         (ctanh_towardzero_test_data): New variable.
29123         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29124         (ctanh_downward_test_data): New variable.
29125         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29126         (ctanh_upward_test_data): New variable.
29127         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29128         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29129         of BUILD_COMPLEX.
29131         * math/libm-test.inc (struct test_ff_f_data): New type.
29132         (struct test_ff_f_data_nexttoward): Likewise.
29133         (RUN_TEST_LOOP_2_f): New macro.
29134         (RUN_TEST_LOOP_ff_f): Likewise.
29135         (atan2_test_data): New variable.
29136         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29137         (copysign_test_data): New variable.
29138         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29139         (fdim_test_data): New variable.
29140         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29141         (fmax_test_data): New variable.
29142         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29143         (fmin_test_data): New variable.
29144         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29145         (fmod_test_data): New variable.
29146         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29147         (hypot_test_data): New variable.
29148         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29149         (nextafter_test_data): New variable.
29150         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29151         (nexttoward_test_data): New variable.
29152         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29153         (pow_test_data): New variable.
29154         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29155         (pow_tonearest_test_data): New variable.
29156         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29157         (pow_towardzero_test_data): New variable.
29158         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29159         (pow_downward_test_data): New variable.
29160         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29161         (pow_upward_test_data): New variable.
29162         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29163         (remainder_test_data): New variable.
29164         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29165         (scalb_test_data): New variable.
29166         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29167         * sysdeps/i386/fpu/libm-test-ulps: Update.
29169 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29171         * math/libm-test.inc (fma_test): Use max_value instead of local
29172         variable fltmax.
29173         (nextafter_test): Likewise.
29175         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29176         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29177         (acos_downward_test_data): New variable.
29178         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29179         (acos_upward_test_data): New variable.
29180         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29181         (acosh_test_data): New variable.
29182         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29183         (asin_test_data): New variable.
29184         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29185         (asin_tonearest_test_data): New variable.
29186         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29187         (asin_towardzero_test_data): New variable.
29188         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29189         (asin_downward_test_data): New variable.
29190         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29191         (asin_upward_test_data): New variable.
29192         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29193         (asinh_test_data): New variable.
29194         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29195         (atan_test_data): New variable.
29196         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29197         (atanh_test_data): New variable.
29198         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29199         (cbrt_test_data): New variable.
29200         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29201         (ceil_test_data): New variable.
29202         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29203         (cos_test_data): New variable.
29204         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29205         (cos_tonearest_test_data): New variable.
29206         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29207         (cos_towardzero_test_data): New variable.
29208         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29209         (cos_downward_test_data): New variable.
29210         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29211         (cos_upward_test_data): New variable.
29212         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29213         (cosh_test_data): New variable.
29214         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29215         (cosh_tonearest_test_data): New variable.
29216         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29217         (cosh_towardzero_test_data): New variable.
29218         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29219         (cosh_downward_test_data): New variable.
29220         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29221         (cosh_upward_test_data): New variable.
29222         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29223         (erf_test_data): New variable.
29224         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29225         (erfc_test_data): New variable.
29226         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29227         (exp_test_data): New variable.
29228         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29229         (exp_tonearest_test_data): New variable.
29230         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29231         (exp_towardzero_test_data): New variable.
29232         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29233         (exp_downward_test_data): New variable.
29234         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29235         (exp_upward_test_data): New variable.
29236         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29237         (exp10_test_data): New variable.
29238         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29239         (exp2_test_data): New variable.
29240         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29241         (expm1_test_data): New variable.
29242         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29243         (fabs_test_data): New variable.
29244         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29245         (floor_test_data): New variable.
29246         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29247         (j0_test_data): New variable.
29248         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29249         (j1_test_data): New variable.
29250         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29251         (log_test_data): New variable.
29252         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29253         (log10_test_data): New variable.
29254         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29255         (log1p_test_data): New variable.
29256         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29257         (log2_test_data): New variable.
29258         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29259         (logb_test_data): New variable.
29260         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29261         (logb_downward_test_data): New variable.
29262         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29263         (nearbyint_test_data): New variable.
29264         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29265         (rint_test_data): New variable.
29266         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29267         (rint_tonearest_test_data): New variable.
29268         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29269         (rint_towardzero_test_data): New variable.
29270         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29271         (rint_downward_test_data): New variable.
29272         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29273         (rint_upward_test_data): New variable.
29274         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29275         (round_test_data): New variable.
29276         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29277         (sin_test_data): New variable.
29278         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29279         (sin_tonearest_test_data): New variable.
29280         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29281         (sin_towardzero_test_data): New variable.
29282         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29283         (sin_downward_test_data): New variable.
29284         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29285         (sin_upward_test_data): New variable.
29286         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29287         (sinh_test_data): New variable.
29288         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29289         (sinh_tonearest_test_data): New variable.
29290         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29291         (sinh_towardzero_test_data): New variable.
29292         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29293         (sinh_downward_test_data): New variable.
29294         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29295         (sinh_upward_test_data): New variable.
29296         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29297         (sqrt_test_data): New variable.
29298         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29299         (tan_test_data): New variable.
29300         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29301         (tan_tonearest_test_data): New variable.
29302         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29303         (tan_towardzero_test_data): New variable.
29304         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29305         (tan_downward_test_data): New variable.
29306         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29307         (tan_upward_test_data): New variable.
29308         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29309         (tanh_test_data): New variable.
29310         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29311         (tgamma_test_data): New variable.
29312         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29313         (trunc_test_data): New variable.
29314         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29315         (y0_test_data): New variable.
29316         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29317         (y1_test_data): New variable.
29318         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29319         (significand_test_data): New variable.
29320         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29322 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29324         [BZ #12387]
29325         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29327 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29329         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29331 2013-05-10  Andreas Jaeger  <aj@suse.de>
29333         [BZ #15448]
29334         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29335         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29337 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29339         * math/gen-libm-test.pl (adjust_arg): New function.
29340         (special_functions): Handle generating output in both functions
29341         and arrays.
29342         (parse_args): Likewise.
29343         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29344         $in_func argument to parse_args.
29345         * math/libm-test.inc (struct test_f_f_data): New type.
29346         (IF_ROUND_INIT_): New macro.
29347         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29348         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29349         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29350         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29351         (ROUND_RESTORE_): Likewise.
29352         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29353         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29354         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29355         (ROUND_RESTORE_FE_UPWARD): Likewise.
29356         (RUN_TEST_LOOP_f_f): New macro.
29357         (acos_test_data): New variable.
29358         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29359         (acos_tonearest_test_data): New variable.
29360         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29362 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29364         * benchtests/bench-skeleton.c (startup): Fix coding style.
29366 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29368         [BZ #6809]
29369         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29370         negative infinity argument.
29371         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29372         negative infinity argument.
29373         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29374         negative infinity argument.
29375         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29376         domain errors.
29378 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29380         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29381         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29382         * iconv/iconv_prog.c (main): Likewise.
29383         * locale/programs/charmap-dir.c (charmap_readdir)
29384         (fopen_uncompressed): Likewise.
29385         * locale/programs/locfile.c (siblings_uncached)
29386         (write_locale_data): Use lstat64 instead of lstat.
29387         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29388         stat.
29390 2013-05-10  Andreas Jaeger  <aj@suse.de>
29392         [BZ #15395]
29393         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29394         localization.
29395         Include <locale.h>.
29397 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29399         * elf/dl-close.c (_dl_close_worker): Add comments.
29401 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29403         [BZ #15359]
29404         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29405         high part of pi/2.
29406         (__ieee754_rem_pio2l): Update comments.
29408         [BZ #15429]
29409         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29410         high part of pi/2.
29411         (__ieee754_rem_pio2l): Update comments.
29413         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29414         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29416         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29417         M_PI_4l.
29419         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29420         (M_PI_34_LOG10El): Likewise.
29421         (M_PI2_LOG10El): Likewise.
29422         (M_PI4_LOG10El): Likewise.
29423         (M_PI_LOG10El): Likewise.
29425 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29429 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29431         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29432         (MINUS_ZERO_INIT): Likewise.
29433         (PLUS_INFTY_INIT): Likewise.
29434         (MINUS_INFTY_INIT): Likewise.
29435         (QNAN_VALUE_INIT): Likewise.
29436         (MAX_VALUE_INIT): Likewise.
29437         (MIN_VALUE_INIT): Likewise.
29438         (MIN_SUBNORM_VALUE_INIT): Likewise.
29439         (plus_zero): Initialize with PLUS_ZERO_INIT.
29440         (minus_zero): Initialize with MINUS_ZERO_INIT.
29441         (plus_infty): Initialize with PLUS_INFTY_INIT.
29442         (minus_infty): Initialize with MINUS_INFTY_INIT.
29443         (qnan_value): Initialize with QNAN_VALUE_INIT.
29444         (max_value): Initialize with MAX_VALUE_INIT.
29445         (min_value): Initialize with MIN_VALUE_INIT.
29446         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29448         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29449         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29450         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29451         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29453         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29454         (RUN_TEST_2_f): Likewise.
29455         (RUN_TEST_ff_f): Likewise.
29456         (RUN_TEST_fi_f): Likewise.
29457         (RUN_TEST_fl_f): Likewise.
29458         (RUN_TEST_fff_f): Likewise.
29459         (RUN_TEST_c_f): Likewise.
29460         (RUN_TEST_f_f1): Likewise.
29461         (RUN_TEST_fF_f1): Likewise.
29462         (RUN_TEST_fI_f1): Likewise.
29463         (RUN_TEST_ffI_f1): Likewise.
29464         (RUN_TEST_c_c): Likewise.
29465         (RUN_TEST_cc_c): Likewise.
29466         (RUN_TEST_f_i): Likewise.
29467         (RUN_TEST_f_i_tg): Likewise.
29468         (RUN_TEST_ff_i_tg): Likewise.
29469         (RUN_TEST_f_b): Likewise.
29470         (RUN_TEST_f_b_tg): Likewise.
29471         (RUN_TEST_f_l): Likewise.
29472         (RUN_TEST_f_L): Likewise.
29473         (RUN_TEST_sincos): Likewise.
29474         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29475         whether to show exceptions.  Do not include ");\n" in return
29476         value.
29477         (special_functions): Output call to RUN_TEST_sincos instead of
29478         check_float calls.  Update calls to new_test.
29479         (parse_args): Output call to single RUN_TEST_* macro instead of
29480         check_* calls and other assignments.  Update calls to new_test.
29482         [BZ #2546]
29483         [BZ #2560]
29484         [BZ #5159]
29485         [BZ #15426]
29486         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29487         input to result for tgamma overflow.
29488         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29489         (gamma_coeff): New variable.
29490         (NCOEFF): New macro.
29491         (gamma_positive): New function.
29492         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29493         underflow here.  Use gamma_positive instead of exp (lgamma) for
29494         other arguments.
29495         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29496         (gamma_coeff): New variable.
29497         (NCOEFF): New macro.
29498         (gammaf_positive): New function.
29499         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29500         underflow here.  Use gamma_positive instead of exp (lgamma) for
29501         other arguments.
29502         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29503         (gamma_coeff): New variable.
29504         (NCOEFF): New macro.
29505         (gammal_positive): New function.
29506         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29507         underflow here.  Use gamma_positive instead of exp (lgamma) for
29508         other arguments.
29509         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29510         (gamma_coeff): New variable.
29511         (NCOEFF): New macro.
29512         (gammal_positive): New function.
29513         (__ieee754_gammal_r): Handle positive infinity, overflow and
29514         underflow here.  Handle NaN the same as positive infinity.  Remove
29515         check x < 0xffffffff for negative integers.  Use gamma_positive
29516         instead of exp (lgamma) for other arguments.
29517         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29518         (gamma_coeff): New variable.
29519         (NCOEFF): New macro.
29520         (gammal_positive): New function.
29521         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29522         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29523         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29524         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29525         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29526         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29527         * sysdeps/generic/math_private.h (__gamma_productf): New
29528         prototype.
29529         (__gamma_product): Likewise.
29530         (__gamma_productl): Likewise.
29531         * math/Makefile (libm-calls): Add gamma_product.
29532         * math/libm-test.inc (tgamma_test): Add more tests.
29533         * sysdeps/i386/fpu/libm-test-ulps: Update.
29534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29536 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29538         * benchtests/bench-skeleton.c (main): Preheat CPU.
29540 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29542         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29544 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29546         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29547         and _dl_skip_args_internal.
29549 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29551         * manual/message.texi (Message Translation): Talk about users.
29552         Message to key mapping impacts design.
29554 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29556         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29558         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29560         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29561         * sysdeps/wordsize-64/glob64.c: ... here.
29563         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29564         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29565         New macros.
29567         * debug/getlogin_r_chk.c: Moved to ...
29568         * login/getlogin_r_chk.c: ... here.
29569         * debug/Makefile (routines): Move getlogin_r_chk to ...
29570         * login/Makefile (routines): ... here.
29571         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29572         * login/Versions (libc: GLIBC_2.4): ... here.
29574         * io/poll.c (__poll): Renamed from poll.
29575         Add libc_hidden_def.
29576         (poll): Define as weak alias.
29578         * debug/ptsname_r_chk.c: Moved to ...
29579         * login/ptsname_r_chk.c: ... here.
29580         * debug/Makefile (routines): Move ptsname_r_chk to ...
29581         * login/Makefile (routines): ... here.
29582         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29583         * login/Versions (libc: GLIBC_2.4): ... here.
29585         * posix/getlogin.c: Moved to ...
29586         * login/getlogin.c: ... here.
29587         * posix/getlogin_r.c: Moved to ...
29588         * login/getlogin_r.c: ... here.
29589         * posix/getlogin_r.c: Moved to ...
29590         * login/getlogin_r.c: ... here.
29591         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29592         * login/Makefile (routines): ... here.
29593         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29594         * login/Versions (libc: GLIBC_2.0): ... here.
29596         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29597         (setrlimit): Define as weak alias.
29599         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29600         Call __ names for open, ftruncate, and close.
29601         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29602         (truncate): Define as weak alias.
29604 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29606         * math/gen-libm-test.pl (parse_args): Initialize x before each
29607         test of frexp, modf and remquo.
29609         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29610         test signgam value.
29612 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29614         [BZ #15418]
29615         [BZ #15419]
29616         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29617         internal tests.
29618         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29620 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29622         * elf/dl-writev.h: New file.
29623         * elf/dl-misc.c: Include it.
29624         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29625         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29627 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29629         * math/libm-test.inc (noXFails): Remove variable.
29630         (noXPasses): Likewise.
29631         (BUILD_COMPLEX_INT): Remove macro.
29632         (print_screen): Remove xfail argument.
29633         (print_screen_max_error): Likewise.
29634         (update_stats): Likewise.
29635         (print_max_error): Likewise.  Update calls to other affected
29636         functions.
29637         (print_complex_max_error): Likewise.
29638         (test_single_exception): Update calls to print_screen.
29639         (test_single_errno): Likewise.
29640         (check_float_internal): Remove xfail argument.  Update calls to
29641         other affected functions.
29642         (check_float): Likewise.
29643         (check_complex): Likewise.
29644         (check_int): Likewise.
29645         (check_long): Likewise.
29646         (check_bool): Likewise.
29647         (check_longlong): Likewise.
29648         (main): Don't print noXFails and noXPasses.
29649         * math/gen-libm-test.pl (top level): Don't mention expected
29650         failure handling in comment.
29651         (new_test): Don't handle expected failures.
29652         (parse_args): Don't mention expected failure handling in comment.
29653         (generate_testfile): Don't handle expected failures.
29654         (parse_ulps): Likewise.
29655         (print_ulps_file): Likewise.
29656         (get_failure): Remove function.
29657         (output_test): Don't handle expected failures.
29658         * make/README.libm-test: Don't mention expected failure handling.
29660         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29661         (minus_zero): Likewise.
29662         (plus_infty): Likewise.
29663         (minus_infty): Likewise.
29664         (qnan_value): Likewise.
29665         (max_value): Likewise.
29666         (min_value): Likewise.
29667         (min_subnorm_value): Likewise.
29668         (initialize): Do not initialize those variables dynamically.
29670 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29672         * io/open.c (__open_2): Moved to ...
29673         * io/open_2.c: ... this new file.
29674         * io/open64.c (__open64_2): Moved to ...
29675         * io/open64_2.c: ... this new file.
29676         * io/openat.c (__openat_2): Moved to ...
29677         * io/openat_2.c: ... this new file.
29678         * io/openat64.c (__openat64_2): Moved to ...
29679         * io/openat64_2.c: ... this new file.
29680         * io/Makefile (routines): Add them.
29681         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29682         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29683         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29684         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29685         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29686         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29687         (__openat64): Add hidden_ver.
29688         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29689         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29691         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29692         Separately conditionalize setting of GLRO(dl_sysinfo) so
29693         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29694         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29696 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29698         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29699         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29700         definition.
29701         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29702         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29703         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29704         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29705         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29707 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29709         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29710         test signgam value.
29712         * math/libm-test.inc (hypot_test): Do not use
29713         IGNORE_ZERO_INF_SIGN.
29715 2013-05-03  Andreas Jaeger  <aj@suse.de>
29717         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29718         Linux 3.9.
29719         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29720         (PF_MAX): Adjust for VSOCK change.
29722 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29726 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29728         [BZ #15264]
29729         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29730         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29731         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29733 2013-05-02  David S. Miller  <davem@davemloft.net>
29735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29737 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29739         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29741 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29743         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29745 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29747         [BZ #14952]
29748         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29749         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29750         Use __attribute__ ((__gnu_inline__)).
29751         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29752         Don't use __attribute__ ((__gnu_inline__)).
29754 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29756         [BZ #15423]
29757         * math/s_catan.c (__catan): Handle small real or imaginary part of
29758         input specially to avoid spurious underflow.
29759         * math/s_catanf.c (__catanf): Likewise.
29760         * math/s_catanh.c (__catanh): Likewise.
29761         * math/s_catanhf.c (__catanhf): Likewise.
29762         * math/s_catanhl.c (__catanhl): Likewise.
29763         * math/s_catanl.c (__catanl): Likewise.
29764         * math/libm-test.inc (catan_test): Add more tests.
29765         (catanh_test): Likewise.
29766         * sysdeps/i386/fpu/libm-test-ulps: Update.
29767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29769 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29773 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29775         [BZ #15416]
29776         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29777         accurately for denominator in atan2.
29778         * math/s_catanf.c (__catanf): Likewise.
29779         * math/s_catanh.c (__catanh): Likewise.
29780         * math/s_catanhf.c (__catanhf): Likewise.
29781         * math/s_catanhl.c (__catanhl): Likewise.
29782         * math/s_catanl.c (__catanl): Likewise.
29783         * math/libm-test.inc (catan_test): Add more tests.
29784         (catanh_test): Likewise.
29785         * sysdeps/i386/fpu/libm-test-ulps: Update.
29786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29788 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29790         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29792         * benchtests/Makefile (bench): Remove slow benchmarks.
29793         * benchtests/atan-inputs: Add slow benchmark inputs.
29794         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29795         (BENCH_FUNC): Accept variant offset.
29796         (VARIANT): Define.
29797         * benchtests/bench-skeleton.c (main): Run benchmark for each
29798         variant.
29799         * benchtests/cos-inputs: Add slow benchmark inputs.
29800         * benchtests/exp-inputs: Likewise.
29801         * benchtests/pow-inputs: Likewise.
29802         * benchtests/sin-inputs: Likewise.
29803         * benchtests/slowatan-inputs: Remove.
29804         * benchtests/slowatan.c: Remove.
29805         * benchtests/slowcos-inputs: Remove.
29806         * benchtests/slowcos.c: Remove.
29807         * benchtests/slowexp-inputs: Remove.
29808         * benchtests/slowexp.c: Remove.
29809         * benchtests/slowpow-inputs: Remove.
29810         * benchtests/slowpow.c: Remove.
29811         * benchtests/slowsin-inputs: Remove.
29812         * benchtests/slowsin.c: Remove.
29813         * benchtests/slowtan-inputs: Remove.
29814         * benchtests/slowtan.c: Remove.
29815         * benchtests/tan-inputs: Add slow benchmark inputs.
29816         * scripts/bench.pl: Parse comments and directives.
29818         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29819         in CPPFLAGS.
29820         ($(objpfx)bench-%.c): Remove *-ITER.
29821         * benchtests/bench-modf.c: Remove definition of ITER.
29822         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29823         (main): Loop for DURATION seconds instead of fixed number of
29824         iterations.
29825         * scripts/bench.pl: Don't expect iterations in parameters.
29827 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29829         * io/fchdir.c (__fchdir): Renamed from fchdir.
29830         (fchdir): Define as weak alias.
29832 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29834         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29835         (ERRNO_EDOM): Likewise.
29836         (ERRNO_ERANGE): Likewise.
29837         (noErrnoTests): New variable.
29838         (init_max_error): Set errno to 0.
29839         (test_single_errno): New function.
29840         (test_errno): Likewise.
29841         (check_float_internal): Call test_errno.  Set errno to 0.
29842         (check_complex): Refer to errno tests in comment.
29843         (check_int): Call test_errno.  Set errno to 0.
29844         (check_long): Likewise.
29845         (check_bool): Likewise.
29846         (check_longlong): Likewise.
29847         (cos_test): Use ERRNO_* flags for errno tests instead of
29848         check_int.
29849         (expm1_test): Likewise.
29850         (fmod_test): Likewise.
29851         (ilogb_test): Likewise.
29852         (lgamma_test): Likewise.
29853         (pow_test): Likewise.
29854         (remainder_test): Likewise.
29855         (sin_test): Likewise.
29856         (tan_test): Likewise.
29857         (yn_test): Likewise.
29858         (initialize): Set errno to 0.
29859         (main): Print number of errno tests.
29860         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29862 2013-04-29  Andreas Jaeger  <aj@suse.de>
29864         [BZ #15084]
29865         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29866         and RES_USEVC.
29868         [BZ #15085]
29869         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29870         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29871         unimplemented.
29873         [BZ #15380]
29874         * stdlib/random.c (__initstate): Return NULL if
29875         __initstate fails.
29877         [BZ #15086]
29878         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29879         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29880         RES_SNGLKUPREOP.
29882 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29886 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29888         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29889         of individual tests.
29890         (casin_test): Likewise.
29891         (casinh_test): Likewise.
29893 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29895         [BZ #15409]
29896         * math/s_catan.c (__catan): Handle arguments with large real or
29897         imaginary part separately without squaring.
29898         * math/s_catanf.c (__catanf): Likewise.
29899         * math/s_catanh.c (__catanh): Likewise.
29900         * math/s_catanhf.c (__catanhf): Likewise.
29901         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29902         and redefine.
29903         (__catanhl): Handle arguments with large real or imaginary part
29904         separately without squaring.
29905         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29906         and redefine.
29907         (__catanl): Handle arguments with large real or imaginary part
29908         separately without squaring.
29909         * math/libm-test.inc (catan_test): Add more tests.
29910         (catanh_test): Likewise.
29911         * sysdeps/i386/fpu/libm-test-ulps: Update.
29912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29914 2013-04-27  Andreas Jaeger  <aj@suse.de>
29916         [BZ #15007]
29917         * stdlib/stdlib.h: Update guards for qecvt.
29918         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29919         <stdlib.h>.
29921 2013-04-27  Allan McRae  <allan@archlinux.org>
29923         * sysdeps/i386/fpu/libm-test-ulps: Update.
29925 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29927         [BZ #15406]
29928         * math/s_catan.c: Include <float.h>.
29929         (__catan): Ensure underflow exception occurs for underflowed
29930         result.
29931         * math/s_catanf.c: Include <float.h>.
29932         (__catanf): Ensure underflow exception occurs for underflowed
29933         result.
29934         * math/s_catanh.c: Include <float.h>.
29935         (__catanh): Ensure underflow exception occurs for underflowed
29936         result.
29937         * math/s_catanhf.c: Include <float.h>.
29938         (__catanhf): Ensure underflow exception occurs for underflowed
29939         result.
29940         * math/s_catanhl.c: Include <float.h>.
29941         (__catanhl): Ensure underflow exception occurs for underflowed
29942         result.
29943         * math/s_catanl.c: Include <float.h>.
29944         (__catanl): Ensure underflow exception occurs for underflowed
29945         result.
29946         * math/libm-test.inc (catan_test): Add more tests.
29947         (catanh_test): Likewise.
29949         [BZ #15405]
29950         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29951         underflowed result.
29952         * math/s_ccoshf.c (__ccoshf): Likewise.
29953         * math/s_ccoshl.c (__ccoshl): Likewise.
29954         * math/s_csin.c (__csin): Likewise.
29955         * math/s_csinf.c (__csinf): Likewise.
29956         * math/s_csinh.c (__csinh): Likewise.
29957         * math/s_csinhf.c (__csinhf): Likewise.
29958         * math/s_csinhl.c (__csinhl): Likewise.
29959         * math/s_csinl.c (__csinl): Likewise.
29960         * math/libm-test.inc (ccos_test): Add more tests.
29961         (ccosh_test): Likewise.
29962         (csin_test): Likewise.
29963         (csinh_test): Likewise.
29965 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29967         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29968         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29969         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29970         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29971         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29972         powerpc/power5+/fpu folders.
29973         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29976 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29980 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29982         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29983         additions to variable.
29984         [$(config-machine) = x86_64] (modules-names): Likewise.
29985         ($(objpfx)tst-audit3): Remove dependency.
29986         ($(objpfx)tst-audit3.out): Likewise.
29987         ($(objpfx)tst-audit4): Likewise.
29988         ($(objpfx)tst-audit4.out): Likewise.
29989         ($(objpfx)tst-audit5): Likewise.
29990         ($(objpfx)tst-audit5.out): Likewise.
29991         ($(objpfx)tst-audit6): Likewise.
29992         ($(objpfx)tst-audit6.out): Likewise.
29993         ($(objpfx)tst-audit7): Likewise.
29994         ($(objpfx)tst-audit7.out): Likewise.
29995         (tst-audit3-ENV): Remove variable.
29996         (tst-audit4-ENV): Likewise.
29997         (tst-audit5-ENV): Likewise.
29998         (tst-audit6-ENV): Likewise.
29999         (tst-audit7-ENV): Likewise.
30000         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30001         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30002         addition to variable.
30003         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30004         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30005         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30006         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30007         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30008         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30009         tst-audit3, tst-audit4 and tst-audit5.
30010         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30011         tst-audit6 and tst-audit7.
30012         [$(subdir) = elf] (modules-names): Add audit modules for those
30013         tests.
30014         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30015         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30016         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30017         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30018         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30019         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30020         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30021         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30022         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30023         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30024         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30025         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30026         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30027         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30028         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30029         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30030         Likewise.
30031         [$(subdir) = elf && $(config-cflags-avx) = yes]
30032         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30033         [$(subdir) = elf && $(config-cflags-avx) = yes]
30034         (CFLAGS-tst-auditmod4a.c): Likewise.
30035         [$(subdir) = elf && $(config-cflags-avx) = yes]
30036         (CFLAGS-tst-auditmod4b.c): Likewise.
30037         [$(subdir) = elf && $(config-cflags-avx) = yes]
30038         (CFLAGS-tst-auditmod6b.c): Likewise.
30039         [$(subdir) = elf && $(config-cflags-avx) = yes]
30040         (CFLAGS-tst-auditmod6c.c): Likewise.
30041         [$(subdir) = elf && $(config-cflags-avx) = yes]
30042         (CFLAGS-tst-auditmod7b.c): Likewise.
30043         * elf/tst-audit3.c: Move to ...
30044         * sysdeps/x86_64/tst-audit3.c: ... here.
30045         * elf/tst-audit4.c: Move to ...
30046         * sysdeps/x86_64/tst-audit4.c: ... here.
30047         * elf/tst-audit5.c: Move to ...
30048         * sysdeps/x86_64/tst-audit5.c: ... here.
30049         * elf/tst-audit6.c: Move to ...
30050         * sysdeps/x86_64/tst-audit6.c: ... here.
30051         * elf/tst-audit7.c: Move to ...
30052         * sysdeps/x86_64/tst-audit7.c: ... here.
30053         * elf/tst-auditmod3a.c: Move to ...
30054         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30055         * elf/tst-auditmod3b.c: Move to ...
30056         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30057         * elf/tst-auditmod4a.c: Move to ...
30058         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30059         * elf/tst-auditmod4b.c: Move to ...
30060         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30061         * elf/tst-auditmod5a.c: Move to ...
30062         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30063         * elf/tst-auditmod5b.c: Move to ...
30064         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30065         * elf/tst-auditmod6a.c: Move to ...
30066         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30067         * elf/tst-auditmod6b.c: Move to ...
30068         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30069         * elf/tst-auditmod6c.c: Move to ...
30070         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30071         * elf/tst-auditmod7a.c: Move to ...
30072         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30073         * elf/tst-auditmod7b.c: Move to ...
30074         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30076 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30078         [BZ #15366]
30079         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30080         define unconditionally.
30081         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30082         define unconditionally.
30083         (INT8_C, INT16_C, etc.): Likewise.
30085 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30087         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30088         __ehdr_start with hidden visibility.
30090         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30092 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30094         * math/libm-test.inc (cos_test): Use accurate hex constants.
30095         (sincost_test): Likewise.
30097 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30099         * math/libm-test.inc (catan_test): Add more tests.
30100         (catanh_test): Likewise.
30102         * math/s_catanf.c (__catanf): Use suffixed floating-point
30103         constants.
30104         * math/s_catanhf.c (__catanhf): Likewise.
30105         * math/s_catanhl.c (__catanhl): Likewise.
30106         * math/s_catanl.c (__catanl): Likewise.
30108         [BZ #15394]
30109         * math/s_catan.c (__catan): Calculate imaginary part of result
30110         with log1p not log unless computing log of number close to 0.
30111         * math/s_catanf.c (__catanf): Likewise.
30112         * math/s_catanl.c (__catanl): Likewise.
30113         * math/s_catanh.c (__catanh): Calculate real part of result with
30114         log1p not log unless computing log of number close to 0.
30115         * math/s_catanhf.c (__catanhf): Likewise.
30116         * math/s_catanhl.c (__catanhl): Likewise.
30117         * math/libm-test.inc (catan_test): Add more tests.
30118         (catanh_test): Likewise.
30119         * sysdeps/i386/fpu/libm-test-ulps: Update.
30120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30122 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30124         * benchtests/Makefile: Mention files in which fast and slow
30125         paths of math functions are implemented.
30127 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30129         * sysdeps/posix/timespec_get.c: New file.
30131 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30133         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30134         POWER.
30135         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30136         for POWER.
30137         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30138         powerpc/power5/fpu folders.
30139         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30140         * benchtests/Makefile: Add modf testcase.
30141         * benchtests/bench-modf.c: New file: Benchmark test for mo
30143 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30145         [BZ #14888]
30146         * time/Makefile (tests): Add tst-strptime-whitespace.
30147         * time/strptime_l.c (get_number): Use ISSPACE.
30148         (__strptime_internal): Likewise.
30149         * time/tst-strptime-whitespace.c: New test case.
30151 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30153         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30154         member.
30155         (_nss_files_init): Set it here.
30157 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30159         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30160         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30161         unsigned.
30163 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30165         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30167 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30170         size just once.
30172 2013-04-21  David S. Miller  <davem@davemloft.net>
30174         * po/ru.po: Update Russion translation from translation project.
30176 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30178         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30179         and setfsgid.
30181 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30183         * configure.in: Remove i386 configure warning. Remove i386 case.
30184         * configure: Regenerate.
30185         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30186         Add example to error message.
30187         * sysdeps/i386/configure: Regenerate.
30189 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30191         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30192         slowtan.
30193         * benchtests/cos-inputs: New file.
30194         * benchtests/slowcos-inputs: New file.
30195         * benchtests/slowcos.c: New file.
30196         * benchtests/slowtan-inputs: New file.
30197         * benchtests/slowtan.c: New file.
30198         * benchtests/tan-inputs: New file.
30200 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30202         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30203         considered kosher.
30205 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30207         * benchtests/Makefile: Include cppflags-iterator.mk to add
30208         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30210         * Makefile.in (bench-clean): New target.
30211         * benchtests/Makefile (bench-clean): Likewise.
30213 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30215         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30217 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30219         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30221 2013-04-15  Andreas Schwab  <schwab@suse.de>
30223         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30224         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30225         * nscd/pwdcache.c (cache_addpw): Likewise.
30226         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30227         more than recsize.
30229 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30231         * benchtests/Makefile (bench): Write all output to
30232         bench-out.tmp together.
30234 2013-04-15  Andreas Schwab  <schwab@suse.de>
30236         * nscd/nscd.c (main): Don't fork again after closing files.
30238 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30240         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30242         * benchtests/Rules (bench-deps): Collect dependencies into a
30243         single variable.  Add Makefile to dependencies.
30244         ($(objpfx)bench-%.c): Depend on bench-deps.
30246 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30247             Xavier Roche  <roche+kml2@exalead.com>
30249         [BZ #15361]
30250         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30251         just that it's a file descriptor.
30252         * manual/llio.texi (Synchronizing AIO Operations): Update description
30253         for EBADF error from aio_fsync.
30255 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30257         * Rules (bench): Move target definition...
30258         * benchtests/Makefile: ... here.
30260 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30262         * math/libm-test.inc (cos_test): Fix PI/2 test.
30263         (sincos_test): Likewise.
30264         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30265         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30267 2013-04-11  Andreas Schwab  <schwab@suse.de>
30269         [BZ #13988]
30270         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30271         accept exponent character only when digits were seen.
30272         * stdio-common/Makefile (tests): Add bug26.
30273         * stdio-common/bug26.c: New file.
30275         [BZ #14293]
30276         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30277         non-freeable.
30279 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30281         * Makeconfig (rtld-prefix): Define built linker prefix.
30282         * Rules (run-bench): Use it.
30283         * math/Makefile (run-regen-ulps): Likewise.
30285         * Rules (bench): Remove eval.
30287 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30288             Roland McGrath  <roland@hack.frob.com>
30289             Ondrej Bilka  <neleai@seznam.cz>
30291         [BZ #15346]
30292         * time/getdate.c: Include ctype.h and alloca.h.
30293         (__getdate_r): Trim leading and trailing spaces of input.
30294         * time/tst-getdate.c (tests): Add tests with leading and
30295         trailing spaces.
30297 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30299         [BZ #14280]
30300         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30301         when computing value.
30303 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30305         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30306         Use testrun.sh to run libm tests.
30308         [BZ #15309]
30309         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30311 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30313         [BZ #15264]
30314         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30316 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30318         * Makefile.in (regen-ulps): New target.
30319         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30320         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30321         [ifneq (no,$(PERL)] (regen-ulps): New target.
30322         [ifeq (no,$(PERL)] (regen-ulps): New target.
30323         * math/libm-test.inc (ulps_file_name): Define.
30324         (output_dir): New variable.
30325         (options): Add "output-dir" option.
30326         (parse_opt): Handle 'o' case.
30327         (main): If output_dir is non-NULL use it as a prefix
30328         otherwise use "".
30329         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30331 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30333         [BZ #10060, #10062]
30334         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30335         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30336         fail configure if __sync_val_compare_and_swap is not inlined.
30337         * sysdeps/i386/configure: Regenerate.
30338         * configure.in: Build for i686 when configured for i386.
30339         * configure: Regenerate.
30340         * README: Remove i386 reference.
30342 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30344         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30345         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30347 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30349         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30350         (lmsnanval): New variables.
30351         (F): Add conversion tests.
30352         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30353         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30355         * stdio-common/tstdiomisc.c (F): Properly collect individual
30356         tests' results.
30358         [BZ #14686, #15336]
30359         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30360         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30361         Instead, use input NaN values or generate a qNaN by arithmetic
30362         operation.  Also fix bugs to comply with the standard.
30363         * math/libm-test.inc (remainder_test): Add more tests.
30365         [BZ #15335, #15342]
30366         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30367         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30368         input NaN values or generate a qNaN by arithmetic operation.
30370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30371         unreachable code.
30373         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30374         definitions.
30376 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30378         [BZ #14478]
30379         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30380         underflowed result.
30381         * math/s_cexpf.c (__cexpf): Likewise.
30382         * math/s_cexpl.c (__cexpl): Likewise.
30383         * math/libm-test.inc (cexp_test): Add more tests.
30385 2013-04-03  Andreas Schwab  <schwab@suse.de>
30387         [BZ #15330]
30388         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30389         order arrays from heap if bigger than alloca cutoff.
30391 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30393         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30394         (SNAN_TESTS_double): Refer to GCC PR56831.
30395         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30396         GCC PR56828.
30398 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30400         * Rules (bench): Move bench.out after the run is complete.
30402         * Rules (bench): Echo currently running benchmark.
30404         * benchtests/Makefile (bench): Add atan and slowatan.
30405         * benchtests/atan-inputs: New file.
30406         * benchtests/slowatan-inputs: New file.
30407         * benchtests/slowatan.c: New file.
30409         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30411         its value.
30413         [BZ #15305]
30414         * sysdeps/unix/sysv/linux/kernel-features.h
30415         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30416         __ASSUME_XFS_RESTRICTED_CHOWN.
30417         * sysdeps/unix/sysv/linux/pathconf.c
30418         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30419         Save and restore errno.
30421 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30423         [BZ #15327]
30424         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30425         arguments using __kernel_casinh.
30426         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30427         arguments using __kernel_casinhf.
30428         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30429         arguments using __kernel_casinhl.
30430         * math/libm-test.inc (cacosh_test): Add more tests.
30431         * sysdeps/i386/fpu/libm-test-ulps: Update.
30432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30434 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30436         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30439         * bench/Makefile (bench): Add sin and slowsin.
30440         * benchtests/sin-inputs: New file.
30441         * benchtests/slowsin-inputs: New file.
30442         * benchtests/slowsin.c: New file.
30444         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30445         (bench): Add slowexp and slowpow.
30446         (exp-ITER): Increase iterations.
30447         (pow-ITER): Likewise.
30448         * benchtests/exp-inputs: Change input.
30449         * benchtests/pow-inputs: Likewise.
30450         * benchtests/slowexp-inputs: New file.
30451         * benchtests/slowexp.c: New file.
30452         * benchtests/slowpow-inputs: New file.
30453         * benchtests/slowpow.c: New file.
30455 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30457         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30458         instructions.
30459         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30460         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30461         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30462         * benchtests/Makefile: Add rint benchtest.
30463         * benchtests/rint-inputs: Input for rint benchtest.
30465 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30467         * Versions.def (libm): Add GLIBC_2.18.
30468         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30469         hidden libm prototypes.
30470         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30471         * math/Makefile (libm-calls): Add s_issignaling.
30472         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30473         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30474         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30475         declaration.
30476         * math/math.h [__USE_GNU] (issignaling): New macro.
30477         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30478         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30479         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30480         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30481         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30482         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30483         * manual/arith.texi (issignaling): New section.
30484         * manual/libm-err-tab.pl (@all_functions): Update comment.
30485         * math/gen-libm-test.pl (parse_args): Apply special handling for
30486         issignaling.
30487         * math/libm-test.inc (print_float, issignaling_test): New
30488         functions.
30489         (check_float_internal): Add issignaling checks.
30490         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30491         default definition.
30492         * sysdeps/powerpc/math-tests.h: New file.
30493         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30494         tests.
30495         * math/test-snan.c (TEST_FUNC): Likewise.
30497 2013-03-30  David S. Miller  <davem@davemloft.net>
30499         * po/de.po: Update from translation team.
30501 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30503         [BZ #10357]
30504         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30505         imaginary part less than 1.0 and real part less than 0.5
30506         specially.
30507         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30508         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30509         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30510         (cacos_test): Add more tests.
30511         (casin_test): Likewise.
30512         (casinh_test): Likewise.
30513         * sysdeps/i386/fpu/libm-test-ulps: Update.
30514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30516 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30518         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30519         ONE with its value.
30521         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30522         (__pow_mp): Replace ONE and MONE with their values.
30523         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30524         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30525         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30526         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30527         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30528         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30530         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30532         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30533         (__pow_mp): Replace ZERO and MZERO with their values.
30534         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30535         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30536         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30538         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30539         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30540         (__sqr): Likewise.
30542         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30544         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30546 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30548         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30549         Declare with __attribute__ ((weak)).
30550         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30551         Call __call_tls_dtors only if it's not NULL.
30553 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30555         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30556         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30557         magic __ehdr_start linker symbol if it's defined.
30558         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30559         them up here if it was already done.
30561         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30562         (_dl_aux_init): Use const in cast when setting it.
30563         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30564         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30565         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30567         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30568         Declare them here.
30569         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30570         * csu/libc-tls.c: Nor here.
30571         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30573         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30574         (__libc_message): Never call vsyslog.
30576 2013-03-28  Alan Modra  <amodra@gmail.com>
30578         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30579         Define as empty.
30580         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30581         Likewise.
30583 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30585         [BZ #15214]
30586         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30587         underflow.
30588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30590 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30592         [BZ #15304]
30593         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30594         Don't add gid passed as argument.
30596         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30598 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30600         [BZ #15307]
30601         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30602         imaginary part between 1.0 and 1.5 and real part less than 0.5
30603         specially.
30604         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30605         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30606         * math/libm-test.inc (cacos_test): Add more tests.
30607         (casin_test): Likewise.
30608         (casinh_test): Likewise.
30609         * sysdeps/i386/fpu/libm-test-ulps: Update.
30610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30612 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30614         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30615         constants.
30616         (norm): Likewise.
30617         (denorm): Likewise.
30618         (__dbl_mp): Likewise.
30619         (add_magnitudes): Likewise.
30620         (sub_magnitudes): Likewise.
30621         (__add): Likewise.
30622         (__sub): Likewise.
30623         (__mul): Likewise.
30624         (__sqr): Likewise.
30625         (__inv): Likewise.
30626         (__dvd): Likewise.
30628         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30629         commented code.
30630         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30631         (__dubcos): Likewise.
30632         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30633         (__ieee754_acos): Likewise.
30634         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30635         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30636         (__exp1): Likewise.
30637         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30638         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30639         (log1): Likewise.
30640         (my_log2): Likewise.
30641         (checkint): Likewise.
30642         * sysdeps/ieee754/dbl-64/e_remainder.c
30643         (__ieee754_remainder): Likewise.
30644         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30645         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30646         (bsloww): Likewise.
30647         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30649         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30650         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30651         MANTISSA_STORE_T to store computations on mantissa.  Use
30652         macros for rounding and division.
30653         (denorm): Likewise.
30654         (__dbl_mp): Likewise.
30655         (add_magnitudes): Likewise.
30656         (sub_magnitudes): Likewise.
30657         (__mul): Likewise.
30658         (__sqr): Likewise.
30659         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30660         powers of two in terms of TWOPOW macro.
30661         (mp_no): Make type of mantissa as MANTISSA_T.
30662         [!RADIXI]: Define RADIXI.
30663         [!TWO52]: Define TWO52.
30664         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30666 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30668         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30669         llroundl symbol when building for PPC32.
30671 2013-03-24  Mark H Weaver  <mhw@netris.org>
30673         * manual/arith.texi (Normalization Functions): Fix prototypes for
30674         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30676 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30678         [BZ #13889]
30679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30680         high value to check if expl overflow.
30681         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30682         to check for underflow and overflow.
30683         * math/libm-test.inc: Add exp test.
30685 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30687         [BZ #11120]
30688         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30689         with NOT_IN_libc.
30691 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30693         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30694         symbol.
30696 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30698         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30699         wrap blocks consisting of several statements.
30701         * sysdeps/generic/math-tests.h: New file.
30702         * sysdeps/i386/fpu/math-tests.h: Likewise.
30703         * math/test-snan.c: Include it.
30704         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30706 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30708         [BZ #15285]
30709         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30710         (__ieee754_j0l): Do not improve calculations using cos of twice
30711         input for inputs above LDBL_MAX / 2.0L.
30712         (__ieee754_y0l): Likewise.
30713         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30714         (__ieee754_j1l): Do not improve calculations using cos of twice
30715         input for inputs above LDBL_MAX / 2.0L.
30716         (__ieee754_y1l): Likewise.
30717         * math/libm-test.inc (j0_test): Add another test.
30718         (j1_test): Likewise.
30719         (y0_test): Likewise.
30720         (y1_test): Likewise.
30721         * sysdeps/i386/fpu/libm-test-ulps: Update.
30723 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30725         * Rules ($(objpfx)bench-%.c): Include code from a C source
30726         file.
30728 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30730         [BZ #15287]
30731         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30732         imaginary part 1.0 and real part less than 0.5 specially.
30733         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30734         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30735         * math/libm-test.inc (cacos_test): Add more tests.
30736         (casin_test): Likewise.
30737         (casinh_test): Likewise.
30738         * sysdeps/i386/fpu/libm-test-ulps: Update.
30739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30741 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30743         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30744         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30746 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30748         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30749         * config.make.in (config-cflags-sse4): Remove variable.
30750         (config-cflags-avx): Likewise.
30751         (config-cflags-sse2avx): Likewise.
30752         (config-cflags-novzeroupper): Likewise.
30753         (config-asflags-i686): Likewise.
30754         (have-mfma4): Likewise.
30755         (have-as-vis3): Likewise.
30756         (MIG): Likewise.
30757         * configure.in (MIG): Do not AC_SUBST.
30758         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30759         (libc_cv_cc_sse4): Do not AC_SUBST.
30760         (libc_cv_cc_avx): Likewise.
30761         (libc_cv_cc_sse2avx): Likewise.
30762         (libc_cv_cc_novzeroupper): Likewise.
30763         (libc_cv_cc_fma4): Likewise.
30764         (libc_cv_as_i686): Likewise.
30765         (libc_cv_sparc_as_vis3): Likewise.
30766         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30767         LIBC_CONFIG_VAR.
30768         (config-asflags-i686): Likewise.
30769         (config-cflags-avx): Likewise.
30770         (config-cflags-sse2avx): Likewise.
30771         (have-mfma4): Likewise.
30772         (config-cflags-novzeroupper): Likewise.
30773         * sysdeps/mach/configure.in (MIG): Likewise.
30774         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30775         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30776         LIBC_CONFIG_VAR.
30777         (config-cflags-avx): Likewise.
30778         (config-cflags-sse2avx): Likewise.
30779         (have-mfma4): Likewise.
30780         (config-cflags-novzeroupper): Likewise.
30781         * configure: Regenerated.
30782         * sysdeps/i386/configure: Likewise.
30783         * sysdeps/mach/configure: Likewise.
30784         * sysdeps/sparc/configure: Likewise.
30785         * sysdeps/x86_64/configure: Likewise.
30787 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30789         [BZ #14812]
30790         * locale/programs/localedef.c (options): Put N_ translation marker
30791         on argument names, not just descriptions.
30793 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30795         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30797 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30799         [BZ #14176]
30800         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30802 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30804         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30805         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30806         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30807         [!BEFORE_ABORT] (before_abort): New function.
30808         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30809         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30810         (writev_for_fatal): New function.
30811         (WRITEV_FOR_FATAL): New macro; call that.
30812         (backtrace_and_maps): New function.
30813         (BEFORE_ABORT): New macro; call that.
30814         (struct str_list): Type removed.
30815         (__libc_message, __libc_fatal): Functions removed.
30816         Include <sysdeps/posix/libc_fatal.c> instead.
30818 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30820         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30821         constants.
30822         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30823         double constants.
30825 2013-03-19  Andreas Schwab  <schwab@suse.de>
30827         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30828         * sysdeps/gnu/configure: Regenerate.
30830         * configure.in: Substitute libc_cv_rtlddir.
30831         * configure: Regenerate.
30832         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30833         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30834         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30835         * elf/Makefile (install-others, CFLAGS-interp.c)
30836         (ldso_install, common-ldd-rewrite): Likewise.
30837         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30838         $(inst_slibdir)/$(rtld-installed-name).
30839         * scripts/rellns-sh: Add -p option.
30840         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30841         for source.
30843 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30845         * manual/nptl.texi: Renamed to ...
30846         * manual/threads.texi: ... this.
30847         * manual/Makefile (chapters): Update.
30849 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30851         [BZ #14812]
30852         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30853         on argument names, not just descriptions.
30854         * malloc/memusagestat.c (options): Likewise.
30855         * nss/getent.c (options): Likewise.
30857 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30859         [BZ #14812]
30860         * iconv/iconv_prog.c (options): Put N_ translation marker
30861         on argument names, not just descriptions.
30862         * iconv/iconvconfig.c (options): Likewise.
30864 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30866         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30867         implementation which is faster on all x86_64 architectures.
30868         Tested on AMD, Intel Nehalem, SNB, IVB.
30869         * sysdeps/x86_64/strnlen.S: Likewise.
30871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30872         Remove all multiarch strlen and strnlen versions.
30873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30874         Remove strlen and strnlen related parts.
30876         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30877         Inline strlen part.
30878         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30880         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30881         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30882         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30883         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30884         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30885         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30887 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30889         * manual/memory.texi (Malloc Tunable Parameters):
30890         Sort parameters alphabetically. Add comments for missing entries.
30892 2013-03-17  David S. Miller  <davem@davemloft.net>
30894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30896 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30898         [BZ #15283]
30899         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30900         for arguments at most half maximum finite value.
30901         * math/libm-test.inc (j0_test): Add more tests.
30902         (j1_test): Likewise.
30903         (y0_test): Likewise.
30904         (y1_test): Likewise.
30905         * sysdeps/i386/fpu/libm-test-ulps: Update.
30906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30908         [BZ #14155]
30909         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30910         1 / x and functions P and Q for arguments above 0x1p256L.
30911         (__ieee754_y0l): Likewise.
30912         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30913         (__ieee754_y1l): Likewise.
30914         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30915         (j1_test): Likewise.
30916         (y0_test): Likewise.
30917         (y1_test): Likewise.
30919 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30921         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30922         variable.
30924 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30926         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30927         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30928         zero since it's initialized to EXEC_PAGESIZE.
30930         * sysdeps/unix/sysv/linux/ldsodefs.h
30931         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30932         * sysdeps/generic/ldsodefs.h: ... here.
30934 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30936         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30938         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30939         math/test-snan.c.
30940         * math/test-snan.c: Renamed from
30941         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30942         * math/Makefile (tests): Add test-snan.
30943         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30944         test-powerpc-snan.
30946         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30947         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30948         functions.
30949         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30950         __builtin_nan family of functions.
30951         * math/libm-test.inc (initialize): Initialize qnan_value with
30952         __builtin_nan family of functions.
30953         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30954         Remove variables.
30955         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30956         Remove functions.
30957         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30958         storage class.  Initialize qNaN_var and sNaN_var with
30959         __builtin_nan and __builtin_nans families of functions,
30960         respectively.
30962         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30963         (sqrt_test): Remove duplicate test with qNaN input.
30964         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30965         (round_test, signbit_test, significand_test): Note missing +/-Inf
30966         as well as qNaN tests.
30968         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30969         qNaN_var.  Fix a few strings, too.
30970         * math/libm-test.inc (nan_value): Rename to qnan_value.
30971         * math/gen-libm-test.pl (%beautify): Adjust to that.
30972         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30973         * math/test-misc.c (main): Likewise.
30974         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30975         to __qnan_bytes, and __qnan_union, respectively.
30976         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30977         Likewise.
30978         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30979         and lqnanval, respectively.
30980         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30981         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30982         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30983         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30985         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30986         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30987         doubles.
30989         * math/test-misc.c (main): Fix copy'n'pastos.
30990         * misc/tst-efgcvt.c (special): Likewise.
30992         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30993         Remove declarations.
30995 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30997         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30998         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30999         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31000         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31002 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31004         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31005         macro to return vdso values correctly in IFUNC implementations.
31006         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31007         Optimization by using IFUNC.
31009 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31010             Richard Henderson  <rth@redhat.com>
31011             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31013         * Makefile.in (bench): New target.
31014         * NEWS: Mention the benchmark framework.
31015         * Rules (bench): Likewise.
31016         (binaries-bench): Generate binaries for functions to
31017         benchmark.
31018         * benchtests/Makefile: New makefile for benchmark tests.
31019         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31020         programs.
31021         * benchtests/exp-inputs: New input file for EXP function.
31022         * benchtests/pow-inputs: New input file for POW function.
31023         * scripts/bench.pl: New script to generate source files for
31024         benchmark programs.
31026 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31028         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31029         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31030         computations on mantissa.  Use macros for rounding and
31031         division.
31032         (denorm): Likewise.
31033         (__dbl_mp): Likewise.
31034         (add_magnitudes): Likewise.
31035         (sub_magnitudes): Likewise.
31036         (__mul): Likewise.
31037         (__sqr): Likewise.
31038         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31039         powers of two in terms of TWOPOW macro.
31040         (mp_no): Make type of mantissa as MANTISSA_T.
31041         [!RADIXI]: Define RADIXI.
31042         [!TWO52]: Define TWO52.
31043         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31045         * manual/nptl.texi (cindex): Modify threads to pthreads.
31047 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31049         * sysdeps/x86_64/preconfigure: Regenerated.
31051 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31053         [BZ #14155]
31054         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31055         0x1p28 and above.
31056         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31057         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31058         0x1p28 and above.
31059         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31060         * math/libm-test.inc (j0_test): Do not allow one spurious
31061         underflow exception.
31062         (y1_test): Likewise.
31064 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31066         * manual/Makefile (chapters): Add nptl.
31067         * manual/debug.texi (Debugging Support): Add link to Threads
31068         chapter.
31069         * manual/nptl.texi: New file.
31071         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31073 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31075         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31076         for non-NULL pointer before the memory validity test. Pointed
31077         out by Holger Brunck <holger.brunck@keymile.com>.
31079 2013-03-13  Andreas Schwab  <schwab@suse.de>
31081         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31082         instead of .os.
31084 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31086         * timezone/zic.c: Update from tzcode 2013b.
31088 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31090         * manual/install.texi (Configuring and compiling):
31091         Mention i686 and i586.
31092         * INSTALL: Regenerate.
31094 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31096         * sysdeps/init_array/elf-init.c: New file.
31097         * csu/elf-init.c
31098         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31099         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31101         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31102         __gmon_start__ as global, but as static with a .preinit_array pointer.
31103         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31104         * sysdeps/init_array/crti.S: New file, empty except for comments.
31105         * sysdeps/init_array/crtn.S: Likewise.
31107 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31109         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31110         definining bcopy.
31111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31112         Remove Prefer_SSE_for_memop.
31113         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31114         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31115         HAS_PREFER_SSE_FOR_MEMOP.
31116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31117         memset-x86-64.
31118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31119         Remove bzero, memset ifunc support.
31120         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31121         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31122         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31123         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31125 2013-03-11  Andreas Schwab  <schwab@suse.de>
31127         [BZ #15234]
31128         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31129         by SHLIB_COMPAT.
31130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31131         (GLIBC_2.16): Remove pthread_atfork.
31133 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31135         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31136         (ptestcases.h): Likewise.
31138 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31140         * Makeconfig ($(common-objpfx)config.status): Depend on
31141         sysdeps/*/preconfigure{,.in} too.
31143 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31145         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31146         (__free_hook): Use void * instead of __malloc_ptr_t.
31147         (__malloc_hook): Likewise.
31148         (__realloc_hook): Likewise.
31149         (__memalign_hook): Likewise.
31150         (__after_morecore_hook): Likewise.
31151         * malloc/arena.c (save_malloc_hook): Likewise.
31152         (save_free_hook): Likewise.
31153         * malloc/hooks.c (malloc_hook_ini): Likewise.
31154         (realloc_hook_ini): Likewise.
31155         (memalign_hook_ini): Likewise.
31156         * malloc/malloc.c (malloc_hook_ini): Likewise.
31157         (realloc_hook_ini): Likewise.
31158         (memalign_hook_ini): Likewise.
31159         (__free_hook): Likewise.
31160         (__malloc_hook): Likewise.
31161         (__realloc_hook): Likewise.
31162         (__memalign_hook): Likewise.
31163         (__libc_malloc): Likewise.
31164         (__libc_free): Likewise.
31165         (__libc_realloc): Likewise.
31166         (__libc_memalign): Likewise.
31167         (__libc_valloc): Likewise.
31168         (__libc_pvalloc): Likewise.
31169         (__libc_calloc): Likewise.
31170         (__posix_memalign): Likewise.
31171         * malloc/morecore.c (__sbrk): Likewise.
31172         (__default_morecore): Likewise.
31174         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31176         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31177         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31178         __malloc_ptrdiff_t.
31180         * malloc/malloc.h (__malloc_size_t): Remove macro.
31181         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31182         __malloc_size_t.
31183         (old_memalign_hook): Likewise.
31184         (old_realloc_hook): Likewise.
31185         (struct hdr): Likewise.
31186         (flood): Likewise.
31187         (mallochook): Likewise.
31188         (memalignhook): Likewise.
31189         (reallochook): Likewise.
31190         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31191         (tr_old_realloc_hook): Likewise.
31192         (tr_old_memalign_hook): Likewise.
31193         (tr_mallochook): Likewise.
31194         (tr_reallochook): Likewise.
31195         (tr_memalignhook): Likewise.
31197 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31200         default_ldbl_pack and using as default implementation.
31201         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31202         implementation.
31203         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31204         redundant definition.
31205         (ldbl_insert_mantissa): Likewise.
31206         (ldbl_canonicalize): Likewise.
31207         (ldbl_nearbyint): Likewise.
31208         (ldbl_pack): Rename to ldbl_pack_ppc.
31209         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31210         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31211         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31213 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31216         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31217         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31218         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31220         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31221         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31222         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31224 2013-03-07  Andreas Jaeger  <aj@suse.de>
31226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31227         bits/mman-linux.h.
31229 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31231         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31232         Include mpa.h and declare __MPEXP.
31233         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31234         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31235         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31236         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31237         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31238         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31239         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31241         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31242         (__slowpow): Use long double EXPL and LOGL functions to
31243         compute POW.
31244         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31245         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31246         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31247         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31248         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31249         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31252         intermediate variable to calculate exponent.
31253         (__sqr): Likewise.
31254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31255         Likewise.
31256         (__sqr): Likewise.
31258         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31259         [!NO__SQR]: Define __sqr.
31260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31261         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31262         sysdeps/ieee754/dbl-64/mpa.c.
31263         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31265         [BZ #12723]
31266         * posix/Makefile (tests): Add tst-pathconf.
31267         * posix/tst-pathconf.c: New test case.
31268         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31269         _PC_PIPE_BUF.
31270         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31272 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31274         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31276 2013-03-06  Andreas Jaeger  <aj@suse.de>
31278         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31279         definition via __MAP_ANONYMOUS.
31281         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31282         it's not part of Linux headers.
31284         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31285         (MAP_HUGE_MASK): Define.
31287         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31288         Define.
31289         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31290         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31291         Define.
31292         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31293         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31294         Define.
31295         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31296         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31297         Define.
31298         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31300         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31301         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31302         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31303         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31304         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31305         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31307         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31308         Handle f2fs.
31310         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31311         Handle f2fs and efivarfs.
31313         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31314         f2fs.
31316         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31317         (EFIVARFS_MAGIC): Add.
31318         (F2FS_LINK_MAX): Add.
31320 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31322         * stdio-common/vfprintf.c: Replace __builtin_expect with
31323         __glibc_unlikely.
31325 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31327         [BZ #13550]
31328         * sysdeps/generic/bp-sym.h: Remove file.
31329         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31330         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31331         <bp-sym.h> and <bp-asm.h>.
31332         (__longjmp): Don't use BP_SYM.
31333         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31334         and <bp-asm.h>.
31335         (memcpy): Don't use BP_SYM.
31336         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31337         <bp-sym.h> and <bp-asm.h>.
31338         (memcpy): Don't use BP_SYM.
31339         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31340         <bp-asm.h>.
31341         (memcpy): Don't use BP_SYM.
31342         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31343         <bp-asm.h>.
31344         (memset): Don't use BP_SYM.
31345         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31346         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31347         (__bzero): Don't use BP_SYM.
31348         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31349         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31350         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31351         <bp-sym.h> and <bp-asm.h>.
31352         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31353         pointers.
31354         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31355         <bp-sym.h> and <bp-asm.h>.
31356         (memcpy): Don't use BP_SYM.
31357         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31358         <bp-sym.h> and <bp-asm.h>.
31359         (memset): Don't use BP_SYM.
31360         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31361         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31362         (__bzero): Don't use BP_SYM.
31363         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31364         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31365         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31366         <bp-sym.h> and <bp-asm.h>.
31367         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31368         pointers.
31369         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31370         <bp-sym.h> and <bp-asm.h>.
31371         (memcpy): Don't use BP_SYM.
31372         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31373         <bp-sym.h> and <bp-asm.h>.
31374         (memset): Don't use BP_SYM.
31375         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31376         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31377         (__bzero): Don't use BP_SYM.
31378         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31379         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31380         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31381         <bp-sym.h> and <bp-asm.h>.
31382         (__memchr): Don't use BP_SYM.
31383         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31384         <bp-sym.h> and <bp-asm.h>.
31385         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31386         pointers.
31387         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31388         <bp-sym.h> and <bp-asm.h>.
31389         (memcpy): Don't use BP_SYM.
31390         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31391         <bp-sym.h> and <bp-asm.h>.
31392         (__mempcpy): Don't use BP_SYM.
31393         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31394         <bp-sym.h> and <bp-asm.h>.
31395         (__memrchr): Don't use BP_SYM.
31396         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31397         <bp-sym.h> and <bp-asm.h>.
31398         (memset): Don't use BP_SYM.
31399         (__bzero): Likewise.
31400         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31401         <bp-sym.h> and <bp-asm.h>.
31402         (__rawmemchr): Don't use BP_SYM.
31403         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31404         <bp-sym.h> and <bp-asm.h>.
31405         (__STRCMP): Don't use BP_SYM.
31406         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31407         <bp-sym.h> and <bp-asm.h>.
31408         (strchr): Don't use BP_SYM.
31409         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31410         <bp-sym.h> and <bp-asm.h>.
31411         (__strchrnul): Don't use BP_SYM.
31412         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31413         <bp-sym.h> and <bp-asm.h>.
31414         (strlen): Don't use BP_SYM.
31415         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31416         <bp-sym.h> and <bp-asm.h>.
31417         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31418         pointers.
31419         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31420         <bp-sym.h> and <bp-asm.h>.
31421         (__strnlen): Don't use BP_SYM.
31422         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31423         <bp-sym.h> and <bp-asm.h>.
31424         (__GI__setjmp): Don't use BP_SYM.
31425         (_setjmp): Likewise.
31426         (__sigsetjmp): Likewise.
31427         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31428         (L(start_addresses)): Don't use BP_SYM.
31429         (_start): Likewise.
31430         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31431         <bp-asm.h>.
31432         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31433         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31434         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31435         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31436         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31437         <bp-asm.h>.
31438         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31439         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31440         about bounded pointers.
31441         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31442         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31443         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31444         <bp-asm.h>.
31445         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31446         about bounded pointers.  Remove GKM FIXME comments.
31447         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31448         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31449         <bp-asm.h>.
31450         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31451         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31452         Remove GKM FIXME comments.
31453         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31454         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31455         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31456         <bp-asm.h>.
31457         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31458         about bounded pointers.  Remove GKM FIXME comment.
31459         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31460         and <bp-asm.h>.
31461         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31462         pointers.
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31464         <bp-sym.h> and <bp-asm.h>.
31465         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31467         <bp-sym.h> and <bp-asm.h>.
31468         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31469         comment.
31471 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31473         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31474         call free(NULL).
31476 2013-03-05  David S. Miller  <davem@davemloft.net>
31478         * po/es.po: Update from translation team.
31480 2013-03-05  Andreas Jaeger  <aj@suse.de>
31482         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31483         <bits/mman-linux.h>.
31484         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31485         is fine.
31486         * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
31491         <bits/mman-linux.h> to end of file.
31492         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31493         is fine.
31494         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31495         <bits/mman-linux.h> to end of file.
31497         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31498         (MCL_CURRENT, MCL_FUTURE): Define here.
31500 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31502         [BZ #15232]
31503         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31504         attribute_hidden.
31505         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31507 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31510         fourth parameter needed for rt_sigprocmask syscall.
31511         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31512         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31514         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31515         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31516         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31518 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31520         [BZ #13550]
31521         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31522         comment about bounded pointers.
31523         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31524         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31526 2013-03-04  Andreas Jaeger  <aj@suse.de>
31528         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31529         common definitions.
31531         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31532         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31533         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31534         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31535         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31536         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31538 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31540         [BZ #15055]
31541         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31542         __ieee754_sqrl instead of __sqrl.
31544 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31546         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31547         * sysdeps/powerpc/fpu_control.h: ... here.
31548         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31549         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31550         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31551         * sysdeps/powerpc/bits/mathinline.h: ... here.
31553 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31555         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31556         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31557         to just [NEED_DL_SYSINFO_DSO].
31558         * elf/dl-support.c: Likewise.
31559         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31560         * elf/rtld.c (dl_main): Likewise.
31561         * elf/setup-vdso.h (setup_vdso): Likewise.
31562         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31563         * sysdeps/unix/sysv/linux/dl-sysdep.c
31564         (_dl_discover_osversion): Likewise.
31566 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31568         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31569         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31571 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31573         * NEWS: Mention libm performance improvements and non-x86 PI
31574         futex support.
31576         * csu/libc-start.c (__pthread_initialize_minimal): Change
31577         function arguments.
31578         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31580 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31582         [BZ #13550]
31583         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31584         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31585         <bp-sym.h> and <bp-asm.h>.
31586         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31587         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31588         and <bp-asm.h>.
31589         (memcpy): Don't use BP_SYM.
31590         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31591         <bp-asm.h>.
31592         (__mpn_add_n): Don't use BP_SYM.
31593         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31594         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31595         and <bp-asm.h>.
31596         (__mpn_addmul_1): Don't use BP_SYM.
31597         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31598         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31599         <bp-sym.h>.
31600         (_setjmp): Don't use BP_SYM.
31601         (__novmx_setjmp): Likewise.
31602         (__GI__setjmp): Likewise.
31603         (__vmx_setjmp): Likewise.
31604         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31605         <bp-sym.h>.
31606         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31607         (__bzero): Don't use BP_SYM.
31608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31610         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31611         <bp-sym.h> and <bp-asm.h>.
31612         (memcpy): Don't use BP_SYM.
31613         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31614         <bp-sym.h> and <bp-asm.h>.
31615         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31616         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31617         <bp-sym.h> and <bp-asm.h>.
31618         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31619         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31620         <bp-asm.h>.
31621         (__mpn_lshift): Don't use BP_SYM.
31622         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31623         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31624         <bp-asm.h>.
31625         (memset): Don't use BP_SYM.
31626         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31627         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31628         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31629         <bp-asm.h>.
31630         (__mpn_mul_1): Don't use BP_SYM.
31631         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31632         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31633         <bp-sym.h> and <bp-asm.h>.
31634         (memcmp): Don't use BP_SYM.
31635         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31636         <bp-sym.h> and <bp-asm.h>.
31637         (memcpy): Don't use BP_SYM.
31638         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31639         <bp-sym.h> and <bp-asm.h>.
31640         (memset): Don't use BP_SYM.
31641         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31642         <bp-sym.h> and <bp-asm.h>.
31643         (strncmp): Don't use BP_SYM.
31644         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31645         <bp-sym.h> and <bp-asm.h>.
31646         (memcpy): Don't use BP_SYM.
31647         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31648         <bp-sym.h> and <bp-asm.h>.
31649         (memset): Don't use BP_SYM.
31650         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31651         <bp-sym.h> and <bp-asm.h>.
31652         (__memchr): Don't use BP_SYM.
31653         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31654         <bp-sym.h> and <bp-asm.h>.
31655         (memcmp): Don't use BP_SYM.
31656         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31657         <bp-sym.h> and <bp-asm.h>.
31658         (memcpy): Don't use BP_SYM.
31659         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31660         <bp-sym.h> and <bp-asm.h>.
31661         (__mempcpy): Don't use BP_SYM.
31662         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31663         <bp-sym.h> and <bp-asm.h>.
31664         (__memrchr): Don't use BP_SYM.
31665         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31666         <bp-sym.h> and <bp-asm.h>.
31667         (memset): Don't use BP_SYM.
31668         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31669         <bp-sym.h> and <bp-asm.h>.
31670         (__rawmemchr): Don't use BP_SYM.
31671         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31672         <bp-sym.h> and <bp-asm.h>.
31673         (__STRCMP): Don't use BP_SYM.
31674         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31675         <bp-sym.h> and <bp-asm.h>.
31676         (strchr): Don't use BP_SYM.
31677         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31678         <bp-sym.h> and <bp-asm.h>.
31679         (__strchrnul): Don't use BP_SYM.
31680         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31681         <bp-sym.h> and <bp-asm.h>.
31682         (strlen): Don't use BP_SYM.
31683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31684         <bp-sym.h> and <bp-asm.h>.
31685         (strncmp): Don't use BP_SYM.
31686         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31687         <bp-sym.h> and <bp-asm.h>.
31688         (__strnlen): Don't use BP_SYM.
31689         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31690         <bp-asm.h>.
31691         (__mpn_rshift): Don't use BP_SYM.
31692         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31693         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31694         <bp-sym.h> and <bp-asm.h>.
31695         (__sigsetjmp): Don't use BP_SYM.
31696         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31697         (L(start_addresses)): Don't use BP_SYM.
31698         (_start): Likewise.
31699         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31700         <bp-asm.h>.
31701         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31702         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31703         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31704         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31705         <bp-asm.h>.
31706         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31707         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31708         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31709         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31710         <bp-asm.h>.
31711         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31712         comments.
31713         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31714         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31715         <bp-asm.h>.
31716         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31717         FIXME comments.
31718         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31719         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31720         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31721         <bp-asm.h>.
31722         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31723         comment.
31724         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31725         and <bp-asm.h>.
31726         (strncmp): Don't use BP_SYM,
31727         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31728         <bp-asm.h>.
31729         (__mpn_sub_n): Don't use BP_SYM.
31730         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31731         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31732         and <bp-asm.h>.
31733         (__mpn_submul_1): Don't use BP_SYM.
31734         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31736         <bp-sym.h> and <bp-asm.h>.
31737         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31739         <bp-sym.h> and <bp-asm.h>.
31740         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31741         comment.
31743 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31746         Use ZK to minimize writes to Z.
31747         (sub_magnitudes): Simplify code a bit.
31748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31749         Use ZK to minimize writes to Z.
31750         (sub_magnitudes): Simplify code a bit.
31752 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31754         * csu/gmon-start.c: Add special exception to license text.
31756 2013-02-27  Richard Henderson  <rth@redhat.com>
31758         * scripts/config.guess: Update from config.git.
31759         * scripts/config.sub: Likewise.
31761 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31763         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31765         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31767         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31769         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31771         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31773 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31775         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31776         [$(build-shared = yes].
31778 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31780         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31781         (__mul): Reduce iterations for calculating mantissa.
31783         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31784         MPTWO.
31785         (__mpranred): Likewise.
31787         [BZ #15160]
31788         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31789         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31791 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31793         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31794         Define __attribute__.
31796 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31798         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31799         unused.
31800         * posix/regex_internal.h (__attribute): Remove.
31801         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31802         (re_string_context_at): Likewise.
31803         (bitset_not): Use __attribute__ and mark function as possibly
31804         unused.
31805         (bitset_merge): Likewise.
31806         (bitset_mask): Likewise.
31807         (re_string_char_size_at): Likewise.
31808         (re_string_wchar_at): Likewise.
31809         (re_string_elem_size_at): Likewise.
31811 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31813         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31814         code.
31815         (cc32): Likewise.
31817         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31818         (__acr): Likewise.
31819         (__cpy): Likewise.
31820         (norm): Likewise.
31821         (denorm): Likewise.
31822         (__dbl_mp): Likewise.
31823         (add_magnitudes): Likewise.
31824         (sub_magnitudes): Likewise.
31825         (__mul): Likewise.
31826         (__inv): Likewise.
31828         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31829         style.
31831         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31832         style.
31834         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31835         code.
31837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31838         up changes with default code.
31839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31840         Likewise.
31842 2013-02-24  Allan McRae  <allan@archlinux.org>
31844         * manual/socket.texi (The Internet Namespace): Order menu items
31845         to match that in the file.
31847         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31848         node listing of the info page menu.
31850 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31852         [BZ #13550]
31853         * sysdeps/i386/bp-asm.h: Remove file.
31854         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31855         (PARMS): Do not use macros from bp-asm.h.
31856         (S1): Likewise.
31857         (S2): Likewise.
31858         (SIZE): Likewise.
31859         (__mpn_add_n): Do not use BP_SYM
31860         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31861         "bp-asm.h".
31862         (PARMS): Do not use macros from bp-asm.h.
31863         (S1): Likewise.
31864         (SIZE): Likewise.
31865         (__mpn_addmul_1): Do not use BP_SYM
31866         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31867         "bp-asm.h".
31868         (PARMS): Do not use macros from bp-asm.h.
31869         (SIGMSK): Likewise.
31870         (_setjmp): Likewise.  Do not use BP_SYM.
31871         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31872         "bp-asm.h".
31873         (PARMS): Do not use macros from bp-asm.h.
31874         (SIGMSK): Likewise.
31875         (setjmp): Likewise.  Do not use BP_SYM.
31876         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31877         "bp-asm.h".
31878         (PARMS): Do not use macros from bp-asm.h.
31879         (__frexp): Do not use BP_SYM.
31880         (frexp): Likewise.
31881         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31882         "bp-asm.h".
31883         (PARMS): Do not use macros from bp-asm.h.
31884         (__frexpf): Do not use BP_SYM.
31885         (frexpf): Likewise.
31886         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31887         "bp-asm.h".
31888         (PARMS): Do not use macros from bp-asm.h.
31889         (__frexpl): Do not use BP_SYM.
31890         (frexpl): Likewise.
31891         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31892         "bp-asm.h".
31893         (PARMS): Do not use macros from bp-asm.h.
31894         (__remquo): Do not use BP_SYM.
31895         (remquo): Likewise.
31896         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31897         "bp-asm.h".
31898         (PARMS): Do not use macros from bp-asm.h.
31899         (__remquof): Do not use BP_SYM.
31900         (remquof): Likewise.
31901         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31902         "bp-asm.h".
31903         (PARMS): Do not use macros from bp-asm.h.
31904         (__remquol): Do not use BP_SYM.
31905         (remquol): Likewise.
31906         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31907         "bp-asm.h".
31908         (PARMS): Do not use macros from bp-asm.h.
31909         (DEST): Likewise.
31910         (SRC): Likewise.
31911         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31912         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31913         "bp-asm.h".
31914         (PARMS): Do not use macros from bp-asm.h.
31915         (strlen): Do not use BP_SYM.
31916         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31917         "bp-asm.h".
31918         (PARMS): Do not use macros from bp-asm.h.
31919         (S1): Likewise.
31920         (S2): Likewise.
31921         (SIZE): Likewise.
31922         (__mpn_add_n): Do not use BP_SYM.
31923         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31924         "bp-asm.h".
31925         (PARMS): Do not use macros from bp-asm.h.
31926         (S1): Likewise.
31927         (SIZE): Likewise.
31928         (__mpn_addmul_1): Do not use BP_SYM.
31929         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31930         weak_alias.
31931         (bzero): Likewise.
31932         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31933         "bp-asm.h".
31934         (PARMS): Do not use macros from bp-asm.h.
31935         (S): Likewise.
31936         (SIZE): Likewise.
31937         (__mpn_lshift): Do not use BP_SYM.
31938         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31939         "bp-asm.h".
31940         (PARMS): Do not use macros from bp-asm.h.
31941         (DEST): Likewise.
31942         (SRC): Likewise.
31943         (LEN): Likewise.
31944         (memcpy): Likewise.  Do not use BP_SYM.
31945         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31946         libc_hidden_def and weak_alias.
31947         (mempcpy): Do not use BP_SYM in weak_alias.
31948         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31949         "bp-asm.h".
31950         (PARMS): Do not use macros from bp-asm.h.
31951         (DEST): Likewise.
31952         (LEN): Likewise.
31953         [!BZERO_P] (CHR): Likewise.
31954         (memset): Likewise.  Do not use BP_SYM.
31955         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31956         "bp-asm.h".
31957         (PARMS): Do not use macros from bp-asm.h.
31958         (S1): Likewise.
31959         (SIZE): Likewise.
31960         (__mpn_mul_1): Do not use BP_SYM.
31961         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31962         "bp-asm.h".
31963         (PARMS): Do not use macros from bp-asm.h.
31964         (S): Likewise.
31965         (SIZE): Likewise.
31966         (__mpn_rshift): Do not use BP_SYM.
31967         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31968         "bp-asm.h".
31969         (PARMS): Do not use macros from bp-asm.h.
31970         (STR): Likewise.
31971         (CHR): Likewise.
31972         (strchr): Likewise.  Do not use BP_SYM.
31973         (index): Do not use BP_SYM in weak_alias.
31974         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31975         "bp-asm.h".
31976         (PARMS): Do not use macros from bp-asm.h.
31977         (DEST): Likewise.
31978         (SRC): Likewise.
31979         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31980         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31981         "bp-asm.h".
31982         (PARMS): Do not use macros from bp-asm.h.
31983         (strlen): Do not use BP_SYM.
31984         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31985         "bp-asm.h".
31986         (PARMS): Do not use macros from bp-asm.h.
31987         (S1): Likewise.
31988         (S2): Likewise.
31989         (SIZE): Likewise.
31990         (__mpn_sub_n): Do not use BP_SYM.
31991         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31992         "bp-asm.h".
31993         (PARMS): Do not use macros from bp-asm.h.
31994         (S1): Likewise.
31995         (SIZE): Likewise.
31996         (__mpn_submul_1): Do not use BP_SYM.
31997         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31998         "bp-asm.h".
31999         (PARMS): Do not use macros from bp-asm.h.
32000         (S1): Likewise.
32001         (S2): Likewise.
32002         (SIZE): Likewise.
32003         (__mpn_add_n): Do not use BP_SYM.
32004         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32005         weak_alias.
32006         (bzero): Likewise.
32007         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32008         "bp-asm.h".
32009         (PARMS): Do not use macros from bp-asm.h.
32010         (BLK2): Likewise.
32011         (LEN): Likewise.
32012         (memcmp): Do not use BP_SYM.
32013         (bcmp): Do not use BP_SYM in weak_alias.
32014         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32015         "bp-asm.h".
32016         (PARMS): Do not use macros from bp-asm.h.
32017         (DEST): Likewise.
32018         (SRC): Likewise.
32019         (LEN): Likewise.
32020         (memcpy): Likewise.  Do not use BP_SYM.
32021         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32022         "bp-asm.h".
32023         (PARMS): Do not use macros from bp-asm.h.
32024         (DEST): Likewise.
32025         (SRC): Likewise.
32026         (LEN): Likewise.
32027         (memmove): Likewise.  Do not use BP_SYM.
32028         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32029         "bp-asm.h".
32030         (PARMS): Do not use macros from bp-asm.h.
32031         (DEST): Likewise.
32032         (SRC): Likewise.
32033         (LEN): Likewise.
32034         (__mempcpy): Likewise.  Do not use BP_SYM.
32035         (mempcpy): Do not use BP_SYM in weak_alias.
32036         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32037         "bp-asm.h".
32038         (PARMS): Do not use macros from bp-asm.h.
32039         (DEST): Likewise.
32040         (LEN): Likewise.
32041         [!BZERO_P] (CHR): Likewise.
32042         (memset): Likewise.  Do not use BP_SYM.
32043         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32044         "bp-asm.h".
32045         (PARMS): Do not use macros from bp-asm.h.
32046         (STR2): Likewise.
32047         (strcmp): Do not use BP_SYM.
32048         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32049         "bp-asm.h".
32050         (PARMS): Do not use macros from bp-asm.h.
32051         (STR): Likewise.
32052         (DELIM): Likewise.
32053         [USE_AS_STRTOK_R] (SAVE): Likewise.
32054         (FUNCTION): Likewise.  Do not use BP_SYM.
32055         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32056         aliases.
32057         (strtok_r): Likewise.
32058         (__GI___strtok_r): Likewise.
32059         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32060         (PARMS): Do not use macros from bp-asm.h.
32061         (S): Likewise.
32062         (SIZE): Likewise.
32063         (__mpn_lshift): Do not use BP_SYM.
32064         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32065         (PARMS): Do not use macros from bp-asm.h.
32066         (STR): Likewise.
32067         (CHR): Likewise.
32068         (__memchr): Do not use BP_SYM.
32069         (memchr): Do not use BP_SYM in weak_alias.
32070         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32071         (PARMS): Do not use macros from bp-asm.h.
32072         (BLK2): Likewise.
32073         (LEN): Likewise.
32074         (memcmp): Do not use BP_SYM.
32075         (bcmp): Do not use BP_SYM in weak_alias.
32076         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32077         (PARMS): Do not use macros from bp-asm.h.
32078         (S1): Likewise.
32079         (SIZE): Likewise.
32080         (__mpn_mul_1): Do not use BP_SYM.
32081         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32082         "bp-asm.h".
32083         (PARMS): Do not use macros from bp-asm.h.
32084         (STR): Likewise.
32085         (CHR): Likewise.
32086         (__rawmemchr): Do not use BP_SYM.
32087         (rawmemchr): Do not use BP_SYM in weak_alias.
32088         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32089         (PARMS): Do not use macros from bp-asm.h.
32090         (S): Likewise.
32091         (SIZE): Likewise.
32092         (__mpn_rshift): Do not use BP_SYM.
32093         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32094         (PARMS): Do not use macros from bp-asm.h.
32095         (SIGMSK): Likewise.
32096         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32097         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32098         (_start): Do not use BP_SYM.
32099         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32100         (PARMS): Do not use macros from bp-asm.h.
32101         (DEST): Likewise.
32102         (SRC): Likewise.
32103         (__stpcpy): Likewise.  Do not use BP_SYM.
32104         (stpcpy): Do not use BP_SYM in weak_alias.
32105         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32106         "bp-asm.h".
32107         (PARMS): Do not use macros from bp-asm.h.
32108         (DEST): Likewise.
32109         (SRC): Likewise.
32110         (LEN): Likewise.
32111         (__stpncpy): Likewise.  Do not use BP_SYM.
32112         (stpncpy): Do not use BP_SYM in weak_alias.
32113         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32114         (PARMS): Do not use macros from bp-asm.h.
32115         (STR): Likewise.
32116         (CHR): Likewise.
32117         (strchr): Likewise.  Do not use BP_SYM.
32118         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32119         "bp-asm.h".
32120         (PARMS): Do not use macros from bp-asm.h.
32121         (STR): Likewise.
32122         (CHR): Likewise.
32123         (__strchrnul): Likewise.  Do not use BP_SYM.
32124         (strchrnul): Do not use BP_SYM in weak_alias.
32125         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32126         "bp-asm.h".
32127         (PARMS): Do not use macros from bp-asm.h.
32128         (STOP): Likewise.
32129         (strcspn): Do not use BP_SYM.
32130         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32131         "bp-asm.h".
32132         (PARMS): Do not use macros from bp-asm.h.
32133         (STR): Likewise.
32134         (STOP): Likewise.
32135         (strpbrk): Likewise.  Do not use BP_SYM.
32136         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32137         "bp-asm.h".
32138         (PARMS): Do not use macros from bp-asm.h.
32139         (STR): Likewise.
32140         (CHR): Likewise.
32141         (strrchr): Likewise.  Do not use BP_SYM.
32142         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32143         (PARMS): Do not use macros from bp-asm.h.
32144         (SKIP): Likewise.
32145         (strspn): Do not use BP_SYM.
32146         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32147         (PARMS): Do not use macros from bp-asm.h.
32148         (STR): Likewise.
32149         (DELIM): Likewise.
32150         (SAVE): Likewise.
32151         (FUNCTION): Likewise.  Do not use BP_SYM.
32152         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32153         aliases.
32154         (strtok_r): Likewise.
32155         (__GI___strtok_r): Likewise.
32156         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32157         (PARMS): Do not use macros from bp-asm.h.
32158         (S1): Likewise.
32159         (S2): Likewise.
32160         (SIZE): Likewise.
32161         (__mpn_sub_n): Do not use BP_SYM.
32162         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32163         "bp-asm.h".
32164         (PARMS): Do not use macros from bp-asm.h.
32165         (S1): Likewise.
32166         (SIZE): Likewise.
32167         (__mpn_submul_1): Do not use BP_SYM.
32168         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32169         <bp-sym.h>.
32170         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32171         and <bp-asm.h>.
32172         (PARMS): Do not use macros from bp-asm.h.
32173         (FLAGS): Likewise.
32174         (PTID): Likewise.
32175         (TLS): Likewise.
32176         (CTID): Likewise.
32177         (__clone): Do not use BP_SYM.
32178         (clone): Do not use BP_SYM in weak_alias.
32179         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32180         and <bp-asm.h>.
32181         (PARMS): Do not use macros from bp-asm.h.
32182         (LEN): Likewise.
32183         (__mmap64): Do not use BP_SYM.
32184         (mmap64): Do not use BP_SYM in weak_alias.
32185         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32186         <bp-sym.h> and <bp-asm.h>.
32187         (PARMS): Do not use macros from bp-asm.h.
32188         (__posix_fadvise64_l64): Do not use BP_SYM.
32189         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32190         (PARMS): Do not use macros from bp-asm.h.
32191         (NSOPS): Likewise.
32192         (semtimedop): Do not use BP_SYM.
32193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32194         and <bp-asm.h>.
32196 2013-02-21  Allan McRae  <allan@archlinux.org>
32198         * manual/message.texi (Charset conversion in gettext):
32199         Move @end statement to beginning of line.
32201 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32204         static.
32205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32206         Likewise.
32208         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32209         (denorm): Likewise.
32210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32213 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32215         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32216         tail-call to the resolved function if pltexit isn't needed.
32218 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32221         or Y being zero as being unlikely.
32222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32223         Likewise.
32225 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32227         * manual/nss.texi (System Databases and Name Service Switch):
32228         Remove frobnicate @pxref.
32230 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32232         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32233         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32235 2013-02-20  Petr Machata  <pmachata@redhat.com>
32237         * elf/elf.h (R_ARM_TARGET1): New macro.
32238         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32239         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32240         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32241         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32242         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32243         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32244         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32245         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32246         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32247         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32248         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32249         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32250         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32251         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32252         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32253         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32254         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32255         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32256         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32257         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32258         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32259         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32260         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32261         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32262         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32263         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32264         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32265         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32266         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32267         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32268         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32269         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32270         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32271         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32272         (R_ARM_THM_GOT_BREL12): Likewise.
32273         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32274         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32275         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32276         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32277         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32278         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32279         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32280         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32281         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32283 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32285         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32286         __attribute_used__ to __attribute__ ((unused)).
32288 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32290         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32291         powerpc mpa.c.
32292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32293         comment formatting.
32294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32296 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32298         [BZ #13550]
32299         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32300         Remove macro.
32301         (ENTER): Remove both macro definitions.
32302         (LEAVE): Likewise.
32303         (CHECK_BOUNDS_LOW): Likewise.
32304         (CHECK_BOUNDS_HIGH): Likewise.
32305         (CHECK_BOUNDS_BOTH): Likewise.
32306         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32307         (RETURN_BOUNDED_POINTER): Likewise.
32308         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32309         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32310         (POP_ERRNO_LOCATION_RETURN): Likewise.
32311         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32312         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32313         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32314         macros.
32315         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32316         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32317         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32318         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32319         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32320         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32321         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32322         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32323         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32324         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32325         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32326         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32327         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32328         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32329         removed macros.
32330         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32331         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32332         macros.
32333         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32334         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32335         * sysdeps/i386/i586/memset.S (memset): Likewise.
32336         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32337         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32338         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32339         macros.
32340         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32341         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32342         Change uses of L(2) to L(out).
32343         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32344         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32345         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32346         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32347         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32348         removed macros.
32349         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32350         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32351         macros.
32352         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32353         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32354         (RETURN): Do not use macro LEAVE.
32355         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32356         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32357         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32358         * sysdeps/i386/i686/memset.S (memset): Likewise.
32359         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32360         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32361         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32362         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32363         Likewise.
32364         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32365         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32366         L(1_2) and L(1_3) into L(1).
32367         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32368         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32369         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32370         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32371         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32372         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32373         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32374         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32375         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32376         macros.
32377         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32378         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32379         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32380         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32381         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32382         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32383         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32384         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32385         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32386         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32387         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32388         * sysdeps/i386/strspn.S (strspn): Likewise.
32389         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32390         conditional code.
32391         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32392         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32393         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32394         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32395         L(1_3) into L(1_1).
32396         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32397         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32398         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32399         macros.
32400         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32402 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32404         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32405         macro.
32407 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32409         * math/atest-exp.c (exp_mpn): Remove ROUND.
32410         * math/atest-exp2.c (exp_mpn): Likewise.
32411         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32413         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32414         * stdlib/tst-tls-atexit-lib.c: Likewise.
32415         * stdlib/tst-tls-atexit.c: Likewise.
32417 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32419         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32420         and __attribute_alloc_size__.
32422 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32424         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32425         __attribute_alloc_size__.
32426         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32427         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32429 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32431         * include/programs/xmalloc.h: New file.
32432         * catgets/gencat.c: Include it.
32433         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32434         * elf/pldd.c: Likewise.
32435         * iconv/iconv_charmap.c: Likewise.
32436         * iconv/iconvconfig.c: Likewise.
32437         * iconv/strtab.c: Likewise.
32438         * locale/programs/locale.c: Likewise.
32439         * locale/programs/localedef.h: Likewise.
32440         * locale/programs/simple-hash.c: Likewise.
32441         * nscd/nscd.h: Likewise.
32442         * nss/makedb.c: Likewise.
32443         * sysdeps/generic/ldconfig.h: Likewise.
32445 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32447         * Versions.def: Add GLIBC_2.18.
32448         * include/link.h (struct link_map): New member l_tls_dtor_count.
32449         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32450         (__call_tls_dtors): Likewise.
32451         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32452         __cxa_thread_atexit_impl.
32453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32454         Likewise.
32455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32456         Likewise.
32457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32458         Likewise.
32459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32460         Likewise.
32461         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32463         Likewise.
32464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32465         Likewise.
32466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32468         Likewise.
32469         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32470         (tests): Add test case tst-tls-atexit.
32471         (modules-names): Add shared library for tst-tls-atexit.
32472         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32473         (GLIBC_PRIVATE): Add __call_tls_dtors.
32474         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32475         for libstdc++.
32476         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32477         * stdlib/tst-tls-atexit.c: New test case.
32478         * stdlib/tst-tls-atexit-lib.c: New test case.
32480         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32482         * elf/Versions (ld): Add _dl_find_dso_for_object.
32483         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32484         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32485         (dl_open_worker): Use _dl_find_dso_for_object.
32486         * elf/dl-sym.c (do_sym): Likewise.
32487         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32489 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32491         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32492         Syntactic changes only.
32493         (_dl_runtime_profile): Do a tail-call to the resolved function.
32495 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32497         [BZ #13550]
32498         * sysdeps/x86_64/bp-asm.h: Remove file.
32499         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32500         <bp-sym.h> and <bp-asm.h>.
32501         (__clone): Do not use BP_SYM.
32502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32503         <bp-sym.h> and <bp-asm.h>.
32504         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32505         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32506         "bp-asm.h".
32507         (_setjmp): Do not use BP_SYM.
32508         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32509         "bp-asm.h".
32510         (setjmp): Do not use BP_SYM.
32511         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32512         libc_hidden_def.
32513         (mempcpy): Do not use BP_SYM in weak_alias.
32514         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32515         "bp-asm.h".
32516         (strchr): Do not use BP_SYM.
32517         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32518         "bp-asm.h".
32519         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32520         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32521         (_start): Do not use BP_SYM.
32522         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32523         "bp-asm.h".
32524         (strcat): Do not use BP_SYM.
32525         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32526         "bp-asm.h".
32527         (STRCMP): Do not use BP_SYM.
32528         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32529         "bp-asm.h".
32530         (STRCPY): Do not use BP_SYM.
32531         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32532         "bp-asm.h".
32533         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32534         "bp-asm.h".
32535         (FUNCTION): Do not use BP_SYM.
32536         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32537         weak_alias.
32538         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32540 2013-02-17  Andreas Jaeger  <aj@suse.de>
32542         * time/Versions: Sort entries.
32543         * string/Versions: Likewise.
32544         * resolv/Versions: Likewise.
32545         * posix/Versions: Likewise.
32546         * iconv/Versions: Likewise.
32547         * elf/Versions: Likewise.
32548         * wcsmbs/Versions: Likewise.
32550 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32552         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32553         loop termination condition.
32555         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32556         variable to calculate EZ.
32557         (__sqr): Likewise.
32559         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32560         the lower precision input.
32562 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32564         [BZ #13550]
32565         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32566         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32567         (run-via-rtld-prefix): Do not handle %-bp tests.
32568         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32569         (all-object-suffixes): Remove .ob.
32570         (bppfx): Remove variable.
32571         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32572         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32573         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32574         [$(build-bounded) = yes] (libtype.ob): Likewise.
32575         * Makerules (elide-routines.ob): Remove variable.
32576         (do-tests-clean): Do not handle *-bp.out.
32577         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32578         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32579         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32580         (tests): Do not include $(tests-bp.out).
32581         (xtests): Do not include $(xtests-bp.out).
32582         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32583         [$(build-bounded) = yes] ($(addprefix
32584         $(objpfx),$(binaries-bounded))): Remove rule.
32585         ($(objpfx)%-bp.out): Remove rule.
32586         * config.make.in (build-bounded): Remove variable.
32587         * crypt/Makefile [$(build-bounded) = yes]
32588         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32589         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32590         append to variable.
32591         [$(build-bounded) = yes] (install-lib): Likewise.
32592         [$(build-bounded) = yes] (generated): Likewise.
32593         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32594         Remove rule.
32595         * intl/Makefile [$(build-bounded) = yes]
32596         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32597         * math/Makefile [$(build-bounded) = yes]
32598         ($(tests:%=$(objpfx)%-bp): Likewise.
32599         * misc/Makefile [$(build-bounded) = yes]
32600         ($(objpfx)tst-tsearch-bp): Likewise.
32601         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32602         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32603         Remove dependency.
32604         * string/Makefile (o-objects.ob): Remove variable.
32605         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32606         (CFLAGS-.ob): Remove variable.
32607         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32608         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32609         both definitions of variable.
32610         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32611         (ASFLAGS-.ob): Remove variable.
32613 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32615         [BZ #13550]
32616         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32617         Remove __BOUNDED_POINTERS__ from condition.
32618         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32619         * string/bits/string2.h [!__NO_STRING_INLINES &&
32620         !__BOUNDED_POINTERS__]: Likewise.
32621         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32622         Likewise.
32623         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32624         Remove conditional code.
32625         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32626         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32627         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32628         condition.
32630         [BZ #13550]
32631         * csu/libc-start.c: Do not include <bp-sym.h>.
32632         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32633         * elf/dl-open.c: Do not include <bp-sym.h>.
32634         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32635         * math/fegetenv.c: Do not include <bp-sym.h>.
32636         (fegetenv): Do not use BP_SYM in versioned symbols.
32637         * nptl/sysdeps/pthread/bits/libc-lockP.h
32638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32639         <bp-sym.h>.
32640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32641         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32643         (__pthread_mutex_destroy): Likewise.
32644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32645         (__pthread_mutex_lock): Likewise.
32646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32647         (__pthread_mutex_trylock): Likewise.
32648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32649         (__pthread_mutex_unlock): Likewise.
32650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32651         (__pthread_mutexattr_init): Likewise.
32652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32653         (__pthread_mutexattr_destroy): Likewise.
32654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32655         (__pthread_mutexattr_settype): Likewise.
32656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32657         (__pthread_rwlock_init): Likewise.
32658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32659         (__pthread_rwlock_destroy): Likewise.
32660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32661         (__pthread_rwlock_rdlock): Likewise.
32662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32663         (__pthread_rwlock_tryrdlock): Likewise.
32664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32665         (__pthread_rwlock_wrlock): Likewise.
32666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32667         (__pthread_rwlock_trywrlock): Likewise.
32668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32669         (__pthread_rwlock_unlock): Likewise.
32670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32671         (__pthread_key_create): Likewise.
32672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32673         (__pthread_setspecific): Likewise.
32674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32675         (__pthread_getspecific): Likewise.
32676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32677         Likewise.
32678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32679         (_pthread_cleanup_push_defer): Likewise.
32680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32681         (_pthread_cleanup_pop_restore): Likewise.
32682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32683         (pthread_setcancelstate): Likewise.
32684         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32685         <bp-sym.h>.
32686         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32687         (memchr): Do not use BP_SYM in weak_alias.
32688         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32689         (fegetenv): Do not use BP_SYM in versioned symbols.
32690         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32691         (fesetenv): Do not use BP_SYM in versioned symbols.
32692         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32693         (feupdateenv): Do not use BP_SYM in versioned symbols.
32694         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32695         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32696         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32697         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32698         (open64): Do not use BP_SYM in weak_alias.
32699         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32700         (fegetenv): Do not use BP_SYM in versioned symbols.
32701         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32702         (fesetenv): Do not use BP_SYM in versioned symbols.
32703         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32704         (feupdateenv): Do not use BP_SYM in versioned symbols.
32705         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32706         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32707         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32708         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32709         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32710         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32711         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32712         <bp-sym.h>.
32713         (__libc_start_main): Do not use BP_SYM.
32715 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32718         redundant return line.
32719         (norm): Likewise.
32720         (denorm): Likewise.
32721         (dbl_mp): Likewise.
32722         (sub_magnitudes): Likewise.
32723         (__add): Likewise.
32724         (__sub): Likewise.
32725         (__mul): Likewise.
32726         (__inv): Likewise.
32727         (__dvd): Likewise.
32728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32729         (norm): Likewise.
32730         (denorm): Likewise.
32731         (dbl_mp): Likewise.
32732         (sub_magnitudes): Likewise.
32733         (__add): Likewise.
32734         (__sub): Likewise.
32735         (__mul): Likewise.
32736         (__inv): Likewise.
32737         (__dvd): Likewise.
32739         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32740         instead of __mul.
32741         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32742         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32743         (cc32): Likewise.
32745         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32746         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32748         of __mul for squares.
32749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32750         function
32751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32752         Likewise.
32753         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32754         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32756 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32758         [BZ #13550]
32759         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32760         code.
32761         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32762         prototype or function definition.  Rename ubp_* variables and
32763         parameters.  Remove argv definitions conditional on
32764         [__BOUNDED_POINTERS__].
32765         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32766         * elf/dl-runtime.c (_dl_fixup): Likewise.
32767         * include/set-hooks.h (RUN_HOOK): Likewise.
32768         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32769         definition.
32770         * string/strcpy.c (strcpy): Do not use __unbounded.
32771         * sysdeps/generic/frame.h (struct layout): Likewise.
32772         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32773         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32774         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32775         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32776         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32777         (__backtrace): Likewise.
32778         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32779         use __ptrvalue.
32780         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32781         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32782         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32783         Likewise.
32784         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32785         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32786         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32787         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32788         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32789         Do not use __unbounded.
32790         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32791         Rename __unboundedrlimits parameter to rlimits in prototype.
32792         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32793         Do not use __unbounded.
32794         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32795         not use __ptrvalue.
32796         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32797         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32798         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32799         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32800         __ptrvalue or __unbounded.
32801         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32802         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32803         use __unbounded.
32804         (__new_msgctl): Do not use __ptrvalue.
32805         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32806         __unbounded.
32807         (__libc_msgrcv): Do not use __ptrvalue.
32808         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32809         startup_info): Do not use __unbounded.
32810         (__libc_start_main): Likewise.  Rename ubp_* variables and
32811         parameters.  Remove argv definitions conditional on
32812         [__BOUNDED_POINTERS__].
32813         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32814         __ptrvalue.
32815         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32816         use __unbounded.
32817         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32818         or __ptrvalue.
32819         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32820         use __unbounded.
32821         (__new_shmctl): Do not use __ptrvalue.
32822         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32823         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32824         Likewise.
32825         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32826         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32827         (__libc_sigaction): Likewise.
32828         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32829         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32830         Likewise.
32831         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32833 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32835         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32837         * string/mempcpy.c: Implement by calling memcpy.
32839 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32844         evaluation.
32846         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32847         values in the mantissa.
32849         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32850         minimize writes to Z.
32851         (sub_magnitudes): Simplify code a bit.
32853 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32855         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32856         from the message.  The linker prefixes all warnings with that already.
32858 2013-02-12  Andreas Schwab  <schwab@suse.de>
32860         [BZ #15078]
32861         * posix/regexec.c (extend_buffers): Add parameter min_len.
32862         (check_matching): Pass minimum needed length.
32863         (clean_state_log_if_needed): Likewise.
32864         (get_subexp): Likewise.
32865         * posix/Makefile (tests): Add bug-regex34.
32866         (bug-regex34-ENV): Define.
32867         * posix/bug-regex34.c: New file.
32869         [BZ #11561]
32870         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32871         elements compare against the byte sequence of it, not its name.
32872         * posix/Makefile (tests): Add bug-regex35.
32873         (bug-regex35-ENV): Define.
32874         * posix/bug-regex35.c: New file.
32876 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32878         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32879         comment.
32880         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32881         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32882         (CHECK_EOL): Add undef.
32884 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32886         * bits/stdlib-bsearch.h: New file.
32887         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32888         * stdlib/stdlib.h: Likewise.
32890 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32892         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32893         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32894         declaration.
32895         * manual/search.texi (Array Search Function): Add missing const in
32896         lfind prototype.
32897         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32898         declaration to use rlim_t.
32899         (Basic Scheduling Functions): Remove erroneous const from
32900         sched_getparam prototype.  Remove erroneous * from
32901         sched_get_priority_max and sched_get_priority_min prototypes.
32902         (Resource Usage): Fix summary @comment on vtimes to refer to
32903         sys/vtimes.h rather than vtimes.h.
32904         Add missing *s in vtimes prototype.
32905         (Limits on Resources): Fix ulimit prototype to return long int.
32906         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32907         prototypes to use long int rather than double.
32908         (BSD Random): Fix initstate and setstate to use char *, not void *.
32909         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32910         prototype to make second argument 'struct aiocb64 *const[]'.
32911         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32912         (Status of AIO Operations): Remove erroneous const in aio_return and
32913         aio_return64 prototypes.
32914         (Synchronizing I/O): Fix sync prototype to return void.
32915         * manual/startup.texi (Suboptions): Remove an erroneous const in
32916         getsubopt prototype.
32917         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32918         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32919         use size_t rather than int.
32920         (Scanning All Users): Likewise for getpwent_r.
32921         (Setting Groups): Add missing const to setgroups prototype.
32922         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32923         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32924         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32925         'const void *' rather than 'const char *'.
32926         (Host Address Functions): Likewise for inet_ntop.
32927         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32928         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32929         ssize_t for return value.
32930         (Sending Data): Likewise for send, sendto, sendmsg.
32931         (Socket Option Functions): Add a missing const in setsockopt prototype.
32932         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32933         use wchar_t for the argument.
32934         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32935         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32936         take no arguments.
32937         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32938         double/float/long double for second argument.
32939         Fix return types of significand, significandf, significandl.
32940         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32941         argument in fchmod prototype.
32942         (File Owner): Use uid_t and gid_t in fchown prototype.
32943         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32944         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32945         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32946         use 'const struct dirent **' as argument types to CMP function pointer
32947         argument.
32948         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32949         (File Times): Fix summary magic @comment for struct utimbuf and utime
32950         to refer to utime.h, not time.h.
32951         * manual/string.texi (Argz Functions): Add missing const in
32952         argz_extract and argz_next prototypes.
32953         (Finding Tokens in a String): Likewise for basename.
32954         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32955         (Copying and Concatenation): Fix typo in wmemmove prototype.
32956         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32957         (Signal Stack): Remove erroneous const in sigstack prototype.
32958         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32959         prototype.
32960         (Simple Calendar Time): Likewise for stime.
32961         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32962         prototype.
32963         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32964         say sys/sysctl.h instead.
32965         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32966         and vsyslog prototypes.
32968 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32970         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32971         Remove.
32973 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32975         * misc/sys/mman.h: Fix typo in mremap comment.
32977 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32979         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32980         the '\0' terminator.
32982 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32984         [BZ #13550]
32985         * debug/segfault.c: Don't include <bp-checks.h>.
32986         * sysdeps/generic/bp-checks.h: Remove file.
32987         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32988         (__GETDENTS): Don't use CHECK_N.
32989         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32990         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32991         (__getgroups): Don't use CHECK_N.
32992         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32993         (setgroups): Don't use CHECK_N.
32994         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32995         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32996         (__libc_msgrcv): Don't use CHECK_N.
32997         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32998         (__libc_msgsnd): Don't use CHECK_N.
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33000         <bp-checks.h>.
33001         (__libc_pread): Don't use CHECK_N.
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33003         include <bp-checks.h>.
33004         (__libc_pread64): Don't use CHECK_N.
33005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33006         include <bp-checks.h>.
33007         (__libc_pwrite): Don't use CHECK_N.
33008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33009         include <bp-checks.h>.
33010         (__libc_pwrite64): Don't use CHECK_N.
33011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33012         <bp-checks.h>.
33013         (__libc_pread): Don't use CHECK_N.
33014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33015         include <bp-checks.h>.
33016         (__libc_pread64): Don't use CHECK_N.
33017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33018         include <bp-checks.h>.
33019         (__libc_pwrite): Don't use CHECK_N.
33020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33021         include <bp-checks.h>.
33022         (__libc_pwrite64): Don't use CHECK_N.
33023         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33024         (do_pread): Don't use CHECK_N.
33025         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33026         (do_pread64): Don't use CHECK_N.
33027         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33028         (do_pwrite): Don't use CHECK_N.
33029         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33030         (do_pwrite64): Don't use CHECK_N.
33031         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33032         (__libc_readv): Don't use CHECK_N.
33033         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33034         (semop): Don't use CHECK_N.
33035         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33036         <bp-checks.h>.
33037         (semtimedop): Don't use CHECK_N.
33038         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33039         (__libc_pread): Don't use CHECK_N.
33040         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33041         <bp-checks.h>.
33042         (__libc_pread64): Don't use CHECK_N.
33043         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33044         <bp-checks.h>.
33045         (__libc_pwrite): Don't use CHECK_N.
33046         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33047         <bp-checks.h>.
33048         (__libc_pwrite64): Don't use CHECK_N.
33049         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33050         <bp-checks.h>.
33051         (__libc_msgrcv): Don't use CHECK_N.
33052         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33053         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33054         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33055         (__libc_writev): Don't use CHECK_N.
33057 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33059         * string/strcpy.c: Removed unused variable.
33061         * Makeconfig (+sysdep-includes): Define with := rather than =.
33062         Use an existing include/ subdir of each sysdeps dir before it.
33064 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33066         * nscd/connection.c (register_traced_file): Comment function.
33067         [HAVE_INOTIFY] (union __inev): Define.
33068         [HAVE_INOTIFY] (inotify_check_files): New function.
33069         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33070         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33071         clear_db_cache.
33072         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33074 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33076         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33077         loaded if not already and that a failure is permanent.
33079 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33081         [BZ #15006]
33082         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33083         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33085 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33087         [BZ #13550]
33088         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33089         (CHECK_1_NULL_OK): Likewise.
33090         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33091         (__fxstat): Do not use CHECK_1.
33092         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33093         <bp-checks.h>.
33094         (___fxstat64): Do not use CHECK_1.
33095         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33096         <bp-checks.h>.
33097         (__fxstatat): Do not use CHECK_1.
33098         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33099         <bp-checks.h>.
33100         (__fxstatat64): Do not use CHECK_1.
33101         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33102         <bp-checks.h>.
33103         (__fxstat): Do not use CHECK_1.
33104         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33105         <bp-checks.h>.
33106         (__fxstatat): Do not use CHECK_1.
33107         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33108         <bp-checks.h>.
33109         (__getresgid): Do not use CHECK_1.
33110         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33111         <bp-checks.h>.
33112         (__getresuid): Do not use CHECK_1.
33113         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33114         <bp-checks.h>.
33115         (__lxstat): Do not use CHECK_1.
33116         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33117         <bp-checks.h>.
33118         (__old_msgctl): Do not use CHECK_1.
33119         (__new_msgctl): Likewise.
33120         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33121         <bp-checks.h>.
33122         (__new_setrlimit): Do not use CHECK_1.
33123         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33124         <bp-checks.h>.
33125         (__old_shmctl): Do not use CHECK_1.
33126         (__new_shmctl): Likewise.
33127         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33128         <bp-checks.h>.
33129         (__xstat): Do not use CHECK_1.
33130         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33131         (__lxstat): Do not use CHECK_1.
33132         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33133         <bp-checks.h>.
33134         (___lxstat64): Do not use CHECK_1.
33135         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33136         (__old_msgctl): Do not use CHECK_1.
33137         (__new_msgctl): Likewise.
33138         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33139         <bp-checks.h>.
33140         (__gettimeofday): Do not use CHECK_1.
33141         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33142         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33143         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33144         <bp-checks.h>.
33145         (__gettimeofday): Do not use CHECK_1.
33146         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33147         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33148         (__new_shmctl): Do not use CHECK_1.
33149         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33150         <bp-checks.h>.
33151         (do_sigtimedwait): Do not use CHECK_1.
33152         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33153         <bp-checks.h>.
33154         (do_sigwaitinfo): Do not use CHECK_1.
33155         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33156         <bp-checks.h>.
33157         (msgctl): Do not use CHECK_1.
33158         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33159         <bp-checks.h>.
33160         (shmctl): Do not use CHECK_1.
33161         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33162         (ustat): Do not use CHECK_1.
33163         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33164         <bp-checks.h>.
33165         (__fxstat): Do not use CHECK_1.
33166         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33167         <bp-checks.h>.
33168         (__fxstatat): Do not use CHECK_1.
33169         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33170         <bp-checks.h>.
33171         (__lxstat): Do not use CHECK_1.
33172         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33173         <bp-checks.h>.
33174         (__xstat): Do not use CHECK_1.
33175         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33176         (__xstat): Do not use CHECK_1.
33177         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33178         (___xstat64): Do not use CHECK_1.
33180         [BZ #13550]
33181         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33182         definitions.
33183         (CHECK_BOUNDS_HIGH): Likewise.
33184         * string/strcpy.c: Do not include <bp-checks.h>.
33185         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33187 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33189         * nscd/nscd-client.h (__nscd_drop_map_ref):
33190         Add __attribute__ ((unused)).
33191         * nis/nss-nisplus.h (niserr2nss): Likewise.
33193         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33194         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33196         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33197         Remove inline keyword.
33198         * include/rounding-mode.h (round_away): Likewise.
33199         * libio/wfileops.c (adjust_wide_data): Likewise.
33200         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33201         (__m128i_strloadu_tolower): Likewise.
33202         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33203         (__m128i_strloadu_tolower): Likewise.
33204         * time/mktime.c (ydhms_diff): Likewise.
33205         * locale/elem-hash.h (elem_hash): Likewise.
33206         * locale/setlocale.c (setdata): Likewise.
33207         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33208         (re_string_wchar_at): Likewise.
33209         (bitset_not, bitset_merge, bitset_mask): Likewise.
33210         [!(__GNUC__ > 3)] (inline): Remove macro.
33211         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33212         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33213         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33214         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33215         * string/memcmp.c (memcmp_bytes): Likewise.
33216         * locale/programs/locarchive.c (compute_hashval): Likewise.
33217         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33218         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33219         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33220         * nss/getent.c (print_rpc, print_protocols): Likewise.
33221         (print_passwd, print_group, print_aliases): Likewise.
33222         * nis/nss-nisplus.h (niserr2nss): Likewise.
33223         * nscd/connections.c (restart_p): Likewise.
33224         Change return type to bool.
33226 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33228         * Makeconfig (all-Depend-files): Add existing
33229         $(sorted-subdirs:=/Depend) files.
33230         (all-subdirs): Remove nss.
33231         * sysdeps/unix/inet/Subdirs: Add it here instead.
33232         * hesiod/Depend: New file.
33234         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33235         instead of calling alloca.
33237         * io/lseek.c (__lseek): Rename to __libc_lseek.
33238         Define __lseek as an alias.
33240         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33242 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33244         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33245         else clause and remove check for non-standard endianness.
33247 2013-02-04  David S. Miller  <davem@davemloft.net>
33249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33251 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33253         [BZ #13550]
33254         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33255         (__ubp_memchr): Remove prototype.
33256         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33257         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33258         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33259         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33260         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33261         Remove alias.
33262         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33263         (__ubp_memchr): Likewise.
33264         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33265         (__ubp_memchr): Likewise.
33266         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33267         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33268         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33269         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33270         CHECK_STRING.
33271         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33272         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33273         (__getcwd): Do not use CHECK_STRING.
33274         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33275         <bp-checks.h>.
33276         (__real_chown): Do not use CHECK_STRING.
33277         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33278         <bp-checks.h>.
33279         (fchownat): Do not use CHECK_STRING.
33280         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33281         CHECK_STRING.
33282         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33283         <bp-checks.h>.
33284         (__lchown): Do not use CHECK_STRING.
33285         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33286         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33287         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33288         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33290         include <bp-checks.h>.
33291         (truncate64): Do not use CHECK_STRING.
33292         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33293         <bp-checks.h>.
33294         (__real_chown): Do not use CHECK_STRING.
33295         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33296         <bp-checks.h>.
33297         (__lchown): Do not use CHECK_STRING.
33298         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33299         <bp-checks.h>.
33300         (__chown): Do not use CHECK_STRING.
33301         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33302         <bp-checks.h>.
33303         (truncate64): Do not use CHECK_STRING.
33304         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33305         Likewise.
33306         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33307         (__xmknod): Do not use CHECK_STRING.
33308         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33309         <bp-checks.h>.
33310         (__xmknodat): Do not use CHECK_STRING.
33311         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33312         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33314 2013-02-04  Andreas Schwab  <schwab@suse.de>
33316         [BZ #14142]
33317         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33318         * include/netdb.h: Likewise for h_errno.
33319         * elf/tst-stackguard1.c: Include <tls.h>.
33321 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33323         * elf/link.h (struct link_map): Extend the l_addr comment.
33324         * include/link.h (struct link_map): Likewise.
33326 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33328         [BZ #13550]
33329         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33330         (BOUNDED_1): Remove macro.
33331         * debug/backtrace.c: Don't include <bp-checks.h>.
33332         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33333         (__backtrace): Likewise.
33334         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33335         <bp-checks.h>.
33336         (__backtrace): Don't use BOUNDED_1.
33337         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33338         <bp-checks.h>.
33339         (__backtrace): Don't use BOUNDED_1.
33340         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33341         (__backtrace): Don't use BOUNDED_1.
33342         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33343         (shmat): Don't use BOUNDED_N.
33345 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33347         [BZ #13550]
33348         * sysdeps/generic/bp-start.h: Remove file.
33349         * csu/libc-start.c: Don't include <bp-start.h>.
33350         (LIBC_START_MAIN): Set up __environ directly instead of using
33351         INIT_ARGV_and_ENVIRON.
33352         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33353         <bp-start.h>.
33355         [BZ #13550]
33356         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33357         definitions.
33358         (CHECK_FCNTL): Likewise.
33359         (CHECK_N_PAGES): Likewise.
33361         [BZ #13550]
33362         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33363         definitions.
33364         (CHECK_SIGSET_NULL_OK): Likewise.
33365         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33366         <bp-checks.h>.
33367         (sigpending): Don't use CHECK_SIGSET.
33368         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33369         <bp-checks.h>.
33370         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33371         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33372         <bp-checks.h>.
33373         (do_sigsuspend): Don't use CHECK_SIGSET.
33374         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33375         use CHECK_SIGSET.
33376         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33377         (do_sigwait): Don't use CHECK_SIGSET.
33378         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33379         use CHECK_SIGSET.
33380         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33381         include <bp-checks.h>.
33382         (sigpending): Don't use CHECK_SIGSET.
33383         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33384         include <bp-checks.h>.
33385         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33386         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33387         <bp-checks.h>.
33388         (sigpending): Don't use CHECK_SIGSET.
33389         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33390         <bp-checks.h>.
33391         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33393         [BZ #13550]
33394         * sysdeps/generic/bp-semctl.h: Remove file.
33395         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33396         <bp-checks.h> and <bp-semctl.h>.
33397         (__old_semctl): Don't use CHECK_SEMCTL.
33398         (__new_semctl): Likewise.
33399         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33400         and <bp-semctl.h>.
33401         (__old_semctl): Don't use CHECK_SEMCTL.
33402         (__new_semctl): Likewise.
33403         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33404         <bp-checks.h> and <bp-semctl.h>.
33405         (__old_semctl): Don't use CHECK_SEMCTL.
33406         (__new_semctl): Likewise.
33407         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33408         <bp-checks.h> and <bp-semctl.h>.
33409         (semctl): Don't use CHECK_SEMCTL.
33411         [BZ #13550]
33412         * Makerules (elide-bp-thunks): Remove variable.
33413         (elide-routines.oS): Don't use $(elide-bp-thunks).
33414         (elide-routines.os): Likewise.
33415         (elide-routines.o): Likewise.
33416         (elide-routines.op): Likewise.
33417         (elide-routines.og): Likewise.
33418         (objects): Don't use $(bp-thunks).
33419         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33420         include.
33421         (common-generated): Do not add s-proto-bp.d.
33422         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33423         (int): Likewise.
33424         (typ): Likewise.
33425         Do not generate makefile rules for bounded-pointer thunks.
33426         * sysdeps/generic/bp-thunks.h: Remove file.
33427         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33428         * sysdeps/unix/s-proto-bp.S: Likewise.
33430         [BZ #15062]
33431         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33432         parts of result separately when argument is not close to line from
33433         -i to i and one part of argument is small.
33434         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33435         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33436         * math/libm-test.inc (cacos_test): Add more tests.
33437         (casin_test): Likewise.
33438         (casinh_test): Likewise.
33439         * sysdeps/i386/fpu/libm-test-ulps: Update.
33440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33442 2013-01-31  David S. Miller  <davem@davemloft.net>
33444         * po/de.po: Update from translation team.
33446 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33448         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33450 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33452         * configure.in (_AC_PROG_CC_C89): New definition.
33453         * configure: Regenerate.
33455         * configure.in (AC_PROG_CPP): New definition.
33456         * configure: Regenerate.
33458 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33460         * debug/tst-backtrace.h: New file.
33461         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33462         (ret): Remove variable.
33463         (x): Likewise.
33464         (FAIL): Remove macro.
33465         (NO_INLINE): Likewise.
33466         (fn1): Use match function instead of strstr.
33467         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33468         (ret): Remove variable.
33469         (x): Likewise.
33470         (FAIL): Remove macro.
33471         (NO_INLINE): Likewise.
33472         (fn): Use match function instead of strstr.
33473         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33474         (ret): Remove variable.
33475         (x): Likewise.
33476         (FAIL): Remove macro.
33477         (NO_INLINE): Likewise.
33478         (handle_signal): Use match function instead of strstr.
33479         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33480         (ret): Remove variable.
33481         (x): Likewise.
33482         (FAIL): Remove macro.
33483         (NO_INLINE): Likewise.
33484         (handle_signal): Use match function instead of strstr.
33486 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33488         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33490 2013-01-23  David S. Miller  <davem@davemloft.net>
33492         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33493         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33494         argument of CAS if possible.
33495         * sysdeps/sparc/sparc64/bits/atomic.h
33496         (__arch_compare_and_exchange_val_32_acq): Likewise.
33497         (__arch_compare_and_exchange_val_64_acq): Likewise.
33499 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33501         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33502         * sysdeps/posix/ulimit.c: ... this.
33503         Include <limits.h>.
33504         * sysdeps/unix/bsd/ulimit.c: Remove file.
33506 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33508         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33509         (LDFLAGS-tst-array5): Likewise.
33511 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33513         [BZ #15036]
33514         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33515         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33516         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33517         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33519 2013-01-21  David S. Miller  <davem@davemloft.net>
33521         * sysdeps/sparc/backtrace.c: New file.
33522         * sysdeps/sparc/sparc32/backtrace.h: New file.
33523         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33524         * sysdeps/sparc/sparc64/backtrace.h: New file.
33525         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33526         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33527         -funwind-tables.
33529 2013-01-21  Andreas Schwab  <schwab@suse.de>
33531         [BZ #15020]
33532         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33533         closed its stdout.
33535 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33538         "mpa2.h".
33539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33541 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33542             Mark Mitchell  <mark@codesourcery.com>
33543             Tom de Vries  <tom@codesourcery.com>
33544             Paul Pluzhnikov  <ppluzhnikov@google.com>
33546         * debug/tst-backtrace2.c: New file.
33547         * debug/tst-backtrace3.c: Likewise.
33548         * debug/tst-backtrace4.c: Likewise.
33549         * debug/tst-backtrace5.c: Likewise.
33550         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33551         (CFLAGS-tst-backtrace3.c): Likewise.
33552         (CFLAGS-tst-backtrace4.c): Likewise.
33553         (CFLAGS-tst-backtrace5.c): Likewise.
33554         (LDFLAGS-tst-backtrace2): Likewise.
33555         (LDFLAGS-tst-backtrace3): Likewise.
33556         (LDFLAGS-tst-backtrace4): Likewise.
33557         (LDFLAGS-tst-backtrace5): Likewise.
33558         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33559         tst-backtrace4 and tst-backtrace5.
33561 2013-01-18  Anton Blanchard  <anton@samba.org>
33562             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33564         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33565         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33566         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33567         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33569         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33570         "+r" and remove output regs list as redundant.  Add explicit inline
33571         asm to specify register of return val to work around compiler codegen
33572         bug.  Remove (int) cast on return value.  Add return type parameter to
33573         use in macro so that this macro does not truncate return value for
33574         64-bit values.
33575         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33576         pass to INTERNAL_VSYSCALL_NCS.
33577         (INLINE_VSYSCALL): Add 'long int' as return type to
33578         INTERNAL_VSYSCALL_NCS macro invocation.
33579         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33580         INTERNAL_VSYSCALL_NCS macro invocation.
33581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33583 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33585         [BZ #14496]
33586         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33587         Fix application of SIMD FP exception mask.
33589         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33590         mp_no from a power of two.
33591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33592         __mpexp_twomm1.  Use __pow_mp.
33594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33595         multiplication.
33597 2013-01-17  David S. Miller  <davem@davemloft.net>
33599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33601 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33603         [BZ #15023]
33604         * include/complex.h: Condition contents on [!_COMPLEX_H].
33605         (__kernel_casinhf): New prototype.
33606         (__kernel_casinh): Likewise.
33607         (__kernel_casinhl): Likewise.
33608         * math/Makefile (libm_calls): Add k_casinh.
33609         * math/k_casinh.c: New file.
33610         * math/k_casinhf.c: Likewise.
33611         * math/k_casinhl.c: Likewise.
33612         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33613         finite nonzero arguments.
33614         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33615         finite nonzero arguments.
33616         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33617         finite nonzero arguments.
33618         * math/s_casinh.c: Do not include <float.h>.
33619         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33620         * math/s_casinhf.c: Do not include <float.h>.
33621         (__casinhf): Move code for finite nonzero arguments to
33622         k_casinhf.c.
33623         * math/s_casinhl.c: Do not include <float.h>.
33624         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33625         redefine.
33626         (__casinhl): Move code for finite nonzero arguments to
33627         k_casinhl.c.
33628         * math/libm-test.inc (cacos_test): Add more tests.
33629         * sysdeps/i386/fpu/libm-test-ulps: Update.
33630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33632 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33634         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33635         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33636         [!HAVE_MREMAP]: Remove [defined linux] case.
33637         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33639 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33641         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33643 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33645         * elf/elf.h (R_386_SIZE32): New relocation.
33646         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33647         R_386_SIZE32.
33648         (elf_machine_rela): Likewise.
33649         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33650         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33652 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33654         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33655         (FP_FAST_FMA): Do not define.
33656         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33657         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33658         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33659         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33660         !_SOFT_FLOAT]: Likewise.
33661         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33662         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33663         value.
33664         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33665         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33666         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33667         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33668         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33669         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33670         file.
33672 2013-01-16  Andreas Schwab  <schwab@suse.de>
33674         [BZ #14327]
33675         * include/stdlib.h (__mktemp): Add declaration.
33676         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33677         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33679 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33681         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33682         definitions.
33683         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33684         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33685         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33686         definitions here.
33687         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33688         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33689         definitions.
33690         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33691         and ONE.
33692         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33693         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33694         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33695         definitions.
33696         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33697         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33698         definitions.
33699         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33701         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33703 2013-01-15  David S. Miller  <davem@davemloft.net>
33705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33706         trunc{,f} to libm-sysdep_routes.
33707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33709         file.
33710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33712         file.
33713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33714         file.
33715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33717         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33718         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33719         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33720         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33721         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33722         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33725         nearbyint{,f} to libm-sysdep_routes.
33726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33728         New file.
33729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33730         file.
33731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33732         New file.
33733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33734         file.
33735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33737         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33738         file.
33739         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33740         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33741         file.
33742         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33743         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33744         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33746         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33747         libc_feholdexcept and libc_fesetenv.
33749 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33751         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33753 2013-01-14  David S. Miller  <davem@davemloft.net>
33755         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33756         (SPARC_ASM_VIS2_IFUNC): Likewise.
33757         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33759         use of 'siam' instruction.
33760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33761         Likewise.
33762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33763         Likewise.
33764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33765         Likewise.
33766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33771         file.
33772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33773         file.
33774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33775         file.
33776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33777         file.
33778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33783         new VIS2 routines.
33784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33787         Likewise.
33788         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33793         routines to libm-sysdep_routines.
33794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33797         fdim/fdimf to libm-sysdep_routines.
33798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33799         file.
33800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33802         file.
33803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33806         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33807         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33808         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33809         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33811 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33813         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33814         to optimize copies.
33816         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33821         local variable MPTWO.
33822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33823         Likewise.
33825 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33827         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33828         GLOB_NOESCAPE.
33830 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33832         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33834 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33836         * manual/pattern.texi (glob_t): Document gl_flags.
33837         (glob64_t): Likewise.
33839 2013-01-11  David S. Miller  <davem@davemloft.net>
33841         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33842         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33843         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33844         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33845         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33846         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33847         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33848         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33849         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33850         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33851         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33852         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33853         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33855         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33856         sparc V9 rather than using V8 code.
33857         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33858         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33860         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33861         Move to...
33862         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33863         Here.
33865 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33867         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33868         not in the main loop.
33869         * configure: Regenerated.
33871 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33873         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33874         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33875         to just #else.
33876         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33877         [!__GLIBC_HAVE_LONG_LONG] case.
33878         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33879         condition to just #else.
33880         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33881         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33882         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33883         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33884         unconditional.
33885         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33886         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33887         #elif condition to just #else.
33888         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33889         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33890         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33891         #elif condition to just #else.
33893 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33895         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33896         (EF_MIPS_ARCH_64): Fix value.
33897         (EF_MIPS_ARCH_32R2): New.
33898         (EF_MIPS_ARCH_64R2): New.
33900 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33902         * Makeconfig (+link-pie-before-libc): New.
33903         (+link-pie-after-libc): Likewise.
33904         (+link-pie-tests): Likewise.
33905         (+link-pie): Rewritten.
33906         (link-before-libc): Remove $(config-LDFLAGS).
33907         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33908         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33909         (config-LDFLAGS): Renamed to ...
33910         (rtld-LDFLAGS): This.
33911         (rtld-tests-LDFLAGS): New macro.
33912         (link-libc-rpath-link): Likewise.
33913         (link-libc-tests-rpath-link): Likewise.
33914         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33915         (link-libc): Prepand $(link-libc-rpath-link).
33916         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33917         (test-program-prefix): New macro.
33918         (test-via-rtld-prefix): Likewise.
33919         (test-program-cmd): Likewise.
33920         (host-test-program-cmd): Likewise.
33921         * Makefile ($(common-objpfx)testrun.sh): Replace
33922         $(run-program-prefix) with $(test-program-prefix).
33923         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33924         $(rtld-LDFLAGS).
33925         ($(common-objpfx)shlib.lds): Likewise.
33926         (build-module-helper): Likewise.
33927         ($(common-objpfx)format.lds): Likewise.
33928         * Rules (binaries-pie-tests): New.
33929         (binaries-pie-notests): Likewise.
33930         (binaries-pie): Rewritten.
33931         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33932         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33933         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33934         (make-test-out): Replace $(host-built-program-cmd) with
33935         $(host-test-program-cmd).
33936         * config.make.in (build-hardcoded-path-in-tests): New variable.
33937         * configure.in (--enable-hardcoded-path-in-tests): New configure
33938         option.
33939         (hardcoded_path_in_tests): New AC_SUBST.
33940         * configure: Regenerated.
33941         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33942         $(built-program-cmd) with $(test-program-cmd).
33943         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33944         (test_program_cmd): This.
33945         * elf/Makefile ($(objpfx)order.out): Run test with
33946         $(test-program-prefix).
33947         ($(objpfx)order2.out): Likewise.
33948         ($(objpfx)tst-initorder.out): Likewise.
33949         ($(objpfx)tst-initorder2.out): Likewise.
33950         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33951         $(test-program-cmd).
33952         ($(objpfx)tst-array1-static.out): Likewise.
33953         ($(objpfx)tst-array2.out): Likewise.
33954         ($(objpfx)tst-array3.out): Likewise.
33955         ($(objpfx)tst-array4.out): Likewise.
33956         ($(objpfx)tst-array5.out): Likewise.
33957         ($(objpfx)tst-array5-static.out): Likewise.
33958         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33959         $(test-program-cmd).
33960         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33961         $(run-program-prefix) with $(test-program-prefix).
33962         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33963         (test_program_prefix): This.
33964         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33965         $(run-program-prefix) with $(test-program-prefix).
33966         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33967         (test_program_prefix): This.
33968         * iconvdata/tst-tables.sh: Likewise.
33969         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33970         $(run-program-prefix) with $(test-program-prefix).
33971         ($(objpfx)tst-translit.out): Likewise.
33972         ($(objpfx)tst-gettext2.out): Likewise.
33973         ($(objpfx)tst-gettext4.out): Likewise.
33974         ($(objpfx)tst-gettext6.out): Likewise.
33975         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33976         (test_program_prefix): This.
33977         * intl/tst-gettext2.sh: Likewise.
33978         * intl/tst-gettext4.sh  Likewise.
33979         * intl/tst-gettext6.sh: Likewise.
33980         * intl/tst-translit.sh: Likewise.
33981         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33982         with $(test-program-cmd).
33983         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33984         $(run-program-prefix) with $(test-program-prefix).
33985         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33986         (test_program_prefix): This.
33987         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33988         $(run-program-prefix) with $(test-program-prefix).
33989         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33990         (test_program_prefix): This.
33991         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33992         * posix/Makefile ($(objpfx)globtest.out): Replace
33993         $(run-via-rtld-prefix) and $(test-wrapper) with
33994         $(test-program-prefix) and $(test-via-rtld-prefix).
33995         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33996         $(test-program-prefix).
33997         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33998         $(host-test-program-cmd).
33999         (tst-spawn-ARGS): Likewise.
34000         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34001         $(test-program-prefix).
34002         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34003         (test_via_rtld_prefix): This.
34004         (test_wrapper): Renamed to ...
34005         (test_program_prefix): This.
34006         (run_program_prefix): Replaced by test_program_prefix.
34007         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34008         (test_program_prefix): This.
34009         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34010         with $(host-test-program-cmd).
34011         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34012         $(run-program-prefix) with $(test-program-prefix).
34013         ($(objpfx)tst-printf.out): Likewise.
34014         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34015         $(test-program-cmd).
34016         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34017         (test_program_prefix): This.
34018         * stdio-common/tst-unbputc.sh: Likewise.
34019         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34020         $(run-program-prefix) with $(test-program-prefix).
34021         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34022         (test_program_prefix): This.
34023         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34024         $(built-program-cmd) with $(test-program-cmd).
34026 2013-01-11  Andreas Jaeger  <aj@suse.de>
34028         [BZ #15003]
34029         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34030         value. Sync with Linux 3.7.
34032 2013-01-10  David S. Miller  <davem@davemloft.net>
34034         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34035         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34036         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34038 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34040         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34041         never set.
34042         * configure: Regenerated.
34044 2013-01-10  David S. Miller  <davem@davemloft.net>
34046         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34047         sparc V9 rather than using V8 code.
34048         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34049         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34051 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34053         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34054         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34055         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34056         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34057         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34058         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34059         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34060         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34061         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34062         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34063         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34064         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34065         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34066         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34067         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34068         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34069         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34070         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34071         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34072         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34073         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34074         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34075         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34076         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34077         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34078         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34079         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34081 2013-01-10  David S. Miller  <davem@davemloft.net>
34083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34085 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34087         * posix/Makefile (tests-static): New variable.
34088         (tests): Add $(tests-static).
34089         (tst-exec-static-ARGS): New variable.
34090         (tst-spawn-static-ARGS): Likewise.
34091         * posix/tst-exec-static.c: New file.
34092         * posix/tst-spawn-static.c: Likewise.
34093         * posix/tst-exec.c: Support run directly.
34094         * posix/tst-spawn.c: Likewise.
34096 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34098         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34099         long.
34100         * math/bits/mathcalls.h (llrint): Likewise.
34101         (llround): Likewise.
34102         * stdlib/stdlib.h (struct drand48_data): Likewise.
34103         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34104         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34105         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34106         Likewise.
34107         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34108         Likewise.
34109         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34110         (elf_greg_t): Likewise.
34111         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34112         (__jmp_buf): Likewise.
34113         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34114         definitions.
34115         (llrint): Likewise, for all definitions.
34116         (llrintl): Likewise.
34118         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34119         Remove [__GNUC__] condition.
34120         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34121         condition to just [__USE_ISOC99].
34122         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34124 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34126         [BZ #14200]
34127         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34128         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34129         defined.
34130         (_POSIX_V6_ILP32_OFF32): Likewise.
34131         (_XBS5_ILP32_OFF32): Likewise.
34132         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34133         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34135 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34137         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34140         doubles __mpexp_twomm1.  Adjust usage.
34141         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34142         Remove.
34144 2013-01-10  Andreas Schwab  <schwab@suse.de>
34146         [BZ #14964]
34147         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34148         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34150 2013-01-09  David S. Miller  <davem@davemloft.net>
34152         [BZ #15003]
34153         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34154         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34155         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34156         (TCP_FASTOPEN): Define.
34157         (tcp_repair_opt): New structure.
34158         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34159         enum values.
34160         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34161         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34162         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34163         (tcp_cookie_transactions): New structure.
34165 2013-01-09  Anton Blanchard  <anton@samba.org>
34167         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34168         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34169         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34170         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34172 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34174         * include/features.h (__USE_ANSI): Remove.
34176 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34178         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34180         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34182 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34184         * sysdeps/s390/fpu/libm-test-ulps: Update.
34186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34188         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34189         (__acr): Likewise.
34190         (__cpy): Likewise.
34191         (norm): Likewise.
34192         (denorm): Likewise.
34193         (__mp_dbl): Likewise.
34194         (__dbl_mp): Likewise.
34195         (add_magnitudes): Likewise.
34196         (sub_magnitudes): Likewise.
34197         (__add): Likewise.
34198         (__sub): Likewise.
34199         (__mul): Likewise.
34200         (__inv): Likewise.
34201         (__dvd): Likewise.
34202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34203         (__acr): Likewise.
34204         (__cpy): Likewise.
34205         (norm): Likewise.
34206         (denorm): Likewise.
34207         (__mp_dbl): Likewise.
34208         (__dbl_mp): Likewise.
34209         (add_magnitudes): Likewise.
34210         (sub_magnitudes): Likewise.
34211         (__add): Likewise.
34212         (__sub): Likewise.
34213         (__mul): Likewise.
34214         (__inv): Likewise.
34215         (__dvd): Likewise.
34216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34217         (__acr): Likewise.
34218         (__cpy): Likewise.
34219         (norm): Likewise.
34220         (denorm): Likewise.
34221         (__mp_dbl): Likewise.
34222         (__dbl_mp): Likewise.
34223         (add_magnitudes): Likewise.
34224         (sub_magnitudes): Likewise.
34225         (__add): Likewise.
34226         (__sub): Likewise.
34227         (__mul): Likewise.
34228         (__inv): Likewise.
34229         (__dvd): Likewise.
34231 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34233         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34234         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34235         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34236         2 && __USE_EXTERN_INLINES]: Likewise.
34238 2013-01-08  Andreas Jaeger  <aj@suse.de>
34240         [BZ# 14985]
34241         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34242         Remove.
34243         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34244         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34246 2013-01-07  Anton Blanchard  <anton@samba.org>
34248         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34249         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34250         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34251         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34252         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34253         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34254         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34255         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34257         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34258         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34259         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34260         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34261         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34262         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34263         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34264         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34266         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34268         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34269         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34270         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34271         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34272         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34273         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34274         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34275         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34276         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34277         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34278         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34280         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34281         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34282         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34283         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34284         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34285         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34286         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34287         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34288         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34289         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34290         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34292 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34294         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34295         (__MALLOC_PMT): Likewise.
34296         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34297         [__GNUC__], only on [_LIBC].
34298         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34299         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34300         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34301         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34302         forward declaration.
34303         (realloc_hook_ini): Likewise.
34304         (memalign_hook_ini): Likewise.
34305         (__libc_memalign): Do not use __MALLOC_PMT in variable
34306         declaration.
34307         (__libc_valloc): Likewise.
34308         (__libc_pvalloc): Likewise.
34309         (__libc_calloc): Likewise.
34310         (__posix_memalign): Likewise.
34312         [BZ #14996]
34313         * math/s_casinh.c: Include <float.h>.
34314         (__casinh): Do not do computation with squaring and square root
34315         for large arguments.
34316         * math/s_casinhf.c: Include <float.h>.
34317         (__casinhf): Do not do computation with squaring and square root
34318         for large arguments.
34319         * math/s_casinhl.c: Include <float.h>.
34320         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34321         (__casinhl): Do not do computation with squaring and square root
34322         for large arguments.
34323         * math/libm-test.inc (casin_test): Add more tests.
34324         (casinh_test): Likewise.
34325         * sysdeps/i386/fpu/libm-test-ulps: Update.
34326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34328 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34330         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34331         (__x86_64_raw_data_cache_size): Likewise.
34332         (__x86_64_data_cache_size_half): Likewise.
34333         (__x86_64_raw_data_cache_size_half): Likewise.
34334         (__x86_64_shared_cache_size): Likewise.
34335         (__x86_64_raw_shared_cache_size): Likewise.
34336         (__x86_64_shared_cache_size_half): Likewise.
34337         (__x86_64_raw_shared_cache_size_half): Likewise.
34338         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34339         to ...
34340         (__x86_data_cache_size): This.
34341         (__x86_64_raw_data_cache_size): Renamed to ...
34342         (__x86_raw_data_cache_size): This.
34343         (__x86_64_data_cache_size_half): Renamed to ...
34344         (__x86_data_cache_size_half): This.
34345         (__x86_64_raw_data_cache_size_half): Renamed to ...
34346         (__x86_raw_data_cache_size_half): This.
34347         (__x86_64_shared_cache_size): Renamed to ...
34348         (__x86_shared_cache_size): This.
34349         (__x86_64_raw_shared_cache_size): Renamed to ...
34350         (__x86_raw_shared_cache_size): This.
34351         (__x86_64_shared_cache_size_half): Renamed to ...
34352         (__x86_shared_cache_size_half): This.
34353         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34354         (__x86_raw_shared_cache_size_half): This.
34355         * sysdeps/x86_64/memcpy.S: Updated.
34356         * sysdeps/x86_64/memset.S: Likewise.
34357         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34358         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34359         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34361 2013-01-04  David S. Miller  <davem@davemloft.net>
34363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34365 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34367         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34368         1 to avoid redefinition warning.
34369         (__USE_GNU): Don't define.
34370         (init_signaling_nan): Protoize.
34372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34374 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34376         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34378         (__cpymn): Likewise.
34379         (norm): Remove commented code.
34380         (denorm): Likewise.
34381         (__mp_dbl): Likewise.
34382         (__inv): Likewise.
34383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34384         (__cpymn): Likewise.
34385         (norm): Remove commented code.
34386         (denorm): Likewise.
34387         (__mp_dbl): Likewise.
34388         (__inv): Likewise.
34390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34391         mp_no value for 1.0 and 2.0.
34392         (norm): Use RADIXI instead of radixi.d.
34393         (denorm): Likewise.
34394         (__mul): Use 0.0 instead of zero.d.
34395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34396         mp_no value for 1.0 and 2.0.
34397         (norm): Use RADIXI instead of radixi.d.
34398         (denorm): Likewise.
34399         (__mul): Use 0.0 instead of zero.d.
34401 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34403         [BZ #14994]
34404         * math/s_casinh.c (__casinh): Reduce finite argument to first
34405         quadrant then set signs of results at the end.
34406         * math/s_casinhf.c (__casinhf): Likewise.
34407         * math/s_casinhl.c (__casinhl): Likewise.
34408         * math/libm-test.inc (casin_test): Add more tests.
34409         (casinh_test): Likewise.
34410         * sysdeps/i386/fpu/libm-test-ulps: Update.
34411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34413 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34415         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34417         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34419         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34420         declarations.
34421         (denorm): Likewise.
34422         (__mp_dbl): Likewise.
34423         (__inv): Likewise.
34425         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34426         and adjust the header comment.
34428         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34429         variable name from declaration.
34431 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34434         Initialize COMMON_CPUID_INDEX_7 element.
34435         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34436         (CPUID_RTM): Likewise.
34437         (HAS_RTM): Likewise.
34438         (COMMON_CPUID_INDEX_7): New enum.
34440 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34442         [BZ #14981]
34443         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34444         size is zero, record memory as freed.
34446 2013-01-03  Andreas Jaeger  <aj@suse.de>
34448         * po/ia.po: Add new Interlingua translation.
34450 2012-01-03  Allan McRae  <allan@archlinux.org>
34452         * locale/programs/localedef.c: Fix description of '--posix' flag.
34454 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34456         * NEWS: Update dates in second copyright notice.
34457         * README: Update copyright dates in example.
34458         * manual/libc.texinfo: Update copyright dates.
34459         * scripts/test-installation.pl: Update copyright date in --version
34460         output.
34462         * hurd/ctty-input.c: Fix copyright notice formatting.
34463         * hurd/ctty-output.c: Likewise.
34464         * hurd/dtable.c: Likewise.
34465         * hurd/hurd-raise.c: Likewise.
34466         * hurd/hurdprio.c: Likewise.
34467         * hurd/msgportdemux.c: Likewise.
34468         * misc/sys/file.h: Likewise.
34469         * misc/sys/ioctl.h: Likewise.
34470         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34471         * sysdeps/mach/hurd/chdir.c: Likewise.
34472         * sysdeps/mach/hurd/fchdir.c: Likewise.
34473         * sysdeps/mach/hurd/rename.c: Likewise.
34474         * sysdeps/mach/hurd/rmdir.c: Likewise.
34475         * sysdeps/mach/hurd/seekdir.c: Likewise.
34476         * sysdeps/mach/hurd/setsid.c: Likewise.
34477         * sysdeps/posix/wait3.c: Likewise.
34479         * All files with FSF copyright notices: Update copyright dates
34480         using scripts/update-copyrights.
34481         * intl/plural.c: Regenerated.
34482         * locale/programs/charmap-kw.h: Likewise.
34483         * locale/programs/locfile-kw.h: Likewise.
34485 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34487         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34488         four values.
34490         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34491         calculation loop and add branch prediction.
34493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34494         check access beyond bounds of m1np.
34496         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34497         MPTWO.
34498         (__inv): Remove local variable MPTWO to use the global
34499         constant.
34500         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34501         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34502         variable MPTWO.
34503         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34504         MP3HALFS static const.
34506 2013-01-01  David S. Miller  <davem@davemloft.net>
34508         * po/ca.po: Update from translation team.
34510 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34512         * scripts/update-copyrights: New file.
34513         * Makeconfig: Reformat copyright notice.
34514         * ctype/ctype.h: Likewise.
34515         * debug/swprintf_chk.c: Likewise.
34516         * elf/dl-cache.c: Likewise.
34517         * elf/dl-debug.c: Likewise.
34518         * elf/dl-object.c: Likewise.
34519         * grp/initgroups.c: Likewise.
34520         * hurd/Makefile: Likewise.
34521         * hurd/hurd/signal.h: Likewise.
34522         * hurd/hurdfault.c: Likewise.
34523         * hurd/hurdioctl.c: Likewise.
34524         * hurd/hurdlookup.c: Likewise.
34525         * hurd/intr-msg.c: Likewise.
34526         * iconv/gconv_open.c: Likewise.
34527         * libio/swprintf.c: Likewise.
34528         * locale/lc-ctype.c: Likewise.
34529         * locale/nl_langinfo.c: Likewise.
34530         * mach/Machrules: Likewise.
34531         * mach/Makefile: Likewise.
34532         * malloc/obstack.h: Likewise.
34533         * manual/Makefile: Likewise.
34534         * manual/tsort.awk: Likewise.
34535         * misc/bits/stab.def: Likewise.
34536         * nis/nis_print_group_entry.c: Likewise.
34537         * nis/nis_table.c: Likewise.
34538         * nis/nss_compat/compat-pwd.c: Likewise.
34539         * nis/nss_compat/compat-spwd.c: Likewise.
34540         * po/Makefile: Likewise.
34541         * posix/fnmatch.c: Likewise.
34542         * posix/regex.h: Likewise.
34543         * resolv/Makefile: Likewise.
34544         * resolv/nss_dns/dns-network.c: Likewise.
34545         * resolv/res_hconf.c: Likewise.
34546         * scripts/gen-sorted.awk: Likewise.
34547         * soft-fp/soft-fp.h: Likewise.
34548         * stdio-common/printf.h: Likewise.
34549         * stdlib/monetary.h: Likewise.
34550         * stdlib/random.c: Likewise.
34551         * stdlib/random_r.c: Likewise.
34552         * sysdeps/generic/Makefile: Likewise.
34553         * sysdeps/gnu/Makefile: Likewise.
34554         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34556         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34557         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34558         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34561         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34562         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34564         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34565         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34566         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34567         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34568         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34569         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34570         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34571         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34573         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34574         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34575         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34576         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34577         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34578         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34579         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34581         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34582         * sysdeps/mach/hurd/errnos.awk: Likewise.
34583         * sysdeps/mach/hurd/fork.c: Likewise.
34584         * sysdeps/mach/hurd/getcwd.c: Likewise.
34585         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34586         * sysdeps/mach/hurd/mmap.c: Likewise.
34587         * sysdeps/mach/hurd/utimes.c: Likewise.
34588         * sysdeps/mach/hurd/xmknod.c: Likewise.
34589         * sysdeps/posix/profil.c: Likewise.
34590         * sysdeps/posix/readdir_r.c: Likewise.
34591         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34592         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34593         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34594         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34596         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34597         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34598         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34600         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34601         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34602         * sysdeps/pthread/lio_listio.c: Likewise.
34603         * sysdeps/sparc/dl-procinfo.h: Likewise.
34604         * sysdeps/unix/i386/sysdep.S: Likewise.
34605         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34606         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34607         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34608         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34610         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34611         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34612         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34613         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34614         * sysdeps/wordsize-32/divdi3.c: Likewise.
34615         * time/sys/time.h: Likewise.
34616         * wcsmbs/Makefile: Likewise.
34618 2013-01-01  David S. Miller  <davem@davemloft.net>
34620         * po/fr.po: Update from translation team.
34622         * catgets/gencat.c: Update copyright year.
34623         * csu/version.c: Likewise.
34624         * debug/catchsegv.sh: Likewise.
34625         * debug/pcprofiledump.c: Likewise.
34626         * debug/xtrace.sh: Likewise.
34627         * elf/ldconfig.c: Likewise.
34628         * elf/ldd.bash.in: Likewise.
34629         * elf/pldd.c: Likewise.
34630         * elf/sotruss.ksh: Likewise.
34631         * elf/sprof.c: Likewise.
34632         * iconv/iconv_prog.c: Likewise.
34633         * iconv/iconvconfig.c: Likewise.
34634         * locale/programs/locale.c: Likewise.
34635         * locale/programs/localedef.c: Likewise.
34636         * login/programs/pt_chown.c: Likewise.
34637         * malloc/memusage.sh: Likewise.
34638         * malloc/memusagestat.c: Likewise.
34639         * malloc/mtrace.pl: Likewise.
34640         * nscd/nscd.c: Likewise.
34641         * nss/getent.c: Likewise.
34642         * nss/makedb.c: Likewise.
34643         * posix/getconf.c: Likewise.
34645 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34647         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34648         numbers.
34650 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34652         * math/bits/mathcalls.h (modf): Use __nonnull.
34654 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34656         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34657         (split): Use macro CN instead of the bare value.
34658         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34659         could be used.
34660         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34661         instead of the bare value.
34662         (power1): Likewise.
34664 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34666         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34667         __ATAN_TWOM.
34668         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34670         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34671         their values.
34672         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34673         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34674         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34675         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34677 2012-12-28  Andreas Jaeger  <aj@suse.de>
34679         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34680         values are from Linux 3.7.
34682         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34683         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34685 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34687         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34688         TRUE case.
34690         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34691         (norm): Likewise.
34692         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34693         variables with preprocessor constants.
34694         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34695         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34696         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34698 2012-12-27  Bruno Haible  <bruno@clisp.org>
34700         [BZ #14317]
34701         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34702         only if needed.
34704 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34707         and use variable directly.
34708         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34710         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34711         MPONE.
34712         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34713         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34714         variable MPONE.
34715         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34716         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34717         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34718         include directive.  Remove local variable MPONE.
34719         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34720         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34721         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34723 2012-12-25  David S. Miller  <davem@davemloft.net>
34725         * version.h (RELEASE): Set to "development".
34726         (VERSION): Set to "2.17.90".
34727         * NEWS: Add 2.18 section.
34729 2012-12-21  David S. Miller  <davem@davemloft.net>
34731         * po/hr.po: Update from translation team.
34733 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34735         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34737 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34739         * NEWS:  Mention new memcpy for MIPS.
34741 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34743         * manual/contrib.texi (Contributors): Spelling correction.
34745 2012-12-15  David S. Miller  <davem@davemloft.net>
34747         * po/ru.po: Update from translation team.
34749 2012-12-13  David S. Miller  <davem@davemloft.net>
34751         * NEWS: Mention IFUNC testsuite enhancements.
34753         * po/pl.po: Update from translation team.
34754         * po/bg.po: Likewise.
34756         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34757         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34759 2012-12-11  David S. Miller  <davem@davemloft.net>
34761         * po/sv.po: Update from translation team.
34763         * po/vi.po: Update from translation team.
34765         * po/cs.po: Update from translation team.
34767         * po/de.po: Update from translation team.
34768         * po/eo.po: Likewise.
34769         * po/nl.po: Likewise.
34771 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34773         [BZ #14246]
34774         * manual/argp.texi (Argp Helper Functions): Move node to follow
34775         Argp Parsing State.
34777         [BZ #14872]
34778         * manual/conf.texi (Limits on File System Capacity): Mention if
34779         terminating null is included in the max size.
34781 2012-12-10  Andreas Jaeger  <aj@suse.de>
34783         * po/cs.po: Update from translation team.
34785 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34787         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34788         void pointer and cast to uintptr_t.
34789         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34790         path.
34791         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34792         * sysdeps/s390/s390-64/memset.S: Likewise.
34794 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34796         [BZ #14833]
34797         * menual/message.texi (Message Translation): Fix typos.
34798         (Helper programs for gettext): Likewise.
34800 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34802         [BZ #14898]
34803         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34804         Change to -1.
34806 2012-12-07  David S. Miller  <davem@davemloft.net>
34808         * po/libc.pot: Update.
34810 2012-12-07  Richard Henderson  <rth@redhat.com>
34812         [BZ #10114]
34813         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34814         normal/normal case to before the switch.
34815         (_FP_DIV): Likewise.
34817 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34818             Mike Frysinger  <vapier@gentoo.org>
34820         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34821         check for __NR_fadvise64_64.
34823 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34825         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34826         0, not just to plain "0" as a statement.
34827         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34828         with cw.
34830 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34832         * NEWS: Use sourceware.org in Bugzilla URL.
34834 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34837         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34839         * stdio-common/tst-put-error.c (do_test): Add newline to the
34840         padded test to ensure flush.
34842 2012-12-05  Jeff Law  <law@redhat.com>
34844         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34846 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34848         * README: Don't refer to ports add-on as distributed separately.
34849         Mention AArch64 in list of systems supported in the ports add-on.
34851         * LICENSES: Add more non-FSF copyright and license notices.
34853         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34854         ((unused)).
34856         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34858         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34859         10000 as width of padded output.
34861 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34863         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34865         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34866         variable LX with __attribute__ ((unused)).
34867         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34868         Likewise.
34869         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34870         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34871         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34872         with __attribute__ ((unused)).
34874 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34876         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34878 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34880         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34881         (CFLAGS-nldbl-acos.c): New variable.
34882         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34883         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34884         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34885         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34886         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34887         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34888         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34889         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34890         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34891         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34892         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34893         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34894         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34895         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34896         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34897         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34898         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34899         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34900         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34901         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34902         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34903         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34904         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34905         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34906         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34907         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34908         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34909         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34910         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34911         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34912         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34913         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34914         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34915         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34916         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34917         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34918         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34919         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34920         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34921         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34922         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34923         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34924         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34925         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34926         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34927         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34928         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34929         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34930         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34931         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34932         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34933         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34934         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34935         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34936         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34937         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34938         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34939         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34940         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34941         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34942         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34943         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34944         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34945         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34946         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34947         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34948         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34949         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34950         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34951         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34952         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34953         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34954         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34955         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34956         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34957         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34958         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34959         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34960         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34961         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34962         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34963         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34964         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34965         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34966         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34967         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34968         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34969         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34970         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34971         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34972         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34973         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34974         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34975         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34976         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34977         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34978         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34981         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34983         [BZ #14914]
34984         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34985         whole low double instead of just low 47 bits when splitting values
34986         into two parts.
34988 2012-12-03  Allan McRae  <allan@archlinux.org>
34990         * manual/stdio.texi (Predefined Printf Handlers): Remove
34991         @hsep and @vsep usage.
34993 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34995         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34996         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34998 2012-12-03  Jeff Law  <law@redhat.com>
35000         * time/sys/time.h (settimeofday): Do not mark TV argument
35001         as __nonnull.
35003 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35005         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35006         when currently writing and seek to current position when not.
35007         * libio/Makefile (tests): Remove bug-fclose1.
35008         * libio/bug-fclose1.c: Delete.
35010 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35012         * manual/arith.texi (feenableexcept): Fix typo.
35013         (fedisableexcept): Likewise.
35015 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35017         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35018         second, differently-typed declaration, rather than a cast.
35020 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35022         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35023         * include/rpc/svc.h: ... here.
35025 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35027         [BZ #13013]
35028         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35029         depending n and resplen2 to catch cases where answer
35030         equals answerp2.
35032 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35034         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35035         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35037 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35039         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35041 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35043         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35045 2012-11-28  Jeff Law  <law@redhat.com>
35047         [BZ #13761]
35048         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35049         dataset_temporary.  Track alloca usage into alloca_used.
35050         If dataset is large allocate and release it via malloc/free.
35052 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35054         [BZ #14197]
35055         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35057 2012-11-28  David S. Miller  <davem@davemloft.net>
35059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35061 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35063         [BZ #14803]
35064         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35065         of pi/2 rounded to nearest to 64 bits.
35066         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35067         nearest to 64 bits.
35068         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35069         bits.
35071 2012-11-28  Jeff Law <law@redhat.com>
35072             Martin Osvald <mosvald@redhat.com>
35074         [BZ #14889]
35075         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35076         * sunrpc/svc.c: Include time.h.
35077         (__svc_accept_failed): New function.
35078         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35079         any reason other than EINTR, call __svc_accept_failed.
35080         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35081         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35083 2012-11-28  Andreas Schwab  <schwab@suse.de>
35085         * scripts/abilist.awk: Also handle indirect functions in .opd
35086         section.
35088 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35090         [BZ #13881]
35091         * sysdeps/x86/fpu/powl_helper.c: New file.
35092         * sysdeps/x86/fpu/Makefile: Likewise.
35093         * sysdeps/i386/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         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35098         (p3): New object.
35099         (__ieee754_powl): Use __powl_helper for finite arguments except
35100         integer exponents below 8.
35101         * math/libm-test.inc (pow_test): Add more tests and enable some
35102         previously disabled tests.
35103         * sysdeps/i386/fpu/libm-test-ulps: Update.
35104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35106 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35107             Carlos O'Donell  <carlos_odonell@mentor.com>
35109         * nss/makedb.c (is_prime): Assert that input is odd and greater
35110         than 4.  Note that fact in a comment too.
35111         (next_prime): Add 4 to input.
35113 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35115         [BZ #11741]
35116         * libio/Makefile (tests): Add test case tst-fwrite-error.
35117         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35118         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35119         * libio/tst-fwrite-error.c: New test case.
35121 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35123         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35124         before casting to void *.
35125         * include/libc-internal.h (__pointer_type): New macro.
35126         (__integer_if_pointer_type_sub): Likewise.
35127         (__integer_if_pointer_type): Likewise.
35128         (cast_to_integer): Likewise.
35129         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35130         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35131         before casting to atomic64_t.
35132         (atomic_exchange_acq): Likewise.
35133         (__arch_exchange_and_add_body): Likewise.
35134         (__arch_add_body): Likewise.
35135         (atomic_add_negative): Likewise.
35136         (atomic_add_zero): Likewise.
35138 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35140         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35141         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35142         (add_fdes): Likewise.
35143         (linear_search_fdes): Likewise.
35144         (binary_search_unencoded_fdes): Likewise.
35146 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35148         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35150 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35152         * configure.in: Autodetect C++ header directories.
35153         * configure: Regenerated.
35155 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35157         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35159 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35163 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35165         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35166         LDBL_MANT_DIG == 106]: Disable some tests.
35167         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35168         Likewise.
35169         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35170         Likewise.
35172         [BZ #14871]
35173         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35174         input for small inputs.  Return +/- pi/2 for large inputs.
35175         * math/libm-test.inc (atan_test): Add more tests.
35177         * sysdeps/generic/unwind-dw2-fde-glibc.c
35178         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35179         __attribute__ ((unused)).
35181         [BZ #14645]
35182         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35183         x * y if x and y are nonzero and z is zero.
35185         [BZ #14811]
35186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35187         nonzero exponents with absolute value below 0x1p-117 to +/-
35188         0x1p-117.
35190         [BZ #14869]
35191         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35192         up arguments below 2**-450, not just those below 2**-500.
35193         * math/libm-test.inc (hypot_test): Add another test.
35195         [BZ #14868]
35196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35197         Return a+b for ratio over 2**120, not 2**60.
35198         * math/libm-test.inc (hypot_test): Add another test.
35200         * math/libm-test.inc (clog_test): Use
35201         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35202         (clog10_test): Likewise.
35204         [BZ #6778]
35205         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35207 2012-11-22  Andreas Schwab  <schwab@suse.de>
35209         * sysdeps/i386/fpu/libm-test-ulps: Update.
35211 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35213         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35214         printf output with newline.
35216 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35218         [BZ #14865]
35219         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35220         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35221         -z nodlopen, -z initfirst and -z execstack support.
35222         * configure: Regenerated.
35224         * elf/elf.h (DF_1_NODIRECT): New macro.
35225         (DF_1_IGNMULDEF): Likewise.
35226         (DF_1_NOKSYMS): Likewise.
35227         (DF_1_NOHDR): Likewise.
35228         (DF_1_EDITED): Likewise.
35229         (DF_1_NORELOC): Likewise.
35230         (DF_1_SYMINTPOSE): Likewise.
35231         (DF_1_GLOBAUDIT): Likewise.
35232         (DF_1_SINGLETON): Likewise.
35233         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35234         DT_1_SUPPORTED_MASK bits.
35235         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35237 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35239         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35241 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35243         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35244         macro.
35246         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35247         (sendmmsg): Move declarations...
35248         * socket/sys/socket.h: ... here.
35249         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35250         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35251         include it from...
35252         * socket/recvmmsg.c: ... this new file.
35253         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35254         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35255         definition of __sendmmsg hidden.
35256         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35257         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35258         Move ENOSYS stub into and include it from...
35259         * socket/sendmmsg.c: ... this new file.
35260         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35261         (sysdep_routines): Move recvmmsg and sendmmsg...
35262         * socket/Makefile (routines): ... here.
35263         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35264         (GLIBC_PRIVATE): Add __sendmmsg.
35265         * include/sys/socket.h (__sendmmsg): Add declarations.
35266         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35267         sendmmsg.
35269 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35271         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35272         variable I1 with __attribute__ ((unused)).
35273         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35275 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35277         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35278         DUMMY variables with __attribute__ ((unused)).
35280         * bits/byteswap.h: Include <bits/types.h>.
35281         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35283 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35285         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35286         string_t.  Do not manually set errno.
35287         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35288         length with __strnlen.  Make sure to both set errno and return it on
35289         failure.
35291 2012-11-19  David S. Miller  <davem@davemloft.net>
35293         With help from Joseph Myers.
35294         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35295         very large arguments properly.
35296         * math/libm-test.inc (atan_test): New tests.
35297         (atan2_test): New tests.
35298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35301 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35303         [BZ #14856]
35304         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35305         Define to 3.
35307         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35308         [POSIX] (EADDRNOTAVAIL): Likewise.
35309         [POSIX] (EAFNOSUPPORT): Likewise.
35310         [POSIX] (EALREADY): Likewise.
35311         [POSIX] (ECONNABORTED): Likewise.
35312         [POSIX] (ECONNREFUSED): Likewise.
35313         [POSIX] (ECONNRESET): Likewise.
35314         [POSIX] (EDESTADDRREQ): Likewise.
35315         [POSIX] (EDQUOT): Likewise.
35316         [POSIX] (EHOSTUNREACH): Likewise.
35317         [POSIX] (EIDRM): Likewise.
35318         [POSIX] (EISCONN): Likewise.
35319         [POSIX] (ELOOP): Likewise.
35320         [POSIX] (EMULTIHOP): Likewise.
35321         [POSIX] (ENETDOWN): Likewise.
35322         [POSIX] (ENETUNREACH): Likewise.
35323         [POSIX] (ENOBUFS): Likewise.
35324         [POSIX] (ENODATA): Likewise.
35325         [POSIX] (ENOLINK): Likewise.
35326         [POSIX] (ENOMSG): Likewise.
35327         [POSIX] (ENOPROTOOPT): Likewise.
35328         [POSIX] (ENOSR): Likewise.
35329         [POSIX] (ENOSTR): Likewise.
35330         [POSIX] (ENOTCONN): Likewise.
35331         [POSIX] (ENOTSOCK): Likewise.
35332         [POSIX] (EOPNOTSUPP): Likewise.
35333         [POSIX] (EOVERFLOW): Likewise.
35334         [POSIX] (EPROTO): Likewise.
35335         [POSIX] (EPROTONOSUPPORT): Likewise.
35336         [POSIX] (EPROTOTYPE): Likewise.
35337         [POSIX] (ESTALE): Likewise.
35338         [POSIX] (ETIME): Likewise.
35339         [POSIX] (ETXTBSY): Likewise.
35340         [POSIX] (EWOULDBLOCK): Likewise.
35341         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35342         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35343         [POSIX] (SEEK_CUR): Likewise.
35344         [POSIX] (SEEK_END): Likewise.
35345         [POSIX || UNIX98] (mode_t): Do not require.
35346         [POSIX] (off_t): Likewise.
35347         [POSIX] (pid_t): Likewise.
35348         [POSIX] (sys/stat.h): Do not allow header.
35349         [POSIX] (unistd.h): Likewise.
35350         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35351         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35352         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35353         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35354         require.
35355         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35356         sigevent): Specify elements.
35357         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35358         entry.
35359         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35360         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35362         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35363         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35364         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35365         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35366         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35367         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35368         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35369         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35370         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35371         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35372         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35373         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35374         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35375         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35376         Likewise.
35377         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35378         Likewise.
35379         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35380         Likewise.
35381         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35382         Likewise.
35383         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35384         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35385         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35386         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35387         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35388         Specify lower bound on value.
35389         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35390         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35391         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35392         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35393         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35394         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35395         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35396         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35397         value.
35398         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35399         as optional.
35400         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35401         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35402         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35403         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35404         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35405         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35406         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35407         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35408         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35409         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35410         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35411         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35412         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35413         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35414         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35415         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35416         entry.
35417         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35418         optional.
35419         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35420         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35421         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35422         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35423         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35424         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35425         Likewise.
35426         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35427         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35428         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35429         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35430         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35431         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35432         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35433         as optional.
35434         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35435         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35436         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35437         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35438         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35439         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35440         specify as optional.
35441         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35442         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35443         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35444         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35445         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35446         [XPG3] (NL_LANGMAX): Likewise.
35447         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35448         [POSIX || XPG3] (NL_NMAX): Likewise.
35449         [POSIX || XPG3] (NL_SETMAX): Likewise.
35450         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35451         [XPG3] (NZERO): Likewise.
35452         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35453         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35454         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35455         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35456         (REG_ERANGE): Expect.
35457         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35458         optional-constant.
35459         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35460         Use (void) in prototype.
35461         [POSIX] (*_t): Allow.
35462         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35463         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35464         (WRDE_BADVAL): Expect.
35466         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35467         expect.
35468         [XPG3 || XPG4] (O_RSYNC): Likewise.
35469         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35470         Likewise.
35471         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35472         [XPG3 || XPG4] (sigqueue): Likewise.
35473         [XPG3 || XPG4] (sigtimedwait): Likewise.
35474         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35475         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35476         [XPG3 || XPG4] (vsnprintf): Likewise.
35477         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35478         Likewise.
35479         [XPG3 || XPG4] (blksize_t): Likewise.
35480         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35481         Likewise.
35482         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35483         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35484         [XPG3 || XPG4] (struct itimerspec): Likewise.
35485         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35486         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35487         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35488         [XPG3 || XPG4] (clockid_t): Likewise.
35489         [XPG3 || XPG4] (timer_t): Likewise.
35490         [XPG3 || XPG4] (clock_getres): Likewise.
35491         [XPG3 || XPG4] (clock_gettime): Likewise.
35492         [XPG3 || XPG4] (clock_settime): Likewise.
35493         [XPG3 || XPG4] (nanosleep): Likewise.
35494         [XPG3 || XPG4] (timer_create): Likewise.
35495         [XPG3 || XPG4] (timer_delete): Likewise.
35496         [XPG3 || XPG4] (timer_gettime): Likewise.
35497         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35498         [XPG3 || XPG4] (timer_settime): Likewise.
35499         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35500         [XPG3 || XPG4] (getlogin_r): Likewise.
35501         [XPG3 || XPG4] (pread): Likewise.
35502         [XPG3 || XPG4] (pthread_atfork): Likewise.
35503         [XPG3 || XPG4] (pwrite): Likewise.
35505         [BZ #14835]
35506         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35507         <bits/siginfo.h>.
35509 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35511         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35512         finalizing MALLSTREAM.
35514         * sysdeps/mach/hurd/syncfs.c: New file.
35516 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35518         [BZ #14719]
35519         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35520         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35521         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35522         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35523         (_nss_dns_gethostbyname4_r): Likewise.
35524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35525         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35527 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35529         [BZ #13763]
35530         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35532 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35534         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35535         * elf/cache.c (print_entry): Print ",AArch64" for
35536         FLAG_AARCH64_LIB64
35538         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35539         * elf/cache.c (print_entry): Print ",hard-float" for
35540         FLAG_ARM_LIBHF.
35542 2012-11-18  David S. Miller  <davem@davemloft.net>
35544         With help from Joseph Myers.
35545         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35546         cutoff to 2**-13.
35547         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35548         cutoff to 2**-25.
35549         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35550         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35551         small.
35552         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35553         * math/libm-test.inc (y0_test): New tests.
35554         (y1_test): New tests.
35555         * sysdeps/i386/fpu/libm-test-ulps: Update.
35556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35559 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35561         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35562         64-bit targets.
35563         * configure: Regenerated.
35565 2012-11-17  David S. Miller  <davem@davemloft.net>
35567         [BZ #14811]
35568         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35569         nonzero exponents with absolute value below 0x1p-128 to +/-
35570         0x1p-128.
35572 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35574         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35576         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35578         * posix/getconf-speclist.c: New file.
35579         * posix/posix-envs.def: Likewise.
35580         * posix/confstr.c (START_ENV_GROUP): New macro.
35581         (END_ENV_GROUP): Likewise.
35582         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35583         (KNOWN_PRESENT_ENV_STRING): Likewise.
35584         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35585         (UNKNOWN_ENVIRONMENT): Likewise.
35586         (confstr): Include posix-envs.def instead of handling
35587         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35588         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35589         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35590         (END_ENV_GROUP): Likewise.
35591         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35592         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35593         (UNKNOWN_ENVIRONMENT): Likewise.
35594         (__sysconf): Include posix-envs.def instead of handling associated
35595         cases directly here.
35596         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35597         preprocessing getconf-speclist.c rather than running getconf or
35598         generating empty file.
35600 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35602         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35604 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35606         [BZ #14672]
35607         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35609 2012-11-16  David S. Miller  <davem@davemloft.net>
35611         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35612         smaller than LDBL_EPSILON/2.0L, just return xm1.
35614 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35616         * elf/tst-array1.c (init): Set constructor priority to 1000.
35617         (fini): Set destructor priority to 1000.
35618         * elf/tst-array2dep.c: Likewise.
35620 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35622         [BZ #11741]
35623         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35624         (_IO_new_file_xsputn): Also return EOF if none of the input
35625         data was written when overflow failed.
35626         * libio/iopadn.c (_IO_padn): Likewise.
35627         * libio/iowpadn.c (_IO_wpadn): Likewise.
35628         * stdio-common/tst-put-error.c: Add copyright notice.
35629         (do_test): Add case for printing padded string.
35630         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35631         _IO_padn returned error.
35632         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35633         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35634         return EOF.
35636 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35638         * libio/libioP.h: Add comment note that the references to C++
35639         bits are now obsolete.
35641 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35643         * math/libm-test.inc (check_complex): Use asprintf.
35645 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35647         * debug/pcprofiledump.c (print_version): Update copyright year.
35648         * malloc/memusagestat.c (print_version): Likewise.
35650 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35652         [BZ #14831]
35653         * elf/Makefile (tests): Add tst-audit8.
35654         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35655         ($(objpfx)tst-audit8.out): New target.
35656         (tst-audit8-ENV): New variable.
35657         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35658         audit if l_reloc_result is NULL.
35659         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35660         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35661         * elf/tst-audit8.c: New file.
35663 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35665         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35666         * misc/Makefile (CFLAGS-select.c): Define.
35667         * posix/Makefile (CFLAGS-pause.c): Define.
35669 2012-11-13  David S. Miller  <davem@davemloft.net>
35671         * crypt/Makefile: Move test targets after toplevel Rules
35672         inclusion.  Grab any necessary sysdep routines when linking.
35673         * crypt/md5.c (md5_process_block): Remove define, we will always
35674         name it __md5_process_block.
35675         (md5_finish_ctx): Update md5_process_block call.
35676         (md5_stream): Likewise.
35677         (md5_process_bytes): Likewise.
35678         (md5_process_block): Rename to __md5_process_block and move to ...
35679         * crypt/md5-block.c: ... here.
35680         * crypt/sha256.c (sha256_process_block): Move to ...
35681         * crypt/sha256-block.c: ... here.
35682         * crypt/sha512.c (sha512_process_block): Move to ...
35683         * crypt/sha512-block.c: ... here.
35684         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35685         path.
35686         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35687         * sysdeps/sparc/sparc64/multiarch/Makefile
35688         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35689         crypt subdir.
35690         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35691         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35692         multiarch changes.
35693         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35694         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35695         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35696         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35697         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35698         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35699         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35700         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35701         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35702         file.
35703         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35704         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35705         file.
35706         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35708 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35710         * timezone/tzselect.ksh: Update from tzcode git revision
35711         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35712         * timezone/zdump.c: Likewise.
35713         * timezone/zic.c: Likewise.
35714         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35715         in TZVERSION setting, not $(PKGVERSION).
35716         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35717         REPORT_BUGS_TO settings.
35719         [BZ #14838]
35720         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35721         macro.
35723 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35725         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35726         detection to immediately after _FP_ROUND().
35727         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35728         bits are 0.
35730 2012-11-11  David S. Miller  <davem@davemloft.net>
35732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35733         inttypes.h
35734         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35735         __close rather than their public counterparts.
35737 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35739         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35740         file.
35741         [UNIX98] (sem_timedwait): Do not expect.
35742         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35743         [XPG4 || UNIX98] (sockatmark): Do not expect.
35744         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35745         (clock_getcpuclockid): Do not expect.
35746         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35747         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35748         Do not expect.
35749         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35750         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35751         [UNIX98] (vwscanf): Likewise.
35752         [UNIX98] (vswscanf): Likewise.
35754 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35756         * timezone/version.h: Remove file.
35757         * timezone/README: Do not refer to version.h.
35758         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35759         $(objpfx)version.h.
35760         ($(objpfx)zdump.o): Likewise.
35761         ($(objpfx)version.h): New target.
35763         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35764         2012i.
35765         * timezone/README: Don't mention modification to tzselect.ksh.
35766         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35767         work on unmodified tzselect.ksh.  Substitute version numbers in
35768         tzselect.ksh.
35770         * Makefile (format-me): Remove.
35771         (INSTALL): Adjust indentation.  Use commands directly instead of
35772         using $(format-me).
35774         * aclocal.m4 (ACX_PKGVERSION): New macro.
35775         (ACX_BUGURL): Likewise.
35776         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35777         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35778         (REPORT_BUGS_TO): Likewise.
35779         * configure: Regenerated.
35780         * config.h.in (PKGVERSION): New macro.
35781         (REPORT_BUGS_TO): Likewise.
35782         * config.make.in (PKGVERSION): New variable.
35783         (PKGVERSION_TEXI): Likewise.
35784         (REPORT_BUGS_TO): Likewise.
35785         (REPORT_BUGS_TEXI): Likewise.
35786         * Makefile (format-me): Use -I$(common-objpfx)manual.
35787         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35788         ($(common-objpfx)manual/%): New target.
35789         (manual/%): Remove target.
35790         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35791         (print_version): Use PKGVERSION.
35792         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35793         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35794         and REPORT_BUGS_TO.
35795         ($(objpfx)xtrace): Likewise.
35796         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35797         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35798         (print_version): Use PKGVERSION.
35799         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35800         (do_version): Use PKGVERSION.
35801         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35802         REPORT_BUGS_TO.
35803         (common-ldd-rewrite): Likewise.
35804         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35805         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35806         (print_version): Use PKGVERSION.
35807         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35808         * elf/pldd.c (argp_program_bug_address): Remove variable.
35809         (more_help): New function.
35810         (argp): Use more_help.
35811         (print_version): Use PKGVERSION.
35812         * elf/sln.c (main): Use PKGVERSION.
35813         (usage): Use REPORT_BUGS_TO.
35814         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35815         (top level): Use PKGVERSION.
35816         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35817         (print_version): Use PKGVERSION.
35818         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35819         (print_version): Use PKGVERSION.
35820         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35821         (print_version): Use PKGVERSION.
35822         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35823         (print_version): Use PKGVERSION.
35824         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35825         (print_version): Use PKGVERSION.
35826         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35827         (print_version): Use PKGVERSION.
35828         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35829         and BUGURL.
35830         ($(objpfx)memusage): Likewise.
35831         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35832         (do_version): Use PKGVERSION.
35833         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35834         (print_version): Use PKGVERSION.
35835         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35836         ($PKGVERSION): New variable.
35837         ($REPORT_BUGS_TO): Likewise.
35838         (usage): Use $REPORT_BUGS_TO.
35839         (top level): Use $PKGVERSION.
35840         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35841         ($(objpfx)pkgvers.texi): New rule.
35842         ($(objpfx)stamp-pkgvers): Likewise.
35843         * manual/install.texi: Include pkgvers.texi.
35844         (--with-pkgversion): Document new configure option.
35845         (--with-bugurl): Likewise.
35846         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35847         than necessarily for this particular distribution.  Use
35848         REPORT_BUGS_TO for where to report bugs.
35849         * INSTALL: Regenerated.
35850         * manual/libc.texinfo: Include pkgvers.texi.
35851         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35852         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35853         (print_version): Use PKGVERSION.
35854         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35855         (print_version): Use PKGVERSION.
35856         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35857         (print_version): Use PKGVERSION.
35858         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35859         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35860         macro.
35861         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35862         (print_version): Use PKGVERSION.
35863         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35864         (print_version): Use PKGVERSION.
35865         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35866         and PKGVERSION.
35868         * timezone/checktab.awk: Update from tzcode 2012i.
35869         * timezone/ialloc.c: Likewise.
35870         * timezone/private.h: Likewise.
35871         * timezone/scheck.c: Likewise.
35872         * timezone/tzfile.h: Likewise.
35873         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35874         (TZVERSION): Hardcode tzcode version number.
35875         * timezone/zdump.c: Update from tzcode 2012i.
35876         * timezone/zic.c: Likewise.
35877         * timezone/version.h: New file.
35878         * timezone/README: Describe version.h.  Update upstream location.
35880         [BZ #14824]
35881         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35882         (mktemp): Enable declaration.
35883         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35884         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35885         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35887         Likewise.
35888         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35889         Likewise.
35890         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35891         Likewise.
35892         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35893         Likewise.
35894         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35895         Likewise.
35896         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35897         Likewise.
35899         [BZ #14821]
35900         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35901         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35902         for copies of such integer values.
35903         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35904         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35906 2012-11-09  Andreas Jaeger  <aj@suse.de>
35908         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35909         definitions and declarations that are provided by
35910         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35912 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35914         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35915         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35916         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35917         definition.
35919 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35921         * elf/elf.h: Update comment before AArch64 relocations.
35923 2012-11-07  David S. Miller  <davem@davemloft.net>
35925         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35926         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35927         (__start_context): Declare.
35928         (__makecontext_ret): Delete.
35929         (__makecontext): Hook up __start_context instead of
35930         __makecontext_ret.
35931         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35932         (sysdep_routines): Add __start_context when in stdlib.
35934 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35936         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35937         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35938         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35939         hardcoded "nm".
35940         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35941         (READELF): New variable.  Use it instead of hardcoded "readelf".
35943 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35945         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35946         * sysdeps/x86/Makefile: Here.
35947         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35948         * sysdeps/x86/tst-xmmymm.sh: This.
35950 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35952         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35953         expectations.
35954         [UNIX98] (pthread_barrier_t): Do not expect.
35955         [UNIX98] (pthread_barrierattr_t): Likewise.
35956         [UNIX98] (pthread_spinlock_t): Likewise.
35957         [UNIX98] (pthread_barrier_destroy): Likewise.
35958         [UNIX98] (pthread_barrier_init): Likewise.
35959         [UNIX98] (pthread_barrier_wait): Likewise.
35960         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35961         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35962         [UNIX98] (pthread_barrierattr_init): Likewise.
35963         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35964         [UNIX98] (pthread_getcpuclockid): Likewise.
35965         [UNIX98] (pthread_mutex_timedlock): Likewise.
35966         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35967         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35968         [UNIX98] (pthread_sigmask): Likewise.
35969         [UNIX98] (pthread_spin_destroy): Likewise.
35970         [UNIX98] (pthread_spin_init): Likewise.
35971         [UNIX98] (pthread_spin_lock): Likewise.
35972         [UNIX98] (pthread_spin_trylock): Likewise.
35973         [UNIX98] (pthread_spin_unlock): Likewise.
35974         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35975         Do not expect.
35976         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35978         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35979         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35980         [XPG3 || XPG4] (pthread_key_t): Likewise.
35981         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35982         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35983         [XPG3 || XPG4] (pthread_once_t): Likewise.
35984         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35985         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35987         [XPG3 || XPG4] (pthread_t): Likewise.
35989         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35990         not expect.
35991         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35993         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35994         Change function return type to int.
35996         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35997         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35998         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35999         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36000         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36001         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36002         [!POSIX] (posix_madvise): Likewise.
36003         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36004         && !UNIX98].
36005         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36006         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36007         (mode_t): Likewise.
36008         (posix_mem_offset): Likewise.
36009         (posix_typed_mem_get_info): Likewise.
36010         (posix_typed_mem_open): Likewise.
36012         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36013         Change condition to [XOPEN2K8].
36015         * conform/conformtest.pl: Preprocess allow-header data with -x c
36016         instead of from stdin.
36017         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36018         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36019         [C99-based standards] (cerfc): Likewise.
36020         [C99-based standards] (cexp2): Likewise.
36021         [C99-based standards] (cexpm1): Likewise.
36022         [C99-based standards] (clog10): Likewise.
36023         [C99-based standards] (clog1p): Likewise.
36024         [C99-based standards] (clog2): Likewise.
36025         [C99-based standards] (clgamma): Likewise.
36026         [C99-based standards] (ctgamma): Likewise.
36027         [C99-based standards] (cerff): Likewise.
36028         [C99-based standards] (cerfcf): Likewise.
36029         [C99-based standards] (cexp2f): Likewise.
36030         [C99-based standards] (cexpm1f): Likewise.
36031         [C99-based standards] (clog10f): Likewise.
36032         [C99-based standards] (clog1pf): Likewise.
36033         [C99-based standards] (clog2f): Likewise.
36034         [C99-based standards] (clgammaf): Likewise.
36035         [C99-based standards] (ctgammaf): Likewise.
36036         [C99-based standards] (cerfl): Likewise.
36037         [C99-based standards] (cerfcl): Likewise.
36038         [C99-based standards] (cexp2l): Likewise.
36039         [C99-based standards] (cexpm1l): Likewise.
36040         [C99-based standards] (clog10l): Likewise.
36041         [C99-based standards] (clog1pl): Likewise.
36042         [C99-based standards] (clog2l): Likewise.
36043         [C99-based standards] (clgammal): Likewise.
36044         [C99-based standards] (ctgammal): Likewise.
36045         * conform/data/inttypes.h-data [C99-based standards]: Include
36046         stdint.h-data.  Remove all expectations for stdint.h contents.
36047         [C99-based standards] (PRI*): Do not allow.
36048         [C99-based standards] (SCN*): Likewise.
36049         [C99-based standards] (*_t): Likewise.
36050         [C99-based-standards] (PRId8): Expect macro.
36051         [C99-based-standards] (PRIi8): Likewise.
36052         [C99-based-standards] (PRIo8): Likewise.
36053         [C99-based-standards] (PRIu8): Likewise.
36054         [C99-based-standards] (PRIx8): Likewise.
36055         [C99-based-standards] (PRIX8): Likewise.
36056         [C99-based-standards] (SCNd8): Likewise.
36057         [C99-based-standards] (SCNi8): Likewise.
36058         [C99-based-standards] (SCNo8): Likewise.
36059         [C99-based-standards] (SCNu8): Likewise.
36060         [C99-based-standards] (SCNx8): Likewise.
36061         [C99-based-standards] (PRIdLEAST8): Likewise.
36062         [C99-based-standards] (PRIiLEAST8): Likewise.
36063         [C99-based-standards] (PRIoLEAST8): Likewise.
36064         [C99-based-standards] (PRIuLEAST8): Likewise.
36065         [C99-based-standards] (PRIxLEAST8): Likewise.
36066         [C99-based-standards] (PRIXLEAST8): Likewise.
36067         [C99-based-standards] (SCNdLEAST8): Likewise.
36068         [C99-based-standards] (SCNiLEAST8): Likewise.
36069         [C99-based-standards] (SCNoLEAST8): Likewise.
36070         [C99-based-standards] (SCNuLEAST8): Likewise.
36071         [C99-based-standards] (SCNxLEAST8): Likewise.
36072         [C99-based-standards] (PRIdFAST8): Likewise.
36073         [C99-based-standards] (PRIiFAST8): Likewise.
36074         [C99-based-standards] (PRIoFAST8): Likewise.
36075         [C99-based-standards] (PRIuFAST8): Likewise.
36076         [C99-based-standards] (PRIxFAST8): Likewise.
36077         [C99-based-standards] (PRIXFAST8): Likewise.
36078         [C99-based-standards] (SCNdFAST8): Likewise.
36079         [C99-based-standards] (SCNiFAST8): Likewise.
36080         [C99-based-standards] (SCNoFAST8): Likewise.
36081         [C99-based-standards] (SCNuFAST8): Likewise.
36082         [C99-based-standards] (SCNxFAST8): Likewise.
36083         [C99-based-standards] (PRId16): Likewise.
36084         [C99-based-standards] (PRIi16): Likewise.
36085         [C99-based-standards] (PRIo16): Likewise.
36086         [C99-based-standards] (PRIu16): Likewise.
36087         [C99-based-standards] (PRIx16): Likewise.
36088         [C99-based-standards] (PRIX16): Likewise.
36089         [C99-based-standards] (SCNd16): Likewise.
36090         [C99-based-standards] (SCNi16): Likewise.
36091         [C99-based-standards] (SCNo16): Likewise.
36092         [C99-based-standards] (SCNu16): Likewise.
36093         [C99-based-standards] (SCNx16): Likewise.
36094         [C99-based-standards] (PRIdLEAST16): Likewise.
36095         [C99-based-standards] (PRIiLEAST16): Likewise.
36096         [C99-based-standards] (PRIoLEAST16): Likewise.
36097         [C99-based-standards] (PRIuLEAST16): Likewise.
36098         [C99-based-standards] (PRIxLEAST16): Likewise.
36099         [C99-based-standards] (PRIXLEAST16): Likewise.
36100         [C99-based-standards] (SCNdLEAST16): Likewise.
36101         [C99-based-standards] (SCNiLEAST16): Likewise.
36102         [C99-based-standards] (SCNoLEAST16): Likewise.
36103         [C99-based-standards] (SCNuLEAST16): Likewise.
36104         [C99-based-standards] (SCNxLEAST16): Likewise.
36105         [C99-based-standards] (PRIdFAST16): Likewise.
36106         [C99-based-standards] (PRIiFAST16): Likewise.
36107         [C99-based-standards] (PRIoFAST16): Likewise.
36108         [C99-based-standards] (PRIuFAST16): Likewise.
36109         [C99-based-standards] (PRIxFAST16): Likewise.
36110         [C99-based-standards] (PRIXFAST16): Likewise.
36111         [C99-based-standards] (SCNdFAST16): Likewise.
36112         [C99-based-standards] (SCNiFAST16): Likewise.
36113         [C99-based-standards] (SCNoFAST16): Likewise.
36114         [C99-based-standards] (SCNuFAST16): Likewise.
36115         [C99-based-standards] (SCNxFAST16): Likewise.
36116         [C99-based-standards] (PRId32): Likewise.
36117         [C99-based-standards] (PRIi32): Likewise.
36118         [C99-based-standards] (PRIo32): Likewise.
36119         [C99-based-standards] (PRIu32): Likewise.
36120         [C99-based-standards] (PRIx32): Likewise.
36121         [C99-based-standards] (PRIX32): Likewise.
36122         [C99-based-standards] (SCNd32): Likewise.
36123         [C99-based-standards] (SCNi32): Likewise.
36124         [C99-based-standards] (SCNo32): Likewise.
36125         [C99-based-standards] (SCNu32): Likewise.
36126         [C99-based-standards] (SCNx32): Likewise.
36127         [C99-based-standards] (PRIdLEAST32): Likewise.
36128         [C99-based-standards] (PRIiLEAST32): Likewise.
36129         [C99-based-standards] (PRIoLEAST32): Likewise.
36130         [C99-based-standards] (PRIuLEAST32): Likewise.
36131         [C99-based-standards] (PRIxLEAST32): Likewise.
36132         [C99-based-standards] (PRIXLEAST32): Likewise.
36133         [C99-based-standards] (SCNdLEAST32): Likewise.
36134         [C99-based-standards] (SCNiLEAST32): Likewise.
36135         [C99-based-standards] (SCNoLEAST32): Likewise.
36136         [C99-based-standards] (SCNuLEAST32): Likewise.
36137         [C99-based-standards] (SCNxLEAST32): Likewise.
36138         [C99-based-standards] (PRIdFAST32): Likewise.
36139         [C99-based-standards] (PRIiFAST32): Likewise.
36140         [C99-based-standards] (PRIoFAST32): Likewise.
36141         [C99-based-standards] (PRIuFAST32): Likewise.
36142         [C99-based-standards] (PRIxFAST32): Likewise.
36143         [C99-based-standards] (PRIXFAST32): Likewise.
36144         [C99-based-standards] (SCNdFAST32): Likewise.
36145         [C99-based-standards] (SCNiFAST32): Likewise.
36146         [C99-based-standards] (SCNoFAST32): Likewise.
36147         [C99-based-standards] (SCNuFAST32): Likewise.
36148         [C99-based-standards] (SCNxFAST32): Likewise.
36149         [C99-based-standards] (PRId64): Likewise.
36150         [C99-based-standards] (PRIi64): Likewise.
36151         [C99-based-standards] (PRIo64): Likewise.
36152         [C99-based-standards] (PRIu64): Likewise.
36153         [C99-based-standards] (PRIx64): Likewise.
36154         [C99-based-standards] (PRIX64): Likewise.
36155         [C99-based-standards] (SCNd64): Likewise.
36156         [C99-based-standards] (SCNi64): Likewise.
36157         [C99-based-standards] (SCNo64): Likewise.
36158         [C99-based-standards] (SCNu64): Likewise.
36159         [C99-based-standards] (SCNx64): Likewise.
36160         [C99-based-standards] (PRIdLEAST64): Likewise.
36161         [C99-based-standards] (PRIiLEAST64): Likewise.
36162         [C99-based-standards] (PRIoLEAST64): Likewise.
36163         [C99-based-standards] (PRIuLEAST64): Likewise.
36164         [C99-based-standards] (PRIxLEAST64): Likewise.
36165         [C99-based-standards] (PRIXLEAST64): Likewise.
36166         [C99-based-standards] (SCNdLEAST64): Likewise.
36167         [C99-based-standards] (SCNiLEAST64): Likewise.
36168         [C99-based-standards] (SCNoLEAST64): Likewise.
36169         [C99-based-standards] (SCNuLEAST64): Likewise.
36170         [C99-based-standards] (SCNxLEAST64): Likewise.
36171         [C99-based-standards] (PRIdFAST64): Likewise.
36172         [C99-based-standards] (PRIiFAST64): Likewise.
36173         [C99-based-standards] (PRIoFAST64): Likewise.
36174         [C99-based-standards] (PRIuFAST64): Likewise.
36175         [C99-based-standards] (PRIxFAST64): Likewise.
36176         [C99-based-standards] (PRIXFAST64): Likewise.
36177         [C99-based-standards] (SCNdFAST64): Likewise.
36178         [C99-based-standards] (SCNiFAST64): Likewise.
36179         [C99-based-standards] (SCNoFAST64): Likewise.
36180         [C99-based-standards] (SCNuFAST64): Likewise.
36181         [C99-based-standards] (SCNxFAST64): Likewise.
36182         [C99-based-standards] (PRIdMAX): Likewise.
36183         [C99-based-standards] (PRIiMAX): Likewise.
36184         [C99-based-standards] (PRIoMAX): Likewise.
36185         [C99-based-standards] (PRIuMAX): Likewise.
36186         [C99-based-standards] (PRIxMAX): Likewise.
36187         [C99-based-standards] (PRIXMAX): Likewise.
36188         [C99-based-standards] (SCNdMAX): Likewise.
36189         [C99-based-standards] (SCNiMAX): Likewise.
36190         [C99-based-standards] (SCNoMAX): Likewise.
36191         [C99-based-standards] (SCNuMAX): Likewise.
36192         [C99-based-standards] (SCNxMAX): Likewise.
36193         [C99-based-standards] (PRIdPTR): Likewise.
36194         [C99-based-standards] (PRIiPTR): Likewise.
36195         [C99-based-standards] (PRIoPTR): Likewise.
36196         [C99-based-standards] (PRIuPTR): Likewise.
36197         [C99-based-standards] (PRIxPTR): Likewise.
36198         [C99-based-standards] (PRIXPTR): Likewise.
36199         [C99-based-standards] (SCNdPTR): Likewise.
36200         [C99-based-standards] (SCNiPTR): Likewise.
36201         [C99-based-standards] (SCNoPTR): Likewise.
36202         [C99-based-standards] (SCNuPTR): Likewise.
36203         [C99-based-standards] (SCNxPTR): Likewise.
36204         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36205         allow.
36206         * conform/data/stdint.h-data: Update comments to clarify
36207         requirements.
36208         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36209         type.
36210         [C99-based standards] (INT8_MAX): Likewise.
36211         [C99-based standards] (INT16_MIN): Likewise.
36212         [C99-based standards] (INT16_MAX): Likewise.
36213         [C99-based standards] (INT32_MIN): Likewise.
36214         [C99-based standards] (INT32_MAX): Likewise.
36215         [C99-based standards] (INT64_MIN): Likewise.
36216         [C99-based standards] (INT64_MAX): Likewise.
36217         [C99-based standards] (UINT8_MAX): Likewise.
36218         [C99-based standards] (UINT16_MAX): Likewise.
36219         [C99-based standards] (UINT32_MAX): Likewise.
36220         [C99-based standards] (UINT64_MAX): Likewise.
36221         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36222         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36223         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36224         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36225         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36226         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36227         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36228         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36229         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36230         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36231         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36232         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36233         [C99-based standards] (INT_FAST8_MIN): Likewise.
36234         [C99-based standards] (INT_FAST8_MAX): Likewise.
36235         [C99-based standards] (INT_FAST16_MIN): Likewise.
36236         [C99-based standards] (INT_FAST16_MAX): Likewise.
36237         [C99-based standards] (INT_FAST32_MIN): Likewise.
36238         [C99-based standards] (INT_FAST32_MAX): Likewise.
36239         [C99-based standards] (INT_FAST64_MIN): Likewise.
36240         [C99-based standards] (INT_FAST64_MAX): Likewise.
36241         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36242         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36243         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36244         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36245         [C99-based standards] (INTPTR_MIN): Likewise.
36246         [C99-based standards] (INTPTR_MAX): Likewise.
36247         [C99-based standards] (UINTPTR_MAX): Likewise.
36248         [C99-based standards] (INTMAX_MIN): Likewise.
36249         [C99-based standards] (INTMAX_MAX): Likewise.
36250         [C99-based standards] (UINTMAX_MAX): Likewise.
36251         [C99-based standards] (PTRDIFF_MIN): Likewise.
36252         [C99-based standards] (PTRDIFF_MAX): Likewise.
36253         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36254         [C99-based standards] (SIZE_MAX): Likewise.
36255         [C99-based standards] (WCHAR_MAX): Likewise.
36256         [C99-based standards] (WINT_MAX): Likewise.
36257         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36258         constraint on value.
36259         [C99-based standards] (WCHAR_MIN): Likewise.
36260         [C99-based standards] (WINT_MIN): Likewise.
36261         [C99-based standards] (*_t): Allow.
36262         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36263         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36264         Include math.h-data and complex.h-data.  Remove all expectations
36265         of math.h and complex.h contents.
36266         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36267         at end of line.
36268         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36269         (struct tm): Expect tag.
36270         [C99-based-standards] (wcstof): Expect function.
36271         [C99-based-standards] (wcstold): Likewise.
36272         [C99-based-standards] (wcstoll): Likewise.
36273         [C99-based-standards] (wcstoull): Likewise.
36274         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36275         macro-int-constant.  Specify type.
36276         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36277         constraint on value.
36278         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36279         Specify type.
36280         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36281         Specify value.
36282         [ISO C standards]: Do not allow headers.
36283         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36284         wcs[abcdefghijklmnopqrstuvwxyz]*.
36285         [ISO C standards] (*_t): Do not allow.
36286         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36287         Expect function.
36288         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36289         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36290         Specify type.
36291         [ISO C standards]: Do not allow headers.
36292         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36293         is[abcdefghijklmnopqrstuvwxyz]*.
36294         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36295         to[abcdefghijklmnopqrstuvwxyz]*.
36296         [ISO C standards] (*_t): Do not allow.
36297         * conform/data/stdalign.h-data: New file.
36298         * conform/data/stdbool.h-data: Likewise.
36299         * conform/data/stdnoreturn.h-data: Likewise.
36301 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36303         [BZ #14815]
36304         * manual/filesys.texi (Directory Entries): Typo fix.
36305         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36307 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36309         * elf/elf.h (EM_AARCH64): New macro.
36310         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36311         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36312         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36313         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36314         (R_AARCH64_TLSDESC): Likewise.
36315         (NT_ARM_TLS): Likewise.
36316         (NT_ARM_HW_BREAK): Likewise.
36317         (NT_ARM_HW_WATCH): Likewise.
36319 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36321         [BZ #14811]
36322         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36323         (__ieee754_powl): Saturate nonzero exponents with absolute value
36324         below 0x1p-79 to +/- 0x1p-79.
36325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36326         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36327         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36328         nonzero exponents with absolute value below 0x1p-32 to +/-
36329         0x1p-32.
36330         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36331         (__ieee754_powl): Saturate nonzero exponents with absolute value
36332         below 0x1p-79 to +/- 0x1p-79.
36333         * math/libm-test.inc (pow_test): Add more tests.
36335 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36337         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36338         _dl_s390_cap_flags with kernel. Increase string length.
36339         (_dl_s390_platforms): Add z196 and zEC12.
36341 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36343         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36344         Change XOPEN21K to XOPEN2K.
36346 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36348         * string/memmove.c: Use memcpy when possible.
36350 2012-11-06  Andreas Jaeger  <aj@suse.de>
36352         * po/eo.po: Update from translation team.
36354 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36356         [BZ #14793]
36357         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36358         exponent and small x and y exponents, scale x or y up.  Increase
36359         by 2 the exponent used in scaling up.
36360         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36362         * math/libm-test.inc (fma_test): Add more tests.
36363         (fma_test_towardzero): Likewise.
36364         (fma_test_downward): Likewise.
36365         (fma_test_upward): Likewise.
36367 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36369         [BZ #14805]
36370         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36371         fenv_t *.
36373         [BZ #14801]
36374         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36375         namespace for names of struct fields.
36376         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36377         fenv_t fields.
36378         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36379         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36381 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36383         [BZ #3665]
36384         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36386 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36388         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36389         PTR_DEMANGLE.
36391         [BZ #5246]
36392         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36393         PTR_DEMANGLE.
36395 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36397         [BZ #14797]
36398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36399         definitely overflow as x * y not x * y + z.
36400         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36402         * math/libm-test.inc (fma_test): Add more tests.
36403         (fma_test_towardzero): Likewise.
36404         (fma_test_downward): Likewise.
36405         (fma_test_upward): Likewise.
36407 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36409         [BZ #157]
36411         * include/stub-tag.h: Remove file.
36412         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36413         '#include' of it.
36414         * manual/maint.texi (Porting): Don't reference it.
36415         * Makerules ($(objpfx)stubs): Likewise.
36416         * dirent/closedir.c: Don't include <stub-tag.h>.
36417         * dirent/dirfd.c: Likewise.
36418         * dirent/fdopendir.c: Likewise.
36419         * dirent/getdents.c: Likewise.
36420         * dirent/getdents64.c: Likewise.
36421         * dirent/opendir.c: Likewise.
36422         * dirent/readdir.c: Likewise.
36423         * dirent/readdir64.c: Likewise.
36424         * dirent/readdir64_r.c: Likewise.
36425         * dirent/readdir_r.c: Likewise.
36426         * dirent/rewinddir.c: Likewise.
36427         * dirent/seekdir.c: Likewise.
36428         * dirent/telldir.c: Likewise.
36429         * gmon/profil.c: Likewise.
36430         * grp/setgroups.c: Likewise.
36431         * inet/if_index.c: Likewise.
36432         * io/access.c: Likewise.
36433         * io/chdir.c: Likewise.
36434         * io/chmod.c: Likewise.
36435         * io/chown.c: Likewise.
36436         * io/close.c: Likewise.
36437         * io/dup.c: Likewise.
36438         * io/dup2.c: Likewise.
36439         * io/dup3.c: Likewise.
36440         * io/euidaccess.c: Likewise.
36441         * io/faccessat.c: Likewise.
36442         * io/fchdir.c: Likewise.
36443         * io/fchmod.c: Likewise.
36444         * io/fchmodat.c: Likewise.
36445         * io/fchown.c: Likewise.
36446         * io/fchownat.c: Likewise.
36447         * io/fcntl.c: Likewise.
36448         * io/flock.c: Likewise.
36449         * io/fstatfs.c: Likewise.
36450         * io/fstatfs64.c: Likewise.
36451         * io/fstatvfs.c: Likewise.
36452         * io/fstatvfs64.c: Likewise.
36453         * io/futimens.c: Likewise.
36454         * io/fxstat.c: Likewise.
36455         * io/fxstat64.c: Likewise.
36456         * io/fxstatat.c: Likewise.
36457         * io/fxstatat64.c: Likewise.
36458         * io/getcwd.c: Likewise.
36459         * io/isatty.c: Likewise.
36460         * io/lchmod.c: Likewise.
36461         * io/lchown.c: Likewise.
36462         * io/link.c: Likewise.
36463         * io/linkat.c: Likewise.
36464         * io/lseek.c: Likewise.
36465         * io/lseek64.c: Likewise.
36466         * io/lxstat64.c: Likewise.
36467         * io/mkdir.c: Likewise.
36468         * io/mkdirat.c: Likewise.
36469         * io/mkfifo.c: Likewise.
36470         * io/mkfifoat.c: Likewise.
36471         * io/open.c: Likewise.
36472         * io/open64.c: Likewise.
36473         * io/openat.c: Likewise.
36474         * io/openat64.c: Likewise.
36475         * io/pipe.c: Likewise.
36476         * io/pipe2.c: Likewise.
36477         * io/poll.c: Likewise.
36478         * io/posix_fadvise.c: Likewise.
36479         * io/posix_fadvise64.c: Likewise.
36480         * io/posix_fallocate.c: Likewise.
36481         * io/posix_fallocate64.c: Likewise.
36482         * io/read.c: Likewise.
36483         * io/readlink.c: Likewise.
36484         * io/readlinkat.c: Likewise.
36485         * io/rmdir.c: Likewise.
36486         * io/sendfile.c: Likewise.
36487         * io/sendfile64.c: Likewise.
36488         * io/statfs.c: Likewise.
36489         * io/statfs64.c: Likewise.
36490         * io/statvfs.c: Likewise.
36491         * io/statvfs64.c: Likewise.
36492         * io/symlink.c: Likewise.
36493         * io/symlinkat.c: Likewise.
36494         * io/ttyname.c: Likewise.
36495         * io/ttyname_r.c: Likewise.
36496         * io/umask.c: Likewise.
36497         * io/unlink.c: Likewise.
36498         * io/unlinkat.c: Likewise.
36499         * io/utime.c: Likewise.
36500         * io/utimensat.c: Likewise.
36501         * io/write.c: Likewise.
36502         * io/xmknod.c: Likewise.
36503         * io/xmknodat.c: Likewise.
36504         * io/xstat.c: Likewise.
36505         * io/xstat64.c: Likewise.
36506         * login/getpt.c: Likewise.
36507         * login/grantpt.c: Likewise.
36508         * login/unlockpt.c: Likewise.
36509         * math/e_acoshl.c: Likewise.
36510         * math/e_acosl.c: Likewise.
36511         * math/e_asinl.c: Likewise.
36512         * math/e_atan2l.c: Likewise.
36513         * math/e_atanhl.c: Likewise.
36514         * math/e_coshl.c: Likewise.
36515         * math/e_expl.c: Likewise.
36516         * math/e_fmodl.c: Likewise.
36517         * math/e_gammal_r.c: Likewise.
36518         * math/e_hypotl.c: Likewise.
36519         * math/e_j0l.c: Likewise.
36520         * math/e_j1l.c: Likewise.
36521         * math/e_jnl.c: Likewise.
36522         * math/e_lgammal_r.c: Likewise.
36523         * math/e_log10l.c: Likewise.
36524         * math/e_log2l.c: Likewise.
36525         * math/e_logl.c: Likewise.
36526         * math/e_powl.c: Likewise.
36527         * math/e_rem_pio2l.c: Likewise.
36528         * math/e_sinhl.c: Likewise.
36529         * math/e_sqrtl.c: Likewise.
36530         * math/fclrexcpt.c: Likewise.
36531         * math/fedisblxcpt.c: Likewise.
36532         * math/feenablxcpt.c: Likewise.
36533         * math/fegetenv.c: Likewise.
36534         * math/fegetexcept.c: Likewise.
36535         * math/fegetround.c: Likewise.
36536         * math/feholdexcpt.c: Likewise.
36537         * math/fesetenv.c: Likewise.
36538         * math/fesetround.c: Likewise.
36539         * math/feupdateenv.c: Likewise.
36540         * math/fgetexcptflg.c: Likewise.
36541         * math/fraiseexcpt.c: Likewise.
36542         * math/fsetexcptflg.c: Likewise.
36543         * math/ftestexcept.c: Likewise.
36544         * math/k_cosl.c: Likewise.
36545         * math/k_rem_pio2l.c: Likewise.
36546         * math/k_sinl.c: Likewise.
36547         * math/k_tanl.c: Likewise.
36548         * math/s_asinhl.c: Likewise.
36549         * math/s_atanl.c: Likewise.
36550         * math/s_cbrtl.c: Likewise.
36551         * math/s_erfl.c: Likewise.
36552         * math/s_expm1l.c: Likewise.
36553         * math/s_log1pl.c: Likewise.
36554         * math/s_tanhl.c: Likewise.
36555         * misc/acct.c: Likewise.
36556         * misc/brk.c: Likewise.
36557         * misc/chflags.c: Likewise.
36558         * misc/chroot.c: Likewise.
36559         * misc/fchflags.c: Likewise.
36560         * misc/fgetxattr.c: Likewise.
36561         * misc/flistxattr.c: Likewise.
36562         * misc/fremovexattr.c: Likewise.
36563         * misc/fsetxattr.c: Likewise.
36564         * misc/fsync.c: Likewise.
36565         * misc/ftruncate.c: Likewise.
36566         * misc/futimes.c: Likewise.
36567         * misc/futimesat.c: Likewise.
36568         * misc/getdomain.c: Likewise.
36569         * misc/getdtsz.c: Likewise.
36570         * misc/gethostid.c: Likewise.
36571         * misc/gethostname.c: Likewise.
36572         * misc/getloadavg.c: Likewise.
36573         * misc/getpagesize.c: Likewise.
36574         * misc/getsysstats.c: Likewise.
36575         * misc/getxattr.c: Likewise.
36576         * misc/gtty.c: Likewise.
36577         * misc/ioctl.c: Likewise.
36578         * misc/lgetxattr.c: Likewise.
36579         * misc/listxattr.c: Likewise.
36580         * misc/llistxattr.c: Likewise.
36581         * misc/lremovexattr.c: Likewise.
36582         * misc/lsetxattr.c: Likewise.
36583         * misc/lutimes.c: Likewise.
36584         * misc/madvise.c: Likewise.
36585         * misc/mincore.c: Likewise.
36586         * misc/mlock.c: Likewise.
36587         * misc/mlockall.c: Likewise.
36588         * misc/mmap.c: Likewise.
36589         * misc/mprotect.c: Likewise.
36590         * misc/msync.c: Likewise.
36591         * misc/munlock.c: Likewise.
36592         * misc/munlockall.c: Likewise.
36593         * misc/munmap.c: Likewise.
36594         * misc/preadv.c: Likewise.
36595         * misc/preadv64.c: Likewise.
36596         * misc/ptrace.c: Likewise.
36597         * misc/pwritev.c: Likewise.
36598         * misc/pwritev64.c: Likewise.
36599         * misc/readv.c: Likewise.
36600         * misc/reboot.c: Likewise.
36601         * misc/remap_file_pages.c: Likewise.
36602         * misc/removexattr.c: Likewise.
36603         * misc/revoke.c: Likewise.
36604         * misc/select.c: Likewise.
36605         * misc/setdomain.c: Likewise.
36606         * misc/setegid.c: Likewise.
36607         * misc/seteuid.c: Likewise.
36608         * misc/sethostid.c: Likewise.
36609         * misc/sethostname.c: Likewise.
36610         * misc/setregid.c: Likewise.
36611         * misc/setreuid.c: Likewise.
36612         * misc/setxattr.c: Likewise.
36613         * misc/sstk.c: Likewise.
36614         * misc/stty.c: Likewise.
36615         * misc/swapoff.c: Likewise.
36616         * misc/swapon.c: Likewise.
36617         * misc/sync.c: Likewise.
36618         * misc/syncfs.c: Likewise.
36619         * misc/syscall.c: Likewise.
36620         * misc/truncate.c: Likewise.
36621         * misc/ualarm.c: Likewise.
36622         * misc/usleep.c: Likewise.
36623         * misc/ustat.c: Likewise.
36624         * misc/utimes.c: Likewise.
36625         * misc/vhangup.c: Likewise.
36626         * misc/writev.c: Likewise.
36627         * posix/_exit.c: Likewise.
36628         * posix/alarm.c: Likewise.
36629         * posix/execve.c: Likewise.
36630         * posix/fexecve.c: Likewise.
36631         * posix/fork.c: Likewise.
36632         * posix/fpathconf.c: Likewise.
36633         * posix/getaddrinfo.c: Likewise.
36634         * posix/getegid.c: Likewise.
36635         * posix/geteuid.c: Likewise.
36636         * posix/getgid.c: Likewise.
36637         * posix/getgroups.c: Likewise.
36638         * posix/getlogin.c: Likewise.
36639         * posix/getlogin_r.c: Likewise.
36640         * posix/getpgid.c: Likewise.
36641         * posix/getpid.c: Likewise.
36642         * posix/getppid.c: Likewise.
36643         * posix/getresgid.c: Likewise.
36644         * posix/getresuid.c: Likewise.
36645         * posix/getsid.c: Likewise.
36646         * posix/getuid.c: Likewise.
36647         * posix/glob64.c: Likewise.
36648         * posix/nanosleep.c: Likewise.
36649         * posix/pathconf.c: Likewise.
36650         * posix/pause.c: Likewise.
36651         * posix/posix_madvise.c: Likewise.
36652         * posix/pread.c: Likewise.
36653         * posix/pread64.c: Likewise.
36654         * posix/pwrite.c: Likewise.
36655         * posix/pwrite64.c: Likewise.
36656         * posix/sched_getaffinity.c: Likewise.
36657         * posix/sched_getp.c: Likewise.
36658         * posix/sched_gets.c: Likewise.
36659         * posix/sched_primax.c: Likewise.
36660         * posix/sched_primin.c: Likewise.
36661         * posix/sched_rr_gi.c: Likewise.
36662         * posix/sched_setaffinity.c: Likewise.
36663         * posix/sched_setp.c: Likewise.
36664         * posix/sched_sets.c: Likewise.
36665         * posix/sched_yield.c: Likewise.
36666         * posix/setgid.c: Likewise.
36667         * posix/setlogin.c: Likewise.
36668         * posix/setpgid.c: Likewise.
36669         * posix/setresgid.c: Likewise.
36670         * posix/setresuid.c: Likewise.
36671         * posix/setsid.c: Likewise.
36672         * posix/setuid.c: Likewise.
36673         * posix/sleep.c: Likewise.
36674         * posix/spawni.c: Likewise.
36675         * posix/sysconf.c: Likewise.
36676         * posix/times.c: Likewise.
36677         * posix/wait.c: Likewise.
36678         * posix/wait3.c: Likewise.
36679         * posix/wait4.c: Likewise.
36680         * posix/waitpid.c: Likewise.
36681         * resolv/gai_sigqueue.c: Likewise.
36682         * resource/getpriority.c: Likewise.
36683         * resource/getrlimit.c: Likewise.
36684         * resource/getrusage.c: Likewise.
36685         * resource/nice.c: Likewise.
36686         * resource/setpriority.c: Likewise.
36687         * resource/setrlimit.c: Likewise.
36688         * resource/ulimit.c: Likewise.
36689         * rt/aio_cancel.c: Likewise.
36690         * rt/aio_fsync.c: Likewise.
36691         * rt/aio_read.c: Likewise.
36692         * rt/aio_sigqueue.c: Likewise.
36693         * rt/aio_suspend.c: Likewise.
36694         * rt/aio_write.c: Likewise.
36695         * rt/clock_getres.c: Likewise.
36696         * rt/clock_gettime.c: Likewise.
36697         * rt/clock_nanosleep.c: Likewise.
36698         * rt/clock_settime.c: Likewise.
36699         * rt/lio_listio.c: Likewise.
36700         * rt/mq_close.c: Likewise.
36701         * rt/mq_getattr.c: Likewise.
36702         * rt/mq_notify.c: Likewise.
36703         * rt/mq_open.c: Likewise.
36704         * rt/mq_receive.c: Likewise.
36705         * rt/mq_send.c: Likewise.
36706         * rt/mq_setattr.c: Likewise.
36707         * rt/mq_timedreceive.c: Likewise.
36708         * rt/mq_timedsend.c: Likewise.
36709         * rt/mq_unlink.c: Likewise.
36710         * rt/shm_open.c: Likewise.
36711         * rt/shm_unlink.c: Likewise.
36712         * rt/timer_create.c: Likewise.
36713         * rt/timer_delete.c: Likewise.
36714         * rt/timer_getoverr.c: Likewise.
36715         * rt/timer_gettime.c: Likewise.
36716         * rt/timer_settime.c: Likewise.
36717         * setjmp/__longjmp.c: Likewise.
36718         * setjmp/setjmp.c: Likewise.
36719         * signal/kill.c: Likewise.
36720         * signal/killpg.c: Likewise.
36721         * signal/raise.c: Likewise.
36722         * signal/sigaction.c: Likewise.
36723         * signal/sigaltstack.c: Likewise.
36724         * signal/sigblock.c: Likewise.
36725         * signal/sigignore.c: Likewise.
36726         * signal/sigintr.c: Likewise.
36727         * signal/signal.c: Likewise.
36728         * signal/sigpause.c: Likewise.
36729         * signal/sigpending.c: Likewise.
36730         * signal/sigqueue.c: Likewise.
36731         * signal/sigreturn.c: Likewise.
36732         * signal/sigset.c: Likewise.
36733         * signal/sigsetmask.c: Likewise.
36734         * signal/sigstack.c: Likewise.
36735         * signal/sigsuspend.c: Likewise.
36736         * signal/sigtimedwait.c: Likewise.
36737         * signal/sigvec.c: Likewise.
36738         * signal/sigwait.c: Likewise.
36739         * signal/sigwaitinfo.c: Likewise.
36740         * signal/sysv_signal.c: Likewise.
36741         * socket/accept.c: Likewise.
36742         * socket/accept4.c: Likewise.
36743         * socket/bind.c: Likewise.
36744         * socket/connect.c: Likewise.
36745         * socket/getpeername.c: Likewise.
36746         * socket/getsockname.c: Likewise.
36747         * socket/getsockopt.c: Likewise.
36748         * socket/isfdtype.c: Likewise.
36749         * socket/listen.c: Likewise.
36750         * socket/recv.c: Likewise.
36751         * socket/recvfrom.c: Likewise.
36752         * socket/recvmsg.c: Likewise.
36753         * socket/send.c: Likewise.
36754         * socket/sendmsg.c: Likewise.
36755         * socket/sendto.c: Likewise.
36756         * socket/setsockopt.c: Likewise.
36757         * socket/shutdown.c: Likewise.
36758         * socket/sockatmark.c: Likewise.
36759         * socket/socket.c: Likewise.
36760         * socket/socketpair.c: Likewise.
36761         * stdio-common/ctermid.c: Likewise.
36762         * stdio-common/cuserid.c: Likewise.
36763         * stdio-common/remove.c: Likewise.
36764         * stdio-common/rename.c: Likewise.
36765         * stdio-common/renameat.c: Likewise.
36766         * stdio-common/tempname.c: Likewise.
36767         * stdlib/getcontext.c: Likewise.
36768         * stdlib/makecontext.c: Likewise.
36769         * stdlib/setcontext.c: Likewise.
36770         * stdlib/swapcontext.c: Likewise.
36771         * stdlib/system.c: Likewise.
36772         * streams/fattach.c: Likewise.
36773         * streams/fdetach.c: Likewise.
36774         * streams/getmsg.c: Likewise.
36775         * streams/getpmsg.c: Likewise.
36776         * streams/putmsg.c: Likewise.
36777         * streams/putpmsg.c: Likewise.
36778         * sysdeps/unix/bsd/getpt.c: Likewise.
36779         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36780         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36781         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36783         Likewise.
36784         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36785         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36786         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36787         * sysvipc/msgctl.c: Likewise.
36788         * sysvipc/msgget.c: Likewise.
36789         * sysvipc/msgrcv.c: Likewise.
36790         * sysvipc/msgsnd.c: Likewise.
36791         * sysvipc/semctl.c: Likewise.
36792         * sysvipc/semget.c: Likewise.
36793         * sysvipc/semop.c: Likewise.
36794         * sysvipc/semtimedop.c: Likewise.
36795         * sysvipc/shmat.c: Likewise.
36796         * sysvipc/shmctl.c: Likewise.
36797         * sysvipc/shmdt.c: Likewise.
36798         * sysvipc/shmget.c: Likewise.
36799         * termios/tcdrain.c: Likewise.
36800         * termios/tcflow.c: Likewise.
36801         * termios/tcflush.c: Likewise.
36802         * termios/tcgetattr.c: Likewise.
36803         * termios/tcgetpgrp.c: Likewise.
36804         * termios/tcsendbrk.c: Likewise.
36805         * termios/tcsetattr.c: Likewise.
36806         * termios/tcsetpgrp.c: Likewise.
36807         * time/adjtime.c: Likewise.
36808         * time/clock.c: Likewise.
36809         * time/getitimer.c: Likewise.
36810         * time/gettimeofday.c: Likewise.
36811         * time/setitimer.c: Likewise.
36812         * time/settimeofday.c: Likewise.
36813         * time/stime.c: Likewise.
36814         * time/time.c: Likewise.
36816 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36818         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36819         /usr/old/bin.
36821         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36822         instead of spaces.
36823         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36825 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36827         [BZ #14796]
36828         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36829         FE_TONEAREST before applying Dekker multiplication and Knuth
36830         addition.  Clear inexact exceptions and check for exact zero
36831         results afterwards.
36832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36833         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36835         * math/libm-test.inc (fma_test): Add more tests.
36836         (fma_test_towardzero): Likewise.
36837         (fma_test_downward): Likewise.
36838         (fma_test_upward): Likewise.
36839         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36840         function.
36841         (libc_fesetround): New macro.
36842         (libc_fesetroundf): Likewise.
36843         (libc_fesetroundl): Likewise.
36844         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36845         function.
36846         (libc_fesetround_387): Likewise.
36847         (libc_fesetroundf): New macro.
36848         (libc_fesetround): Likewise.
36849         (libc_fesetroundl): Likewise.
36850         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36851         function.
36852         (libc_fesetroundf): New macro.
36853         (libc_fesetround): Likewise.
36854         (libc_fesetroundl): Likewise.
36855         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36856         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36857         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36858         libm_hidden_ver.
36859         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36860         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36861         libm_hidden_def.
36862         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36863         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36864         libm_hidden_ver.
36865         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36866         libm_hidden_def.
36868         [BZ #3439]
36869         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36870         integer constant usable in #if and use that to give value to enum
36871         constant.
36872         (FE_DIVBYZERO): Likewise.
36873         (FE_UNDERFLOW): Likewise.
36874         (FE_OVERFLOW): Likewise.
36875         (FE_INVALID): Likewise.
36876         (FE_INVALID_SNAN): Likewise.
36877         (FE_INVALID_ISI): Likewise.
36878         (FE_INVALID_IDI): Likewise.
36879         (FE_INVALID_ZDZ): Likewise.
36880         (FE_INVALID_IMZ): Likewise.
36881         (FE_INVALID_COMPARE): Likewise.
36882         (FE_INVALID_SOFTWARE): Likewise.
36883         (FE_INVALID_SQRT): Likewise.
36884         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36885         (FE_TONEAREST): Likewise.
36886         (FE_TOWARDZERO): Likewise.
36887         (FE_UPWARD): Likewise.
36888         (FE_DOWNWARD): Likewise.
36889         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36890         (FE_DIVBYZERO): Likewise.
36891         (FE_OVERFLOW): Likewise.
36892         (FE_UNDERFLOW): Likewise.
36893         (FE_INEXACT): Likewise.
36894         (FE_TONEAREST): Likewise.
36895         (FE_DOWNWARD): Likewise.
36896         (FE_UPWARD): Likewise.
36897         (FE_TOWARDZERO): Likewise.
36898         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36899         (FE_UNDERFLOW): Likewise.
36900         (FE_OVERFLOW): Likewise.
36901         (FE_DIVBYZERO): Likewise.
36902         (FE_INVALID): Likewise.
36903         (FE_TONEAREST): Likewise.
36904         (FE_TOWARDZERO): Likewise.
36905         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36906         (FE_OVERFLOW): Likewise.
36907         (FE_UNDERFLOW): Likewise.
36908         (FE_DIVBYZERO): Likewise.
36909         (FE_INEXACT): Likewise.
36910         (FE_TONEAREST): Likewise.
36911         (FE_TOWARDZERO): Likewise.
36912         (FE_UPWARD): Likewise.
36913         (FE_DOWNWARD): Likewise.
36914         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36915         (FE_DIVBYZERO): Likewise.
36916         (FE_OVERFLOW): Likewise.
36917         (FE_UNDERFLOW): Likewise.
36918         (FE_INEXACT): Likewise.
36919         (FE_TONEAREST): Likewise.
36920         (FE_DOWNWARD): Likewise.
36921         (FE_UPWARD): Likewise.
36922         (FE_TOWARDZERO): Likewise.
36924 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36926         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36928 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36930         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36931         commands.  Quote $PWD.
36932         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36933         -x" by "export".
36934         (remove_newlines): Remove.
36936 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36938         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36939         * stdlib/stdlib.h (atof): Moved to ...
36940         * include/bits/stdlib-float.h: Here.  New file.
36941         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36942         * stdlib/bits/stdlib-float.h: New file.
36943         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36944         -mno-sse -mno-mmx.
36945         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36946         <xmmintrin.h>.
36948 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36950         * conform/conformtest.pl (@headers): Add fenv.h.
36951         * conform/data/fenv.h-data: New file.
36952         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36953         include of <math/fenv.h>.
36955         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36956         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36957         && !UNIX98].  Enables tests for XOPEN2K8.
36958         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36959         POSIX2008]: Likewise.
36961         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36962         (struct rusage): Do not expect type or its members.
36964         [BZ #3439]
36965         * math/math.h (FP_NAN): Define macro to integer constant usable in
36966         #if and use that to give value to enum constant.
36967         (FP_INFINITE): Likewise.
36968         (FP_ZERO): Likewise.
36969         (FP_SUBNORMAL): Likewise.
36970         (FP_NORMAL): Likewise.
36972 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36974         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36975         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36976         arguments.
36978 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36980         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36981         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36982         autoconf-time if not.
36983         * configure.in: Remove AC_PREREQ.
36985 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36987         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36988         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36989         of the internal implementation.
36991 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36993         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36994         except include of <misc/sys/syslog.h>.
36996 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36999         function returns with a NULL context exit with zero.
37001 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37003         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37005 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37007         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37008         (run_program_cmd): This.
37009         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37010         (tst_langinfo): New variable.  Use it.
37012 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37014         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37015         floating point opcodes.
37017 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37019         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37020         variable.
37022         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37024         * sysdeps/mach/hurd/powerpc: Remove directory.
37025         * sysdeps/mach/powerpc: Likewise.
37027 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37029         * scripts/check-local-headers.sh: Ignore c++ headers.
37031 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37033         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37034         __libc_cleanup_region_start argument.
37036 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37038         [BZ #14784]
37039         [BZ #14785]
37040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37041         x * y using scaling, not as x * y + z.
37042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37043         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37044         * math/libm-test.inc (fma_test): Add more tests.
37045         (fma_test_towardzero): Likewise.
37046         (fma_test_downward): Likewise.
37047         (fma_test_upward): Likewise.
37049 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37051         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37053 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37055         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37056         New variable.
37058 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37060         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37062 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37065         Fix sort order.
37066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37067         Likewise.
37069 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37072         Fix the order of the list for glibc 2.17.
37073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37074         Likewise.
37076 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37080 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37082         [BZ #14610]
37083         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37084         for low part of x being zero before using __atanl (y).
37085         * math/libm-test.inc (atan2_test): Add another test.
37087         * manual/install.texi (Configuring and compiling): Document
37088         general use of test-wrapper and test-wrapper-env.
37089         * INSTALL: Regenerated.
37091         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37092         (__fma): 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-128/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         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37100         (__fmal): Do not extract and scale down low bits on after-rounding
37101         systems when result rounded to normal precision would have normal
37102         exponent.
37103         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37104         macro.
37105         (fma_test): Add more tests.
37106         (fma_test_towardzero): Likewise.
37107         (fma_test_downward): Likewise.
37108         (fma_test_upward): Likewise.
37110 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37112         * sysdeps/i386/tininess.h: Renamed to ...
37113         * sysdeps/x86/tininess.h: This.
37114         * sysdeps/x86_64/tininess.h: Removed.
37116 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37118         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37119         input.  Use $(build-program-cmd).
37120         ($(objpfx)tst-array1-static.out): Likewise.
37121         ($(objpfx)tst-array2.out): Likewise.
37122         ($(objpfx)tst-array3.out): Likewise.
37123         ($(objpfx)tst-array4.out): Likewise.
37124         ($(objpfx)tst-array5.out): Likewise.
37125         ($(objpfx)tst-array5-static.out): Likewise.
37127 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37129         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37130         if defined.
37132         * nss/nsswitch.h (nss_interface_function): Provide new
37133         macro for use with NSS functions.
37134         * grp/initgroups.c: Use new macro.
37135         * nss/getXXbyYY.c: Likewise.
37136         * nss/getXXbyYY_r.c: Likewise.
37137         * nss/getXXent.c: Likewise.
37138         * nss/getXXent_r.c: Likewise.
37139         * sysdeps/posix/getaddrinfo.c: Likewise.
37141 2012-10-30  Andreas Jaeger  <aj@suse.de>
37143         * po/ru.po: Update Russion translation from translation project.
37145 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37147         [BZ #14152]
37148         [BZ #14783]
37149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37150         result and shift together with sticky bit instead of replicating
37151         round-to-nearest rounding.
37152         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37153         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37154         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37155         missing underflow exceptions.
37156         (fma_test_towardzero): Add more tests.
37157         (fma_test_downward): Likewise.
37158         (fma_test_upward): Likewise.
37160         [BZ #14047]
37161         * sysdeps/generic/tininess.h: New file.
37162         * sysdeps/i386/tininess.h: Likewise.
37163         * sysdeps/sh/tininess.h: Likewise.
37164         * sysdeps/x86_64/tininess.h: Likewise.
37165         * stdlib/tst-strtod-underflow.c: Likewise.
37166         * stdlib/tst-tininess.c: Likewise.
37167         * stdlib/strtod_l.c: Include <tininess.h>.
37168         (round_and_return): Do not set errno for exact underflow cases.
37169         Force an underflow exception when setting errno for underflow.
37170         Determine underflow based on rounding to normal precision if
37171         TININESS_AFTER_ROUNDING.
37172         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37173         ERANGE for exact underflow cases.
37174         * stdlib/Makefile (tests): Add tst-tininess and
37175         tst-strtod-underflow.
37176         ($(objpfx)tst-tininess): Use $(link-libm).
37177         ($(objpfx)tst-strtod-underflow): Likewise.
37179 2012-10-30  Andreas Jaeger  <aj@suse.de>
37181         [BZ#14767]
37182         * elf/Makefile (tests): Remove conditional for have-initfini-array
37183         since this is now always required and the variable does not exist
37184         anymore.
37185         (tests-static): Likewise.
37186         (modules-names): Likewise.
37188         * po/eo.po: Add Esperanto translation from translation project.
37190         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37191         merged with constructor/destructor.
37192         (init_array): Likewise.
37193         * elf/tst-array2dep.c (fini_array): Likewise.
37194         (init_array): Likewise.
37196 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37198         * manual/message.texi: Delete @cartouche tags.
37200 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37202         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37203         EOPNOTSUPP.
37204         * sysdeps/mach/hurd/fsync.c: Likewise.
37206         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37207         [_POSIX_REALTIME_SIGNALS]: Change condition to
37208         [_POSIX_REALTIME_SIGNALS > 0].
37210 2012-10-27  Andreas Jaeger  <aj@suse.de>
37212         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37213         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37215         [__WORDSIZE != 64]: Likewise.
37217 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37219         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37220         *  iconvdata/tst-tables.sh: Likewise.
37222 2012-10-25  David S. Miller  <davem@davemloft.net>
37224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37225         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37226         of strtoull.
37228         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37229         ifunc-impl-list.c
37230         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37231         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37232         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37233         file.
37235 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37237         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37238         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37239         __getdirentries.
37241 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37242             Jim Blandy  <jimb@codesourcery.com>
37244         * scripts/cross-test-ssh.sh: New file.
37245         * manual/install.texi (Configuring and compiling): Document use of
37246         cross-test-ssh.sh.
37247         * INSTALL: Regenerated.
37249 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37251         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37252         EOPNOTSUPP.
37254 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37256         * Makeconfig (run-program-prefix): Fix comment.
37258 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37259             Jim Blandy  <jimb@codesourcery.com>
37261         * Makeconfig (test-wrapper): New variable,
37262         (test-wrapper-env): Likewise.
37263         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37264         (run-built-tests): Define to yes.
37265         (run-program-prefix): Use $(test-wrapper).
37266         (built-program-cmd): Likewise.
37267         * Rules (make-test-out): Use $(test-wrapper-env) and
37268         $(host-built-program-cmd).
37269         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37270         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37271         tst-pathopt.sh.
37272         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37273         $(test-wrapper-env) to tst-rtld-load-self.sh.
37274         ($(objpfx)order2.out): Use $(test-wrapper).
37275         ($(objpfx)tst-initorder.out): Likewise.
37276         ($(objpfx)tst-initorder2.out): Likewise.
37277         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37278         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37279         (test_wrapper_env): New variable.  Use it to run ld.so.
37280         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37281         Use it to run ld.so.
37282         (test_wrapper_env): Likewise.
37283         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37284         $(test-wrapper) to run-iconv-test.sh.
37285         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37286         (ICONV): Use $test_wrapper.
37287         * posix/Makefile ($(objpfx)globtest.out): Pass
37288         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37289         globtest.sh, not $(run-program-prefix).
37290         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37291         (test_wrapper): Likewise.
37292         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37293         set together with run_via_rtld_prefix.
37294         (run_program_prefix): Define in terms of test_wrapper and
37295         run_via_rtld_prefix.
37297 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37299         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37300         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37301         Targets removed.
37303         [BZ #14743]
37304         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37305         Declare __clock_getres, __clock_gettime, __clock_settime,
37306         __clock_nanosleep, and __clock_getcpuclockid.
37307         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37308         Remove librt_hidden_def (clock_gettime).
37309         * sysdeps/unix/clock_gettime.c: Likewise.
37310         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37311         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37312         * rt/clock_getres.c: Define __clock_getres as an alias.
37313         * sysdeps/posix/clock_getres.c: Likewise.
37314         * rt/clock_settime.c: Define __clock_settime as an alias.
37315         * sysdeps/unix/clock_settime.c: Likewise.
37316         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37317         * sysdeps/unix/clock_nanosleep.c: Likewise.
37318         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37319         * rt/clock-compat.c: New file.
37320         * rt/Makefile (librt-routines): Add clock-compat and move
37321         $(clock-routines) to ...
37322         (routines): ... here, new variable.
37323         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37324         Don't add get_clockfreq here.
37325         * rt/Versions (libc: GLIBC_2.17): New version set.
37326         Add clock_* symbols here.
37327         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37328         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37329         (GLIBC_2.17): Add clock_* symbols.
37330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37332         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37334         Likewise.
37335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37336         Likewise.
37337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37341         * NEWS: Mention the move.
37343         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37344         Use __open, __read, __close rather than their public counterparts.
37345         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37346         (__get_clockfreq_via_cpuinfo): Likewise.
37347         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37348         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37350         * config.h.in (HAVE_IFUNC): New #undef.
37351         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37352         was successful.
37353         * configure: Regenerated.
37355 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37357         * configure.in: Move READELF check to start of file.
37358         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37359         libc_cv_asm_gnu_indirect_function in the process.
37360         * configure: Regenerated.
37362 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37364         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37365         send the output to /dev/null.
37366         (libc_cv_cc_with_libunwind): Likewise.
37367         (libc_cv_as_noexecstack): Likewise.
37368         * configure: Regenerate.
37370 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37372         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37374         * posix/globtest.sh (TMPDIR): Do not set.
37375         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37376         (testout): Likewise.
37378 2012-10-24  Andreas Jaeger  <aj@suse.de>
37380         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37381         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37382         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37383         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37384         posix_fadvise64, posix_fallocate64.
37386         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37387         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37388         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37389         Likewise.
37390         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37391         Likewise.
37392         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37395         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37396         <bits/fcntl-linux.h>.
37397         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37399         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37400         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37401         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37402         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37403         [__WORDSIZE != 64]: Likewise.
37405 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37407         * Makeconfig (run-built-tests): New variable.
37408         * Rules [$(cross-compiling) = yes]: Change condition to
37409         [$(run-built-tests) = no].
37410         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37411         to [$(run-built-tests) = yes].
37412         * elf/Makefile [$(cross-compiling) = no]: Likewise
37413         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37414         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37415         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37416         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37417         * io/Makefile [$(cross-compiling) = no]: Likewise.
37418         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37419         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37420         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37421         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37422         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37423         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37424         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37425         * string/Makefile [$(cross-compiling) = no]: Likewise.
37427         * posix/Makefile ($(objpfx)globtest.out): Pass
37428         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37429         $(rtld-installed-name).
37430         * posix/globtest.sh (elf_objpfx): Remove variable.
37431         (rtld_installed_name): Likewise.
37432         (library_path): Likewise.
37433         (run_program_prefix): New variable.  Use for running globtest
37434         binary.
37436 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37437             Joseph Myers  <joseph@codesourcery.com>
37439         * Makeconfig (host-built-program-cmd): New variable.
37440         * elf/Makefile (tst-stackguard1-ARGS): Use
37441         $(host-built-program-cmd).
37442         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37443         (tst-spawn-ARGS): Likewise.
37444         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37446 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37447             Jim Blandy  <jimb@codesourcery.com>
37449         * Makeconfig (run-via-rtld-prefix): New variable.
37450         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37451         (built-program-cmd): Likewise.
37453 2012-10-22  Andreas Jaeger  <aj@suse.de>
37455         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37456         __O_RSYNC if it exists, otherwise to O_SYNC.
37458 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37459             Joseph Myers  <joseph@codesourcery.com>
37461         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37462         /dev/null.
37463         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37464         from /dev/null
37465         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37466         /dev/null.
37468 2012-10-22  Andreas Jaeger  <aj@suse.de>
37470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37471         Define always.
37472         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37475         bits/fcntl-linux.h.
37477         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37478         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37481         to __O_LARGEFILE.
37482         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37483         to __O_LARGEFILE.
37485 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37486             Joseph Myers  <joseph@codesourcery.com>
37488         * config.make.in (NM): New variable.
37490 2012-10-21  Andreas Jaeger  <aj@suse.de>
37492         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37493         definitions and declarations that are provided by
37494         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37496 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37498         [BZ #14683]
37499         * elf/Makefile (tests-static): Add tst-leaks1-static.
37500         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37501         ($(objpfx)tst-leaks1-static): New rule.
37502         ($(objpfx)tst-leaks1-static-mem): Likewise.
37503         (tst-leaks1-static-ENV): New macro.
37504         * elf/dl-open.c (dl_open_worker): Check the main application
37505         only if SHARED is defined.
37506         * elf/tst-leaks1-static.c: New file.
37508 2012-10-20  Andreas Jaeger  <aj@suse.de>
37510         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37511         generic values for Linux.
37512         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37513         and declarations that are provided by <bits/fcntl-linux.h> and
37514         include <bits/fcntl-linux.h>.
37515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37518 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37520         * io/fcntl.h: Move include of <bits/types.h> to the top and
37521         include it unconditionally.
37523 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37525         * wcsmbs/Makefile (tests-ifunc): New variable.
37526         (tests): Add $(tests-ifunc).
37527         * wcsmbs/test-wcschr-ifunc.c: New file.
37528         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37529         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37530         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37531         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37532         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37534         * string/Makefile (tests-ifunc): New variable.
37535         (tests): Add $(tests-ifunc).
37536         * string/test-memccpy.c (TEST_NAME): New macro.
37537         * string/test-memchr.c (TEST_NAME): Likewise.
37538         * string/test-memcmp.c (TEST_NAME): Likewise.
37539         * string/test-memcpy.c (TEST_NAME): Likewise.
37540         * string/test-memmem.c (TEST_NAME): Likewise.
37541         * string/test-memmove.c (TEST_NAME): Likewise.
37542         * string/test-memset.c (TEST_NAME): Likewise.
37543         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37544         * string/test-stpcpy.c (TEST_NAME): Likewise.
37545         * string/test-stpncpy.c (TEST_NAME): Likewise.
37546         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37547         * string/test-strcasestr.c (TEST_NAME): Likewise.
37548         * string/test-strcat.c (TEST_NAME): Likewise.
37549         * string/test-strchr.c (TEST_NAME): Likewise.
37550         * string/test-strcmp.c(TEST_NAME): Likewise.
37551         * string/test-strcpy.c (TEST_NAME): Likewise.
37552         * string/test-strcspn.c (TEST_NAME): Likewise.
37553         * string/test-strlen.c (TEST_NAME): Likewise.
37554         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37555         * string/test-strncmp.c (TEST_NAME): Likewise.
37556         * string/test-strncpy.c (TEST_NAME): Likewise.
37557         * string/test-strnlen.c (TEST_NAME): Likewise.
37558         * string/test-strpbrk.c (TEST_NAME): Likewise.
37559         * string/test-strrchr.c (TEST_NAME): Likewise.
37560         * string/test-strspn.c (TEST_NAME): Likewise.
37561         * string/test-strstr.c (TEST_NAME): Likewise.
37562         * string/test-bcopy-ifunc.c: New file.
37563         * string/test-bzero-ifunc.c: Likewise.
37564         * string/test-memccpy-ifunc.c: Likewise.
37565         * string/test-memchr-ifunc.c: Likewise.
37566         * string/test-memcmp-ifunc.c: Likewise.
37567         * string/test-memcpy-ifunc.c: Likewise.
37568         * string/test-memmem-ifunc.c: Likewise.
37569         * string/test-memmove-ifunc.c: Likewise.
37570         * string/test-mempcpy-ifunc.c: Likewise.
37571         * string/test-memset-ifunc.c: Likewise.
37572         * string/test-rawmemchr-ifunc.c: Likewise.
37573         * string/test-stpcpy-ifunc.c: Likewise.
37574         * string/test-stpncpy-ifunc.c: Likewise.
37575         * string/test-strcasecmp-ifunc.c: Likewise.
37576         * string/test-strcasestr-ifunc.c: Likewise.
37577         * string/test-strcat-ifunc.c: Likewise.
37578         * string/test-strchr-ifunc.c: Likewise.
37579         * string/test-strchrnul-ifunc.c: Likewise.
37580         * string/test-strcmp-ifunc.c: Likewise.
37581         * string/test-strcpy-ifunc.c: Likewise.
37582         * string/test-strcspn-ifunc.c: Likewise.
37583         * string/test-strlen-ifunc.c: Likewise.
37584         * string/test-strncasecmp-ifunc.c: Likewise.
37585         * string/test-strncat-ifunc.c: Likewise.
37586         * string/test-strncmp-ifunc.c: Likewise.
37587         * string/test-strncpy-ifunc.c: Likewise.
37588         * string/test-strnlen-ifunc.c: Likewise.
37589         * string/test-strpbrk-ifunc.c: Likewise.
37590         * string/test-strrchr-ifunc.c: Likewise.
37591         * string/test-strspn-ifunc.c: Likewise.
37592         * string/test-strstr-ifunc.c: Likewise.
37594         * debug/Makefile (tests-ifunc): New variable.
37595         (tests): Add $(tests-ifunc).
37596         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37597         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37598         * debug/test-stpcpy_chk-ifunc.c: New file.
37599         * debug/test-strcpy_chk-ifunc.c: Likewise.
37601 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37603         [BZ #13601]
37604         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37605         header is not read in.
37607 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37609         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37610         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37611         directly.  Pass built executable to script as
37612         $(built-program-cmd).
37613         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37614         $testprogram without using LD_LIBRARY_PATH and $ldso.
37616         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37617         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37618         $(rtld-installed-name).
37619         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37620         (rtld_installed_name): Likewise.
37621         (library_path): Likewise.
37622         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37623         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37624         $(run-program-prefix) to tst-tables.sh.
37625         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37626         it to run tst-table-from and tst-table-to.
37627         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37628         Pass it to tst-table.sh.
37629         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37630         $(run-program-prefix) to tst-gettext.sh.
37631         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37632         tst-translit.sh.
37633         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37634         tst-gettext2.sh.
37635         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37636         to run tst-gettext.
37637         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37638         to run tst-gettext2.
37639         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37640         to run tst-translit.
37641         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37642         $(run-program-prefix) to tst-mtrace.sh.
37643         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37644         to run tst-mtrace.
37645         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37646         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37647         $(rtld-installed-name).
37648         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37649         (rtld_installed_name): Likewise.
37650         (run_program_prefix): New variable.  Use it to run wordexp-test.
37652         * Makeconfig (ARCH): Remove all definitions.
37653         (machine): Likewise.
37654         [ARCH]: Remove conditional code.
37655         [!objdir]: Give error.
37656         [!objdir] (objpfx): Remove.
37657         [!objdir] (common-objpfx): Likewise.
37658         [!objdir] (common-objdir): Likewise.
37659         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37660         AC_CONFIG_FILES call.
37661         * configure: Regenerated.
37663         [BZ #13888]
37664         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37665         or TMPDIR.
37666         (testout): Likewise.
37668         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37669         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37670         $(rtld-installed-name).
37671         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37672         (rtld_installed_name): Likwise.
37673         (runit): Remove function.
37674         (run_getconf): New variable,  Use it for running getconf binary.
37676 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37678         [BZ #14716]
37679         * string/test-memmem.c (check_result): New function.
37680         (do_one_test): Use it.
37681         (check1): New function.
37682         (test_main): Use it.
37684 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37686         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37688 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37690         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37691         (_G_LSEEK64): Likewise.
37692         (_G_MMAP64): Likewise.
37693         (_G_FSTAT64): Likewise.
37694         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37695         (_G_LSEEK64): Likewise.
37696         (_G_MMAP64): Likewise.
37697         (_G_FSTAT64): Likewise.
37698         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37699         unconditional.  Call __mmap64 directly.
37700         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37701         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37702         __lseek64 directly.
37703         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37704         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37705         __mmap64 directly.
37706         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37707         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37708         __lseek64 directly.
37709         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37710         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37711         __lseek64 directly.
37712         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37713         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37714         __lseek64 directly.
37715         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37716         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37717         __fxstat64 directly.
37718         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37719         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37720         unconditional.
37721         (freopen64) [!_G_OPEN64]: Remove conditional code.
37722         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37723         unconditional.
37724         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37725         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37726         unconditional.
37727         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37728         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37729         unconditional.
37730         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37731         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37732         unconditional.
37733         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37734         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37735         unconditional.
37736         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37737         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37738         unconditional.
37739         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37740         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37741         unconditional.
37742         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37744 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37746         [BZ #12140]
37747         * manual/memory.texi (Malloc Tunable Parameters): Add note
37748         about free list pointers overwriting some perturb bytes.
37749         Wording suggested by Roland McGrath.
37751 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37753         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37754         (lgamma_test): Likewise.
37755         (tgamma_test): Likewise.
37757 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37759         [BZ #14700]
37760         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37761         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37763 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37765         * NEWS: Mention BZ #14716.
37766         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37767         when removing AVAILABLE1_USES_J macro.
37769 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37771         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37772         (__bswap_64): __uint64_t for unsigned 64-bit int.
37774 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37776         * include/string.h (memmem): Declare libc hidden alias.
37777         * string/memmem.c (memmem): Define libc hidden alias.
37778         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37779         __read, __close instead of open, read, close.
37781 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37784         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37785         global and hidden.
37786         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37787         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37788         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37789         Likewise.
37790         (__rawmemchr_sse2): Likewise.
37791         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37792         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37793         (__strchr_sse2): Likewise.
37794         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37795         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37796         (__strcasecmp_sse2): Likewise.
37797         (__strncasecmp_sse2): Likewise.
37798         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37799         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37800         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37801         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37802         (__strrchr_sse2): Likewise.
37803         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37804         ifunc-impl-list.c.
37805         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37806         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37807         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37808         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37809         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37810         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37811         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37812         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37813         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37814         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37815         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37816         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37817         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37818         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37819         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37820         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37821         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37822         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37823         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37824         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37825         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37826         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37827         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37828         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37829         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37830         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37831         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37832         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37833         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37834         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37836         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37837         global and hidden.
37838         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37839         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37840         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37841         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37842         Likewise.
37843         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37844         Likewise.
37845         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37846         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37847         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37848         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37849         ifunc-impl-list.c.
37850         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37851         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37852         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37853         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37854         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37855         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37856         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37857         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37858         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37859         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37860         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37861         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37862         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37863         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37864         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37865         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37866         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37867         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37868         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37869         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37870         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37871         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37872         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37873         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37874         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37875         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37876         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37877         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37878         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37879         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37880         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37881         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37882         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37883         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37884         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37885         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37886         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37887         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37888         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37889         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37890         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37892         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37893         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37894         * include/ifunc-impl-list.h: New file.
37895         * misc/ifunc-impl-list.c: Likewise.
37896         * misc/Makefile (routines): Add ifunc-impl-list.
37897         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37898         * string/test-string.h: Include <ifunc-impl-list.h>.
37899         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37900         TEST_NAME]: New variables.
37901         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37902         are defined.
37903         (test_init): Call __libc_ifunc_impl_list to initialize
37904         func_list if TEST_IFUNC and TEST_NAME are defined.
37906         * string/Makefile (strop-tests): Add bcopy and bzero.
37907         * string/test-bcopy.c: New file.
37908         * string/test-bzero.c: Likewise.
37909         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37910         defined.
37911         * string/test-memset.c: Support bzero test if TEST_BZERO is
37912         defined.
37913         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37914         __libc_memmove.
37915         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37916         __libc_memset.
37917         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37918         of memset.
37920 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37922         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37923         * configure: Regenerated.
37925         * Makeconfig (+link-static-before-libc): Don't include
37926         $(link-static-libc).
37928         * libio/libio.h (_IO_pos_t): Remove.
37930 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37932         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37933         McGrath.
37935 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37937         * crypt/crypt-entry.c: Include fips-private.h.
37938         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37939         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37940         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37941         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37943 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37945         * crypt/crypt-private.h: Include stdbool.h.
37946         (_ufc_setup_salt_r): Return bool.
37947         * crypt/crypt-entry.c: Include errno.h.
37948         (__crypt_r): Return NULL with EINVAL for bad salt.
37949         * crypt/crypt_util.c (bad_for_salt): New.
37950         (_ufc_setup_salt_r): Check that salt is long enough and within
37951         the specified alphabet.
37952         * crypt/badsalttest.c: New file.
37953         * crypt/Makefile (tests): Add it.
37954         ($(objpfx)badsalttest): New.
37956 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37958         * NEWS: Add entry for BZ #14602.
37960 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37962         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37963         type-generic.
37964         * math/libm-test.inc: Update comment listing what functions and
37965         macros are tested.
37966         (isgreater_test): New function.
37967         (isgreaterequal_test): Likewise.
37968         (isless_test): Likewise.
37969         (islessequal_test): Likewise.
37970         (islessgreater_test): Likewise.
37971         (isunordered_test): Likewise.
37972         (main): Call the new functions.
37974 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37976         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37977         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37978         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37979         * sysdeps/i386/configure: Regenerated.
37980         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37981         * sysdeps/mach/configure: Regenerated.
37982         * sysdeps/mach/hurd/configure: Regenerated.
37983         * sysdeps/powerpc/configure: Regenerated.
37984         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37985         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37986         * sysdeps/s390/s390-32/configure: Regenerated.
37987         * sysdeps/s390/s390-64/configure: Regenerated.
37988         * sysdeps/sh/configure: Regenerated.
37989         * sysdeps/sparc/configure: Regenerated.
37990         * sysdeps/unix/sysv/linux/configure: Regenerated.
37991         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37992         * sysdeps/x86_64/configure: Regenerated.
37994         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37995         defined.  Don't check if MAP is NULL.
37997 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37999         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38000         (_G_stat64): Likewise.
38001         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38002         (_G_stat64): Likewise.
38003         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38004         instead of struct _G_stat64.
38005         * libio/fileops.c (mmap_remap_check): Likewise.
38006         (decide_maybe_mmap): Likewise.
38007         (_IO_new_file_seekoff): Likewise.
38008         (_IO_file_stat): Likewise.
38009         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38010         _G_off64_t.
38011         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38012         instead of struct _G_stat64.
38013         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38015 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38017         [BZ #14602]
38018         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38019         Replace with ...
38020         (CHECK_EOL): New macro.
38021         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38022         CHECK_EOL.
38023         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38024         Replace with CHECK_EOL.
38025         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38026         Replace with CHECK_EOL.
38028 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38030         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38031         type-generic.
38032         * math/libm-test.inc: Update comment listing what functions and
38033         macros are tested.
38034         (finite_test): New function.
38035         (isinf_test): Likewise.
38036         (isnan_test): Likewise.
38037         (fpclassify_test): Test subnormal input.
38038         (isfinite_test): Likewise.
38039         (isnormal_test): Likewise.
38040         (main): Call the new functions.
38042 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38044         [BZ #14660]
38045         * Makerules (%.dynsym): Force C locale when running
38046         $(OBJDUMP) --dynamic-syms.
38048 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38050         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38051         <stdint.h>.
38053 2012-10-06  David S. Miller  <davem@davemloft.net>
38055         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38056         upper 32-bits of the length value in %o2 since we use branch-on-register
38057         tests which consider the entire 64-bit register.
38059 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38061         * string/test-strstr.c (check2): Add a test for page boundary.
38063 2012-10-05  David S. Miller  <davem@davemloft.net>
38065         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38066         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38067         file.
38068         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38069         sysdep_routines.
38070         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38071         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38072         and bzero when HWCAP_SPARC_CRYPTO is present.
38074 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38076         [BZ #14602]
38077         * string/test-strstr.c (check2): New function.
38078         (test_main): Call check2.
38080         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38081         and bug-strchr1.
38082         * string/bug-strcasestr1.c (do_test): Moved to ...
38083         * string/test-strcasestr.c (check1): Here.  New function.
38084         (do_one_test): Break out result checking code into ...
38085         (check_result): This.  New function.
38086         (do_one_test): Call check_result.
38087         (test_main): Call check1.
38088         * string/bug-strchr1.c (do_test): Moved to ...
38089         * string/test-strchr.c (check1): Here.  New function.
38090         (do_one_test): Break out result checking code into ...
38091         (check_result): This.  New function.
38092         (do_one_test): Call check_result.
38093         (test_main): Call check1.
38094         * string/bug-strstr1.c (main): Moved to ...
38095         * string/test-strstr.c (check1): Here.  New function.
38096         (do_one_test): Break out result checking code into ...
38097         (check_result): This.  New function.
38098         (do_one_test): Call check_result.
38099         (test_main): Call check1.
38100         * string/bug-strcasestr1.c: Removed.
38101         * string/bug-strchr1.c: Likewise.
38102         * string/bug-strstr1.c: Likewise.
38104         * elf/Makefile (dl-routines): Add hwcaps.
38105         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38106         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38107         (_dl_important_hwcaps): Moved to ...
38108         * elf/dl-hwcaps.c: Here.  New file.
38109         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38111         [BZ #14557]
38112         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38113         if IS_IN_rtld isn't defined.
38115         * elf/dl-support.c (_dl_sysinfo_map): New.
38116         Include "get-dynamic-info.h" and "setup-vdso.h".
38117         (_dl_non_dynamic_init): Call setup_vdso.
38118         * elf/dynamic-link.h: Don't include <assert.h>.
38119         (elf_get_dynamic_info): Moved to ...
38120         * elf/get-dynamic-info.h: Here.  New file.
38121         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38122         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38123         * elf/setup-vdso.h: Here.  New file.
38124         * elf/rtld.c: Include "setup-vdso.h".
38125         (dl_main): Call setup_vdso.
38127 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38129         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38130         creal in comment listing functions tested.  List finite, isinf,
38131         isnan, isless, islessequal, isgreater, isgreaterequal,
38132         islessgreater, isunordered, lgamma_r and pow10 as functions and
38133         macros not tested.  Mention which functions not tested are aliases
38134         for other functions.  Fix typo.  Note that signs of NaNs are not
38135         tested.
38137         * scripts/config.guess: Update from config.git.
38138         * scripts/config.sub: Likewise.
38140 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38142         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38143         * misc/madvise.c (madvise): Renamed to __madvise.
38144         Make madvise a weak alias.
38145         * include/sys/mman.h: Declare __madvise.
38146         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38147         * sysdeps/unix/syscalls.list
38148         (madvise): Make __madvise the strong name, and madvise a weak alias.
38149         * sysdeps/unix/sysv/linux/syscalls.list
38150         (madvise, mmap): Remove redundant entries.
38151         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38152         * malloc/malloc.c (mtrim): Likewise.
38153         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38155 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38157         * sysdeps/mach/hurd/dl-cache.c: File removed.
38158         * config.h.in (USE_LDCONFIG): New #undef.
38159         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38160         * configure: Regenerated.
38161         * elf/Makefile (dl-routines): Add dl-cache only under
38162         [$(use-ldconfig) = yes].
38163         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38164         cache on [USE_LDCONFIG].
38165         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38166         [USE_LDCONFIG].
38167         * elf/rtld.c (dl_main): Likewise.
38169 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38171         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38172         _SC_LEVEL4_CACHE_LINESIZE.
38174 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38176         * sysdeps/unix/bsd/confstr.h: File removed.
38178 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38180         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38181         sys/sdt-config.h.
38183 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38185         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38186         Make 'mapoff' field ElfW(Off) rather than off_t.
38188 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38190         * nscd/Makefile: Remove nscd-cflags and all its users.
38191         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38192         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38194         [BZ #10631]
38195         * malloc.c (malloc_printerr): Clarify error message.
38197 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38199         [BZ #14648]
38200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38201         Set bit_FMA_Usable if FMA is supported.
38202         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38203         macro.
38204         (bit_FMA4_Usable): Updated.
38205         (index_FMA_Usable): New macro.
38206         (CPUID_FMA): Likewise
38207         (HAS_FMA): Defined with bit_FMA_Usable.
38209 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38211         * bits/types.h (__swblk_t): Type removed.
38212         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38213         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38215         (__SWBLK_T_TYPE): Likewise.
38216         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38217         (__SWBLK_T_TYPE): Likewise.
38218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38219         (__SWBLK_T_TYPE): Likewise.
38220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38221         (__SWBLK_T_TYPE): Likewise.
38223 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38224             Honza Horak <hhorak@redhat.com>
38226         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38227         (xdr_mapname): Use YPMAXMAP as maxsize.
38228         (xdr_peername): Use YPMAXPEER as maxsize.
38229         (xdr_keydat): Use YPAXRECORD as maxsize.
38230         (xdr_valdat): Use YPMAXRECORD as maxsize.
38232 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38234         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38236         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38237         * csu/init-first.c: ... here.
38238         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38239         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38240         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38241         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38242         * sysdeps/i386/init-first.c: File removed.
38243         * sysdeps/sh/init-first.c: File removed.
38245 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38247         [BZ #14645]
38248         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38249         if x * y might underflow to zero and z is zero.
38250         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38251         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38252         * math/libm-test.inc (min_subnorm_value): New variable.
38253         (fma_test): Add more tests.
38254         (fma_test_towardzero): Likewise.
38255         (fma_test_downward): Likewise
38256         (fma_test_upward): Likewise.
38257         (initialize): Set min_subnorm_value.
38259 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38261         [BZ #14638]
38262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38263         0 + 0.
38264         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38265         mode for addition resulting in exact zero.
38266         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38268         exact 0 + 0.
38269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38271         * math/libm-test.inc (fma_test): Add more tests.
38272         (fma_test_towardzero): New function.
38273         (fma_test_downward): Likewise.
38274         (fma_test_upward): Likewise.
38275         (main): Call the new functions.
38277 2012-09-28  David S. Miller  <davem@davemloft.net>
38279         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38281 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38283         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38284         instead of SIGALRM.
38286         * sysdeps/gnu/_G_config.h: Moved to ...
38287         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38288         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38289         * sysdeps/generic/_G_config.h: ... here.
38291         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38293         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38295         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38296         Conditionalize target on [libnss_test1.so-version].
38298         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38300         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38301         (elfobjdir): Move out of conditionals.
38303         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38304         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38305         (__nss_lookup_function): Conditionalize label remove_from_tree on
38306         [!DO_STATIC_NSS || SHARED], matching its only use.
38308 2012-09-28  David S. Miller  <davem@davemloft.net>
38310         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38311         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38312         file.
38313         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38314         sysdep_routines.
38315         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38316         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38317         when HWCAP_SPARC_CRYPTO is present.
38319 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38321         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38323 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38325         [BZ #6530]
38326         * stdio-common/vfprintf.c (process_string_arg): Revert
38327         2000-07-22 change.
38329 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38331         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38332         for testcase.
38333         * stdio-common/tst-sprintf.c: Include <locale.h>
38334         (main): Test sprintf's handling of incomplete multibyte
38335         characters.
38337 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38339         * elf/dl-runtime.c (VERSYMIDX): Removed.
38340         * elf/dl-version.c (VERSYMIDX): Likewise.
38341         * elf/do-rel.h (VERSYMIDX): Likewise.
38342         (VALIDX): Likewise.
38343         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38344         * elf/rtld.c (VALIDX): Likewise.
38345         (ADDRIDX): Likewise.
38346         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38347         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38348         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38349         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38350         (VALIDX): Likewise.
38351         (ADDRIDX): Likewise.
38353 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38355         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38357 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38359         [BZ #11438]
38360         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38361         to global scope.
38362         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38363         addresses are in the same scope as 192.0.2/24.
38364         * posix/gai.conf: Document new scope table defaults.
38366 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38368         [BZ #5298]
38369         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38370         for ftell.  Compute offsets from write pointers instead.
38371         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38373 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38375         [BZ #14543]
38376         * libio/Makefile (tests): New test case tst-fseek.
38377         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38378         combination works in wide mode.
38379         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38380         state when the external buffer state changes.
38382 2012-09-27  David S. Miller  <davem@davemloft.net>
38384         [BZ #14376]
38385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38386         pass reloc->r_addend in as the 'high' argument to
38387         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38391 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38393         * rt/tst-aio2.c: Include <pthread.h>.
38394         * rt/tst-aio3.c: Likewise.
38396 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38398         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38400 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38402         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38403         contents on [SHARED].
38405 2012-09-26  Marek Polacek  <polacek@redhat.com>
38407         [BZ #14530]
38408         [BZ #13741]
38409         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38410         for C++ and GCC <4.3 as well as for non GCC compilers.
38412 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38416 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38418         * Makefile.in (all, install): Declare with .PHONY.
38419         Reported by Michael Hope <michael.hope@linaro.org>.
38421 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38423         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38424         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38425         system header.
38426         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38427         Likewise.
38428         (sydep_routines): Add the new and the internal functions.
38429         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38430         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38432         (GLIBC_2.17): Add the new function.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38434         (GLIBC_2.17): Likewise.
38435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38436         (GLIBC_2.17): Likewise.
38437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38438         (GLIBC_2.17): Likewise.
38439         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38441 2012-09-25  Alan Modra  <amodra@gmail.com>
38443         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38444         Add release barrier before setting once_control to say
38445         initialisation is done.  Add hints on lwarx.  Use macro in
38446         place of isync.
38447         (clear_once_control): Add release barrier.
38449 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38451         [BZ #13629]
38452         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38453         specially.
38454         * math/s_clog10.c (__clog10): Likewise.
38455         * math/s_clog10f.c (__clog10f): Likewise.
38456         * math/s_clog10l.c (__clog10l): Likewise.
38457         * math/s_clogf.c (__clogf): Likewise.
38458         * math/s_clogl.c (__clogl): Likewise.
38459         * math/Makefile (libm-calls): Add x2y2m1.
38460         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38461         (__x2y2m1): Likewise.
38462         (__x2y2m1l): Likewise.
38463         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38464         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38465         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38466         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38467         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38468         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38469         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38470         * sysdeps/i386/fpu/libm-test-ulps: Update.
38471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38473         [BZ #14621]
38474         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38475         int as type of variable DEPTH.
38476         (glob): Use size_t instead of int as type of variables NEWCOUNT
38477         and OLD_PATHC.
38479 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38481         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38482         Add s_sincosf-sse2.
38483         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38484         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38485         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38486         macros for using routine as __sincosf_ia32.
38487         Use macro for function declaration and weak_alias.
38488         * sysdeps/i386/fpu/libm-test-ulps: Update.
38490         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38493         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38494         subnormal argument.
38495         * math/s_cexpf.c (__cexpf): Likewise.
38496         * math/s_csinf.c (__csinf): Likewise.
38497         * math/s_csinhf.c (__csinhf): Likewise.
38498         * math/s_ctanf.c (__ctanf): Likewise.
38499         * math/s_ctanhf.c (__ctanhf): Likewise.
38500         * math/s_ccosh.c (__ccoshf): Likewise.
38501         * math/s_cexp.c (__cexpl): Likewise.
38502         * math/s_csin.c (__csin): Likewise.
38503         * math/s_csinh.c (__csinh): Likewise.
38504         * math/s_ctan.c (__ctan): Likewise.
38505         * math/s_ctanh.c (ctanh): Likewise.
38506         * math/s_ccoshl.c (__ccoshl): Likewise.
38507         * math/s_cexpl.c (__cexpl): Likewise.
38508         * math/s_csinl.c (__csinl): Likewise.
38509         * math/s_csinhl.c (__csinhl): Likewise.
38510         * math/s_ctanl.c (__ctanl): Likewise.
38511         * math/s_ctanhl.c (__ctanhl): Likewise.
38513 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38515         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38516         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38517         (_IO_off_t): Define to __off_t, not _G_off_t.
38518         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38519         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38520         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38521         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38522         type of __dummy and __dummy2 fields.
38523         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38524         (_G_ssize_t): Likewise.
38525         (_G_off_t): Likewise.
38526         (_G_pid_t): Likewise.
38527         (_G_uid_t): Likewise.
38528         (_G_wchar_t): Likewise.
38529         (_G_wint_t): Likewise.
38530         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38531         (_G_ssize_t): Likewise.
38532         (_G_off_t): Likewise.
38533         (_G_pid_t): Likewise.
38534         (_G_uid_t): Likewise.
38535         (_G_wchar_t): Likewise.
38536         (_G_wint_t): Likewise.
38537         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38538         (_G_ssize_t): Likewise.
38539         (_G_off_t): Likewise.
38540         (_G_pid_t): Likewise.
38541         (_G_uid_t): Likewise.
38542         (_G_wchar_t): Likewise.
38543         (_G_wint_t): Likewise.
38545 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38547         * malloc/arena.c: Include malloc-sysdep.h.
38548         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38549         is sufficient to shrink the heap or an unmap is needed.
38550         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38551         new function check_may_shrink_heap.
38552         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38553         new function check_may_shrink_heap.
38555 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38557         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38558         comments.
38560 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38562         * catgets/test-gencat.sh: Add "set -e".
38563         * elf/tst-pathopt.sh: Likewise.
38564         * grp/tst_fgetgrent.sh: Likewise.
38565         * iconvdata/run-iconv-test.sh: Likewise.
38566         * intl/tst-gettext.sh: Likewise.
38567         * intl/tst-gettext2.sh: Likewise.
38568         * intl/tst-gettext4.sh: Likewise.
38569         * intl/tst-gettext6.sh: Likewise.
38570         * intl/tst-translit.sh: Likewise.
38571         * io/ftwtest-sh: Likewise.
38572         * libio/test-freopen.sh: Likewise.
38573         * malloc/tst-mtrace.sh: Likewise.
38574         * posix/globtest.sh: Likewise.
38575         * posix/tst-getconf.sh: Likewise.
38576         * posix/wordexp-tst.sh: Likewise.
38577         * stdio-common/tst-printf.sh: Likewise.
38578         * stdio-common/tst-unbputc.sh: Likewise.
38579         * stdlib/tst-fmtmsg.sh: Likewise.
38580         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38581         * catgets/Makefile: Do not specify -e option when running
38582         testsuite shell scripts.
38583         * elf/Makefile: Likewise.
38584         * grp/Makefile: Likewise.
38585         * iconvdata/Makefile: Likewise.
38586         * intl/Makefile: Likewise.
38587         * io/Makefile: Likewise.
38588         * libio/Makefile: Likewise.
38589         * malloc/Makefile: Likewise.
38590         * posix/Makefile: Likewise.
38591         * stdio-common/Makefile: Likewise.
38592         * stdlib/Makefile: Likewise.
38593         * sysdeps/x86_64/Makefile: Likewise.
38595         * io/ftwtest-sh: Add copyright header.
38596         * posix/globtest.sh: Likewise.
38597         * posix/tst-getconf.sh: Likewise.
38598         * posix/wordexp-tst.sh: Likewise.
38599         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38601 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38603         [BZ #13679]
38604         * Makeconfig (+link): Defined as $(+link-static) if
38605         $(build-shared) isn't yes.
38606         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38607         isn't yes.
38608         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38610         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38612         [BZ #14562]
38613         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38614         new chunk size with MALLOC_ALIGN_MASK.
38616 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38618         [BZ #5044]
38619         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38620         <rounding-mode.h>.
38621         (__printf_fphex): Determine rounding using get_rounding_mode and
38622         round_away.
38623         * stdio-common/tst-printf-round.c (struct hex_test): New
38624         structure.
38625         (hex_tests): New variable.
38626         (test_hex_in_one_mode): New function.
38627         (do_test): Also run tests for hex float output.
38629 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38631         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38632         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38633         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38634         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38635         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38636         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38637         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38638         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38640 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38642         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38643         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38644         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38645         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38647 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38649         [BZ #14579]
38650         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38651         mode only.
38652         * elf/tst-rtld-load-self.sh: New test.
38653         * elf/Makefile: Run it.
38655 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38657         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38658         (tst-writev-ENV): Remove.
38659         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38661 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38663         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38665 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38667         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38668         unconditional.
38669         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38670         Likewise.
38671         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38672         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38673         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38674         Likewise.
38676 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38678         [BZ #14587]
38679         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38680         * config.make.in (have-cpp-asm-debuginfo): Removed.
38681         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38682         * configure: Regenerated.
38684 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38686         [BZ #5044]
38687         * stdio-common/printf_fp.c: Include <stdbool.h> and
38688         <rounding-mode.h>.
38689         (___printf_fp): Determine rounding using get_rounding_mode and
38690         round_away.
38691         * stdio-common/tst-printf-round.c: New file.
38692         * stdio-common/Makefile (tests): Add tst-printf-round.
38693         (link-libm): New variable.
38694         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38696 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38698         [BZ #14576]
38699         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38700         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38701         Likewise.
38702         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38703         Likewise.
38705 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38707         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38708         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38709         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38710         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38712 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38714         [BZ #14518]
38715         * include/rounding-mode.h: New file.
38716         * sysdeps/generic/get-rounding-mode.h: Likewise.
38717         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38718         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38719         (MAX_VALUE): New macro.
38720         (MIN_VALUE): Likewise.
38721         (overflow_value): New function.
38722         (underflow_value): Likewise.
38723         (round_and_return): Use overflow_value and underflow_value to
38724         determine return values in overflow and underflow cases.  Use
38725         round_away to determine rounding depending on rounding mode.
38726         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38727         determine return values in overflow and underflow cases.
38728         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38729         (struct test_results): New structure.
38730         (struct test): Use struct test_results to store expected results
38731         for all rounding modes.
38732         (TEST): Include expected results for all rounding modes.
38733         (test_in_one_mode): New function.
38734         (do_test): Use test_in_one_mode to compute and check results.
38735         Check results for all rounding modes.
38736         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38737         $(link-libm).
38739 2012-12-09  Allan McRae  <allan@archlinux.org>
38741         * sysdeps/i386/fpu/libm-test-ulps: Update
38743 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38745         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38746         (_G_int32_t): Likewise.
38747         (_G_uint16_t): Likewise.
38748         (_G_uint32_t): Likewise.
38749         (_G_HAVE_BOOL): Likewise.
38750         (_G_HAVE_ATEXIT): Likewise.
38751         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38752         (_G_HAVE_IO_FILE_OPEN): Likewise.
38753         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38754         (_G_int32_t): Likewise.
38755         (_G_uint16_t): Likewise.
38756         (_G_uint32_t): Likewise.
38757         (_G_HAVE_BOOL): Likewise.
38758         (_G_HAVE_ATEXIT): Likewise.
38759         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38760         (_G_HAVE_IO_FILE_OPEN): Likewise.
38761         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38762         (_G_int32_t): Likewise.
38763         (_G_uint16_t): Likewise.
38764         (_G_uint32_t): Likewise.
38765         (_G_HAVE_BOOL): Likewise.
38766         (_G_HAVE_ATEXIT): Likewise.
38767         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38768         (_G_HAVE_IO_FILE_OPEN): Likewise.
38770 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38772         * csu/libc-tls.c: Update copyright years.
38774 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38776         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38777         [!_G_USING_THUNKS]: Remove conditional code.
38778         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38779         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38781         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38782         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38783         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38784         (_G_VTABLE_LABEL_PREFIX): Likewise.
38785         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38786         * sysdeps/gnu/_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.
38790         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38791         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38792         (_G_VTABLE_LABEL_PREFIX): Likewise.
38793         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38795 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38797         * libio/Makefile: Include ../Makeconfig before tests.
38798         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38799         only if $(build-shared) is yes.
38801         * iconv/gconv_db.c: Update copyright years.
38803 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38805         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38806         unwind info if defined PIC. Fix special cases description.
38807         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38809         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38810         DP_HI_MASK entry.
38811         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38813 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38815         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38817         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38818         is NULL.
38820         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38821         (LDLIBS-tst-chk4): This.
38822         (LDFLAGS-tst-chk5): Renamed to ...
38823         (LDLIBS-tst-chk5): This.
38824         (LDFLAGS-tst-chk6): Renamed to ...
38825         (LDLIBS-tst-chk6): This.
38826         (LDFLAGS-tst-lfschk4): Renamed to ...
38827         (LDLIBS-tst-lfschk4): This.
38828         (LDFLAGS-tst-lfschk5): Renamed to ...
38829         (LDLIBS-tst-lfschk5): This.
38830         (LDFLAGS-tst-lfschk6): Renamed to ...
38831         (LDLIBS-tst-lfschk6): This.
38833         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38834         on $(common-objpfx)soversions.mk.
38836 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38838         [BZ #10014]
38839         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38840         example host name.
38842 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38844         * malloc/arena.c (arena_get_retry): New function that gets
38845         another arena for the caller to try its request on.
38846         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38847         current arena cannot fulfill the request.
38848         (__libc_memalign): Likewise.
38849         (__libc_memalign): Likewise.
38850         (__libc_pvalloc): Likewise.
38851         (__libc_calloc): Likewise.
38853 2012-09-05  John Tobey  <john.tobey@gmail.com>
38855         [BZ #13542]
38856         * manual/arith.texi (Operations on Complex): Fix description
38857         of carg branch cut.
38859 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38861         [BZ #10014]
38862         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38863         host name.
38865         [BZ #10038]
38866         * manual/memory.texi (Memory): Make order of menu items match
38867         order of sections.
38869 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38871         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38872         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38873         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38875 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38877         * csu/libc-tls.c (static_dtv): Renamed to ...
38878         (_dl_static_dtv): This.  Make it global.
38879         (_dl_initial_dtv): Removed.
38880         (__libc_setup_tls): Updated.
38881         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38882         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38883         DL_INITIAL_DTV.
38885 2012-09-06  Petr Machata  <pmachata@redhat.com>
38887         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38888         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38889         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38890         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38892 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38894         [BZ #14545]
38895         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38896         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38897         freeing dtv[-1].
38899 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38901         [BZ #14544]
38902         * Makeconfig (link-static-before-libc): Replace $(+prector)
38903         with $(+prectorT).
38904         (link-static-after-libc): Replace $(+postctor) with
38905         $(+postctorT).
38906         (link-bounded): Replace $(+prector)/$(+postctor) with
38907         $(+prectorT)/$(+postctorT).
38908         (+prectorT): New macro.
38909         (+postctorT): Likewise.
38911 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38913         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38914         (round_str): Handle values above the maximum for IBM long double
38915         as inexact.
38916         * stdlib/tst-strtod-round.c (tests): Regenerated.
38918 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38920         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38921         assembler flag.
38922         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38923         zarch_nohighgprs around the zarch optimized routines.
38924         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38925         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38926         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38927         for zarch.
38929 2012-09-05  David S. Miller  <davem@davemloft.net>
38931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38933         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38934         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38935         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38936         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38937         entries.
38939 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38941         * malloc/arena.c: Fold copyright years.
38942         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38944 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38946         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38948 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38950         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38952 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38954         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38955         change internal state upon failure.
38957 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38959         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38960         * malloc/memusage.c (mmap): Likewise.
38961         (mmap64, mremap): Likewise.  Adjust name in comment.
38963 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38965         * libio/fileops.c: Fix typos in comments.
38966         * libio/oldfileops.c: Likewise.
38967         * libio/wfileops.c: Likewise.
38969 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38971         [BZ #1349]
38972         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38973         (tst-malloc-usable-ENV): Set environment for test case.
38974         * malloc/hooks.c (malloc_check_get_size): New function to get
38975         requested size.
38976         * malloc/malloc.c (musable): Use malloc_check_get_size.
38977         * malloc/tst-malloc-usable.c: New test case.
38979 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38981         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38983 2012-09-05  Allan McRae  <allan@archlinux.org>
38985         [BZ #13966]
38986         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38987         determine header location.
38988         * configure: Regenerated.
38990 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38992         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38993         float format.
38994         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38995         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38996         format.
38997         (test): Regenerate.
38999 2012-09-04  David S. Miller  <davem@davemloft.net>
39001         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39002         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39003         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39005 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39007         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39008         failures.
39010         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39012 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39014         [BZ #9914]
39015         * libio/iogetdelim.c: Include <limits.h>.
39016         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39017         + len + 1 would overflow.
39019 2012-09-03  Andreas Jaeger  <aj@suse.de>
39021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39022         * sysdeps/i386/fpu/libm-test-ulps: Update.
39024 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39026         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39027         Add s_sinf-sse2, s_conf-sse2.
39029         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39030         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39031         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39032         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39034         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39035         for using routine as __sinf_ia32.
39036         Use macro for function declaration and weak_alias.
39037         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39038         for using routine as __cosf_ia32.
39039         Use macro for function declaration and weak_alias.
39041         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39042         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39044         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39045         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39048         * math/libm-test.inc (cos_test): Add more test cases.
39049         (sin_test): Likewise.
39050         (sincos_test): Likewise.
39052 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39055         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39056         hidden.
39057         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39059 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39061         [BZ #14538]
39062         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39063         first element of the GOT.
39064         (elf_machine_load_address): Return the difference between
39065         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39067 2012-09-01  Allan McRae  <allan@archlinux.org>
39069         [BZ #13412]
39070         * configure.in (AWK): Require gawk version 3.0 or later.
39071         * configure: Regenerated.
39073 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39075         * sysdeps/unix/sysv/linux/kernel-features.h
39076         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39077         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39078         [__NR_clock_getres]: Make code unconditional.
39079         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39080         (clock_getcpuclockid): Remove code left unreachable by removal of
39081         conditionals.
39082         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39083         code unconditional.
39084         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39085         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39086         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39087         Make code unconditional.
39088         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39089         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39090         * sysdeps/unix/sysv/linux/clock_settime.c
39091         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39092         conditional code.
39093         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39094         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39096 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39098         [BZ #14476]
39099         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39100         scripts/test-installation.pl.
39102         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39103         and $ld_so_version if it is set.
39105 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39107         [BZ #14516]
39108         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39109         failure if reading from procfs failed.
39110         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39112 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39114         * sysdeps/unix/sysv/linux/kernel-features.h
39115         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39116         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39117         Remove conditional code.
39118         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39119         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39120         Remove conditional code.
39121         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39122         * sysdeps/unix/sysv/linux/i386/fxstat.c
39123         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39124         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39125         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39126         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39128         * sysdeps/unix/sysv/linux/i386/lxstat.c
39129         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39130         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39131         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39132         Remove conditional code.
39133         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39134         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39135         Remove conditional code.
39136         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39137         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39138         <kernel-features.h>.
39139         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39140         Remove.
39141         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39142         Remove conditional code.
39143         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39144         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39145         Remove conditional.
39147 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39149         [BZ #5400]
39150         * NEWS: Add fixed bug number.
39152 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39154         [BZ #14519]
39155         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39156         underflowing exponent in case of negative sign.
39157         * stdlib/tst-strtod-round-data: Add more tests.
39158         * stdlib/tst-strtod-round.c (tests): Regenerated.
39160         [BZ #3479]
39161         * stdlib/strtod_l.c (NDIG): Remove.
39162         (HEXNDIG): Likewise.
39163         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39164         smallest representable value.
39165         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39166         lie within an exact representation of 1/2 ulp of the result.
39167         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39168         unconditionally.
39169         (TENS_P9_IDX): Define unconditionally.
39170         (TENS_P9_SIZE): Likewise.
39171         (TENS_P10_IDX): Likewise.
39172         (TENS_P10_SIZE): Likewise.
39173         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39174         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39175         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39176         entries for 10^2^13 and 10^2^14.
39177         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39178         (TENS_P13_IDX): Define.
39179         (TENS_P13_SIZE): Likewise.
39180         (TENS_P14_IDX): Likewise.
39181         (TENS_P14_SIZE): Likewise.
39182         (_fpioconst_pow10): Change array size to
39183         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39184         unconditional.
39185         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39186         1024]: Add entries for 10^2^13 and 10^2^14.
39187         [LAST_POW10 > _LAST_POW10]: Remove #error.
39188         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39189         (_fpioconst_pow10): Change array size to
39190         FPIOCONST_POW10_ARRAY_SIZE.
39191         * stdlib/gen-fpioconst.c: New file.
39192         * stdlib/gen-tst-strtod-round.c: Likewise.
39193         * stdlib/tst-strtod-round-data: Likewise.
39194         * stdlib/tst-strtod-round.c: Likewise.
39195         * stdlib/Makefile (tests): Add tst-strtod-round.
39197         [BZ #14459]
39198         * stdlib/strtod_l.c: Include <stdint.h>.
39199         (NDEBUG): Do not define.
39200         (round_and_return): Change EXPONENT parameter to type intmax_t.
39201         Rearrange calculations to avoid internal overflow possibilities.
39202         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39203         Rearrange calculations to avoid internal overflow possibilities.
39204         Assert that number fits inside MPNSIZE limbs.
39205         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39206         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39207         calculations and add assertions to avoid internal overflow
39208         possibilities.  Add casts to avoid signed/unsigned operations.
39209         * stdlib/tst-strtod-overflow.c: New file.
39210         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39212 2012-08-25  Marek Polacek  <polacek@redhat.com>
39214         * time/time.h: Fix some typos in comments.
39216 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39218         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39219         * posix/tst-rfc3484-2.c: Likewise.
39220         * posix/tst-rfc3484-3.c: Likewise.
39222 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39224         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39225         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39227 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39229         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39230         #include of fxstatat64.c.
39232 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39234         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39235         * shadow/getspent_r.c: Likewise.
39236         * shadow/getspnam.c: Likewise.
39237         * shadow/getspnam_r.c: Likewise.
39238         * gshadow/getsgent.c: Likewise.
39239         * gshadow/getsgent_r.c: Likewise.
39240         * gshadow/getsgnam.c: Likewise.
39241         * gshadow/getsgnam_r.c: Likewise.
39242         * inet/getnetbyad.c: Likewise.
39243         * inet/getnetbyad_r.c: Likewise.
39244         * inet/getnetbynm.c: Likewise.
39245         * inet/getnetbynm_r.c: Likewise.
39246         * inet/getnetent.c: Likewise.
39247         * inet/getnetent_r.c: Likewise.
39248         * inet/getproto.c: Likewise.
39249         * inet/getproto_r.c: Likewise.
39250         * inet/getprtent.c: Likewise.
39251         * inet/getprtent_r.c: Likewise.
39252         * inet/getprtname.c: Likewise.
39253         * inet/getprtname_r.c: Likewise.
39254         * inet/getrpcbyname.c: Likewise.
39255         * inet/getrpcbyname_r.c: Likewise.
39256         * inet/getrpcbynumber.c: Likewise.
39257         * inet/getrpcbynumber_r.c: Likewise.
39258         * inet/getrpcent.c: Likewise.
39259         * inet/getrpcent_r.c: Likewise.
39260         * inet/getaliasent.c: Likewise.
39261         * inet/getaliasent_r.c: Likewise.
39262         * inet/getaliasname.c: Likewise.
39263         * inet/getaliasname_r.c: Likewise.
39264         * nscd/getgrgid_r.c: Likewise.
39265         * nscd/getgrnam_r.c: Likewise.
39266         * nscd/gethstbyad_r.c: Likewise.
39267         * nscd/gethstbynm3_r.c: Likewise.
39268         * nscd/getpwnam_r.c: Likewise.
39269         * nscd/getpwuid_r.c: Likewise.
39270         * nscd/getsrvbynm_r.c: Likewise.
39271         * nscd/getsrvbypt_r.c: Likewise.
39272         * nscd/gai.c: Likewise.
39274         * configure.in (build_nscd): New substituted variable, set
39275         by --disable-build-nscd and defaults to $use_nscd.
39276         * configure: Regenerated.
39277         * config.make.in (build-nscd): New substituted variable.
39278         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39279         Change conditional to require [$(build-nscd) = yes] as well.
39280         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39282         [BZ# 13696]
39283         * configure.in (use_nscd): New substituted variable, set by
39284         --disable-nscd.  If enabled, define USE_NSCD.
39285         * configure: Regenerated.
39286         * config.h.in: Add USE_NSCD.
39287         * config.make.in (use-nscd): New substituted variable.
39288         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39289         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39290         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39291         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39292         (CFLAGS-getgrnam_r.c): Likewise.
39293         (CFLAGS-initgroups.c): Likewise.
39294         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39295         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39296         Variables removed.
39297         * inet/getnetgrent_r.c
39298         (nscd_setnetgrent): New function, broken out of ...
39299         (setnetgrent): ... here.  Call it.
39300         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39301         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39302         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39303         * nscd/Makefile (routines, aux): Move definitions after include of
39304         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39305         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39306         Conditionalize on [USE_NSCD].
39307         (is_nscd, nscd_init_cb): Likewise.
39308         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39309         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39310         * nss/nss_db/db-init.c: Likewise.
39311         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39312         [USE_NSCD].
39313         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39314         (make_request): Use it.
39315         (cache_valid_p): New function.
39316         (__check_pf): Use it.
39317         * NEWS: Add item for --disable-nscd.
39319 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39321         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39322         to support sed >= 4.2.1-20-ga9bf076.
39323         * configure: Regenerated.
39325 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39327         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39328         Conditionalize whole body on [IREL].
39330 2012-08-22  Jeff Law <law@redhat.com>
39332         [BZ #14505]
39333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39334         if the family is PF_UNSPEC.
39336 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39338         * Makerules (lib-version): Rename from V.
39339         (install-lib-nosubdir): Change V to lib-version.
39341 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39343         [BZ #14252]
39344         * powerpc32/power6/wcschr.c: New file.
39345         * powerpc32/power6/wcscpy.c: New file.
39346         * powerpc32/power6/wcsrchr.c: New file.
39347         * powerpc64/power6/wcschr.c: New file.
39348         * powerpc64/power6/wcscpy.c: New file.
39349         * powerpc64/power6/wcsrchr.c: New file.
39351 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39353         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39354         (two_way_short_needle): Use it.
39355         * string/strstr.c (AVAILABLE1_USES_J): Define.
39356         * string/strcasestr.c: Likewise.
39358         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39359         array references.
39360         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39362         [BZ #11607]
39363         * NEWS: Add an entry.
39364         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39365         define their defaults.
39366         (two_way_short_needle): Detect end-of-string on-the-fly.
39367         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39368         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39369         * string/bug-strcasestr1.c: New test.
39370         * string/Makefile: Run it.
39372 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39374         [BZ #11607]
39375         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39376         the first character.
39378 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39380         * csu/elf-init.c (__libc_csu_irel): Function removed.
39381         * csu/libc-start.c (apply_irel): New function.
39382         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39384 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39386         * sysdeps/unix/sysv/linux/kernel-features.h
39387         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39388         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39389         <kernel-features.h>.
39390         [__NR_fadvise64_64]: Make code unconditional.
39391         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39392         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39393         !__NR_fadvise64_64)]: Likewise.
39394         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39395         !__NR_fadvise64_64))]: Likewise.
39396         [__NR_fadvise64]: Make code unconditional.
39397         [!__NR_fadvise64]: Remove conditional code.
39398         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39399         <kernel-features.h>.
39400         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39401         unconditional.
39402         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39403         conditional code.
39404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39405         not include <kernel-features.h>.
39406         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39407         unconditional.
39408         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39409         conditional code.
39410         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39411         include <kernel-features.h>.
39412         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39413         unconditional.
39414         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39415         conditional code.
39417 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39419         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39420         slight instruction rearrangements per scrollpipe analysis.
39421         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39423 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39425         * manual/syslog.texi (syslog; vsyslog, closelog):
39426         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39427         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39429         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39430         DSOCAPS to match condition on defining it.
39432 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39434         * sysdeps/unix/sysv/linux/kernel-features.h
39435         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39437         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39438         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39440         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39441         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39443         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39444         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39446         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39447         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39449         * sysdeps/unix/sysv/linux/kernel-features.h
39450         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39451         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39452         unconditional.
39453         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39454         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39455         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39456         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39457         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39458         Make code unconditional.
39459         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39460         (__mmap64) [!__NR_mmap2]: Likewise.
39461         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39462         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39463         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39464         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39465         [__NR_mmap2]: Make code unconditional.
39466         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39467         (__mmap64) [!__NR_mmap2]: Likewise.
39469 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39471         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39473 2012-08-18  Andreas Jaeger  <aj@suse.de>
39475         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39477 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39479         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39480         * include/unistd.h (__have_sock_cloexec): Likewise.
39481         (__have_pipe2): Likewise.
39482         (__have_dup3): Likewise.
39484 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39486         [BZ #9685]
39487         * include/unistd.h (__have_pipe2): Change define into an extern int.
39488         (__have_dup3): Likewise.
39489         * socket/have_sock_cloexec.c: Include fcntl.h.
39490         (__have_pipe2): New variable.
39491         (__have_dup3): Likewise.
39493 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39495         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39497 2012-08-17  Marek Polacek  <polacek@redhat.com>
39499         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39500         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39502 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39504         * configure.in: Add AC_SUBST for sysheaders.
39505         * configure: Regenerated.
39506         * config.make.in (sysheaders): New substituted variable.
39508         * sysdeps/unix/mkfifo.c: Moved ...
39509         * sysdeps/posix/mkfifo.c: ... here.
39510         * sysdeps/unix/mkfifoat.c: Moved ...
39511         * sysdeps/posix/mkfifoat.c: ... here.
39513         * sysdeps/unix/utime.c: Moved ...
39514         * sysdeps/posix/utime.c: ... here.
39516         * sysdeps/unix/time.c: Moved ...
39517         * sysdeps/posix/time.c: ... here.
39518         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39519         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39521         * sysdeps/unix/nice.c: Moved ...
39522         * sysdeps/posix/nice.c: ... here.
39524         * sysdeps/unix/alarm.c: Moved ...
39525         * sysdeps/posix/alarm.c: ... here.
39527         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39529 2012-08-17  Jeff Law <law@redhat.com>
39531         * intl/Makefile (codeset_mo): New variable.
39532         ($(codeset_mo)): New target.
39533         (tst-codeset.out): Depend on that.  Remove explicit rule.
39534         (tst-gettext3.out, tst-gettext5.out): Likewise.
39535         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39536         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39537         * intl/tst-codeset.sh: Remove.
39538         * intl/tst-gettext3.sh: Likewise.
39539         * intl/tst-gettext5.sh: Likewise.
39541 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39543         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39544         * sysdeps/unix/syscalls.list: ... here.
39546         * sysdeps/posix/getaddrinfo.c
39547         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39548         (gaiconf_init, gaiconf_reload): Use them.
39549         [!_STATBUF_ST_NSEC]
39550         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39551         Define using time_t rather than struct timespec.
39553         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39554         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39555         Macros removed.
39556         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39557         [!NO_THREADS].
39558         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39559         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39560         Likewise.
39562         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39563         __libc_cleanup_push argument.
39565         * bits/param.h: New file.
39566         * misc/sys/param.h: New file.
39567         * include/sys/param.h: New file.
39568         * misc/Makefile (headers): Add bits/param.h.
39569         * sysdeps/generic/sys/param.h: File removed.
39570         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39571         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39572         * sysdeps/mach/hurd/bits/param.h: New file.
39573         * sysdeps/mach/hurd/sys/param.h: File removed.
39575         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39576         last change.
39578         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39579         [_IO_MTSAFE_IO].
39580         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39581         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39582         New macros.
39584         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39585         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39586         rather than -D_IO_MTSAFE_IO conditionally.
39587         * stdio-common/Makefile (CPPFLAGS): Likewise.
39588         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39589         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39590         Use $(libio-mtsafe).
39591         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39592         of -D_IO_MTSAFE_IO.
39593         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39594         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39595         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39596         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39597         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39598         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39599         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39600         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39601         (CFLAGS-fread_u_chk.c): Likewise.
39602         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39603         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39604         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39605         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39606         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39607         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39608         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39609         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39610         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39612         * libio/Makefile: Test [$(libc-reentrant) = yes]
39613         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39615         * Makeconfig
39616         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39617         * sysdeps/pthread/configure: File removed.
39618         * sysdeps/pthread/Makeconfig: New file.
39619         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39620         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39622 2012-08-16  Gary Benson  <gbenson@redhat.com>
39624         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39625         unmapping the first object in a namespace.
39627 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39629         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39630         (__internal_setnetgrent): ... this.  Add internal_function to
39631         definition.  Add libc_hidden_def.
39632         (setnetgrent): Update caller.
39633         (internal_endnetgrent): Renamed to ...
39634         (__internal_endnetgrent): ... this.  Add internal_function to
39635         definition.  Add libc_hidden_def.
39636         (endnetgrent): Update caller.
39637         (internal_getnetgrent_r): Renamed to ...
39638         (__internal_getnetgrent_r): ... this.  Add internal_function to
39639         definition.  Add libc_hidden_def.
39640         (__getnetgrent_r): Update caller.
39641         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39643 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39645         * stdlib/longlong.h: Update from GCC.
39647 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39649         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39650         on _QL, which is set by umul_ppmm but never used.
39651         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39652         variables, which are set by GMP macros but never used.
39653         * stdio-common/_itowa.c (_itowa): Likewise.
39654         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39655         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39657 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39659         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39660         struct La_sh_regs is not constant.
39661         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39662         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39663         and struct La_sparc64_regs are not constant.
39665 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39667         * sysdeps/unix/sysv/linux/kernel-features.h
39668         (__ASSUME_POSIX_TIMERS): Remove.
39669         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39670         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39671         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39672         Make code unconditional.
39673         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39674         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39675         Make code unconditional.
39676         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39677         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39678         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39679         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39680         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39681         Make code unconditional.
39682         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39683         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39684         (__libc_missing_posix_timers): Remove.
39686 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39688         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39689         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39691         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39693         * elf/dl-sym.c: Include <stdlib.h>.
39695         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39696         constants, which avoids warnings in 32-bit builds.
39698         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39699         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39701         * misc/lseek.c: File moved to ...
39702         * io/lseek.c: ... here.
39704         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39706         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39707         shifting LEN more than 31 bits at once.
39709 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39711         [BZ #14195]
39712         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39713         segmentation fault for a case of two empty input strings.
39714         * string/test-strncasecmp.c (check1): Renamed to...
39715         (bz12205): ...this.
39716         (bz14195): Add new testcase for two empty input strings and N > 0.
39717         (test_main): Call new testcase, adapt for renamed function.
39719 2012-08-15  Andreas Jaeger  <aj@suse.de>
39721         [BZ #14090]
39722         * crypt/md5test2.c: New test, based on test supplied by Serge
39723         Belyshev <belyshev@depni.sinp.msu.ru>.
39724         * crypt/Makefile (xtests): Add md5test-giant..
39725         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39727 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39729         [BZ #14090]
39730         * crypt/md5.c (md5_process_block): Don't assume the buffer
39731         length is less than 2**32.
39732         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39733         length is less than 2**64.
39735 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39737         * string/str-two-way.h: Include <sys/param.h>.
39738         (MAX): Macro removed.
39740         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39741         Move #define and #undef of memmove to just before and after
39742         including <string.h>.
39744         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39745         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39746         and after including <string.h>.  Move declarations of
39747         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39748         to before #include "string/memmove.c".
39750         * include/dirent.h: Declare __getdirentries.
39752         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39753         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39755 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39757         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39758         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39759         * sysdeps/i386/configure: Regenerated.
39760         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39761         STABS_CURRENT_FILE, and STABS_FUN.
39762         (END): Remove call to STABS_FUN_END.
39763         (STABS_CURRENT_FILE1): Delete.
39764         (STABS_CURRENT_FILE): Likewise.
39765         (STABS_FUN): Likewise.
39766         (STABS_FUN_END): Likewise.
39767         (STABS_FUN2): Likewise.
39768         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39769         * sysdeps/x86_64/configure: Regenerated.
39771 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39773         * elf/dl-open.c: Include <atomic.h>.
39774         * elf/dl-lookup.c: Likewise.
39776 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39778         * sysdeps/unix/sysv/linux/kernel-features.h
39779         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39780         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39781         unconditionally.
39782         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39783         unconditionally.
39784         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39785         condition on __ASSUME_CLONE_THREAD_FLAGS.
39787 2012-08-14  Andreas Jaeger  <aj@suse.de>
39789         * sysdeps/i386/fpu/libm-test-ulps: Update.
39791 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39793         * include/atomic.h (atomic_exchange_and_add): Split into ...
39794         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39795         New atomic macros.
39797 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39801 2012-08-13  Jeff Law <law@redhat.com>
39803         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39804         null byte in the output string.
39806 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39808         * sysdeps/unix/sysv/linux/kernel-features.h
39809         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39810         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39811         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39812         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39813         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39814         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39815         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39817 2012-08-09  Jeff Law <law@redhat.com>
39819         [BZ #13939]
39820         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39821         When avoid_arena is set, don't retry in the that arena.  Pick the
39822         next one, whatever it might be.
39823         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39824         (arena_lock): Pass in new parameter to arena_get2.
39825         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39826         arena_get2.
39827         (__libc_malloc): Unify retrying after main arena failure with
39828         __libc_memalign version.
39829         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39831 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39833         [BZ #14166]
39834         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39835         to __redirect_strstr.
39836         (__strstr_sse42): Use typeof __redirect_strstr.
39837         (__strstr_ia32): Likewise.
39838         (__libc_strstr): New prototype.
39839         (strstr): Renamed to ...
39840         (__libc_strstr): This.
39841         (strstr): New strong alias of __libc_strstr.
39842         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39843         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39844         __redirect_time.
39845         Include <time.h>.
39846         (__libc_time): New prototype.
39847         (time_ifunc): Replace time with __libc_time.
39848         (time): New strong alias and hidden definition of __libc_time.
39849         (__GI_time): Remove strong alias.
39850         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39851         Include <stddef.h>.
39852         (memmove): Redefined to __redirect_memmove.
39853         (__memmove_sse2): Use typeof __redirect_memmove.
39854         (__memmove_ssse3): Likewise.
39855         (__memmove_ssse3_back): Likewise.
39856         (__libc_memmove): New prototype.
39857         (memmove): Renamed to ...
39858         (__libc_memmove): This.
39859         (memmove): New strong alias of __libc_memmove.
39861 2012-08-08  Mark Salter  <msalter@redhat.com>
39863         * elf/elf.h
39864         (R_MN10300_TLS_GD): Define.
39865         (R_MN10300_TLS_LD): Likewise.
39866         (R_MN10300_TLS_LDO): Likewise.
39867         (R_MN10300_TLS_GOTIE): Likewise.
39868         (R_MN10300_TLS_IE): Likewise.
39869         (R_MN10300_TLS_LE): Likewise.
39870         (R_MN10300_TLS_DTPMOD): Likewise.
39871         (R_MN10300_TLS_DTPOFF): Likewise.
39872         (R_MN10300_TLS_TPOFF): Likewise.
39873         (R_MN10300_SYM_DIFF): Likewise.
39874         (R_MN10300_ALIGN): Likewise.
39875         (R_MN10300_NUM): Update.
39877 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39879         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39880         Remove.
39882 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39884         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39886         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39887         sysdeps/unix -> sysdeps/posix move.
39888         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39890 2012-08-07      Allan McRae     <allan@archlinux.org>
39892         [BZ #14303]
39893         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39894         (SUNOS_CPP): Likewise.
39895         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39896         not found.
39897         (open_input): Call CPP using execvp.
39899 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39901         * sysdeps/unix/sysv/linux/kernel-features.h
39902         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39903         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39904         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39905         (__ASSUME_WAITID_SYSCALL): Likewise.
39906         * sysdeps/unix/sysv/linux/dl-execstack.c
39907         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39908         code unconditional.
39909         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39910         conditional code.
39911         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39912         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39913         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39914         code.
39915         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39916         unconditional.
39917         [__ASSUME_WAITID_SYSCALL]: Likewise.
39918         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39920 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39922         * sysdeps/unix/closedir.c: Renamed to ...
39923         * sysdeps/posix/closedir.c: ... here.
39924         * sysdeps/unix/dirfd.c: Renamed to ...
39925         * sysdeps/posix/dirfd.c: ... here.
39926         * sysdeps/unix/dirstream.h: Renamed to ...
39927         * sysdeps/posix/dirstream.h: ... here.
39928         * sysdeps/unix/fdopendir.c: Renamed to ...
39929         * sysdeps/posix/fdopendir.c: ... here.
39930         * sysdeps/unix/opendir.c: Renamed to ...
39931         * sysdeps/posix/opendir.c: ... here.
39932         * sysdeps/unix/readdir.c: Renamed to ...
39933         * sysdeps/posix/readdir.c: ... here.
39934         * sysdeps/unix/readdir_r.c: Renamed to ...
39935         * sysdeps/posix/readdir_r.c: ... here.
39936         * sysdeps/unix/rewinddir.c: Renamed to ...
39937         * sysdeps/posix/rewinddir.c: ... here.
39938         * sysdeps/unix/seekdir.c: Renamed to ...
39939         * sysdeps/posix/seekdir.c: ... here.
39940         * sysdeps/unix/telldir.c: Renamed to ...
39941         * sysdeps/posix/telldir.c: ... here.
39942         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39943         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39944         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39945         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39947         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39948         * bits/fcntl.h: ... here.
39950         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39951         not 0.
39952         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39953         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39954         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39955         (struct flock): Move l_start, l_len to the beginning.
39956         Use __pid_t for l_pid.
39957         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39958         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39959         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39960         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39961         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39962         [__USE_LARGEFILE64] (struct flock64): New type.
39963         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39965         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39966         * bits/dirent.h: ... here.
39968         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39969         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39971 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39973         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39974         Change from 2.6.0 to 2.6.16.
39975         * sysdeps/unix/sysv/linux/configure: Regenerated.
39976         * sysdeps/unix/sysv/linux/kernel-features.h
39977         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39978         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39979         version.
39980         (__ASSUME_UTIMES): Likewise.
39981         (__ASSUME_CLONE_STOPPED): Remove.
39982         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39983         architectures, not kernel version.
39984         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39985         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39986         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39987         (__ASSUME_WAITID_SYSCALL): Likewise.
39988         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39989         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39990         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39991         refer to older versions.
39993 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39995         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39996         Define alphasort64 as an alias.
39997         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39998         Define versionsort64 as an alias.
39999         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40000         Define scandir64 as an alias.
40001         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40002         Define scandirat64 as an alias.
40003         * dirent/alphasort64.c (alphasort64):
40004         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40005         * dirent/versionsort64.c: Likewise.
40006         * dirent/scandir64.c: Likewise.
40007         * dirent/scandirat64.c: Likewise.
40008         * sysdeps/wordsize-64/alphasort.c: File removed.
40009         * sysdeps/wordsize-64/alphasort64.c: File removed.
40010         * sysdeps/wordsize-64/scandir.c: File removed.
40011         * sysdeps/wordsize-64/scandir64.c: File removed.
40012         * sysdeps/wordsize-64/scandirat.c: File removed.
40013         * sysdeps/wordsize-64/scandirat64.c: File removed.
40014         * sysdeps/wordsize-64/versionsort.c: File removed.
40015         * sysdeps/wordsize-64/versionsort64.c: File removed.
40016         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40017         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40018         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40019         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40020         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40021         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40022         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40023         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40025         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40027         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40029         [defined __arch64__ || defined __sparcv9]
40030         (__INO_T_MATCHES_INO64_T): New macro.
40031         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40032         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40033         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40034         * sysdeps/unix/sysv/linux/bits/dirent.h
40035         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40036         (_DIRENT_MATCHES_DIRENT64): New macro.
40038         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40039         Define lockf64 as an alias.
40040         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40041         Define fseeko64 as an alias.
40042         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40043         Define ftello64 as an alias.
40044         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40045         Define _IO_fgetpos64 and fgetpos64 as aliases.
40046         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40047         Define _IO_fsetpos64 and fsetpos64 as aliases.
40048         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40049         Conditionalize body on this.
40050         * libio/fseeko64.c: Likewise.
40051         * libio/ftello64.c: Likewise.
40052         * libio/iofgetpos64.c: Likewise.
40053         * libio/iofsetpos64.c: Likewise.
40054         * sysdeps/wordsize-64/lockf.c: File removed.
40055         * sysdeps/wordsize-64/lockf64.c: File removed.
40056         * sysdeps/wordsize-64/fseeko.c: File removed.
40057         * sysdeps/wordsize-64/fseeko64.c: File removed.
40058         * sysdeps/wordsize-64/ftello.c: File removed.
40059         * sysdeps/wordsize-64/ftello64.c: File removed.
40060         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40061         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40062         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40063         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40064         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40065         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40066         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40067         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40068         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40069         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40070         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40071         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40072         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40073         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40075         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40076         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40077         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40079         [defined __arch64__ || defined __sparcv9]
40080         (__OFF_T_MATCHES_OFF64_T): New macro.
40081         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40082         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40083         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40084         (__OFF_T_MATCHES_OFF64_T): New macro.
40086 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40088         * stdlib/secure-getenv.c (__secure_getenv): Replace
40089         GLIBC_2_16 with GLIBC_2_17.
40091 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40093         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40094         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40096 2012-08-03  David S. Miller  <davem@davemloft.net>
40098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40100 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40103         Remove.
40104         (__ASSUME_CORRECT_SI_PID): Likewise.
40105         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40106         (__ASSUME_TMPFS_NAME): Likewise.
40107         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40108         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40109         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40110         (HAVE_AUX_SECURE): Make definition unconditional.
40111         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40112         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40114 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40116         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40117         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40118         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40119         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40120         __eloop_threshold instead of SYMLOOP_MAX.
40122         * sysdeps/generic/eloop-threshold.h: New file.
40123         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40124         of MAXSYMLINKS.
40125         * elf/chroot_canon.c (chroot_canon): Likewise.
40127 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40129         [BZ #13717]
40130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40131         Change to 2.6.0 everywhere.
40132         * sysdeps/unix/sysv/linux/configure: Regenerated.
40133         * sysdeps/unix/sysv/linux/kernel-features.h
40134         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40135         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40136         kernel versions.
40137         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40138         (__ASSUME_FUTEX_REQUEUE): Remove.
40139         (__ASSUME_STATFS64): Define unconditionally.
40140         (__ASSUME_AT_SECURE): Likewise.
40141         (__ASSUME_CORRECT_SI_PID): Likewise.
40142         (__ASSUME_TGKILL): Define without depending on kernel version for
40143         i386.
40144         (__ASSUME_UTIMES): Likewise.
40145         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40146         kernel version.
40147         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40148         (__ASSUME_TMPFS_NAME): Likewise.
40149         * README: Update reference to Linux kernel versions.
40151 2012-08-02  Marek Polacek  <polacek@redhat.com>
40153         [BZ# 14150]
40154         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40155         libc_cv_asm_type_prefix with %.
40156         * configure: Regenerated.
40157         * include/libc-symbols.h: Remove comment about
40158         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40159         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40160         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40161         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40162         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40163         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40164         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40165         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40166         * elf/tst-unique2mod1.c: Likewise.
40167         * elf/tst-unique1mod2.c: Likewise.
40168         * elf/tst-unique1mod1.c: Likewise.
40169         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40170         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40171         Replace ASM_TYPE_DIRECTIVE with .type.
40172         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40173         * sysdeps/i386/sysdep.h: Likewise.
40174         * sysdeps/x86_64/sysdep.h: Likewise.
40175         * sysdeps/sh/sysdep.h: Likewise.
40176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40177         Do not define ASM_TYPE_DIRECTIVE.
40178         * sysdeps/powerpc/sysdep.h: Likewise.
40179         * sysdeps/powerpc/powerpc32/sysdep.h:
40180         Replace ASM_TYPE_DIRECTIVE with .type.
40181         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40182         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40183         * sysdeps/i386/fpu/e_powf.S: Likewise.
40184         * sysdeps/i386/fpu/e_expl.S: Likewise.
40185         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40186         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40187         * sysdeps/i386/fpu/e_pow.S: Likewise.
40188         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40189         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40190         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40191         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40192         * sysdeps/i386/fpu/e_log2.S: Likewise.
40193         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40194         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40195         * sysdeps/i386/fpu/e_powl.S: Likewise.
40196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40197         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40198         * sysdeps/i386/fpu/e_logl.S: Likewise.
40199         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40200         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40201         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40202         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40203         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40204         * sysdeps/i386/fpu/e_log.S: Likewise.
40205         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40206         * sysdeps/i386/fpu/e_logf.S: Likewise.
40207         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40208         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40209         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40210         * sysdeps/i386/fpu/e_log10.S: Likewise.
40211         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40212         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40213         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40214         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40215         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40216         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40217         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40218         * sysdeps/i386/i686/strtok.S: Likewise.
40219         * sysdeps/i386/i386-mcount.S: Likewise.
40220         * sysdeps/i386/strtok.S: Likewise.
40221         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40222         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40223         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40224         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40225         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40226         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40227         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40228         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40229         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40230         * sysdeps/x86_64/_mcount.S: Likewise.
40231         * sysdeps/x86_64/strtok.S: Likewise.
40232         * sysdeps/sh/_mcount.S: Likewise.
40234 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40236         * libio/iofopen.c: Include <fcntl.h>.
40237         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40238         (_IO_fopen64, fopen64): Define as aliases.
40239         * libio/iofopen64.c: Include <fcntl.h>.
40240         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40241         Conditionalize body on this.
40242         * sysdeps/wordsize-64/iofopen.c: File removed.
40243         * sysdeps/wordsize-64/iofopen64.c: File removed.
40245 2012-08-01  Marek Polacek  <polacek@redhat.com>
40247         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40248         Use dlfcn directly instead of a variable.
40249         (binfmt-subdir): Do not define.
40250         (dlfcn): Likewise.
40252 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40254         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40255         Remove all definitions.
40256         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40257         <kernel-features.h>.
40258         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40259         (miss_F_GETOWN_EX): Remove all definitions.
40260         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40261         macro definition.
40262         [!__ASSUME_FCNTL64]: Remove conditional code.
40263         [__ASSUME_FCNTL64]: Make code unconditional.
40264         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40265         <kernel-features.h>.
40266         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40267         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40268         (lockf64) [__NR_fcntl64]: Make code unconditional.
40269         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40271         * sysdeps/unix/sysv/linux/kernel-features.h
40272         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40273         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40274         Make code unconditional.
40275         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40276         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40278         [__NR_vfork]: Make code unconditional.
40279         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40280         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40282         [__NR_vfork]: Make code unconditional.
40283         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40284         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40286 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40288         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40289         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40291         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40292         Define mkstemp64 as an alias.
40293         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40294         Define mkstemps64 as an alias.
40295         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40296         Define mkostemp64 as an alias.
40297         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40298         Define mkostemps64 as an alias.
40299         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40300         Conditionalize body on this.
40301         * misc/mkostemp64.c: Likewise.
40302         * misc/mkostemps64.c: Likewise.
40303         * misc/mkstemps64.c: Likewise.
40304         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40305         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40306         * sysdeps/wordsize-64/mkostemp.c: File removed.
40307         * sysdeps/wordsize-64/mkstemp.c: File removed.
40308         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40309         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40310         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40311         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40313         [BZ #14138]
40314         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40315         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40316         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40317         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40319         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40320         compat_symbol macros from <shlib-compat.h> rather than the underlying
40321         default_symbol_version and symbol_version macros, so that DEFAULT
40322         lines in shlib-versions are respected.
40323         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40325 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40327         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40328         Declare with warn_unused_result.
40329         (setgid, setregid, setegid, setresgid): Likewise.
40330         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40331         Likewise.
40332         * WUR-REPORT: Remove set*id functions.
40334 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40336         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40338 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40340         [BZ #10191]
40341         * include/sys/socket.h (__libc_accept, __libc_accept4):
40342         Add attribute_hidden.
40343         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40345         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40346         use of PTR_MANGLE.
40347         * inet/getnetgrent_r.c (setup): Likewise.
40349         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40351 2012-07-31  David S. Miller  <davem@davemloft.net>
40353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40355 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40357         [BZ #13629]
40358         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40359         value between 1.0 and 2.0 and smaller part has absolute value less
40360         than 1.0.
40361         * math/s_clog10.c (__clog10): Likewise.
40362         * math/s_clog10f.c (__clog10f): Likewise.
40363         * math/s_clog10l.c (__clog10l): Likewise.
40364         * math/s_clogf.c (__clogf): Likewise.
40365         * math/s_clogl.c (__clogl): Likewise.
40366         * math/libm-test.inc (clog_test): Add more tests.
40367         (clog10_test): Likewise.
40368         * sysdeps/i386/fpu/libm-test-ulps: Update.
40369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40371 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40373         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40374         Exit with zero in case no suitable GID is found, and write a
40375         message to standard error.
40377 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40379         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40380         rather than to 1.
40381         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40382         (MAXPATHLEN): Removed.
40383         (NOGROUP, NODEV): New macros.
40384         (setbit, clrbit, isset, isclr): New macros.
40385         (howmany, roundup, powerof2): New macros.
40386         (DEV_BSIZE): New macro.
40388         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40389         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40391         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40392         definition on [!__NO_LONG_DOUBLE_MATH].
40394         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40395         PTR_MANGLE and PTR_DEMANGLE.
40397         * socket/accept4.c (accept4): Rename to __libc_accept4.
40398         Define accept4 as a weak alias.
40400         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40401         on [_DIRENT_HAVE_D_TYPE].
40402         * io/ftw.c (ftw_dir): Likewise.
40404         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40406         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40408         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40409         Use the BSD numbers rather than the arbitrary ones we had.
40410         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40411         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40412         (SIGXCPU, SIGXFSZ): New macros.
40413         (_NSIG): Now 32.
40415         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40416         initializer on [_LIBC_REENTRANT].
40418         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40419         definitions inside [_POSIX_MAPPED_FILES].
40421         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40423         * dirent/opendir.c: Include <fcntl.h>.
40425         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40426         (__libc_getspecific): Likewise.
40427         (__libc_key_create): Likewise.
40429         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40430         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40431         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40432         (tmpfile64): Define as alias.
40433         * sysdeps/wordsize-64/tmpfile.c: File removed.
40434         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40435         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40436         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40438         * stdio-common/vfscanf.c: Include <stdbool.h>.
40439         * nss/makedb.c: Likewise.
40440         * stdio-common/_i18n_number.h: Likewise.
40441         * argp/argp-help.c: Likewise.
40442         * posix/wordexp.c: Likewise.
40443         * sysdeps/posix/spawni.c: Likewise.
40444         * nss/nss_files/files-initgroups.c: Likewise.
40445         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40446         * nss/nss_files/files-initgroups.c: Likewise.
40447         * nss/nss_db/db-netgrp.c: Likewise.
40448         * nss/nss_db/db-initgroups.c: Likewise.
40449         * io/fchmodat.c: Include <sys/stat.h>.
40451         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40452         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40454         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40455         [HAVE_MMAP].
40457         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40458         Add multiple inclusion protection.
40460 2012-07-27  David S. Miller  <davem@davemloft.net>
40462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40464 2012-07-27  Gary Benson  <gbenson@redhat.com>
40466         [BZ #14298]
40467         * elf/rtld.c: Include <stap-probe.h>.
40468         (dl_main): Added static probes "init_start" and "init_complete".
40469         * elf/dl-load.c: Include <stap-probe.h>.
40470         (lose): Take new parameter "nsid".
40471         Added static probe "map_failed".
40472         (_dl_map_object_from_fd): Pass namespace id to lose.
40473         Added static probe "map_start".
40474         (open_verify): Pass namespace id to lose.
40475         * elf/dl-open.c: Include <stap-probe.h>.
40476         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40477         and "reloc_complete".
40478         * elf/dl-close.c: Include <stap-probe.h>.
40479         (_dl_close_worker): Added static probes "unmap_start" and
40480         "unmap_complete".
40481         * elf/rtld-debugger-interface.txt: New file documenting the above.
40483 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40485         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40486         rather than a string variable.
40487         * sunrpc/rpc_main.c (h_output): Likewise.
40488         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40490 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40492         * inet/check_native.c: New file.
40494 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40496         [BZ #13629]
40497         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40498         if larger part has absolute value 1.0.
40499         * math/s_clog10.c (__clog10): Likewise.
40500         * math/s_clog10f.c (__clog10f): Likewise.
40501         * math/s_clog10l.c (__clog10l): Likewise.
40502         * math/s_clogf.c (__clogf): Likewise.
40503         * math/s_clogl.c (__clogl): Likewise.
40504         * math/libm-test.inc (clog_test): Add more tests.
40505         (clog10_test): Likewise.
40506         * sysdeps/i386/fpu/libm-test-ulps: Update.
40507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40509         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40510         (pltexit): Likewise.
40511         (La_regs): Likewise.
40512         (La_retval): Likewise.
40513         (int_retval): Likewise.
40514         Update #error for removed macros to refer only to definitions in
40515         tst-audit.h.
40516         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40517         macro.
40518         (pltexit): Likewise.
40519         (La_regs): Likewise.
40520         (La_retval): Likewise.
40521         (int_retval): Likewise.
40522         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40523         macro.
40524         (pltexit): Likewise.
40525         (La_regs): Likewise.
40526         (La_retval): Likewise.
40527         (int_retval): Likewise.
40528         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40529         macro.
40530         (pltexit): Likewise.
40531         (La_regs): Likewise.
40532         (La_retval): Likewise.
40533         (int_retval): Likewise.
40534         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40535         macro.
40536         (pltexit): Likewise.
40537         (La_regs): Likewise.
40538         (La_retval): Likewise.
40539         (int_retval): Likewise.
40540         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40541         macro.
40542         (pltexit): Likewise.
40543         (La_regs): Likewise.
40544         (La_retval): Likewise.
40545         (int_retval): Likewise.
40546         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40547         macro.
40548         (pltexit): Likewise.
40549         (La_regs): Likewise.
40550         (La_retval): Likewise.
40551         (int_retval): Likewise.
40552         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40553         macro definitions in tst-audit.h.
40554         * sysdeps/i386/tst-audit.h: New file.
40555         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40556         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40557         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40558         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40559         * sysdeps/sh/tst-audit.h: Likewise.
40560         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40561         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40562         * sysdeps/x86_64/tst-audit.h: Likewise.
40564 2012-07-26  Andreas Jaeger  <aj@suse.de>
40566         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40567         ptrace.
40569         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40570         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40571         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40572         PTRACE_O_MASK.
40573         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40574         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40575         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40577         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40578         value.
40580         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40581         _sigsys.
40582         (si_call_addr, si_syscall, si_arch): Define new macro.
40583         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40584         _sigsys.
40585         (si_call_addr, si_syscall, si_arch): Define new marcro.
40586         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40587         _sigsys.
40588         (si_call_addr, si_syscall, si_arch): Define new macro.
40589         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40590         _sigsys.
40591         (si_call_addr, si_syscall, si_arch): Define new macro.
40593 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40595         [BZ #13717]
40596         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40597         Change to 2.4.21 where previously 2.4.1.
40598         * sysdeps/unix/sysv/linux/configure: Regenerated.
40599         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40600         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40601         Linux kernel version.
40602         (__ASSUME_STD_AUXV): Remove.
40603         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40604         kernel version.
40605         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40606         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40607         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40608         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40609         (__ASSUME_NETLINK_SUPPORT): Likewise.
40610         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40611         (__no_netlink_support): Remove conditional definition.
40612         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40613         Remove.
40614         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40615         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40616         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40617         (if_nameindex_ioctl): Remove.
40618         (if_nameindex_netlink): Do not handle __no_netlink_support.
40619         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40620         code.
40621         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40622         Remove conditional code.
40623         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40624         code.
40625         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40626         unconditional.
40627         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40628         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40629         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40630         Remove.
40631         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40632         [!__ASSUME_STD_AUXV]: Remove conditional code.
40633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40634         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40635         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40637         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40638         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40639         code.
40640         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40642         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40643         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40644         conditional code.
40645         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40647         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40648         code.
40649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40650         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40651         conditional code.
40652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40653         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40654         code unconditional.
40655         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40656         conditional code.
40657         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40658         unconditional.
40659         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40660         conditional code.
40661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40662         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40663         unconditional.
40664         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40665         conditional code.
40666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40667         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40668         code unconditional.
40669         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40670         conditional code.
40671         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40672         unconditional.
40673         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40674         conditional code.
40675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40676         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40677         code unconditional.
40678         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40679         conditional code.
40680         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40681         unconditional.
40682         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40683         conditional code.
40685 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40687         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40688         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40689         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40690         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40691         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40692         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40693         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40694         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40695         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40696         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40697         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40698         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40699         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40700         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40701         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40702         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40703         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40704         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40705         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40707         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40708         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40709         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40711 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40713         * Versions.def: Add GLIBC_2.17.
40714         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40715         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40716         Introduce __libc_secure_getenv.
40717         * stdlib/Versions (2.17): Add secure_getenv
40718         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40719         * stdlib/secure-getenv.c: Rename __secure_getenv to
40720         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40721         symbol __secure_getenv for GLIBC_2.0.
40722         * stdlib/tst-secure-getenv.c: New.
40723         * stdlib/Makefile (tests): Add testcase.
40724         * manual/startup.texi (Environment Access): Document
40725         secure_getenv.
40726         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40727         __libc_secure_getenv.
40728         * inet/ruserpass.c (ruserpass): Likewise.
40729         * malloc/mtrace.c (mtrace): Likewise.
40730         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40731         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40732         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40733         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40734         HAVE_SECURE_GETENV.
40735         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40736         __secure_getenv to __libc_secure_getenv.
40737         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40739         Likewise.
40740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40741         Likewise.
40742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40744         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40750 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40752         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40753         (struct La_i86_retval): Likewise.
40754         (struct La_x86_64_regs): Likewise.
40755         (struct La_x86_64_retval): Likewise.
40756         (struct La_x32_regs): Likewise.
40757         (struct La_x32_retval): Likewise.
40758         (struct La_ppc32_regs): Likewise.
40759         (struct La_ppc32_retval): Likewise.
40760         (struct La_ppc64_regs): Likewise.
40761         (struct La_ppc64_retval): Likewise.
40762         (struct La_sh_regs): Likewise.
40763         (struct La_sh_retval): Likewise.
40764         (struct La_s390_32_regs): Likewise.
40765         (struct La_s390_32_retval): Likewise.
40766         (struct La_s390_64_regs): Likewise.
40767         (struct La_s390_64_retval): Likewise.
40768         (struct La_sparc32_regs): Likewise.
40769         (struct La_sparc32_retval): Likewise.
40770         (struct La_sparc64_regs): Likewise.
40771         (struct La_sparc64_retval): Likewise.
40772         (struct audit_ifaces): Remove architecture-specific pltenter and
40773         pltexit members.
40774         * sysdeps/i386/ldsodefs.h: New file.
40775         * sysdeps/powerpc/ldsodefs.h: Likewise.
40776         * sysdeps/s390/ldsodefs.h: Likewise.
40777         * sysdeps/sh/ldsodefs.h: Likewise.
40778         * sysdeps/sparc/ldsodefs.h: Likewise.
40779         * sysdeps/x86_64/ldsodefs.h: Likewise.
40781 2012-07-25  Marek Polacek  <polacek@redhat.com>
40783         [BZ #6808]
40784         * math/libm-test.inc (yn_test): Add another test.
40785         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40786         to ERANGE when the result is +-Inf.
40787         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40788         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40789         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40790         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40792 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40794         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40795         equal to 0.
40796         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40797         clock_t.
40798         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40800 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40802         * configure.in <sysdeps resolving>: Correct printing
40803         Implies_before.
40804         * configure: Regenerate.
40806 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40808         * math/w_ilogb.c: Include <limits.h>.
40809         * math/w_ilogbl.c: Likewise.
40811 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40813         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40814         va_copy.  Document allowing for unavailable va_copy only as
40815         pre-C99 compatibility.
40816         * manual/string.texi (Copying and Concatenation): Use va_copy
40817         instead of __va_copy in concat example.
40819 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40821         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40822         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40823         it if not null.
40825         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40826         with O_NOLINK passed to __file_name_lookup.
40828         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40829         with O_NOLINK passed to __file_name_lookup.
40831         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40832         negative N or less than NGIDS.
40834         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40835         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40836         enough.  Use memcpy instead of strncpy.
40838 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40840         * elf/Makefile (check-data): Remove.
40841         (localplt.data): New vpath directive.
40842         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40843         instead of $(check-data).
40844         * scripts/data/localplt-generic.data: Move to ...
40845         * sysdeps/generic/localplt.data: ... here.
40846         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40847         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40848         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40850         ... here.
40851         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40853         ... here.
40854         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40856         ... here.
40857         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40859         ... here.
40860         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40862         ... here.
40863         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40865         ... here.
40867 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40869         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40870         PPC32 and PPC64 files.
40871         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40872         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40874 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40876         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40877         __makecontext_ret to ...
40878         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40879         ... here and call exit if uc_link is NULL.  New file.
40880         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40881         __makecontext_ret.S.
40882         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40883         __makecontext_ret to ...
40884         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40885         ... here and call exit if uc_link is NULL.  New file.
40886         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40887         __makecontext_ret.S.
40889 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40891         * elf/elf.h (R_390_IRELATIVE): New definition.
40892         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40893         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40894         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40895         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40896         (elf_machine_lazy_rel): Likewise.
40897         * sysdeps/s390/dl-irel.h: New file.
40898         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40899         * sysdeps/s390/s390-64/memset.S: New asm code.
40900         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40901         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40902         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40903         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40904         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40905         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40906         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40907         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40908         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40909         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40910         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40911         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40912         * sysdeps/s390/s390-32/memset.S: New asm code.
40913         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40915 2012-07-17  Marek Polacek  <polacek@redhat.com>
40917         [BZ #14349]
40918         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40919         * sysdeps/s390/s390-64/configure.in: Likewise.
40920         * sysdeps/sparc/configure.in: Likewise.
40921         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40922         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40923         * sysdeps/i386/configure.in: Likewise.
40924         * sysdeps/x86_64/configure.in: Likewise.
40925         * sysdeps/sh/configure.in: Likewise.
40926         * sysdeps/s390/s390-32/configure: Regenerated.
40927         * sysdeps/s390/s390-64/configure: Likewise.
40928         * sysdeps/x86_64/configure: Likewise.
40929         * sysdeps/sh/configure: Likewise.
40930         * sysdeps/powerpc/powerpc64/configure: Likewise.
40931         * sysdeps/powerpc/powerpc32/configure: Likewise.
40932         * sysdeps/sparc/configure: Likwise.
40933         * sysdeps/i386/configure: Likewise.
40935         * elf/dl-open.c: Comment fixes.
40937 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40939         * Makefile [CXX] (check-data): Remove.
40940         [CXX] (c++-types.data): New vpath directive.
40941         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40942         vpath.  Do not allow for C++ type data being missing.
40943         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40944         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40945         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40946         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40947         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40948         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40949         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40951         ... here.
40952         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40954         ... here.
40955         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40957         ... here.
40958         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40960         ... here.
40961         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40963         ... here.
40964         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40966         ... here.
40967         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40969         ... here.
40970         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40973         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40974         definitions to architecture-specific files.
40975         (TLS_IE): Likewise.
40976         (TLS_LD): Likewise.
40977         (TLS_GD): Likewise.
40978         * sysdeps/i386/tls-macros.h: New file.
40979         * sysdeps/powerpc/tls-macros.h: Likewise.
40980         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40981         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40982         * sysdeps/sh/tls-macros.h: Likewise.
40983         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40984         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40985         * sysdeps/x86_64/tls-macros.h: Likewise.
40987 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40989         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40990         zero value for regular exit case.
40992         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40993         (__start_context): Preserve zero value for regular exit case.
40995 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40996             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40998         * manual/setjmp.texi (setcontext): Clarify normal process
40999         termination when uc_link is the null pointer.
41000         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41001         exit call.
41003 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41005         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41006         preprocessor.  Test for each exception mask separately.
41008 2012-07-16  Andreas Jaeger  <aj@suse.de>
41010         * po/ru.po: Update from translation team.
41012 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41014         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41015         equal to 0.
41016         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41017         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41018         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41019         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41020         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41022 2012-07-13  Andreas Jaeger  <aj@suse.de>
41024         * po/fr.po: Update from translation team.
41026 2012-07-12  Marek Polacek  <polacek@redhat.com>
41028         [BZ #14173]
41029         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41030         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41031         loop condition.
41033 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41035         [BZ #13717]
41036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41037         Change to 2.4.1 where previously 2.4.0.
41038         * sysdeps/unix/sysv/linux/configure: Regenerated.
41039         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41040         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41041         version.
41042         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41043         (__ASSUME_AT_CLKTCK): Remove.
41044         (__ASSUME_AT_PAGESIZE): Likewise.
41045         (__ASSUME_AT_XID): Likewise.
41046         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41047         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41048         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41049         unconditionally.
41050         (HAVE_AUX_PAGESIZE): Likewise.
41051         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41052         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41053         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41055 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41057         [BZ #14307]
41058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41059         the temporary buffer used to invoke __gethostbyname2_r,
41060         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41061         host_data / struct gaih_addrtuple.
41062         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41063         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41064         header file nss/nsswitch.h.
41065         * nss/nsswitch.h (global scope): Add definition of implementation
41066         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41067         resolv/nss_dns/dns-host.c).
41069 2012-07-11  Andreas Jaeger  <aj@suse.de>
41071         * po/fr.po: Update from translation team.
41073         * po/sv.po: Update from translation team
41074         * po/fr.po: Another update from translation team.
41076 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41078         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41079         for subnormals or multiply small sinh result by itself.
41080         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41083 2012-07-11  David S. Miller  <davem@davemloft.net>
41085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41087 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41089         [BZ #14347]
41090         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41091         (INTERNAL_MARK): Shift it here.
41093 2012-07-10  Marek Polacek  <polacek@redhat.com>
41095         [BZ #14151]
41096         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41097         libc_cv_asm_global_directive with .globl.
41098         * configure: Regenerated.
41099         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41100         with .globl.
41101         * sysdeps/i386/configure: Regenerated.
41102         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41103         with .globl.
41104         * sysdeps/x86_64/configure: Regenerated.
41105         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41106         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41107         * elf/tst-unique2mod2.c: Likewise.
41108         * elf/tst-unique2mod1.c: Likewise.
41109         * elf/tst-unique1mod2.c: Likewise.
41110         * elf/tst-unique1mod1.c: Likewise.
41111         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41112         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41113         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41114         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41115         * sysdeps/mach/sysdep.h: Likewise.
41116         * sysdeps/i386/sysdep.h: Likewise.
41117         * sysdeps/i386/i386-mcount.S: Likewise.
41118         * sysdeps/x86_64/_mcount.S: Likewise.
41119         * sysdeps/x86_64/sysdep.h: Likewise.
41120         * sysdeps/sh/_mcount.S: Likewise.
41121         * sysdeps/sh/sysdep.h: Likewise.
41122         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41123         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41124         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41125         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41126         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41127         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41128         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41129         * locale/localeinfo.h: Likewise.
41130         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41131         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41133 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41135         [BZ #14336]
41136         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41137         system".
41138         * manual/message.texi (The Uniforum approach): Likewise.
41139         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41140         (glibc iconv Implementation): Likewise.
41142 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41144         [BZ #14337]
41145         * math/s_clog.c (__clog): Avoid scaling a value down where that
41146         could result in underflow.
41147         * math/s_clog10.c (__clog10): Likewise.
41148         * math/s_clog10f.c (__clog10f): Likewise.
41149         * math/s_clog10l.c (__clog10l): Likewise.
41150         * math/s_clogf.c (__clogf): Likewise.
41151         * math/s_clogl.c (__clogl): Likewise.
41152         * math/libm-test.inc (clog_test): Add more tests.
41153         (clog10_test): Likewise.
41154         * sysdeps/i386/fpu/libm-test-ulps: Update.
41155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41157 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41159         [BZ #14283]
41160         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41161         by 7 not 8 to examine high bit of fractional part.
41163         [BZ #14042]
41164         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41165         for call to __mcount_internal.
41166         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41167         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41168         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41170 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41172         [BZ #14154]
41173         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41174         approximation for values within 0x1p-13f of an odd multiple of
41175         pi/4.
41176         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41177         exception.  Add more tests.
41178         * sysdeps/i386/fpu/libm-test-ulps: Update.
41180         [BZ #6778]
41181         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41182         inputs and return -1 for them.  Do not check for +Inf in case not
41183         reachable for +Inf.
41184         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41185         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41186         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41187         and return -1 for them.  Do not check for +Inf in case not
41188         reachable for +Inf.
41189         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41190         define.
41191         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41192         and return -1 for them.  Do not check for +Inf in case not
41193         reachable for +Inf.
41194         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41195         spurious underflow.
41196         * sysdeps/i386/fpu/libm-test-ulps: Update.
41197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41199 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41201         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41203 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41205         [BZ #14157]
41206         [BZ #14331]
41207         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41208         could result in spurious underflow.  Scale down values above
41209         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41210         * math/s_csqrtf.c (__csqrtf): Likewise.
41211         * math/s_csqrtl.c (__csqrtl): Likewise.
41212         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41213         spurious underflow.
41214         * sysdeps/i386/fpu/libm-test-ulps: Update.
41215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41217 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41219         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41220         xopen-msg.sed.
41221         * catgets/xopen-msg.awk: New file.
41222         * catgets/xopen-msg.sed: Removed.
41224         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41225         po2text.sed.
41226         * intl/po2test.awk: New file.
41227         * intl/po2test.sed: Removed.
41229 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41231         [BZ #14328]
41232         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41233         or multiply small sinh result by itself.
41234         * math/s_ctanf.c (__ctanf): Likewise.
41235         * math/s_ctanh.c (__ctanh): Likewise.
41236         * math/s_ctanhf.c (__ctanhf): Likewise.
41237         * math/s_ctanhl.c (__ctanhl): Likewise.
41238         * math/s_ctanl.c (__ctanl): Likewise.
41239         * math/libm-test.inc (ctan_test_tonearest): New function.
41240         (ctan_test_towardzero): Likewise.
41241         (ctan_test_downward): Likewise.
41242         (ctan_test_upward): Likewise.
41243         (ctanh_test_tonearest): Likewise.
41244         (ctanh_test_towardzero): Likewise.
41245         (ctanh_test_downward): Likewise.
41246         (ctanh_test_upward): Likewise.
41247         (main): Call these new functions.
41248         * sysdeps/i386/fpu/libm-test-ulps: Update.
41249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41251 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41253         * .gitignore: Delete /ports entry.
41255 2012-07-03  Andreas Jaeger  <aj@suse.de>
41257         * po/bg.po: Update from translation team.
41258         * po/cs.po: Likewise.
41259         * po/de.po: Likewise.
41260         * po/hr.po: Likewise.
41261         * po/nl.pl: Likewise.
41262         * po/pl.po: Likewise.
41263         * po/vi.po: Likewise.
41265 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41267         * Makeconfig [!+link] (+link-before-libc): New variable.
41268         [!+link] (+link-after-libc): Likewise.
41269         [!+link] (+link-tests): Likewise.
41270         [!+link] (+link): Define in terms of $(+link-before-libc) and
41271         $(+link-after-libc).
41272         [!+link-static] (+link-static-before-libc): New variable.
41273         [!+link-static] (+link-static-after-libc): Likewise.
41274         [!+link-static] (+link-static-tests): Likewise.
41275         [!+link-static] (+link-static): Define in terms of
41276         $(+link-static-before-libc) and $(+link-static-after-libc).
41277         [build-shared] (link-libc-before-gnulib): New variable.
41278         [build-shared] (link-libc-tests): Likewise.
41279         [build-shared] (link-libc): Define in terms of
41280         $(link-libc-before-gnulib).
41281         [!build-shared] (link-libc-tests): New variable.
41282         (link-libc-static-tests): New variable.
41283         [!gnulib] (gnulib-arch): New variable.
41284         [!gnulib] (gnulib-tests): Likewise.
41285         [!gnulib] (static-gnulib-arch): Likewise.
41286         [!gnulib] (static-gnulib-tests): Likewise.
41287         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41288         Define with "=" instead of ":=".
41289         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41290         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41291         * Rules (binaries-all-notests): New variable.
41292         (binaries-all-tests): Likewise.
41293         (binaries-static-notests): Likewise.
41294         (binaries-static-tests): Likewise.
41295         (binaries-all): Define using $(binaries-all-notests) and
41296         $(binaries-all-tests).
41297         (binaries-static): Define using $(binaries-static-notests) and
41298         $(binaries-static-tests).
41299         (binaries-shared-tests): New variable.
41300         (binaries-shared-notests): Likewise.
41301         (binaries-shared): Remove variable.
41302         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41303         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41304         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41305         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41306         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41307         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41308         * elf/Makefile (sln-modules): New variable.
41309         (extra-objs): Add $(sln-modules:=.o).
41310         (ldconfig-modules): Add static-stubs.
41311         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41312         * elf/static-stubs.c: New file.
41314         [BZ #14283]
41315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41316         by 7 not 8 to examine high bit of fractional part.  Use volatile
41317         variables when splitting into final array of floats if
41318         __FLT_EVAL_METHOD__ != 0.
41319         * math/libm-test.inc (cos_test): Add another test.
41320         (sin_test): Likewise.
41321         * sysdeps/i386/fpu/libm-test-ulps: Update.
41323         [BZ #14273]
41324         * math/libm-test.inc (cosh_test): Add more tests.
41326         * version.h (RELEASE): Set to "development".
41327         (VERSION): Set to "2.16.90".
41329 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41331         * NEWS: Update copyright. Remove last-updated date.
41332         Mention math library bug fixes and timezone data changes.
41333         * README: Mention GNU/Hurd, x32, and HPPA support status.
41335 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41337         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41339 2012-06-27  Andreas Jaeger  <aj@suse.de>
41341         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41343 2012-06-25  Andreas Jaeger  <aj@suse.de>
41345         * sysdeps/s390/fpu/libm-test-ulps: Update.
41347 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41348             Thomas Schwinge  <thomas@codesourcery.com>
41350         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41351         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41352         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41353         fanotify_mark.
41355 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41357         * sysdeps/mach/start.c: Remove file.
41358         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41359         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41360         * sysdeps/sh/init-first.c: Likewise.
41362         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41363         registers for frame unwinding purposes, add CFI directives.
41364         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41365         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41366         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41367         Likewise.
41369         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41370         __fortify_fail returning.
41371         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41373         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41374         sysdeps/sh/____longjmp_chk.S.
41375         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41376         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41377         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41378         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41380         * sysdeps/sh/abort-instr.h: New file.
41381         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41382         process in case exit returns.
41384         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41385         initialize the GOT register before use.
41387         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41388         calculation of ARGC > 4.
41390         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41391         meaningful names to some local labels.
41393 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41394             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41396         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41397         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41398         (__arch_compare_and_exchange_val_16_acq): Likewise.
41399         (__arch_compare_and_exchange_val_32_acq): Likewise.
41400         (atomic_exchange_and_add): Fix gUSA sequence.
41401         (atomic_add): Likewise.
41402         (atomic_add_negative): Likewise.
41403         (atomic_add_zero): Likewise.
41404         (atomic_bit_test_set): Likewise.
41406 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41408         [BZ #13579]
41409         * include/link.h (struct link_map): Add l_free_initfini.
41410         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41411         l_initfini.
41412         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41413         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41414         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41415         set.
41417 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41419         * configure.in: Use AC_LANG_SOURCE.
41420         * configure: Regenerate.
41422 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41424         * configure.in (libc_cv_localstatedir): New substituted variable.
41425         * configure: Regenerated.
41426         * config.make.in (localstatedir): New variable, substituted from
41427         libc_cv_localstatedir.
41428         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41429         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41430         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41431         * sysdeps/gnu/configure: Regenerated.
41433 2012-06-21  Jeff Law  <law@redhat.com>
41435         [BZ #14277]
41436         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41437         free.  Simplify list management for _LIBC case.
41439 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41441         [BZ #14273]
41442         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41443         Clear sign bit of 64-bit integer value before comparing against
41444         overflow value.
41446         * sysdeps/mach/configure: Regenerated.
41448 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41450         [BZ #14278]
41451         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41453 2012-06-21  Jeff Law  <law@redhat.com>
41455         [BZ #13882]
41456         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41457         uint16_t for elements in the "seen" array to avoid char overflows.
41458         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41459         * elf/dl-open.c (dl_open_worker): Likewise.
41461 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41463         * scripts/list-sources.sh: Scan PORTS for translations.
41464         * po/libc.pot: Regenerated.
41466 2012-06-21  Andreas Jaeger  <aj@suse.de>
41468         [BZ #12194]
41469         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41470         warning.
41471         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41472         * bits/byteswap-16.h (__bswap_16): Likewise.
41473         * bits/byteswap.h (__bswap_constant_16): Likewise.
41475 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41477         [BZ #14117]
41478         * sysdeps/i386/fpu_control.h: Removed.
41479         * sysdeps/x86_64/fpu_control.h: Moved to ...
41480         * sysdeps/x86/fpu_control.h: Here.
41482         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41483         (_FPU_SETCW): Likewise.
41485 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41487         [BZ #14117]
41488         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41489         * sysdeps/x86/fpu/bits/mathinline.h: This.
41490         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41492         [BZ #14050]
41493         [BZ #14117]
41494         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41495         functions if __x86_64__ is defined.
41497 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41499         * string/endian.h: Add !__ASSEMBLER__ condition for including
41500         conversion interfaces.
41502 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41504         [BZ #14241]
41505         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41506         of ABS(x) in calculating zero to negative powers other than odd
41507         integers.
41508         * math/libm-test.inc (pow_test): Add more tests.
41510 2012-06-15  Andreas Jaeger  <aj@suse.de>
41512         * manual/contrib.texi (Contributors): Update entry of Liubov
41513         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41514         Machado Filho.
41516 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41518         * string/string.h: Add __wur to GNU version of strerror_r.
41520 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41522         [BZ #14229]
41523         * string/Makefile (tests): Add tst-strtok_r.
41524         * string/tst-strtok_r.c: New file.
41525         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41526         RAX_LP/RDX_LP on SAVE_PTR.
41528 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41530         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41532 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41534         * libm_test.inc (csqrt_test): Allow more spurious underflow
41535         exceptions.
41536         (j0_test): Likewise.
41537         (j1_test): Likewise.
41538         (y0_test): Likewise.
41539         (y1_test): Likewise.
41541 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41543         * po/Makefile (libc.pot): Use UTF-8 charset.
41545 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41547         [BZ #14210]
41548         Suppress sign-conversion warning from FD_SET.
41549         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41550         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41551         not unsigned long int.
41552         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41554 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41556         [BZ #14050]
41557         [BZ #14117]
41558         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41559         __extern_always_inline instead of __extern_inline.
41560         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41561         (__signbit): Likewise.
41562         (__signbitl): Support C++ namespace.
41563         (lrintf): New inline function.
41564         (lrint): Likewise.
41565         (llrintf): Likewise.
41566         (llrint): Likewise.
41567         (fmaxf): Likewise.
41568         (fmax): Likewise.
41569         (fminf): Likewise.
41570         (fmin): Likewise.
41571         (rint): Likewise.
41572         (rintf): Likewise.
41573         (ceil): Likewise.
41574         (ceilf): Likewise.
41575         (floor): Likewise.
41576         (floorf): Likewise.
41577         (nearbyint): Likewise.
41578         (nearbyintf): Likewise.
41580 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41582         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41583         non-default versions.
41585 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41587         [BZ #14218]
41588         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41590 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41592         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41593         (FE_UPWARD, FE_DOWNWARD): Don't define.
41594         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41595         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41597         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41598         reading it.
41599         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41600         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41602 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41604         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41605         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41606         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41607         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41609 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41611         [BZ #14117]
41612         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41613         * sysdeps/i386/fpu/Implies: New file.
41614         * sysdeps/x86_64/fpu/Implies: Likewise.
41615         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41616         * sysdeps/x86/fpu/bits/fenv.h: This.
41618         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41619         __SSE_MATH__.
41621 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41623         [BZ #14134]
41624         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41625         character 0xffff that matches the last element of the
41626         conversion table.
41628 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41630         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41631         fmodl commit.
41633 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41636         values higher than 25.6283.
41638 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41640         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41641         subnormal exponent extraction and add some __builtin_expect.
41642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41643         Fix for subnormal mantissa calculation.
41645 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41647         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41648         cpu2 is -1 and errno is not ENOSYS.
41650 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41652         [BZ #14117]
41653         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41654         * sysdeps/x86/bits/string.h: This.
41655         * sysdeps/x86_64/bits/string.h: Removed.
41657         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41658         if not compiling for x86-64, but compiling for >= i486.
41660         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41661         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41663         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41664         New macro from Linux kernel 3.4.0.
41665         (FP_XSTATE_MAGIC2): Likewise.
41666         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41667         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41668         (struct _fpx_sw_bytes): New struct.
41669         (struct _xsave_hdr): Likewise.
41670         (struct _ymmh_state): Likewise.
41671         (struct _xstate): Likewise.
41673         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41674         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41675         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41676         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41677         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41678         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41680         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41681         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41682         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41683         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41684         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41685         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41687 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41689         [BZ #13743]
41690         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41691         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41692         (sysdep_headers): Include sys/platform/ppc.h.
41693         * sysdeps/powerpc/test-gettimebase.c: Test for
41694         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41695         * manual/Makefile (appendices): Include platform.texi.
41696         * manual/contrib.texi (Contributors): Update @node pointers.
41697         * manual/maint.texi (Maintenance): Likewise.
41698         (Platform): New node.
41699         * manual/platform.texi: New file.  Document the new features.
41701 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41702             Jakub Jelinek  <jakub@redhat.com>
41704         [BZ #14188]
41705         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41706         where __builtin_expect is unavailable.
41708 2012-06-03  David S. Miller  <davem@davemloft.net>
41710         * stdlib/longlong.h: Updated from GCC.
41712 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41714         [BZ #14042]
41715         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41716         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41717         __mcount_internal.
41718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41719         (GLIBC_2.16): Likewise.
41721 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41723         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41725 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41728         (default-abi): New variable.
41729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41730         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41731         variable.
41732         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41733         Likewise.
41734         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41735         Likewise.
41736         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41737         Likewise.
41739         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41740         definition.  Document in comment.
41742 2012-06-01  David S. Miller  <davem@davemloft.net>
41744         * stdlib/longlong.h: Updated from GCC.
41746 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41748         [BZ #14117]
41749         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41750         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41751         sys/debugreg.h sys/io.h here.
41752         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41753         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41754         sys/io.h.
41755         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41756         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41757         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41758         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41759         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41760         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41762         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41763         Define only if __x86_64__ is defined.
41765 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41767         [BZ #14048]
41768         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41769         Use int64_t for variable i.
41770         * math/libm-test.inc (fmod_test): Add more tests.
41772         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41773         z computation is not scheduled after fetestexcept.
41774         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41775         Use math_force_eval instead of asm to ensure calculation scheduled
41776         before exception test.
41777         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41778         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41780 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41783         computation is not scheduled after fetestexcept.
41785 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41787         [BZ #14117]
41788         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41789         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41791 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41793         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41794         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41796 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41798         [BZ #14117]
41799         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41800         <bits/wordsize.h>.
41801         (__WCHAR_MIN): Support __WORDSIZE == 64.
41802         (__WCHAR_MAX): Likewise.
41804         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41805         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41807         [BZ #14183]
41808         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41809         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41811         [BZ #14117]
41812         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41813         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41815         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41816         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41818         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41819         Defined to 1 if __x86_64__ isn't defined.
41820         (_STAT_VER_LINUX_OLD): New.
41821         (st_atime): Remove duplicate.
41822         (st_mtime): Likewise.
41823         (st_ctime): Likewise.
41825 2012-05-31  David S. Miller  <davem@davemloft.net>
41827         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41828         entries.
41830 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41832         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41833         gen-libm-test.pl.
41835         [BZ #14132]
41836         * elf/dl-reloc.c: Include <_itoa.h>.
41837         (_dl_reloc_bad_type): Remove use of INTUSE.
41838         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41839         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41840         * stdio-common/psiginfo.c (psiginfo): Likewise.
41841         * stdio-common/psignal.c (psignal): Likewise.
41842         * string/strsignal.c (strsignal): Likewise.
41843         * include/signal.h (_sys_siglist): Declare hidden proto.
41844         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41845         INTVARDEF with libc_hidden_data_def.
41846         * stdio-common/itoa-udigits.c: Likewise.
41847         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41848         (_itoa_lower_digits_internal): Remove declaration.
41849         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41850         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41851         (_sys_sigabbrev_internal): Remove aliases.
41852         (_sys_siglist): Define hidden alias.
41854 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41857         bits/sysctl.h.
41859 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41861         [BZ #14117]
41862         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41863         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41865         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41866         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41867         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41868         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41869         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41870         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41872         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41873         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41874         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41876         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41877         with __addr.
41878         (insw): Likewise.
41879         (insl): Likewise.
41880         (outsb): Likewise.
41881         (outsw): Likewise.
41882         (outsl): Likewise.
41884         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41885         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41886         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41888         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41889         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41890         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41891         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41892         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41893         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41895         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41896         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41898         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41899         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41901         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41903         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41905         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41906         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41907         to ...
41908         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41910         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41911         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41912         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41914         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41915         for x86-64.
41916         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41918 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41920         * math/math.h (M_El): Use two more decimal places.
41921         (M_LOG2El): Likewise.
41922         (M_LOG10El): Likewise.
41923         (M_LN2l): Likewise.
41924         (M_LN10l): Likewise.
41925         (M_PIl): Likewise.
41926         (M_PI_2l): Likewise.
41927         (M_PI_4l): Likewise.
41928         (M_1_PIl): Likewise.
41929         (M_2_PIl): Likewise.
41930         (M_2_SQRTPIl): Likewise.
41931         (M_SQRT2l): Likewise.
41932         (M_SQRT1_2l): Likewise.
41934 2012-05-31  David S. Miller  <davem@davemloft.net>
41936         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41937         values between float registers.
41938         * sysdeps/sparc/sparc64/memset.S: Likewise.
41939         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41941 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41943         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41944         -D_FORTIFY_SOURCE=1.
41945         (CPPFLAGS-tst-longjmp_chk.c): Define.
41946         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41947         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41948         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41949         CFLAGS-tst-wchar-h.c.
41951 2012-05-31  Marek Polacek  <polacek@redhat.com>
41953         [BZ #14132]
41954         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41955         __endmntent_internal): Remove declaration.
41956         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41957         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41958         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41960 2012-05-30  David S. Miller  <davem@davemloft.net>
41962         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41963         (___Q_simulate_exceptions): Use real FP ops rather than writing
41964         into the %fsr.
41965         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41966         Likewise.
41968 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41970         [BZ #14117]
41971         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41972         * sysdeps/x86/bits/xtitypes.h: This.
41974         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41975         * sysdeps/x86/bits/wordsize.h: This.
41977         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41978         * sysdeps/x86/bits/huge_vall.h: This.
41980         * sysdeps/i386/bits/select.h: Removed.
41981         * sysdeps/x86_64/bits/select.h: Renamed to ...
41982         * sysdeps/x86/bits/select.h: This.
41984         * sysdeps/i386/bits/setjmp.h: Removed.
41985         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41986         * sysdeps/x86/bits/setjmp.h: This.
41988         * sysdeps/i386/bits/mathdef.h: Removed.
41989         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41990         * sysdeps/x86/bits/mathdef.h: This.
41992 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41994         [BZ #14132]
41995         * include/sys/socket.h (__connect_internal)
41996         (__libc_sa_len_internal): Remove declaration.
41997         (__connect, __libc_sa_len): Declare hidden_proto.
41998         (SA_LEN): Remove use of INTUSE.
41999         * socket/connect.c: Add libc_hidden_def.
42000         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42001         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42002         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42003         alias.
42004         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42005         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42006         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42007         of adding _internal alias.
42009 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42011         [BZ #14117]
42012         * sysdeps/i386/bits/link.h: Removed.
42013         * sysdeps/i386/bits/linkmap.h: Likewise.
42014         * sysdeps/x86_64/bits/link.h: Renamed to ...
42015         * sysdeps/x86/bits/link.h: This.
42016         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42017         * sysdeps/x86/bits/linkmap.h: This.
42019         * sysdeps/i386/bits/endian.h: Removed.
42020         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42021         * sysdeps/x86/bits/endian.h: This.
42023         * sysdeps/i386/bits/byteswap.h: Removed.
42024         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42025         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42026         * sysdeps/x86/bits/byteswap.h: This.
42027         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42028         * sysdeps/x86/bits/byteswap-16.h: This.
42029         * sysdeps/i386/Implies: Add x86.
42030         * sysdeps/x86_64/Implies: Likewise.
42032 2012-05-30  David S. Miller  <davem@davemloft.net>
42034         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42035         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42036         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42037         (FP_TRAPPING_EXCEPTIONS): Define.
42038         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42039         (FP_TRAPPING_EXCEPTIONS): Define.
42040         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42041         subnormals only when inexact has been signalled or underflow
42042         exceptions are enabled.
42043         (_FP_PACK_CANONICAL): Likewise.
42045 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42047         [BZ #14183]
42048         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42049         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42051 2012-05-30  Richard Henderson  <rth@twiddle.net>
42053         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42054         with #ifndef NOT_IN_libc.
42056         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42057         marked to avoid plt entry.
42059 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42061         [BZ #14112]
42062         * Makeconfig (default-abi): New macro.
42063         (abi-includes): Likewise.
42064         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42065         $(abi-$(default-abi)-lib-soname) for soname if defined.
42066         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42067         abi-variants.
42068         * Makefile (installed-stubs): Likewise.
42069         * include/stubs-biarch.h: Removed.
42070         * scripts/lib-names.awk: Only handle one library at a time.
42071         * scripts/soversions.awk: Remove WORDSIZE support.
42072         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42073         entries.
42074         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42075         Removed.
42076         (syscall-list-default-condition): Likewise.
42077         (syscall-list-default-condition): Likewise.
42078         (syscall-list-includes): Likewise.
42079         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42080         syscall-list-* with abi-*.  Handle undefined abi-variants.
42081         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42082         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42083         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42084         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42085         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42086         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42087         Removed.
42088         (syscall-list-32-options): Likewise.
42089         (syscall-list-32-condition): Likewise.
42090         (syscall-list-64-options): Likewise.
42091         (syscall-list-64-condition): Likewise.
42092         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42093         macro.
42094         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42095         Renamed to ...
42096         (abi-*): This.
42097         (abi-64-ld-soname): New macro.
42098         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42099         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42100         Renamed to ...
42101         (abi-*): This.
42102         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42103         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42105 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42107         * sysdeps/unix/sysv/linux/kernel-features.h
42108         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42109         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42110         include <kernel-features.h>.
42111         [!__NR_ftruncate64]: Remove conditional code.
42112         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42113         [__NR_ftruncate64]: Make code unconditional.
42114         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42115         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42116         include <kernel-features.h>.
42117         [!__NR_ftruncate64]: Remove conditional code.
42118         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42119         [__NR_ftruncate64]: Make code unconditional.
42120         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42122         include <kernel-features.h>.
42123         [!__NR_ftruncate64]: Remove conditional code.
42124         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42125         [__NR_ftruncate64]: Make code unconditional.
42126         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42128         include <kernel-features.h>.
42129         [!__NR_ftruncate64]: Remove conditional code.
42130         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42131         [__NR_ftruncate64]: Make code unconditional.
42132         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42134         * configure.in (libc_cv_fpie): Weaken to a compile test using
42135         LIBC_TRY_CC_OPTION.
42136         * configure: Regenerated.
42138 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42144         Refreshed.
42145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42151         Refreshed.
42153 2012-05-27  David S. Miller  <davem@davemloft.net>
42155         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42156         (___Q_zero): New.
42157         (__Q_simulate_exceptions): Return void.  Change to simulate
42158         exceptions by writing into the %fsr.
42159         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42160         (__Qp_handle_exceptions): Likewise.
42161         (numbers): Delete.
42162         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42163         __Qp_handle_exceptions.
42164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42165         __Qp_handle_exceptions.
42166         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42167         as unused and give dummy FP_RND_NEAREST initializer.
42168         (FP_INHIBIT_RESULTS): Define.
42169         (___Q_simulate_exceptions): Update declaration.
42170         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42171         formatting.
42172         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42173         as unused and give dummy FP_RND_NEAREST initializer.
42174         (__Qp_handle_exceptions): Update declaration.
42175         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42176         formatting.
42178 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42180         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42181         the temporary FPU control word.
42182         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42183         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42184         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42185         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42186         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42187         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42188         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42189         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42190         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42191         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42192         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42194 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42196         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42197         fields.
42199 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42201         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42202         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42203         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42204         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42205         Likewise.
42206         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42207         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42208         Likewise.
42210 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42212         * po/h.po: Update from translation team.
42214 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42216         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42218         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42219         handling of denormals.
42220         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42221         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42222         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42223         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42225         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42226         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42227         Likewise.
42229 2012-05-26  Marek Polacek  <polacek@redhat.com>
42231         [BZ #14152]
42232         * math/libm-test.inc (fma_test): Don't always expect underflow
42233         exception.
42235 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42237         [BZ #12416]
42238         * elf/tst-execstack.c: Include stackinfo.h.
42239         (do_test): Adjust test case to ensure that pthread_getattr_np
42240         behaviour remains the same after marking stack executable.
42242 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42244         * sysdeps/unix/sysv/linux/kernel-features.h
42245         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42246         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42247         kernel-features.h.
42248         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42249         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42250         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42251         kernel-features.h.
42252         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42253         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42255 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42257         * configure.in: Define the default includes to being none.
42258         * configure: Regenerated.
42260 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42262         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42263         * sysdeps/x86_64/setjmp.S: Likewise.
42264         * sysdeps/i386/bsd-setjmp.S: Likewise.
42265         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42266         * sysdeps/i386/setjmp.S: Likewise.
42267         * sysdeps/i386/__longjmp.S: Likewise.
42268         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42269         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42271         * include/stap-probe.h: New file.
42272         * configure.in: Handle --enable-systemtap.
42273         * configure: Regenerated.
42274         * config.h.in (USE_STAP_PROBE): New #undef.
42275         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42276         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42277         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42279 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42281         [BZ #13717]
42282         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42283         to 2.4.0 where earlier.
42284         * sysdeps/unix/sysv/linux/configure: Regenerated.
42285         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
42290         <kernel-features.h>.
42291         [__ASSUME_32BITUIDS]: Make code unconditional.
42292         [!__ASSUME_32BITUIDS]: Remove conditional code.
42293         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42294         [__ASSUME_32BITUIDS]: Make code unconditional.
42295         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42296         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
42333         <kernel-features.h>.
42334         [__ASSUME_32BITUIDS]: Make code unconditional.
42335         [!__ASSUME_32BITUIDS]: Remove conditional code.
42336         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42337         <kernel-features.h>.
42338         [__NR_setresgid] (__setresgid): Do not declare.
42339         [__ASSUME_32BITUIDS]: Make code unconditional.
42340         [!__ASSUME_32BITUIDS]: Remove conditional code.
42341         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42342         <kernel-features.h>.
42343         [__NR_setresuid] (__setresuid): Do not declare.
42344         [__ASSUME_32BITUIDS]: Make code unconditional.
42345         [!__ASSUME_32BITUIDS]: Remove conditional code.
42346         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
42379         <kernel-features.h>.
42380         [__ASSUME_32BITUIDS]: Make code unconditional.
42381         [!__ASSUME_32BITUIDS]: Remove conditional code.
42382         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42383         <kernel-features.h>.
42384         [__ASSUME_32BITUIDS]: Make code unconditional.
42385         [!__ASSUME_32BITUIDS]: Remove conditional code.
42386         * sysdeps/unix/sysv/linux/kernel-features.h
42387         (__ASSUME_SETRESUID_SYSCALL): Remove.
42388         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42389         (__ASSUME_32BITUIDS): Likewise.
42390         (__ASSUME_LDT_WORKS): Likewise.
42391         (__ASSUME_O_DIRECTORY): Likewise.
42392         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42393         architecture but not kernel version.
42394         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42395         (__ASSUME_MMAP2_SYSCALL): Likewise.
42396         (__ASSUME_STAT64_SYSCALL): Likewise.
42397         (__ASSUME_IPC64): Likewise.
42398         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42399         <kernel-features.h>.
42400         [__ASSUME_32BITUIDS]: Make code unconditional.
42401         [!__ASSUME_32BITUIDS]: Remove conditional code.
42402         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42403         <kernel-features.h>.
42404         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42405         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42406         132096]: Remove conditional code.
42407         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42408         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
42413         <kernel-features.h>.
42414         [__ASSUME_32BITUIDS]: Make code unconditional.
42415         [!__ASSUME_32BITUIDS]: Remove conditional code.
42416         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42417         <kernel-features.h>.
42418         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42419         unconditional.
42420         (__setresgid): Do not declare.
42421         [__ASSUME_32BITUIDS]: Make code unconditional.
42422         [!__ASSUME_32BITUIDS]: Remove conditional code.
42423         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42424         <kernel-features.h>.
42425         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42426         unconditional.
42427         (__setresuid): Do not declare.
42428         [__ASSUME_32BITUIDS]: Make code unconditional.
42429         [!__ASSUME_32BITUIDS]: Remove conditional code.
42430         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42431         <kernel-features.h>.
42432         [__ASSUME_32BITUIDS]: Make code unconditional.
42433         [!__ASSUME_32BITUIDS]: Remove conditional code.
42434         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42435         <kernel-features.h>.
42436         [__ASSUME_32BITUIDS]: Make code unconditional.
42437         [!__ASSUME_32BITUIDS]: Remove conditional code.
42439 2012-05-25  Richard Henderson  <rth@twiddle.net>
42441         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42442         dl_hwcap to ifunc resolver.
42443         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42444         elf_ifunc_invoke.
42445         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42446         dl_hwcap to ifunc resolver.
42447         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42449 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42451         [BZ #14153]
42452         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42453         for |x| <= 2**-26, not 2**-57.
42454         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42455         exception.
42457 2012-05-24  Jeff Law  <law@redhat.com>
42459         * stdio-common/Makefile (tests): Add bug25.
42460         * stdio-common/bug25.c: New test.
42462 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42464         [BZ #13576]
42465         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42466         multiple of MALLOC_ALIGNMENT in size.
42467         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42469 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42471         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42472         Require >= 256.
42473         (FILENAME_MAX): Use macro-int-constant.
42474         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42475         (_IOFBF): Use macro-int-constant.
42476         (_IOLBF): Likewise.
42477         (_IONBF): Likewise.
42478         (SEEK_CUR): Likewise.
42479         (SEEK_END): Likewise.
42480         (SEEK_SET): Likewise.
42481         (TMP_MAX): Likewise.
42482         (EOF): Use macro-int-constant.  Require < 0.
42483         (NULL): Use macro-constant.  Require == 0.
42484         (stdin): Require type to be FILE *.
42485         (stdout): Likewise.
42486         (stderr): Likewise.
42487         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42488         macro-int-constant.
42489         (EXIT_SUCCESS): Likewise.
42490         (NULL): Use macro-constant.  Require == 0.
42491         (RAND_MAX): Use macro-int-constant.
42492         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42493         [C99-based standards] (strtof): Require function.
42494         [C99-based standards] (strtold): Likewise.
42495         [C99-based standards] (strtoll): Likewise.
42496         [C99-based standards] (strtoull): Likewise.
42497         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42498         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42499         [ISO || ISO99 || ISO11] (math.h): Likewise.
42500         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42501         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42504 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42506         [BZ #14132]
42507         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42508         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42509         * intl/dgettext.c (DCGETTEXT): Likewise.
42510         * intl/gettext.c (DCGETTEXT): Likewise.
42511         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42512         * posix/regex_internal.h (gettext): Likewise.
42513         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42514         Remove declaration.
42515         * include/argz.h (__argz_count_internal)
42516         (__argz_stringify_internal): Remove declaration.
42517         (__argz_count, __argz_stringify): Declare hidden proto.
42518         * intl/dcgettext.c: Remove use of INTDEF.
42519         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42520         * string/argz-stringify.c: Likewise.
42521         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42522         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42523         Declare hidden proto.
42524         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42525         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42526         Declare hidden proto.
42527         * include/stdio.h (__asprintf_internal): Don't declare.
42528         (__asprintf): Don't define as macro.  Declare hidden proto.
42529         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42530         (__fsetlocking): Declare hidden proto.
42531         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42532         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42533         hidden proto.
42534         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42535         (_IO_setlinebuf): Remove use of INTUSE.
42536         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42537         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42538         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42539         Remove declaration.
42540         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42541         (_IO_do_flush): Remove use of INTUSE.
42542         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42543         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42544         (_IO_adjust_column, _IO_least_wmarker)
42545         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42546         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42547         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42548         (_IO_default_doallocate, _IO_wdefault_doallocate)
42549         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42550         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42551         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42552         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42553         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42554         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42555         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42556         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42557         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42558         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42559         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42560         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42561         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42562         proto.
42563         (_IO_flush_all_internal, _IO_adjust_column_internal)
42564         (_IO_default_uflow_internal, _IO_default_finish_internal)
42565         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42566         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42567         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42568         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42569         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42570         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42571         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42572         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42573         (_IO_file_close_internal, _IO_file_close_it_internal)
42574         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42575         (_IO_file_init_internal, _IO_file_attach_internal)
42576         (_IO_file_fopen_internal, _IO_file_read_internal)
42577         (_IO_file_sync_internal, _IO_file_seek_internal)
42578         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42579         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42580         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42581         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42582         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42583         (_IO_list_all_internal, _IO_link_in_internal)
42584         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42585         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42586         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42587         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42588         (_IO_do_write_internal, _IO_padn_internal)
42589         (_IO_getline_info_internal, _IO_getline_internal)
42590         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42591         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42592         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42593         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42594         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42595         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42596         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42597         with libc_hidden_ver, remove use of INTUSE.
42598         * libio/genops.c: Likewise.
42599         * libio/freopen.c: Likewise.
42600         * libio/freopen64.c: Likewise.
42601         * libio/iofclose.c: Likewise.
42602         * libio/iofdopen.c: Likewise.
42603         * libio/iofflush.c: Likewise.
42604         * libio/iofflush_u.c: Likewise.
42605         * libio/iofgets.c: Likewise.
42606         * libio/iofgets_u.c: Likewise.
42607         * libio/iofopen.c: Likewise.
42608         * libio/iofopncook.c: Likewise.
42609         * libio/iofread.c: Likewise.
42610         * libio/iofread_u.c: Likewise.
42611         * libio/ioftell.c: Likewise.
42612         * libio/iofwrite.c: Likewise.
42613         * libio/iogetline.c: Likewise.
42614         * libio/iogets.c: Likewise.
42615         * libio/iogetwline.c: Likewise.
42616         * libio/iopadn.c: Likewise.
42617         * libio/iopopen.c: Likewise.
42618         * libio/ioseekoff.c: Likewise.
42619         * libio/ioseekpos.c: Likewise.
42620         * libio/iosetbuffer.c: Likewise.
42621         * libio/iosetvbuf.c: Likewise.
42622         * libio/ioungetc.c: Likewise.
42623         * libio/ioungetwc.c: Likewise.
42624         * libio/iovdprintf.c: Likewise.
42625         * libio/iovsprintf.c: Likewise.
42626         * libio/iovsscanf.c: Likewise.
42627         * libio/memstream.c: Likewise.
42628         * libio/obprintf.c: Likewise.
42629         * libio/oldfileops.c: Likewise.
42630         * libio/oldiofclose.c: Likewise.
42631         * libio/oldiofdopen.c: Likewise.
42632         * libio/oldiofopen.c: Likewise.
42633         * libio/oldiopopen.c: Likewise.
42634         * libio/oldstdfiles.c: Likewise.
42635         * libio/putc.c: Likewise.
42636         * libio/setbuf.c: Likewise.
42637         * libio/setlinebuf.c: Likewise.
42638         * libio/stdfiles.c: Likewise.
42639         * libio/strops.c: Likewise.
42640         * libio/vasprintf.c: Likewise.
42641         * libio/vscanf.c: Likewise.
42642         * libio/vsnprintf.c: Likewise.
42643         * libio/vswprintf.c: Likewise.
42644         * libio/wfiledoalloc.c: Likewise.
42645         * libio/wfileops.c: Likewise.
42646         * libio/wgenops.c: Likewise.
42647         * libio/wmemstream.c: Likewise.
42648         * libio/wstrops.c: Likewise.
42649         * libio/__fpurge.c: Likewise.
42650         * libio/__fsetlocking.c: Likewise.
42651         * assert/assert.c: Likewise.
42652         * debug/fgets_chk.c: Likewise.
42653         * debug/fgets_u_chk.c: Likewise.
42654         * debug/fread_chk.c: Likewise.
42655         * debug/fread_u_chk.c: Likewise.
42656         * debug/gets_chk.c: Likewise.
42657         * debug/obprintf_chk.c: Likewise.
42658         * debug/vasprintf_chk.c: Likewise.
42659         * debug/vdprintf_chk.c: Likewise.
42660         * debug/vsnprintf_chk.c: Likewise.
42661         * debug/vsprintf_chk.c: Likewise.
42662         * malloc/mtrace.c: Likewise.
42663         * misc/error.c: Likewise.
42664         * misc/syslog.c: Likewise.
42665         * stdio-common/asprintf.c: Likewise.
42666         * stdio-common/fxprintf.c: Likewise.
42667         * stdio-common/getw.c: Likewise.
42668         * stdio-common/isoc99_fscanf.c: Likewise.
42669         * stdio-common/isoc99_scanf.c: Likewise.
42670         * stdio-common/isoc99_vfscanf.c: Likewise.
42671         * stdio-common/isoc99_vscanf.c: Likewise.
42672         * stdio-common/isoc99_vsscanf.c: Likewise.
42673         * stdio-common/printf-prs.c: Likewise.
42674         * stdio-common/printf_fp.c: Likewise.
42675         * stdio-common/printf_fphex.c: Likewise.
42676         * stdio-common/printf_size.c: Likewise.
42677         * stdio-common/putw.c: Likewise.
42678         * stdio-common/scanf.c: Likewise.
42679         * stdio-common/sprintf.c: Likewise.
42680         * stdio-common/tmpfile.c: Likewise.
42681         * stdio-common/vfprintf.c: Likewise.
42682         * stdio-common/vfscanf.c: Likewise.
42683         * stdlib/strfmon_l.c: Likewise.
42684         * sunrpc/openchild.c: Likewise.
42685         * sunrpc/xdr_stdio.c: Likewise.
42686         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42687         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42689 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42691         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42693         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42694         in the third column, to generate for the shared library an IFUNC
42695         that uses _dl_vdso_vsym.
42696         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42697         * Makeconfig (object-suffixes-noshared): New variable.
42699         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42700         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42701         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42702         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42704         [BZ #14132]
42705         * include/sys/time.h (__gettimeofday): Remove macro.
42706         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42707         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42708         Remove INTDEF.
42709         (__gettimeofday): Add libc_hidden_def.
42710         (gettimeofday): Add libc_hidden_weak.
42711         * sysdeps/mach/gettimeofday.c: Likewise.
42712         * sysdeps/posix/gettimeofday.c: Likewise.
42713         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42714         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42715         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42716         (__gettimeofday_internal): Remove strong_alias.
42717         (__gettimeofday): Add libc_hidden_def.
42718         (gettimeofday): Add libc_hidden_weak.
42719         * sysdeps/unix/syscalls.list (gettimeofday):
42720         Remove __gettimeofday_internal alias.
42722 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42723             H.J. Lu  <hongjiu.lu@intel.com>
42725         [BZ #12495]
42726         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42727         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42728         (largebin_index_32_big): New.
42729         (largebin_index): Use it for 16-byte alignment.
42730         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42731         correction with front_misalign.
42733 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42737         Likewise.
42738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42739         Likewise.
42740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42741         Likewise.
42742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42743         Likewise.
42744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42745         Likewise.
42746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42747         Likewise.
42748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42749         Likewise.
42750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42751         Likewise.
42752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42753         Likewise.
42754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42755         Likewise.
42756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42757         Likewise.
42758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42759         Likewise.
42761         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42762         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42764 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42766         [BZ #10846]
42767         [BZ #14036]
42768         * math/libm-test.inc (exp_test): Add test from bug 14036.
42769         (pow_test): Add test from bug 10846.
42771         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42772         and other flags.
42773         (special_function): Do not include flags in test name.
42774         (parse_args): Likewise.
42775         * sysdeps/i386/fpu/libm-test-ulps: Update.
42776         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42777         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42778         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42781         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42782         exceptions.
42783         * math/libm-test.inc ("Philosophy"): Update comment about
42784         exception testing.
42785         (UNDERFLOW_EXCEPTION): New macro.
42786         (UNDERFLOW_EXCEPTION_OK): Likewise.
42787         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42788         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42789         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42790         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42791         (INVALID_EXCEPTION_OK): Update value.
42792         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42793         (OVERFLOW_EXCEPTION_OK): Likewise.
42794         (IGNORE_ZERO_INF_SIGN): Likewise.
42795         (test_exceptions): Handle underflow exceptions.
42796         (acos_test): Update for underflow exception expectations.
42797         (cexp_test): Likewise.
42798         (clog_test): Likewise.
42799         (clog10_test): Likewise.
42800         (csqrt_test): Likewise.
42801         (ctan_test): Likewise.
42802         (ctanh_test): Likewise.
42803         (exp_test): Likewise.
42804         (exp10_test): Likewise.
42805         (exp2_test): Likewise.
42806         (expm1_test): Likewise.
42807         (fma_test): Likewise.
42808         (j0_test): Likewise.
42809         (jn_test): Likewise.
42810         (nexttoward_test): Likewise.
42811         (pow_test): Likewise.
42812         (scalbn_test): Likewise.
42813         (scalbln_test): Likewise.
42814         (tan_test): Likewise.
42815         (y1_test): Likewise.
42816         * sysdeps/i386/fpu/libm-test-ulps: Update.
42817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42819 2012-05-23  David S. Miller  <davem@davemloft.net>
42821         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42822         (__libc_sigaction): Remove unused local variables.
42824 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42826         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42828 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42830         mktime: avoid signed integer overflow
42831         * time/mktime.c (__mktime_internal): Do not mishandle the case
42832         where diff == INT_MIN.
42834         mktime: simplify computation of average
42835         * time/mktime.c (ranged_convert): Use new time_t_avg function
42836         instead of rolling our own (probably-slower) code.
42838         mktime: do not assume signed right shift propagates sign bit
42839         * time/mktime.c (isdst_differ): New static function.
42840         (__mktime_internal): No need to normalize tm_isdst now.
42841         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42842         tm_isdst values.
42844         mktime: merge another wrapv change from gnulib
42845         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42846         from some compilers.
42848         mktime: remove incorrect attempt at unusual arithmetics
42849         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42850         The code didn't really work on such machines anyway.
42851         (TYPE_MINIMUM): Assume two's complement.
42852         (twos_complement_arithmetic): Verify that long_int and time_t
42853         are two's complement (or unsigned, in the latter case).
42855         mktime: check signed shifts on long_int and time_t, too
42856         * time/mktime.c (SHR): Check that shifts work as desired
42857         on the types long_int and time_t too, as SHR is used on
42858         such types.
42860         mktime: do not assume 'long' is wide enough
42861         * time/mktime.c (verify): Move decl up.
42862         (long_int): New type.
42863         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42864         to remove assumption in the code that 'long' is wide enough to
42865         store year values.  This assumption is not true on x32 and on
42866         some non-glibc platforms.
42868         mktime: merge wrapv change from gnulib
42869         * time/mktime.c (WRAPV): New macro.
42870         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42871         (guess_time_tm, __mktime_internal): Do not assume that signed
42872         integer overflow wraps around; modern compilers generate code
42873         where this assumption is no longer valid.
42875 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42877         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42878         Replace "jmp L(pseudo_end)" with "ret".
42879         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42880         Likewise.
42882 2012-05-23  Andreas Jaeger  <aj@suse.de>
42884         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42885         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42887 2012-05-23  Andreas Jaeger  <aj@suse.de>
42888             Maximilian Attems  <max@stro.at>
42890         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42891         New macros.
42893 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42896         code so that pseudo_end is just ret and the stack pointer is
42897         correct also for static library in error case.
42899 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42901         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42902         move to syscalls.list.
42903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42908         * manual/install.texi (Running make install): Do not mention Linux
42909         kernel version for which pt_chown is not needed.
42910         (Linux): Do not mention problems with nscd with 2.0 kernels.
42911         * INSTALL: Regenerated.
42913 2012-05-23  Andreas Jaeger  <aj@suse.de>
42915         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42916         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42917         macro.
42918         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42919         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42920         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42921         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42922         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42923         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42924         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42925         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42926         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42927         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42928         * sysdeps/unix/sysv/linux/bits/in.h
42929         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42931 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42933         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42934         (PREPARE_VERSION): Just use assert instead, it will be elided
42935         under [NDEBUG] anyway.
42937 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42939         * sysdeps/unix/sysv/linux/Makefile: Include
42940         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42941         (sysdep_routines): Remove sysctl.
42942         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42943         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42944         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42945         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42946         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42948 2012-05-22  Andreas Jaeger  <aj@suse.de>
42950         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42951         that pseudo_end is just ret and the stack pointer is correct also
42952         for static library in error case.
42954 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42956         [BZ #14122]
42957         * nss/nsswitch.c (defconfig_entries): New variable.
42958         (__nss_database_lookup): Don't leak defconfig entries.
42959         (nss_parse_service_list): Don't leak on error paths.
42960         (free_database_entries): New function.
42961         (free_defconfig): New function.
42962         (free_mem): Move common code to free_database_entries.
42964 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42966         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42967         Add arch_prctl.
42968         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42971         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42973         New macro.
42974         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42975         (INTERNAL_SYSCALL_TYPES): Likewise.
42976         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42977         (LOAD_REGS_TYPES_[1-6]): Likewise.
42978         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42979         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42981 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42983         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42984         copysignl for GLIBC_2_0.
42985         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42986         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42988         logbl for GLIBC_2_0.
42989         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42990         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42992 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42994         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42995         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42997         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42998         Use "neg %eax".
43000         * time/mktime.c: Update copyright years.
43002 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43004         mktime: merge comment-quoting-style change from gnulib
43005         * time/mktime.c: Quote 'like this' in comments.
43006         The GNU coding standards suggest that we no longer quote `like this',
43007         as "`" and "'" are typically rendered asymmetrically nowadays.
43008         The typical gnulib style is to quote 'like this' when quoting
43009         code, and "like this" when quoting English.
43011         * time/mktime.c (compile-command): Add "-I.".
43013         mktime: merge mktime-internal.h change from gnulib
43014         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43016         mktime: merge time_r change from gnulib
43017         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43019         mktime: merge DEBUG change from gnulib
43020         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43021         case system <time.h> has a #define.
43023         mktime: merge <sys/types.h> change from gnulib
43024         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43025         since <time.t> is now guaranteed to define time_t.
43027         mktime: merge HAVE_CONFIG_H change from gnulib
43028         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43030 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43033         Use "neg %eax".
43035         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43036         __rlim_t cast.
43037         (struct rusage): Use anonymous union to pad each field to
43038         __syscall_slong_t.
43040 2012-05-21  David S. Miller  <davem@davemloft.net>
43042         * Makefules (o-iterator): Remove .s cases.
43043         (compile-command.s): Delete.
43044         (COMPILE.s): Delete.
43045         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43047 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43049         * configure.in (libc_cv_predef_stack_protector): Only consider
43050         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43051         * configure: Regenerated.
43053 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43056         New macro.  Use R*LP on int and pointer.
43057         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43058         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43059         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43060         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43062         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43063         [__WORDSIZE_TIME64_COMPAT32] instead of
43064         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43065         (struct utmp): Likewise.
43066         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43067         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43068         Renamed to ...
43069         (__WORDSIZE_TIME64_COMPAT32): This.
43070         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43071         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43072         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43073         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43074         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43075         (__WORDSIZE_TIME64_COMPAT32): New macro.
43077 2012-05-21  Andreas Jaeger  <aj@suse.de>
43079         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43080         only if [SHARED]. Add prototype for __wcschr_ia32.
43082 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43084         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43085         of %rbp unmolested in the jmp_buf while mangling the low bits.
43086         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43087         unmolested high bits of %rbp while demangling the low bits.
43088         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43090 2012-05-21  Andreas Jaeger  <aj@suse.de>
43092         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43093         * sunrpc/svc_simple.c: Use it for registerrpc.
43094         * sunrpc/xcrypt.c: Use it for passwd2des.
43096         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43098 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43100         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43101         Don't define if [__SYSCALL_WORDSIZE != 32].
43102         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43103         New macro.
43105 2012-05-21  Bruno Haible  <bruno@clisp.org>
43106             Andreas Jaeger  <aj@suse.de>
43108         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43109         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43110         inptr and inend for must_buffer_ch.
43111         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43112         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43113         * stdio-common/Makefile (tests): Remove bug15.
43114         (bug15-ENV): Remove macro.
43115         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43116         anymore.
43118 2012-05-19  Andreas Jaeger  <aj@suse.de>
43119             Roland McGrath  <roland@hack.frob.com>
43121         * manual/contrib.texi: Completely rewritten. It contains now an
43122         alphabetical list of contributors and their contributions.
43124 2012-05-21  Richard Henderson  <rth@twiddle.net>
43126         * misc/getauxval.c (__getauxval): Use unsigned long int.
43127         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43128         (getauxval): Use unsigned long int.
43130 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43132         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43134 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43136         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43137         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43138         __alignof__ (long double).
43140 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43144 2012-05-20  Richard Henderson  <rth@twiddle.net>
43146         * misc/getauxval.c: New file.
43147         * misc/sys/auxv.h: New file.
43148         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43149         (routines): Add getauxval.
43150         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43151         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43152         * elf/dl-sysdep.c (_dl_auxv): Remove.
43153         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43154         * elf/dl-support.c (_dl_auxv): New variable.
43155         (_dl_aux_init): Initialize it.
43156         * manual/startup.texi (Auxiliary Vector): New node.
43157         * sysdeps/generic/bits/hwcap.h: New file.
43158         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43159         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43160         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43161         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43162         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43163         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43165         Update.
43166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43169         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43175 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43179 2012-05-19  David S. Miller  <davem@davemloft.net>
43181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43183 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43185         [BZ #14123]
43186         * math/s_ccosh.c: Include <float.h>
43187         (__ccosh): Avoid internal overflow calculating sinh and cosh
43188         values before multiplying by sin and cos values.
43189         * math/s_ccoshf.c: Likewise.
43190         * math/s_ccoshl.c: Likewise.
43191         * math/s_csin.c: Likewise.
43192         * math/s_csinf.c: Likewise.
43193         * math/s_csinl.c: Likewise.
43194         * math/s_csinh.c: Likewise.
43195         * math/s_csinhf.c: Likewise.
43196         * math/s_csinhl.c: Likewise.
43197         * math/libm-test.inc (ccos_test): Add more tests.
43198         (ccosh_test): Likewise.
43199         (csin_test): Likewise.
43200         (csinh_test): Likewise.
43201         * sysdeps/i386/fpu/libm-test-ulps: Update.
43202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43204 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43206         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43207         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43209         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43211 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43213         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43214         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43215         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43216         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43217         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43218         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43219         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43220         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43221         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43222         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43223         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43224         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43225         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43226         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43227         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43228         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43229         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43230         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43231         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43232         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43233         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43234         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43235         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43236         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43237         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43238         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43239         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43240         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43241         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43242         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43243         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43245 2012-05-18  Andreas Jaeger  <aj@suse.de>
43247         * csu/.gitignore: Delete.
43249 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43251         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43252         (timex): Use __syscall_slong_t.
43254 2012-05-18  Andreas Jaeger  <aj@suse.de>
43255             Carlos O'Donell  <carlos_odonell@mentor.com>
43257         * manual/install.texi (Configuring and compiling): Update
43258         description about files modified in the source directory.
43259         * INSTALL: Regenerated.
43261 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43263         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43264         value.  Use "or" to set return value to -1.
43265         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43266         negate return value.
43268 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43270         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43271         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43272         failure if the compiler has Graphite support disabled.
43273         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43274         Likewise.
43275         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43276         (CFLAGS-memmove.c): Likewise.
43277         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43278         Likewise.
43280 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43282         * sysdeps/x86_64/x32/_itoa.h: New file.
43284         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43285         getdents system call only if kernel and user dirents have the
43286         same d_ino and d_off.
43288         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43289         LLONG_MAX != LONG_MAX.
43290         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43291         (_fitoa_word): Likewise.
43293         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43294         years.
43295         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43296         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43297         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43299         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43300         include <bits/wordsize.h>.  Check __x86_64__ instead of
43301         __WORDSIZE.
43302         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43303         if __x86_64__ is defined.  Use anonymous union on fpstate.
43305         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43306         anonymous union.
43308 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43310         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43311         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43312         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43313         Refer to _rtld_local_ro instead of _rtld_global_ro.
43314         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43315         Likewise.
43316         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43317         Likewise.
43318         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43319         Likewise.
43320         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43321         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43322         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43324         * sysdeps/powerpc/powerpc32/dl-machine.c
43325         (__elf_machine_runtime_setup) [PROF]: Don't reference
43326         _dl_prof_resolve.
43328 2012-05-18  Andreas Jaeger  <aj@suse.de>
43330         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43331         function only available for GCCs before 3.4 since GCC 3.4
43332         introduced a builtin.
43333         (lrint): Likewise.
43334         (llrintf): Likewise.
43335         (llrint): Likewise.
43336         (fmaxf): Likewise.
43337         (fmax): Likewise.
43338         (fminf): Likewise.
43339         (fmin): Likewise.
43340         (rint): Likewise.
43341         (rintf): Likewise.
43342         (nearbyint): Likewise.
43343         (nearbyintf): Likewise.
43344         (ceil): Likewise.
43345         (ceilf): Likewise.
43346         (floor): Likewise.
43347         (floorf): Likewise.
43349 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43351         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43352         on both fields and cast pointer to __syscall_ulong_t.
43354         * bits/types.h (__fsword_t): New type.
43355         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43356         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43357         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43358         (__FSWORD_T_TYPE): Likewise.
43359         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43360         (__FSWORD_T_TYPE): Likewise.
43361         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43362         (__FSWORD_T_TYPE): Likewise.
43363         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43364         (__FSWORD_T_TYPE): Likewise.
43365         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43366         __SWORD_TYPE with __fsword_t.
43367         (statfs64): Likewise.
43369 2012-05-17  David S. Miller  <davem@davemloft.net>
43371         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43373 2012-05-17  Andreas Jaeger  <aj@suse.de>
43375         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43376         warning.
43378 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43380         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43382 2012-05-17  Andreas Jaeger  <aj@suse.de>
43384         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43385         when it is used.
43387 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43389         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43391 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43393         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43394         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43396 2012-05-17  Andreas Jaeger  <aj@suse.de>
43397             Carlos O'Donell  <carlos_odonell@mentor.com>
43399         [BZ #14059]
43400         * sysdeps/x86_64/multiarch/init-arch.h
43401         (bit_YMM_Usable): Rename to...
43402         (bit_AVX_Usable): ... this.
43403         (bit_FMA4_Usable): New macro.
43404         (bit_XMM_state): New macro.
43405         (bit_YMM_state): New macro.
43406         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43407         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43408         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43409         (CPUID_OSXSAVE): New macro.
43410         (CPUID_AVX): New macro.
43411         (CPUID_FMA4): New macro.
43412         (index_YMM_Usable): Rename to...
43413         (index_AVX_Usable): ... this.
43414         (HAS_AVX): Use HAS_ARCH_FEATURE.
43415         (HAS_FMA4): Likewise.
43416         (HAS_YMM_USABLE): Remove.
43417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43418         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43419         are present.
43420         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43421         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43422         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43423         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43424         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43426 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43428         * math/libm-test.c: Support platforms without multiple rounding modes.
43429         * math/bug-nextafter.c: Support platforms without FP exceptions.
43430         * math/bug-nexttoward.c: Likewise.
43431         * math/test-fenv.c: Likewise.
43432         * math/test-misc.c: Likewise.
43433         * stdlib/bug-getcontext.c: Likewise.
43435 2012-05-17  Andreas Jaeger  <aj@suse.de>
43437         * manual/examples/search.c (critter_cmp): Change signature to
43438         avoid warnings.
43439         * manual/string.texi (Collation Functions): Likewise.
43441 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43443         * bits/types.h: Fold copyright years.
43444         * bits/typesizes.h: Likewise.
43445         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43446         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43447         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43449         * time/time.h: Likewise.
43451 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43453         [BZ #208]
43454         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43455         in instead of returning them.  Return void.
43456         (__libc_mallinfo): Accumulate over all arenas.
43457         (__malloc_stats): Adjust for change in int_mallinfo interface.
43459 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43461         [BZ #10375]
43462         * configure.in (NM): Add AC_CHECK_TOOL for it.
43463         (libc_extra_cflags): New substituted variable.
43464         Check for -fstack-protector being used implicitly.
43465         * configure: Regenerated.
43466         * config.make.in (config-extra-cflags): New variable,
43467         gets @libc_extra_cflags@.
43468         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43470         [BZ #10375]
43471         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43472         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43473         * configure: Regenerated.
43474         * config.make.in (CPPUNDEFS): New substituted variable.
43475         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43476         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43477         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43481         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43482         (mq_attr): Use __syscall_slong_t.
43484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43486         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43487         Check __x86_64__ instead of __WORDSIZE.
43488         (_STAT_VER_LINUX): Likewise.
43489         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43490         __syscall_ulong_t and __syscall_slong_t.
43491         (stat64): Likewise.
43493 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43495         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43497 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43499         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43501 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43503         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43504         __syscall_ulong_t.
43506         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43507         include <bits/wordsize.h>.  Check __x86_64__ instead of
43508         __WORDSIZE.
43509         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43510         defined.
43511         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43513         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43514         include <bits/wordsize.h>.  Check __x86_64__ instead of
43515         __WORDSIZE.
43516         (user_regs_struct): Use "__extension__ unsigned long long"
43517         instead of "unsigned long" if __x86_64__ is defined.
43518         (user): Likewise.  Pad after pointer field if __ILP32__ is
43519         defined.
43521 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43523         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43524         versions 5 to 9.
43525         * configure: Regenerated.
43526         * manual/install.texi (texinfo): Increase version requirement to
43527         4.5 or later.
43528         * INSTALL: Regenerated.
43530         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43532 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43534         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43536         * sysdeps/x86_64/x32/ffs.c: New file.
43538         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43539         __syscall_ulong_t.
43540         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43541         defined.  Use __syscall_ulong_t.
43542         (shminfo): Use __syscall_ulong_t.
43543         (shm_info): Likewise.
43545         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43546         __syscall_ulong_t.
43548         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43549         <bits/wordsize.h>.
43550         (msgqnum_t): Use __syscall_ulong_t.
43551         (msglen_t): Likewise.
43552         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43553         __syscall_ulong_t.
43555         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43556         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43558         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43560         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43561         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43563         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43564         __syscall_slong_t.
43566         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43567         include <bits/wordsize.h>.  Check __x86_64__ instead of
43568         __WORDSIZE.
43570         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43571         "unsigned long long int" if __x86_64__ is defined.
43572         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43574         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43575         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43576         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43578         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43579         <stdint.h>.
43580         (GET_PC): Cast to uintptr_t first.
43581         (GET_FRAME): Likewise.
43582         (GET_STACK): Likewise.
43584         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43585         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43586         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43587         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43588         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43589         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43590         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43591         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43592         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43593         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43594         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43595         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43596         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43597         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43598         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43599         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43600         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43601         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43602         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43603         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43604         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43605         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43606         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43607         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43608         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43609         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43610         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43611         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43612         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43614 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43616         * Makerules (+depfiles): Also collect depfiles from .oS in
43617         $(extra-objs).
43618         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43619         .oS, $(libnldbl-routines)).
43621         * Makerules (native-compile-mkdep-flags): Define.
43622         * sunrpc/Makefile (extra-objs): Add $(addprefix
43623         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43624         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43625         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43626         calling $(make-target-directory).
43628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43630         * bits/types.h (__snseconds_t): Removed.
43631         * time/time.h (struct timespec): Replace __snseconds_t with
43632         __syscall_slong_t.
43633         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43634         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43635         Likewise.
43636         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43637         (__SNSECONDS_T_TYPE): Likewise.
43638         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43639         (__SNSECONDS_T_TYPE): Likewise.
43640         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43641         (__SNSECONDS_T_TYPE): Likewise.
43643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43645         * sysdeps/mach/hurd/bits/typesizes.h
43646         (__SYSCALL_SLONG_TYPE): New macro.
43647         (__SYSCALL_ULONG_TYPE): Likewise.
43649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43651         * bits/types.h (__syscall_slong_t): New type.
43652         (__syscall_ulong_t): Likewise.
43654         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43655         (__SYSCALL_ULONG_TYPE): Likewise.
43656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43657         (__SYSCALL_SLONG_TYPE): Likewise.
43658         (__SYSCALL_ULONG_TYPE): Likewise.
43659         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43660         (__SYSCALL_SLONG_TYPE): Likewise.
43661         (__SYSCALL_ULONG_TYPE): Likewise.
43662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43663         (__SYSCALL_SLONG_TYPE): Likewise.
43664         (__SYSCALL_ULONG_TYPE): Likewise.
43666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43668         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43669         Add sigaltstack-offsets.sym.
43670         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43671         <sigaltstack-offsets.h>.
43672         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43673         longjmp_msg pointer.
43674         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43675         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43676         signal stack.
43677         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43679 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43681         * elf/stackguard-macros.h: Remove file.
43682         * sysdeps/generic/stackguard-macros.h: New file.
43683         * sysdeps/i386/stackguard-macros.h: Likewise.
43684         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43685         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43686         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43687         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43688         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43689         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43690         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43691         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43692         <elf/stackguard-macros.h>.
43694         [BZ #14109]
43695         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43696         __aligned__ in attribute.
43697         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43698         (gregset_t): Likewise.
43700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43702         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43703         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43704         * sysdeps/x86_64/x32/Implies-after: New file.
43706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43708         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43709         and access return value for _dl_profile_fixup.  Use R10_LP to
43710         load frame size.
43712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43714         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43718         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43719         * sysdeps/x86_64/x32/sysdep.h: New file.
43721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43723         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43724         * sysdeps/x86_64/setjmp.S: Likewise.
43726 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43728         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43729         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43730         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43731         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43732         remove unused global constant.
43734 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43736         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43737         include of <not-cancel.h>.
43739 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43741         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43743 2012-05-15  Jeff Law  <law@redhat.com>
43744             Andreas Jaeger  <aj@suse.de>
43746         [BZ #13594]
43747         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43748         out from...
43749         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43750         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43751         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43752         code changing __hst_map_handle.map.
43754 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43756         * configure.in (sysnames): Look for Implies-before and Implies-after
43757         files.
43758         * configure: Regenerated.
43760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43762         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43763         8-byte data alignment with LP_SIZE alignment.
43765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43767         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43768         into R10_LP.
43770 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43772         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43776         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43777         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43778         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43779         Likewise.
43780         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43784         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43785         (stackinfo_sub_sp): Likewise.
43787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43789         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43790         RAX_LP.
43792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43794         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43795         into R*_LP.
43797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43799         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43800         sizes into R*_LP.
43802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43804         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43808         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43809         into R11_LP and load __x86_64_shared_cache_size_half into
43810         R8_LP.
43812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43814         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43815         R8_LP.
43817 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43820         logb for POWER7.
43821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43822         logbf for POWER7.
43823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43824         logbl for POWER7.
43825         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43826         powerpc32/power7/fpu/s_logb.c via #include.
43827         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43828         powerpc32/power7/fpu/s_logbf.c via #include.
43829         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43830         powerpc32/power7/fpu/s_logbl.c via #include.
43832 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43834         * README.libm: Remove file.
43836 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43838         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43839         count for x32.  Use R*_LP and omit operand-size suffix.
43841 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43843         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43844         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43845         * sysdeps/x86_64/x32/shlib-versions: New file.
43847 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43849         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43850         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43851         Use _dl_fatal_printf instead.
43853 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43855         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43856         set if not set by the user.  Do not allow for being unset.
43857         * sysdeps/unix/sysv/linux/configure: Regenerated.
43859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43861         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43862         the `q' suffix from lea and replace .quad with ASM_ADDR.
43864 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43866         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43867         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43868         instead of $17.
43869         (PTR_DEMANGLE): Likewise.
43871 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43873         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43874         (LP_OP): Likewise.
43875         (ASM_ADDR): Likewise.
43876         (RAX_LP): Likewise.
43877         (RBP_LP): Likewise.
43878         (RBX_LP): Likewise.
43879         (RCX_LP): Likewise.
43880         (RDI_LP): Likewise.
43881         (RSI_LP): Likewise.
43882         (RSP_LP): Likewise.
43883         (R8_LP): Likewise.
43884         (R9_LP): Likewise.
43885         (R10_LP): Likewise.
43886         (R10_LP): Likewise.
43887         (R11_LP): Likewise.
43888         (R12_LP): Likewise.
43889         (R13_LP): Likewise.
43890         (R14_LP): Likewise.
43891         (R15_LP): Likewise.
43893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43895         * sysdeps/x86_64/x32/dl-machine.h: New file.
43897 2012-05-14  Andreas Jaeger  <aj@suse.de>
43899         * manual/Makefile (subdir): Remove export of subdir.
43900         (all): Remove target.
43901         (.PHONY): Remove all from list.
43902         (mkinstalldirs): Remove.
43903         (.PHONY): Remove installdirs from list.
43904         ($(inst_infodir)/libc.info): Use make-target-directory.
43905         (installdirs): Remove.
43906         (subdir_%): Remove.
43907         (glibc-targets): Remove.
43908         (lib): Remove.
43909         (stubs): Remove.
43910         ($(objpfx)stubs ../po/manual.pot): Remove.
43911         ($(objpfx)stamp%): Remove.
43912         (make-target-directory): Remove.
43913         (subdir_install): Remove.
43914         (routines): Remove.
43915         (aux): Remove.
43916         (sources): Remove.
43917         (objects): Remove.
43918         (headers): Remove.
43920         [BZ #13750]
43921         * manual/.gitignore: Remove, it's not needed anymore.
43922         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43923         all files in it.
43924         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43925         directory.
43926         (texis): Renamed to $(objpfx)texis.
43927         (texis-path): New, contains path to generated files.
43928         (chapters.%): Use texis-path for complete path, add extra argument
43929         libc-texinfo.sh.
43930         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43931         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43932         (summary,texi, stamp-summary): Use complete path of
43933         files. Generate files in build dir.
43934         (dir-add.texi): Build in build dir.
43935         (libm-err.texi,stamp-libm-err): Likewise.
43936         (version.texi, stamp-version): Likewise.
43937         (.%c.texi): Likewise.
43938         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43939         (mostlyclean): Remove target.
43940         (realclean): Remove target.
43941         (generated): Add new variable with contents from mostlyclean and
43942         realclean, remove entries duplicated in common-mostlyclean, add
43943         stamp-libm-err and stamp-version.
43944         (generated-dirs): Add libc directory.
43945         ($(inst_infodir)/libc.info): Install files from build dir.
43947         * manual/install.texi (Configuring and compiling): Adjust since
43948         the info files are not part of the tar ball anymore.
43950 2012-05-14  Andreas Jaeger  <aj@suse.de>
43952         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43953         variable.
43955 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43957         [BZ #13717]
43958         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43959         to 2.2.0 where earlier.
43960         * sysdeps/unix/sysv/linux/configure: Regenerated.
43961         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43962         Remove conditional code.
43963         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43964         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43965         Remove conditional code.
43966         [!__NR_lchown]: Likewise.
43967         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43968         [__NR_lchown]: Likewise.
43969         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43970         comment referencing __ASSUME_LCHOWN_SYSCALL.
43971         * sysdeps/unix/sysv/linux/i386/sigaction.c
43972         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43973         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43974         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43975         Remove conditional code.
43976         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43977         (__protocol_available): Remove #if 0 code.
43978         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43979         conditional code.
43980         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43981         * sysdeps/unix/sysv/linux/kernel-features.h
43982         (__ASSUME_GETCWD_SYSCALL): Don't define.
43983         (__ASSUME_REALTIME_SIGNALS): Likewise.
43984         (__ASSUME_PREAD_SYSCALL): Likewise.
43985         (__ASSUME_PWRITE_SYSCALL): Likewise.
43986         (__ASSUME_POLL_SYSCALL): Likewise.
43987         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43988         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43989         non-SPARC.
43990         (__ASSUME_SIOCGIFNAME): Don't define.
43991         (__ASSUME_MSG_NOSIGNAL): Likewise.
43992         (__ASSUME_SENDFILE): Define unconditionally.
43993         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43994         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43995         conditional code.
43996         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43997         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43998         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43999         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44000         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44001         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44002         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44004         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44005         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44007         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44008         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44010         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44011         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44013         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44014         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44016         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44017         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44019         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44020         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44022         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44023         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44025         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44026         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44027         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44028         Remove conditional code.
44029         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44030         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44031         Remove conditional code.
44032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44033         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44034         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44035         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44036         Remove conditional code.
44037         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44038         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44039         Remove conditional code.
44040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44041         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44042         Remove conditional code.
44043         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44044         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44045         Remove conditional code.
44046         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44047         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44048         Remove conditional code.
44049         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44050         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44051         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44052         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44053         * sysdeps/unix/sysv/linux/sigaction.c
44054         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44055         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44056         * sysdeps/unix/sysv/linux/sigpending.c
44057         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44058         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44059         * sysdeps/unix/sysv/linux/sigprocmask.c
44060         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44061         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44062         * sysdeps/unix/sysv/linux/sigsuspend.c
44063         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44064         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44065         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44066         (__libc_missing_rt_sigs): Remove.
44067         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44068         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44069         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44070         Remove conditional code.
44071         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44072         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44073         return 1.
44074         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44075         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44076         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44077         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44079 2012-05-14  Andreas Jaeger  <aj@suse.de>
44081         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44082         it's not used in glibc.
44083         (__coshm1): Likewise.
44084         (__acosh1p): Likewise.
44085         (__sgn): Likewise.
44087         * manual/string.texi (Copying and Concatenation): Add missing
44088         variable in concat example.
44089         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44093         [BZ #14103]
44094         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44095         __builtin_clzl with __builtin_clzll.
44097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44099         [BZ #14104]
44100         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44101         libc_freeres_ptr.
44103 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44105         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44106         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44107         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44108         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44110 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44112         * NEWS: Update ia64 info.
44114 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44116         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44117         used as bcopy.
44119 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44121         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44122         * sysdeps/unix/syscalls.list (dup3): Likewise.
44123         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44124         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44126 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44128         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44129         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44131 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44133         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44134         thread pointer.
44135         (TLS_IE): Use mov/add instead of movq/addq to load thread
44136         pointer.
44137         (TLS_GD_PREFIX): New.
44138         (TLS_GD): Use it.
44140 2012-05-11  David S. Miller  <davem@davemloft.net>
44142         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44143         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44144         (_FPU_SETCW): Likewise.
44146 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44148         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44149         is 32-byte aligned.
44151 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44153         [BZ #11837]
44154         * iconvdata/gb18030.c: Update tables.
44155         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44156         characters specially.
44157         (BODY for TO_LOOP): Add encoding of missing ranges.
44159 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44161         [BZ #13673]
44162         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44163         * sysdeps/mach/hurd/dup3.c: Likewise.
44164         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44165         * sysdeps/powerpc/memmove.c:: Likewise.
44167 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44169         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44170         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44172 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44174         * elf/elf.h (R_X86_64_RELATIVE64): New.
44175         (R_X86_64_NUM): Updated.
44176         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44177         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44178         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44179         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44180         tst-quad1pie tst-quad2pie
44181         (modules-names): Add tst-quadmod1 tst-quadmod2.
44182         ($(objpfx)tst-quad1): New dependency.
44183         ($(objpfx)tst-quad2): Likewise.
44184         ($(objpfx)tst-quad1pie): Likewise.
44185         ($(objpfx)tst-quad2pie): Likewise.
44186         * sysdeps/x86_64/tst-quad1.c: New file.
44187         * sysdeps/x86_64/tst-quad1pie.c: New file.
44188         * sysdeps/x86_64/tst-quad2.c: Likewise.
44189         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44190         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44191         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44192         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44193         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44197         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44198         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44199         * streams/stropts.h (t_scalar_t): Define type.
44201         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44202         (_PATH_PRESERVE): Set to "/var/lib".
44203         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44205         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44206         instead of int.
44208         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44209         if __dir_mkfile succeeded.
44211         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44212         checking for _hurd_dtablesize.  Unlock it right after having
44213         finished _hurd_dtable allocation.
44215 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44217         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44218         * sysdeps/mach/hurd/configure: Regenerated.
44219         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44220         special-casing to...
44221         * sysdeps/gnu/configure.in: ... this new file.
44222         * sysdeps/unix/sysv/linux/configure: Regenerated.
44223         * sysdeps/gnu/configure: New generated file.
44225         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44226         for Linux: use nsec instead of usec, as well as:
44227         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44228         members of type struct timespec.
44229         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44230         New macros.
44231         (struct stat64): Likewise.
44232         (_STATBUF_ST_NSEC): New macro.
44233         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44235         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44236         __strtoul_internal rather than strtoul.
44238 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44240         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44241         and reject them.
44243 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44245         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44246         which preserves existing values.
44247         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44249 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44251         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44252         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44253         greater than FD_SETSIZE.
44255 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44257         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44258         allocated, call __vm_protect to finish enabling the existing space, and
44259         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44260         allocate the remainder.
44262 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44264         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44265         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44269         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44270         sysdeps/mach/hurd/readlink.c.
44272         * posix/tst-sysconf.c (posix_options): Only use
44273         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44274         _POSIX_SYNCHRONIZED_IO when they are defined
44275         * sysdeps/mach/hurd/bits/posix_opt.h:
44276         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44277         (_XOPEN_REALTIME): Undefine macro.
44278         (_XOPEN_REALTIME_THREADS): Undefine macro.
44279         (_XOPEN_SHM): Undefine macro.
44280         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44281         macro to -1.
44282         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44283         macro to -1.
44284         (_POSIX_ASYNC_IO): Undefine macro.
44285         (_POSIX_PRIORITIZED_IO): Undefine macro.
44286         (_POSIX_SPIN_LOCKS): Define macro to -1.
44288         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44289         SA_NODEFER, SA_RESETHAND.
44290         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44291         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44292         F_DUPFD_CLOEXEC.
44294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44296         * elf/Makefile (pldd-modules): Define unconditionally.
44298 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44300         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44304         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44305         Return ENOENT when name is empty.
44306         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44308 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44310         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44312         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44314 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44316         Fix mlock in all cases except non-readable pages.
44317         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44318         instead of VM_PROT_ALL as parameter to __vm_wire function.
44320         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44321         (__mkdir): When path is `/', just fail with EEXIST.
44322         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44324 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44326         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44327         <sys/uio.h> (for writev).
44328         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44329         and <sys/param.h> (for MIN).
44331 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44333         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44334         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44335         if interrupted.
44337 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44339         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44340         Depend on against $(link-rpcuserlibs).
44342 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44344         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44345         (__libc_stack_end): Do not use attribute_relro.
44346         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44347         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44348         to libthread-provided value.
44349         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44350         attribute_relro.
44352 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44354         [BZ #3748]
44355         * bits/libc-lock.h (__libc_once_get): New macro.
44356         * sysdeps/mach/bits/libc-lock.h: Likewise.
44357         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44358         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44359         instead of using implementation details.
44361         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44362         * libio/freopen.c: Likewise.
44363         * libio/freopen64.c: Likewise.
44364         * misc/syslog.c: Likewise.
44365         * nscd/connections.c: Likewise.
44366         * nscd/netgroupcache.c: Likewise.
44367         * sysdeps/posix/getcwd.c: Likewise.
44369 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44371         * math/w_ilogbf.c: Add #include <limits.h>.
44373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44375         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44376         path instead of returning without unlocking.
44378         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44379         immediate-write ioctls.
44380         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44384         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44385         __builtin_frame_address instead of making assumptions about the
44386         location of the return address relative to DATA.  Force early load of
44387         the return address.
44388         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44389         __builtin_frame_address.
44391         dup3 for GNU Hurd.
44392         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44393         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44394         implement dup3 and do some further code clean-ups.
44395         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44396         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44400         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44402         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44403         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44404         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44405         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44406         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44407         d->port.lock.
44409         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44410         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44411         when handler == SIG_ERR, not when handler != SIG_ERR.
44413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44415         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44416         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44417         definitions.
44419         accept4 for GNU Hurd.
44420         * include/sys/socket.h (__libc_accept4): New prototype.
44421         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44422         to implement __libc_accept4.
44423         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44424         __libc_accept4.
44425         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44427         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44428         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44429         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44430         signal-defines.sym.
44432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44434         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44436 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44438         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44439         assertion on O_CLOEXEC flag.
44440         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44441         * hurd/intern-fd.c: Likewise.
44442         * hurd/port2fd.c: Likewise.
44444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44446         [BZ #3906]
44447         * bits/in.h (IPV6_PKTINFO): Define new macro.
44448         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44450 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44452         [BZ #13954]
44453         [BZ #13955]
44454         [BZ #13956]
44455         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44457         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44458         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44459         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44460         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44461         * math/libm-test.inc (logb_test) : Additional logb tests.
44463 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44464             Andreas Jaeger  <aj@suse.de>
44466         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44467         * configure: Regenerated.
44468         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44469         * config.make.in (link-obsolete-rpc): New substituted variable.
44470         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44471         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44472         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44473         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44474         so that libc.a contains the symbols.
44475         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44476         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44477         * sunrpc/auth_none.c: Likewise.
44478         * sunrpc/auth_unix.c: Likewise.
44479         * sunrpc/authdes_prot.c: Likewise.
44480         * sunrpc/authuxprot.c: Likewise.
44481         * sunrpc/clnt_gen.c: Likewise.
44482         * sunrpc/clnt_perr.c: Likewise.
44483         * sunrpc/clnt_raw.c: Likewise.
44484         * sunrpc/clnt_simp.c: Likewise.
44485         * sunrpc/clnt_tcp.c: Likewise.
44486         * sunrpc/clnt_udp.c: Likewise.
44487         * sunrpc/clnt_unix.c: Likewise.
44488         * sunrpc/des_crypt.c: Likewise.
44489         * sunrpc/des_soft.c: Likewise.
44490         * sunrpc/get_myaddr.c: Likewise.
44491         * sunrpc/key_call.c: Likewise.
44492         * sunrpc/key_prot.c: Likewise.
44493         * sunrpc/netname.c: Likewise.
44494         * sunrpc/pm_getmaps.c: Likewise.
44495         * sunrpc/pm_getport.c: Likewise.
44496         * sunrpc/pmap_clnt.c: Likewise.
44497         * sunrpc/pmap_prot.c: Likewise.
44498         * sunrpc/pmap_prot2.c: Likewise.
44499         * sunrpc/pmap_rmt.c: Likewise.
44500         * sunrpc/publickey.c: Likewise.
44501         * sunrpc/rpc_cmsg.c: Likewise.
44502         * sunrpc/rpc_common.c: Likewise.
44503         * sunrpc/rpc_dtable.c: Likewise.
44504         * sunrpc/rpc_prot.c: Likewise.
44505         * sunrpc/rpc_thread.c: Likewise.
44506         * sunrpc/rtime.c: Likewise.
44507         * sunrpc/svc.c: Likewise.
44508         * sunrpc/svc_auth.c: Likewise.
44509         * sunrpc/svc_raw.c: Likewise.
44510         * sunrpc/svc_run.c: Likewise.
44511         * sunrpc/svc_tcp.c: Likewise.
44512         * sunrpc/svc_udp.c: Likewise.
44513         * sunrpc/svc_unix.c: Likewise.
44514         * sunrpc/svcauth_des.c: Likewise.
44515         * sunrpc/xcrypt.c: Likewise.
44516         * sunrpc/xdr.c: Likewise.
44517         * sunrpc/xdr_array.c: Likewise.
44518         * sunrpc/xdr_float.c: Likewise.
44519         * sunrpc/xdr_intXX_t.c: Likewise.
44520         * sunrpc/xdr_mem.c: Likewise.
44521         * sunrpc/xdr_rec.c: Likewise.
44522         * sunrpc/xdr_ref.c: Likewise.
44523         * sunrpc/xdr_sizeof.c: Likewise.
44524         * sunrpc/xdr_stdio.c: Likewise.
44526 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44528         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44529         change.  Update copyright years.
44531 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44533         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44535 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44536             Joseph Myers  <joseph@codesourcery.com>
44537             Paul Pluzhnikov  <ppluzhnikov@google.com>
44539         [BZ #14012]
44540         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44541         requiring rpcgen.
44542         [cross-compiling] (extra-libs): Likewise.
44543         [cross-compiling] (extra-libs-others): Likewise.
44544         [cross-compiling] (librpcsvc-routines): Likewise.
44545         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44546         [cross-compiling] (omit-deps): Likewise.
44547         (sunrpc-CPPFLAGS): New variable.
44548         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44549         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44550         (cross-rpcgen-objs): New variable.
44551         (extra-objs): Append $(cross-rpcgen-objs).
44552         ($(cross-rpcgen-objs)): New rule.
44553         ($(objpfx)cross-rpcgen): Likewise.
44554         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44555         comment.
44556         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44557         ($(objpfx)x%.stmp): Likewise.
44558         * sunrpc/proto.h [IS_IN_build] (_): Define.
44559         [IS_IN_build] (_libc_intl_domainname): Likewise.
44561 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44563         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44564         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44565         and R_X86_64_TPOFF64.
44567 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44569         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44570         sysdeps/unix/sysv/syscalls.list.
44571         (stime): Likewise.
44572         (utime): Likewise.
44573         * sysdeps/unix/sysv/syscalls.list: Remove file.
44575 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44577         [BZ #3440]
44578         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44579         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44580         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44581         (__LC_IDENTIFICATION): Make these macros useful in #if
44582         expressions, as required by C99.
44584 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44586         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44587         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44588         after this.
44590 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44592         * stdlib/longlong.h: Updated from GCC.
44594 2012-05-09  Andreas Jaeger  <aj@suse.de>
44596         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44597         default is first entry.
44598         (run_mode): Set type.
44599         (main): Remove informal message about syslog.
44600         (options): Fix typo.
44602         [BZ #14053]
44603         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44604         to asm.
44605         (lrint): Likewise.
44606         (llrintf): Likewise.
44607         (llrint): Likewise.
44608         (rint): Likewise.
44609         (rintf): Likewise.
44610         (nearbyint): Likewise.
44611         (nearbyintf): Likewise.
44613 2012-05-09  Andreas Jaeger  <aj@suse.de>
44614             Pedro Alves  <palves@redhat.com>
44616         * nscd/nscd.c (run_mode): Use enum.
44617         (main): Cleanup coding style issue.
44619 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44620             Andreas Jaeger  <aj@suse.de>
44622         * nscd/nscd.c (go_background): Replaced with...
44623         (run_mode): ... this.
44624         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44625         (options): Add -F --foreground.
44626         (main): Implement it.
44627         (parse_opt): Parse it.
44629 2012-05-09  Andreas Jaeger  <aj@suse.de>
44631         [BZ #14083]
44632         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44633         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44634         -Wconversion warning.
44635         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44636         Likewise.
44638 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44640         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44641         == 0.
44642         (LC_ALL): Use macro-int-constant.
44643         (LC_COLLATE): Likewise.
44644         (LC_CTYPE): Likewise.
44645         (LC_MESSAGES): Likewise.
44646         (LC_MONETARY): Likewise.
44647         (LC_NUMERIC): Likewise.
44648         (LC_TIME): Likewise.
44649         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44650         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44651         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44652         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44653         Specify type.
44654         [C99-based standards] (float_t): Expect type.
44655         [C99-based standards] (double_t): Expect type.
44656         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44657         type.
44658         [C99-based standards] (HUGE_VALL): Likewise.
44659         [C99-based standards] (INFINITY): Likewise.
44660         [C99-based standards] (NAN): Likewise.
44661         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44662         [C99-based standards] (FP_NAN): Likewise.
44663         [C99-based standards] (FP_NORMAL): Likewise.
44664         [C99-based standards] (FP_SUBNORMAL): Likewise.
44665         [C99-based standards] (FP_ZERO): Likewise.
44666         [C99-based standards] (FP_FAST_FMA): Use
44667         optional-macro-int-constant.  Specify type.  Require == 1.
44668         [C99-based standards] (FP_FAST_FMAF): Likewise.
44669         [C99-based standards] (FP_FAST_FMAL): Likewise.
44670         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44671         [C99-based standards] (FP_ILOGBNAN): Likewise.
44672         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44673         Specify type.
44674         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44675         [C99-based standards] (math_errhandling): Specify type.
44676         [ISO99 || ISO11] (signgam): Do not allow.
44677         [non-C99-based standards] (copysignf): Do not allow.
44678         [non-C99-based standards] (exp2f): Likewise.
44679         [non-C99-based standards] (log2f): Likewise.
44680         [non-C99-based standards] (modff): Allow.
44681         [non-C99-based standards] (erff): Do not allow.
44682         [non-C99-based standards] (erfcf): Likewise.
44683         [non-C99-based standards] (gammaf): Likewise.
44684         [non-C99-based standards] (hypotf): Likewise.
44685         [non-C99-based standards] (j0f): Likewise.
44686         [non-C99-based standards] (j1f): Likewise.
44687         [non-C99-based standards] (jnf): Likewise.
44688         [non-C99-based standards] (lgammaf): Likewise.
44689         [non-C99-based standards] (tgammaf): Likewise.
44690         [non-C99-based standards] (y0f): Likewise.
44691         [non-C99-based standards] (y1f): Likewise.
44692         [non-C99-based standards] (ynf): Likewise.
44693         [non-C99-based standards] (isnanf): Likewise.
44694         [non-C99-based standards] (acoshf): Likewise.
44695         [non-C99-based standards] (asinhf): Likewise.
44696         [non-C99-based standards] (atanhf): Likewise.
44697         [non-C99-based standards] (cbrtf): Likewise.
44698         [non-C99-based standards] (expm1f): Likewise.
44699         [non-C99-based standards] (ilogbf): Likewise.
44700         [non-C99-based standards] (log1pf): Likewise.
44701         [non-C99-based standards] (logbf): Likewise.
44702         [non-C99-based standards] (nextafterf): Likewise.
44703         [non-C99-based standards] (remainderf): Likewise.
44704         [non-C99-based standards] (rintf): Likewise.
44705         [non-C99-based standards] (scalbf): Likewise.
44706         [non-C99-based standards] (copysignl): Likewise.
44707         [non-C99-based standards] (exp2l): Likewise.
44708         [non-C99-based standards] (log2l): Likewise.
44709         [non-C99-based standards] (modfl): Allow.
44710         [non-C99-based standards] (erfl): Do not allow.
44711         [non-C99-based standards] (erfcl): Likewise.
44712         [non-C99-based standards] (gammal): Likewise.
44713         [non-C99-based standards] (hypotl): Likewise.
44714         [non-C99-based standards] (j0l): Likewise.
44715         [non-C99-based standards] (j1l): Likewise.
44716         [non-C99-based standards] (jnl): Likewise.
44717         [non-C99-based standards] (lgammal): Likewise.
44718         [non-C99-based standards] (tgammal): Likewise.
44719         [non-C99-based standards] (y0l): Likewise.
44720         [non-C99-based standards] (y1l): Likewise.
44721         [non-C99-based standards] (ynl): Likewise.
44722         [non-C99-based standards] (isnanl): Likewise.
44723         [non-C99-based standards] (acoshl): Likewise.
44724         [non-C99-based standards] (asinhl): Likewise.
44725         [non-C99-based standards] (atanhl): Likewise.
44726         [non-C99-based standards] (cbrtl): Likewise.
44727         [non-C99-based standards] (expm1l): Likewise.
44728         [non-C99-based standards] (ilogbl): Likewise.
44729         [non-C99-based standards] (log1pl): Likewise.
44730         [non-C99-based standards] (logbl): Likewise.
44731         [non-C99-based standards] (nextafterl): Likewise.
44732         [non-C99-based standards] (remainderl): Likewise.
44733         [non-C99-based standards] (rintl): Likewise.
44734         [non-C99-based standards] (scalbl): Likewise.
44735         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44736         [non-C99-based standards] (FP_*): Do not allow.
44737         [C99-based standards] (FP_*): Change to
44738         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44739         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44740         allow.
44741         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44742         (SIG_ERR): Likewise.
44743         [X/Open-based standards] (SIG_HOLD): Likewise.
44744         (SIG_IGN): Likewise.
44745         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44746         positive value.
44747         (SIGFPE): Likewise.
44748         (SIGILL): Likewise.
44749         (SIGINT): Likewise.
44750         (SIGSEGV): Likewise.
44751         (SIGTER): Likewise.
44752         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44753         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44754         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44755         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44756         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44757         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44758         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44759         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44760         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44761         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44762         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44763         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44764         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44765         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44766         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44767         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44768         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44769         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44770         [X/Open-based standards] (SIGTRAP): Likewise.
44771         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44772         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44773         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44774         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44775         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44776         allow.
44778 2012-05-08  Ian Wienand  <ianw@vmware.com>
44780         [BZ #14080]
44781         * time/tzset.c (__tzset_parse_tz): Update default rules for
44782         daylight time changes in the Energy Policy Act of 2005.
44784 2012-05-09  Andreas Jaeger  <aj@suse.de>
44786         [BZ #13983]
44787         * elf/ldconfig.c (parse_conf): Change string to make clear that
44788         ldconfig only issued a warning if ld.so.conf does not exist.
44790 2012-05-08  David S. Miller  <davem@davemloft.net>
44792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44793         movxtod instead of popping the value on the stack.
44795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44797 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44799         * config.h.in: Add HAVE_ARM_PCS_VFP.
44801 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44803         [BZ #13979]
44804         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44805         checking but the checks are disabled for any reason.
44807 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44809         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44810         and ELF64_R_TYPE with ELFW(R_TYPE).
44812 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44814         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44815         (ulimit): Likewise.
44817         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44818         (settimeofday): Likewise.
44820 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44822         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44823         a struct th_u2 inside the union, and move tu_block/tu_code into
44824         a new th_u3 union of tu_block/tu_code inside of that.  Move
44825         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44826         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44827         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44828         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44829         (th_stuff): Change to th_u1.tu_stuff.
44830         (th_data): Define.
44831         (th_msg): Change to th_u1.th_u2.tu_data.
44833 2012-05-07  David S. Miller  <davem@davemloft.net>
44835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44837         [BZ #14074]
44838         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44839         (SETUP_PIC_REG): Use it.
44840         (SETUP_PIC_REG_LEAF): Use it.
44842 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44844         [BZ #13885]
44845         [BZ #13923]
44846         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44847         USE_AS_EXPM1L.
44848         (EXPL_FINITE): Likewise.
44849         (FLDLOG): Likewise.
44850         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44851         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44852         e_expl.S.
44853         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44854         USE_AS_EXPM1L.
44855         (EXPL_FINITE): Likewise.
44856         (FLDLOG): Likewise.
44857         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44858         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44859         e_expl.S.
44860         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44861         test of -max_value argument for long double.
44862         * sysdeps/i386/fpu/libm-test-ulps: Update.
44863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44865 2012-05-06  David S. Miller  <davem@davemloft.net>
44867         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44868         quad soft-float symbols whose references which are compiler
44869         generated.
44870         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44872 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44874         [BZ #13884]
44875         [BZ #13914]
44876         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44877         USE_AS_EXP10L.
44878         (EXPL_FINITE): Likewise.
44879         (FLDLOG): Likewise.
44880         (c0): Likewise.
44881         (c1): Likewise.
44882         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44883         Adjust comments for base varying.
44884         (__expl_finite): Change alias to EXPL_FINITE.
44885         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44886         e_expl.S.
44887         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44888         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44889         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44890         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44891         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44892         USE_AS_EXP10L.
44893         (EXPL_FINITE): Likewise.
44894         (FLDLOG): Likewise.
44895         (c0): Likewise.
44896         (c1): Likewise.
44897         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44898         Adjust comments for base varying.
44899         (__expl_finite): Change alias to EXPL_FINITE.
44900         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44901         tests for bugs.
44902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44904         [BZ #14064]
44905         * math/libm-test.inc (check_float_internal): Correct ulp
44906         calculation for subnormal expected results.
44908 2012-05-06  Andreas Jaeger  <aj@suse.de>
44910         * Makeconfig (+math-flags): New, set to -frounding-math.
44911         (+cflags): Add +math-flags so that all of glibc gets compiled with
44912         it.
44914         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44916 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44918         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44919         Disable one test.
44921         [BZ #13787]
44922         [BZ #13922]
44923         [BZ #14036]
44924         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44925         (__ieee754_expl): Allow for and saturate large arguments.
44926         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44927         (u_threshold): Likewise.
44928         (__exp): Call __ieee754_exp before checking for overflow and
44929         underflow.
44930         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44931         (u_threshold): Likewise.
44932         (__expf): Call __ieee754_expf before checking for overflow and
44933         underflow.
44934         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44935         (u_threshold): Likewise.
44936         (__expl): Call __ieee754_expl before checking for overflow and
44937         underflow.
44938         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44939         (__ieee754_expl): Allow for and saturate large arguments.
44940         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44941         missing overflow exception on overflow.
44942         (expm1_test): Do not allow missing overflow exception on overflow.
44944         * sysdeps/i386/fpu/e_expl.c: Move to ...
44945         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44946         rather than using inline asm.
44947         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44948         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44949         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44951         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44952         (nice): Likewise.
44953         (poll): Likewise.
44954         (signal): Likewise.
44955         (time): Likewise.
44956         (times): Likewise.
44958 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44960         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44961         sysdeps/unix/common/syscalls.list.
44962         (fchmod): Likewise.
44963         (fchown): Likewise.
44964         (ftruncate): Likewise.
44965         (getrusage): Likewise.
44966         (gettimeofday): Likewise.
44967         (setpgid): Likewise.
44968         (setregid): Likewise.
44969         (setreuid): Likewise.
44970         (sigaction): Likewise.
44971         (truncate): Likewise.
44972         (vhangup): Likewise.
44973         * sysdeps/unix/common/syscalls.list: Remove file.
44974         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44975         * sysdeps/unix/sysv/linux/Implies: Likewise.
44977 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44979         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44981         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44982         Moved to ...
44983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44984         Here.
44985         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44986         to ...
44987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44988         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44989         to ...
44990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44991         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44992         to ...
44993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44994         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44995         to ...
44996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44997         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44998         to ...
44999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45000         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45001         to ...
45002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45003         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45004         to ...
45005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45006         Here.
45007         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45008         to ...
45009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45010         Here.
45011         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45012         to ...
45013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45014         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45015         Moved to ...
45016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45017         Here.
45018         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45019         to ...
45020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45022 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45024         * sysdeps/unix/common/bits/dirent.h: Remove file.
45025         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45027         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45028         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45029         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45030         * sysdeps/unix/bsd/isatty.c: Likewise.
45031         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45032         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45033         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45035 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45037         [BZ #13563]
45038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45039         long double comparison inaccuracies.
45040         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45043 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45045         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45046         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45048 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45050         [BZ #14049]
45051         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45052         nonzero digits before rounding a hex value.
45053         * stdlib/tst-strtod.c (tests): Add another test.
45055 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45057         * sysdeps/s390/fpu/libm-test-ulps: Update.
45059 2012-05-03  Andreas Jaeger  <aj@suse.de>
45061         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45062         does not get optimized out.
45063         (malloc_opt_barrier): New.
45065 2012-05-03  Andreas Jaeger  <aj@suse.de>
45066             Roland McGrath  <roland@hack.frob.com>
45068         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45069         intermediate file deletion.
45070         (generated): Add .symlist files.
45072 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45074         [BZ #13775]
45075         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45076         Redirect under this condition.
45077         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45078         [__USE_GNU] (__dprintf_chk): Not under this condition.
45079         [__USE_GNU] (__vdprintf_chk): Likewise.
45080         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45081         under this condition.
45082         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45083         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45084         [__USE_XOPEN2K8] (vdprintf): Likewise.
45085         [__USE_GNU] (__dprintf_chk): Not under this condition.
45086         [__USE_GNU] (__vdprintf_chk): Likewise.
45087         [__USE_GNU] (dprintf): Likewise.
45088         [__USE_GNU] (vdprintf): Likewise.
45090 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45092         * elf/Makefile (common-generated): Set this instead of generated for
45093         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45094         $(all-built-dso)-derived lists.
45096 2012-05-03  Andreas Jaeger  <aj@suse.de>
45098         * sysdeps/i386/fpu/libm-test-ulps: Update.
45100         * FAQ: Removed.
45101         * FAQ.in: Likewise.
45102         * scripts/gen-FAQ.pl: Likewise.
45103         * manual/install.texi (Installation): Point to online location of
45104         FAQ.
45105         * Makefile (files-for-dist): Remove FAQ.
45106         (FAQ): Remove.
45108 2012-05-02  Allan McRae  <allan@archlinux.org>
45110         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45111         (LDFLAGS-reldepmod5.so): Likewise.
45112         (LDFLAGS-reldep6mod1.so): Likewise.
45113         (LDFLAGS-reldep6mod4.so): Likewise.
45114         (LDFLAGS-reldep8mod3.so): Likewise.
45115         (LDFLAGS-unload4mod1.so): Likewise.
45116         (LDFLAGS-unload4mod2.so): Likewise.
45117         (LDFLAGS-tst-initorder): Likewise.
45118         (LDFLAGS-tst-initordera2.so): Likewise.
45119         (LDFLAGS-tst-initordera3.so): Likewise.
45120         (LDFLAGS-tst-initordera4.so): Likewise.
45121         (LDFLAGS-tst-initorderb2.so): Likewise.
45122         (LDFLAGS-noload): Likewise.
45123         (LDFLAGS-next): Likewise.
45124         (LDFLAGS-order2mod1.so): Likewise.
45125         (LDFLAGS-order2mod2.so): Likewise.
45126         (LDFLAGS-tst-initorder2): Likewise.
45127         (LDFLAGS-tst-initorder2a.so): Likewise.
45128         (LDFLAGS-tst-initorder2b.so): Likewise.
45129         (LDFLAGS-tst-initorder2c.so): Likewise.
45130         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45132 2012-05-02  David S. Miller  <davem@davemloft.net>
45134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45136 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45138         [BZ #14055]
45139         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45141 2012-05-02  Andreas Jaeger  <aj@suse.de>
45143         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45144         since we manipulate rounding mode.
45145         (CPPFLAGS-test-idouble.c): Likewise.
45146         (CPPFLAGS-test-ifloat.c): Likewise.
45147         (CFLAGS-test-ldouble.c): Likewise.
45148         (CFLAGS-test-double.c): Likewise.
45149         (CFLAGS-test-float.c): Likewise.
45150         (CFLAGS-test-misc.c): Likewise.
45151         (CFLAGS-test-test-fenv.c): Likewise.
45153 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45155         [BZ #2550]
45156         [BZ #2570]
45157         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45158         comparisons to determine direction to adjust input.
45160 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45162         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45163         output to the target.
45165         * scripts/localplt.awk: New file.
45166         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45167         (check-localplt-CFLAGS): Variable removed.
45168         ($(all-built-dso:=.jmprel)): New static pattern rule.
45169         (generated): Add those targets.
45170         (localplt-built-dso): New variable.
45171         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45173         * elf/check-localplt.c: File removed.
45175         * scripts/check-execstack.awk: New file.
45176         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45177         (check-execstack-CFLAGS): Variable removed.
45178         ($(objpfx)check-execstack.h): Target removed.
45179         ($(objpfx)execstack-default): New target.
45180         (generated): Add that instead of check-execstack.h.
45181         ($(all-built-dso:=.phdr)): New static pattern rule.
45182         (generated): Add those targets.
45183         * elf/check-execstack.c: File removed.
45185         * scripts/check-textrel.awk: New file.
45186         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45187         (check-textrel-CFLAGS): Variable removed.
45188         (all-built-dso): Use := to define.o
45189         ($(all-built-dso:=.dyn)): New static pattern rule.
45190         (generated): Add those targets.
45191         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45192         * config.make.in (READELF): New substituted variable.
45193         * elf/check-textrel.c: File removed.
45195 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45197         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45198         allow.
45199         * conform/data/ctype.h-data [C99-based standards] (isblank):
45200         Expect function.
45201         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45202         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45203         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45204         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45205         Specify type.  Require positive value.
45206         (EILSEQ): Likewise.
45207         (ERANGE): Likewise.
45208         [ISO || POSIX] (EILSEQ): Do not expect.
45209         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45210         Specify type.  Require positive value.
45211         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45212         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45213         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45214         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45215         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45216         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45217         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45218         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45219         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45220         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45221         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45222         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45223         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45224         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45225         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45226         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45227         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45228         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45229         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45230         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45231         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45232         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45233         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45234         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45235         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45236         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45237         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45238         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45239         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45240         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45241         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45242         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45243         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45244         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45245         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45246         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45247         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45248         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45249         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45250         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45251         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45252         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45253         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45254         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45255         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45256         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45257         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45258         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45259         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45260         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45261         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45262         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45263         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45264         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45265         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45266         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45267         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45268         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45269         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45270         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45271         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45272         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45273         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45274         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45275         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45276         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45277         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45278         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45279         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45280         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45281         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45282         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45283         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45284         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45285         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45286         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45287         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45288         Require >= 2.
45289         (FLT_ROUNDS): Expect as macro, not constant.
45290         (FLT_MANT_DIG): Use macro-int-constant.
45291         (DBL_MANT_DIG): Likewise.
45292         (LDBL_MANT_DIG): Likewise.
45293         (FLT_DIG): Likewise.
45294         (DBL_DIG): Likewise.
45295         (LDBL_DIG): Likewise.
45296         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45297         (DBL_MIN_EXP): Likewise.
45298         (LDBL_MIN_EXP): Likewise.
45299         (FLT_MAX_EXP): Use macro-int-constant.
45300         (DBL_MAX_EXP): Likewise.
45301         (LDBL_MAX_EXP): Likewise.
45302         (FLT_MAX_10_EXP): Likewise.
45303         (DBL_MAX_10_EXP): Likewise.
45304         (LDBL_MAX_10_EXP): Likewise.
45305         (FLT_MAX): Use macro-constant.
45306         (DBL_MAX): Likewise.
45307         (LDBL_MAX): Likewise.
45308         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45309         (DBL_EPSILON): Likewise.
45310         (LDBL_EPSILON): Likewise.
45311         (FLT_MIN): Likewise.
45312         (DBL_MIN): Likewise.
45313         (LDBL_MIN): Likewise.
45314         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45315         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45316         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45317         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45318         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45319         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45320         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45321         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45322         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45323         [ISO11] (FLT_TRUE_MIN): Likewise.
45324         [ISO11] (LDBL_TRUE_MIN): Likewise.
45325         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45326         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45327         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45328         (SCHAR_MAX): Likewise.
45329         (UCHAR_MAX): Likewise.
45330         (CHAR_MIN): Likewise.
45331         (CHAR_MAX): Likewise.
45332         (MB_LEN_MAX): Use macro-int-constant.
45333         (SHRT_MIN): Use macro-int-constant.  Specify type.
45334         (SHRT_MAX): Likewise.
45335         (USHRT_MAX): Likewise.
45336         (INT_MAX): Likewise.
45337         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45338         bound negative.
45339         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45340         bound with "U".
45341         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45342         bound with "L".
45343         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45344         bound negative.  Suffix upper bound with "L".
45345         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45346         bound with "UL".
45347         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45348         Specify type.
45349         [C99-based standards] (LLONG_MAX): Likewise.
45350         [C99-based standards] (ULLONG_MAX): Likewise.
45351         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45352         == 0.
45353         [ISO11] (max_align_t): Require type.
45354         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45356         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45357         from $CFLAGS, without defining away __attribute__ calls.
45358         (checknamespace): Use $CFLAGS_namespace.
45360         * conform/conformtest.pl (@keywords): Only include C99 keywords
45361         for standards based on C99 or C11.
45363         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45364         Disable tests.
45365         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45366         UNIX98]: Likewise.
45368         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45369         usability of symbols in #if.
45371         * conform/conformtest.pl: If macro or constant types start
45372         "promoted:", expect the symbol to be of the following type
45373         promoted by the integer promotions.
45375         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45376         in one place.  Also handle "macro-constant".
45378         * conform/conformtest.pl: Only accept expected macro values with
45379         "==".  Parse all "macro" lines in one place.
45380         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45382         * conform/conformtest.pl: Handle braced types on "constant" lines
45383         instead of handling "typed-constant".
45384         * conform/data/signal.h-data: Use "constant" instead of
45385         "typed-constant".
45387         * conform/conformtest.pl: Handle "optional-" at start of lines in
45388         one place rather than duplicating several cases.  Handle each
45389         format of "macro" line with initial "optional-".
45391         * conform/conformtest.pl: Only accept expected constant or
45392         optional-constant values with "==".  Parse all "constant" lines in
45393         one place.  Parse all "optional-constant" lines in one place.
45394         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45395         * conform/data/fmtmsg.h-data: Likewise.
45396         * conform/data/netinet/in.h-data: Likewise.
45397         * conform/data/tar.h-data: Likewise.
45398         * conform/data/limits.h-data: Use "==" form on "constant" and
45399         "optional-constant" lines.
45401         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45402         Use -std=c99 for XOPEN2K.
45403         (@knownproblems): Remove.
45404         (newtoken): Don't check %isknown.
45406         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45407         Do not expect macro.
45408         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45409         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45410         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45411         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45412         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45413         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45414         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45415         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45416         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45417         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45418         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45419         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45420         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45421         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45422         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45423         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45424         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45425         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45426         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45427         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45428         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45429         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45430         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45431         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45432         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45433         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45434         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45435         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45436         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45437         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45438         [XPG3] (acosh): Likewise.
45439         [XPG3] (asinh): Likewise.
45440         [XPG3] (atanh): Likewise.
45441         [XPG3] (cbrt): Likewise.
45442         [XPG3] (expm1): Likewise.
45443         [XPG3] (ilogb): Likewise.
45444         [XPG3] (log1p): Likewise.
45445         [XPG3] (logb): Likewise.
45446         [XPG3] (nextafter): Likewise.
45447         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45448         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45449         [XPG3] (remainder): Likewise.
45450         [XPG3] (rint): Likewise.
45451         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45452         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45453         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45454         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45455         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45456         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45457         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45458         [UNIX98 || XOPEN2K] (scalb): Expect.
45459         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45460         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45461         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45462         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45463         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45464         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45465         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45466         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45467         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45468         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45469         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45470         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45471         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45472         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45473         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45474         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45475         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45476         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45477         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45478         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45479         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45480         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45481         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45482         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45483         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45484         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45485         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45486         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45487         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45488         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45489         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45490         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45491         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45492         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45493         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45494         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45495         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45496         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45497         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45498         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45499         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45500         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45501         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45502         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45503         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45504         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45505         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45506         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45507         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45508         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45509         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45510         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45511         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45512         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45513         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45514         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45515         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45516         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45517         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45518         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45519         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45520         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45521         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45522         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45523         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45524         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45525         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45526         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45527         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45528         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45529         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45530         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45531         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45532         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45533         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45534         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45535         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45536         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45537         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45538         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45539         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45540         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45541         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45542         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45543         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45544         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45545         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45546         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45547         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45548         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45549         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45550         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45551         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45552         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45553         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45554         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45555         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45556         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45557         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45558         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45559         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45560         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45561         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45562         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45563         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45564         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45565         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45566         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45567         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45568         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45569         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45570         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45571         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45572         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45573         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45574         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45575         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45576         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45577         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45578         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45579         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45580         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45581         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45582         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45583         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45584         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45585         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45586         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45587         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45588         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45589         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45590         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45591         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45592         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45593         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45594         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45595         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45597         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45598         _XOPEN_SOURCE_EXTENDED for XPG4.
45600         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45602         * Makeconfig (localtime): Remove variable.
45603         (inst_localtime-file): Likewise.
45605 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45608         Update.
45609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45610         Update.
45611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45612         Update.
45613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45614         Update.
45615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45616         Update.
45617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45618         Update.
45619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45620         Update.
45621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45622         Update.
45623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45624         Update.
45626 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45628         [BZ #2550]
45629         [BZ #2570]
45630         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45631         comparisons to determine direction to adjust input.
45632         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45633         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45634         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45635         Likewise.
45636         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45637         Likewise.
45638         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45639         Likewise.
45640         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45641         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45642         Likewise.
45643         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45644         Likewise.
45645         * math/libm-test.inc (nexttoward_test): Add more tests.
45647 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45649         [BZ #14040]
45650         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45651         in version GLIBC_2.1, not GLIBC_2.0.
45652         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45653         Likewise.
45655 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45657         [BZ #13942]
45658         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45659         (1 - x) * (1 + x).
45660         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45661         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45662         * math/libm-test.inc (acos_test): Add more tests.
45663         (asin_test): Likewise.
45664         * sysdeps/i386/fpu/libm-test-ulps: Update.
45665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45667         [BZ #14034]
45668         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45669         of square root.
45670         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45671         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45672         * math/libm-test.inc (acos_test_tonearest): New function.
45673         (acos_test_towardzero): Likewise.
45674         (acos_test_downward): Likewise.
45675         (acos_test_upward): Likewise.
45676         (asin_test_tonearest): Likewise.
45677         (asin_test_towardzero): Likewise.
45678         (asin_test_downward): Likewise.
45679         (asin_test_upward): Likewise.
45680         (main): Call the new functions.
45681         * sysdeps/i386/fpu/libm-test-ulps: Update.
45682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45684         [BZ #13884]
45685         [BZ #13924]
45686         * math/e_exp10.c: Include <float.h>.
45687         (__ieee754_exp10): Handle underflow here rather than multiplying
45688         large negative argument by M_LN10.
45689         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45690         of __ieee754_expf.
45691         * math/e_exp10l.c: Include <float.h>.
45692         (__ieee754_exp10l): Handle underflow here rather than multiplying
45693         large negative argument by M_LN10l.
45694         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45695         spurious overflow exception on underflow.
45697 2012-04-29  Marek Polacek  <polacek@redhat.com>
45699         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45700         (__fortify_function): New macro.
45701         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45702         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45703         __extern_always_inline.
45704         * libio/bits/stdio2.h: Likewise.
45705         * libio/bits/stdio.h: Likewise.
45706         * string/string.h: Likewise.
45707         * string/bits/string3.h: Likewise.
45708         * include/stdio.h: Likewise.
45709         * stdlib/bits/stdlib.h: Likewise.
45710         * stdlib/stdlib.h: Likewise.
45711         * rt/bits/mqueue2.h: Likewise.
45712         * rt/mqueue.h: Likewise.
45713         * posix/bits/unistd.h: Likewise.
45714         * posix/unistd.h: Likewise.
45715         * io/bits/poll2.h: Likewise.
45716         * io/bits/fcntl2.h: Likewise.
45717         * io/fcntl.h: Likewise.
45718         * io/sys/poll.h: Likewise.
45719         * misc/bits/syslog.h: Likewise.
45720         * misc/bits/syslog-ldbl.h: Likewise.
45721         * misc/sys/syslog.h: Likewise.
45722         * socket/bits/socket2.h: Likewise.
45723         * socket/sys/socket.h: Likewise.
45724         * debug/tst-chk1.c: Likewise.
45725         * wcsmbs/bits/wchar2.h: Likewise.
45726         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45727         * wcsmbs/wchar.h: Likewise.
45729 2012-04-29  Andreas Jaeger  <aj@suse.de>
45731         * Makerules (tests): Remove enable-check-abi protection.
45732         (check-abi-warn): Remove.
45733         (check-abi-%): Remove check-abi-warn usage.
45735         * configure.in: Remove check-abi configure option.
45736         * configure: Regenerated.
45737         * config.make.in (enable-check-abi): Remove.
45739 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45741         [BZ #14033]
45742         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45743         double functions to double *_finite functions.
45745         [BZ #13941]
45746         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45747         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45748         LDBL_MIN_EXP.
45749         * stdio-common/Makefile (tests): Add tst-sprintf3.
45750         * stdio-common/tst-sprintf3.c: New file.
45752         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45753         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45755 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45757         * conform/conformtest.pl: Remove duplicate typed-constant
45758         handling.
45760 2012-04-28  David S. Miller  <davem@davemloft.net>
45762         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45763         (check-abi-%): Remove AWK script prerequisite and explicit
45764         abilist directory.
45765         (check-abi): Rewrite to just diff the symlist with the abilist.
45766         (config-tls, config-abi-config): Delete, no longer used.
45767         (update-abi-%): Remove AWK script and explicit abilist directory.
45768         (update-abi): Rewrite to simply compare and conditionally copy the
45769         symlist and the sysdep abilist file.  Remove update-abi-config
45770         checks.
45771         * abilist/ld.abilist: Remove.
45772         * abilist/libBrokenLocale.abilist: Remove.
45773         * abilist/libanl.abilist: Remove.
45774         * abilist/libcrypt.abilist: Remove.
45775         * abilist/libdl.abilist: Remove.
45776         * abilist/librt.abilist: Remove.
45777         * abilist/libthread_db.abilist: Remove.
45778         * abilist/libutil.abilist: Remove.
45779         * scripts/extract-abilist.awk: Remove.
45780         * scripts/merge-abilist.awk: Remove.
45781         * sysdeps/generic/libcidn.abilist: New file.
45782         * sysdeps/generic/libnss_compat.abilist: New file.
45783         * sysdeps/generic/libnss_db.abilist: New file.
45784         * sysdeps/generic/libnss_dns.abilist: New file.
45785         * sysdeps/generic/libnss_files.abilist: New file.
45786         * sysdeps/generic/libnss_hesiod.abilist: New file.
45787         * sysdeps/generic/libnss_nis.abilist: New file.
45788         * sysdeps/generic/libnss_nisplus.abilist: New file.
45789         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45790         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45791         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45792         file.
45793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45794         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45795         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45796         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45797         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45798         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45799         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45800         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45801         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45802         file.
45803         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45804         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45805         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45806         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45807         file.
45808         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45809         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45810         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45811         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45812         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45813         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45814         file.
45815         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45816         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45817         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45818         file.
45819         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45821         New file.
45822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45823         New file.
45824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45825         New file.
45826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45827         New file.
45828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45829         New file.
45830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45831         New file.
45832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45833         New file.
45834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45835         New file.
45836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45837         New file.
45838         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45839         New file.
45840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45841         New file.
45842         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45843         New file.
45844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45845         New file.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45847         file.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45849         New file.
45850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45851         New file.
45852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45853         file.
45854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45855         New file.
45856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45857         New file.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45859         file.
45860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45861         New file.
45862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45863         New file.
45864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45865         New file.
45866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45867         New file.
45868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45869         New file.
45870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45871         New file.
45872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45874         file.
45875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45876         New file.
45877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45878         file.
45879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45880         file.
45881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45882         file.
45883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45884         file.
45885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45886         file.
45887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45888         New file.
45889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45890         file.
45891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45892         file.
45893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45894         New file.
45895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45896         file.
45897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45899         file.
45900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45901         New file.
45902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45903         file.
45904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45905         file.
45906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45907         file.
45908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45909         file.
45910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45911         file.
45912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45913         New file.
45914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45915         file.
45916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45917         file.
45918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45919         New file.
45920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45921         file.
45922         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45923         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45924         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45925         file.
45926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45927         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45928         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45929         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45930         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45931         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45932         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45933         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45934         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45935         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45938         file.
45939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45940         New file.
45941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45942         file.
45943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45944         file.
45945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45946         file.
45947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45948         file.
45949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45950         file.
45951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45952         New file.
45953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45954         New file.
45955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45956         file.
45957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45958         New file.
45959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45960         file.
45961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45963         file.
45964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45965         New file.
45966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45967         file.
45968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45969         file.
45970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45971         file.
45972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45973         file.
45974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45975         file.
45976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45977         New file.
45978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45979         New file.
45980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45981         file.
45982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45983         New file.
45984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45985         file.
45987 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45989         * conform/conformtest.pl: Fix typo in handling typed-constant from
45990         allow-header.
45992 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45994         * README: Cut down references to pre-2.6 Linux kernels and
45995         Linuxthreads.  Update lists of configurations in libc and ports
45996         and sort alphabetically.  Say "or newer" with Linux kernel version
45997         requirements.
45999         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46001 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46003         [BZ #887]
46004         * math/libm-test.inc (logb_test_downward): New test to expose
46005         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46006         rounding mode.
46008 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46010         [BZ #14027]
46011         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46012         to be done.
46013         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46014         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46016 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46018         * sysdeps/unix/i386/brk.S: Remove file.
46019         * sysdeps/unix/i386/dl-brk.S: Likewise.
46020         * sysdeps/unix/i386/pipe.S: Likewise.
46021         * sysdeps/unix/i386/sigreturn.S: Likewise.
46022         * sysdeps/unix/i386/syscall.S: Likewise.
46023         * sysdeps/unix/i386/vfork.S: Likewise.
46024         * sysdeps/unix/i386/wait.S: Likewise.
46026         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46027         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46029         * configure.in (arm*-none*): Do not allow without
46030         --enable-hacker-mode.
46031         (netbsd*): Remove case setting base_os.
46032         (386bsd*): Likewise.
46033         (freebsd*): Likewise.
46034         (bsdi*): Likewise.
46035         (osf*): Likewise.
46036         (sunos*): Likewise.
46037         (ultrix*): Likewise.
46038         (newsos*): Likewise.
46039         (dynix*): Likewise.
46040         (*bsd*): Likewise.
46041         (sysv*): Likewise.
46042         (isc*): Likewise.
46043         (esix*): Likewise.
46044         (sco*): Likewise.
46045         (minix*): Likewise.
46046         (irix4*): Likewise.
46047         (irix6*): Likewise.
46048         (solaris[2-9]*): Likewise.
46049         (none): Likewise.
46050         * configure: Regenerated.
46052 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46054         [BZ #11521]
46055         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46056         overflow or cancellation in calculating denominator.
46057         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46058         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46059         down expression to avoid unexpected rounding in newer GCCs.
46060         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46062 2012-04-26  David S. Miller  <davem@davemloft.net>
46064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46065         long-double compat symbols.
46066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46080 2012-04-25  David S. Miller  <davem@davemloft.net>
46082         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46083         HWCAP_* values only after the memory barriers have been defined.
46084         (atomic_full_barrier): Define.
46085         (atomic_read_barrier): Define.
46086         (atomic_write_barrier): Define.
46088 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46090         * shlib-versions: Add libgcc_s version information.
46091         * sysdeps/generic/libgcc_s.h: Remove.
46092         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46093         libgcc_s.h.
46094         * sysdeps/gnu/unwind-resume.c: Likewise.
46095         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46097 2012-04-25  David S. Miller  <davem@davemloft.net>
46099         * sysdeps/unix/sparc/brk.S: Delete.
46100         * sysdeps/unix/sparc/dl-brk.S: Delete.
46101         * sysdeps/unix/sparc/pipe.S: Delete.
46102         * sysdeps/unix/sparc/sysdep.S: Delete.
46103         * sysdeps/unix/sparc/sysdep.h: Delete.
46104         * sysdeps/unix/sparc/vfork.S: Delete.
46105         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46106         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46107         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46108         (ret_ERRVAL, r0, r1, MOVE): Define.
46109         (JUMPTARGET): Remove.
46110         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46111         sysdeps/unix/sparc/sysdep.h
46112         (ENTRY, END): Remove.
46113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46115 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46117         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46118         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46119         -DIS_IN_build.
46121         * timezone/README: Update upstream location and email address for
46122         tzcode and tzdata.
46123         * timezone/zdump.c: Update from tzcode 2012b.
46124         * timezone/zic.c: Likewise.
46126         * configure.in (libc_cv_as_needed): Remove test.
46127         * configure: Regenerated.
46128         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46129         conditional definition.
46130         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46131         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46132         * config.make.in (have-as-needed): Remove variable.
46134 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46135             Paul Pluzhnikov  <ppluzhnikov@google.com>
46137         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46138         strings correctly.
46140 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46142         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46143         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46144         * sysdeps/sh/strlen.S: Likewise.
46146 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46148         * sysdeps/unix/fork.S: Remove file.
46149         * sysdeps/unix/i386/fork.S: Likewise.
46150         * sysdeps/unix/sparc/fork.S: Likewise.
46152         * sysdeps/unix/system.c: Remove file.
46153         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46155         * sysdeps/unix/getegid.S: Remove file.
46156         * sysdeps/unix/geteuid.S: Likewise.
46158 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46160         * scripts/check-localplt.awk: New file.
46161         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46162         of diff.
46163         * scripts/data/localplt-generic.data: Add a comment.
46165         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46166         NODE when __dir_mkfile failed.
46167         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46168         Reported by Ludovic Courtès <ludo@gnu.org>.
46170 2012-04-24  Andreas Jaeger  <aj@suse.de>
46172         * Makerules (common-clean): Also remove gen-as-const-headers
46173         files.
46175 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46177         * Makerules (native-compile): Do not change working directory for
46178         build.  Use $(OUTPUT_OPTION) in command.
46179         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46181 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46183         [BZ #13886]
46184         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46185         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46186         * math/libm-test.inc (floor_test): Add more tests.
46187         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46189 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46191         * sysdeps/unix/getdents.c: Remove file.
46192         * sysdeps/unix/sysv/getdents.c: Likewise.
46193         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46195         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46196         sysdeps/unix/mman/syscalls.list.
46197         (mmap): Likewise.
46198         (mprotect): Likewise.
46199         (msync): Likewise.
46200         (munmap): Likewise.
46201         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46202         * sysdeps/unix/mman/syscalls.list: Remove.
46203         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46205         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46206         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46207         * configure: Regenerated.
46208         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46209         $(libgcc_s_suffix).
46210         * config.make.in (libgcc_s_suffix): Remove variable.
46212 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46214         * sysdeps/unix/sysv/gethostname.c: Move to ...
46215         * sysdeps/posix/gethostname.c: ... here.
46217         * sysdeps/unix/execve.S: Remove file.
46219         * sysdeps/unix/_exit.S: Remove file.
46221 2012-04-23  Andreas Jaeger  <aj@suse.de>
46223         [BZ #13739]
46224         * manual/Makefile: Remove make dist support, there's no
46225         need for a stand-alone documentation tar ball.
46226         (TEXI2DVI): Define always, it's not in Makeconfig.
46227         (dist): Removed.
46228         (tar-it): Removed.
46229         (edition): Removed.
46230         (glibc-doc-$(edition).tar): Removed
46231         (%.Z): Removed.
46232         (%.gz): Removed.
46233         (%.uu): Removed.
46234         (ETAGS): Remove, it's in Makeconfig.
46235         (move-if-change): Remove, it's in Makeconfig.
46237 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46239         [BZ #13970]
46240         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46241         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46242         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46243         (strtod_l, strtof_l, strtold_l): Remove __wur.
46244         It is not necessarily an error to ignore strtol's return value.
46245         One can reliably look at the stored endptr to decide whether
46246         the number had valid syntax.
46248 2012-04-21  Andreas Jaeger  <aj@suse.de>
46250         [BZ #13739]
46251         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46253 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46255         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46256         * sysdeps/unix/sysv/Versions: Remove file.
46258 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46260         [BZ #13927]
46261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46263 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46265         [BZ #7064]
46266         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46267         version from __vm86.
46269 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46271         * sysdeps/unix/common/lxstat.c: Remove file.
46272         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46274         * sysdeps/unix/sysv/Makefile: Remove file.
46276         * sysdeps/unix/sysv/direct.h: Remove file.
46278         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46279         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46280         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46281         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46282         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46283         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46284         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46286         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46288         * sysdeps/unix/xmknod.c: Remove file.
46289         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46291         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46293         * sysdeps/unix/sysv/i386/time.S: Remove file.
46295         * sysdeps/unix/fxstat.c: Remove file.
46296         * sysdeps/unix/xstat.c: Likewise.
46297         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46299         * sysdeps/unix/sysv/sigaction.c: Remove file.
46301         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46302         (sysdep_headers): Remove variable.
46303         [termio.h not in sysdep_headers] (generated): Likewise.
46304         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46305         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46306         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46307         * sysdeps/unix/sysv/tcflow.c: Likewise.
46308         * sysdeps/unix/sysv/tcflush.c: Likewise.
46309         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46310         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46311         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46312         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46313         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46315         * sysdeps/unix/siglist.c: Remove file.
46317         * sysdeps/unix/getppid.S: Remove file.
46319         * sysdeps/unix/mkdir.c: Remove file.
46320         * sysdeps/unix/rmdir.c: Likewise.
46322 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46324         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46325         ERR_MAX value.
46326         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46327         errlist-compat value.
46329 2012-04-18  David S. Miller  <davem@davemloft.net>
46331         * sysdeps/generic/memcopy.h (reg_char): Delete.
46332         * debug/strcat_chk.c: Use char, not reg_char.
46333         * debug/strcpy_chk.c: Likewise.
46334         * debug/strncat_chk.c: Likewise.
46335         * debug/strncpy_chk.c: Likewise.
46336         * string/memchr.c: Likewise.
46337         * string/memrchr.c: Likewise.
46338         * string/rawmemchr.c: Likewise.
46339         * string/strcat.c: Likewise.
46340         * string/strchr.c: Likewise.
46341         * string/strchrnul.c: Likewise.
46342         * string/strcmp.c: Likewise.
46343         * string/strcpy.c: Likewise.
46344         * string/strncat.c: Likewise.
46345         * string/strncmp.c: Likewise.
46346         * string/strncpy.c: Likewise.
46348 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46350         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46351         __builtin_memcopy is called when src and dest ranges are known to not
46352         overlap.
46354 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46356         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46357         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46358         fwd_align_merge macro call.
46359         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46360         bwd_align_merge macro call.
46361         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46363 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46365         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46366         bwd_align_merge macros.
46367         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46368         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46369         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46371 2012-04-18  David S. Miller  <davem@davemloft.net>
46373         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46375 2012-04-18  Andreas Jaeger  <aj@suse.de>
46377         [BZ# 6794]
46378         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46379         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46380         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46382         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46383         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46384         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46386         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46387         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46388         Adjust for changed ldbl-128 files.
46390         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46391         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46392         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46394 2012-04-17  David S. Miller  <davem@davemloft.net>
46396         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46398 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46400         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46401         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46402         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46403         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46404         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46405         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46407 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46409         [BZ #6794]
46410         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46411         * math/libm-test.inc: Add ilogb errno and exception tests.
46412         * math/w_ilogb.c: New file: ilogb wrapper.
46413         * math/w_ilogbf.c: New file: ilogbf wrapper.
46414         * math/w_ilogbl.c: New file: ilogbl wrapper.
46415         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46416         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46417         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46418         exception being thrown with 0.0 as argument.
46419         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46420         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46421         exception being thrown with 0.0 as argument.
46422         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46423         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46424         exception being thrown with 0.0 as argument.
46425         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46426         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46427         exception being thrown with 0.0 as argument.
46428         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46429         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46430         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46431         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46432         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46433         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46434         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46435         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46436         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46438 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46440         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46441         with altivec.
46443 2012-04-16  Marek Polacek  <polacek@redhat.com>
46445         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46447 2012-04-16  Marek Polacek  <polacek@redhat.com>
46449         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46450         operands of fdivp instruction.
46452 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46454         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46455         * elf/tst-auditmod3b.c: Likewise.
46456         * elf/tst-auditmod4b.c: Likewise.
46457         * elf/tst-auditmod5b.c: Likewise.
46458         * elf/tst-auditmod6b.c: Likewise.
46459         * elf/tst-auditmod6c.c: Likewise.
46460         * elf/tst-auditmod7b.c: Likewise.
46461         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46462         * sysdeps/x86_64/preconfigure.in: Likewise.
46463         * sysdeps/x86_64/preconfigure: Regenerated.
46465 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46467         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46468         __ILP32__.
46470 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46472         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46473         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46475 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46477         [BZ #13973]
46478         * locale/iso-639.def: Fix gl language name. Spotted by
46479         Yaron Shahrabani.
46481 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46483         [BZ #2074]
46484         * libio/libio.h (__io_write_fn): Update comment.
46486 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46488         [BZ #2074]
46489         * stdio.texi (Hook Functions): The user provided writer function
46490         is not allowed to return -1.
46492 2012-04-11  David S. Miller  <davem@davemloft.net>
46494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46496 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46498         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46499         Add a leading slash to rtkaio.
46501 2012-04-11  Jim Meyering  <meyering@redhat.com>
46503         [BZ #11959]
46504         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46505         It is not necessarily an error to ignore fwrite's return
46506         value.  One can reliably use ferror to test for errors after
46507         the fact.
46509 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46511         * bits/types.h (__snseconds_t): New type.
46512         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46514         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46516         (__SNSECONDS_T_TYPE): Likewise.
46517         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46518         (__SNSECONDS_T_TYPE): Likewise.
46519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46520         (__SNSECONDS_T_TYPE): Likewise.
46522 2012-04-10  Andreas Jaeger  <aj@suse.de>
46524         [BZ #2636]
46525         * manual/time.texi (Processor Time): Return type of times is
46526         elapsed real time since an arbitrary point in the past.
46527         (CPU Time): Move CLK_TCK from here...
46528         (Processor Time): ...to here.  Correct description.
46529         * manual/conf.texi (Constants for Sysconf): Correct description of
46530         _SC_CLK_TCK.
46532 2012-04-10  David S. Miller  <davem@davemloft.net>
46534         [BZ #13967]
46535         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46536         where the is a gap between DT_REL(A) and DT_JMPREL.
46538 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46540         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46541         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46542         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46544 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46546         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46547         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46548         (dl_main): Handle --inhibit-cache.
46549         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46550         _dl_inhibit_cache.
46551         * elf/dl-load.c (_dl_map_object): Use it.
46552         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46554 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46556         [BZ #13872]
46557         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46558         (__ieee754_powl): Saturate large exponents rather than testing for
46559         overflow of y*log2(x).
46560         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46561         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46562         exceptions.
46564         [BZ #11521]
46565         * math/s_ctan.c: Include <float.h>.
46566         (__ctan): Avoid internal overflow or cancellation in calculating
46567         denominator.
46568         * math/s_ctanf.c: Likewise.
46569         * math/s_ctanl.c: Likewise.
46570         * math/s_ctanh.c: Likewise.
46571         * math/s_ctanhf.c: Likewise.
46572         * math/s_ctanhl.c: Likewise.
46573         * math/libm-test.inc (ctan_test): Add more tests.
46574         (ctanh_test): Likewise.
46575         * sysdeps/i386/fpu/libm-test-ulps: Update.
46576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46578 2012-04-09  Andreas Jaeger  <aj@suse.de>
46580         [BZ #6894]
46581         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46582         is an optional BSD extension.
46584         [BZ #10254]
46585         * manual/stdio.texi (Opening Streams): Document additional fopen
46586         parameters.
46588 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46590         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46591         %eax without telling the compiler.
46593 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46595         [BZ # 13963]
46596         * manual/install.texi: Use sourceware.org.
46598 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46600         [BZ #13873]
46601         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46602         (__ieee754_pow): Generate overflow and underflow using huge*huge
46603         and tiny*tiny rather than just returning constant infinity or zero
46604         for large exponents.
46605         * math/libm-test.inc (pow_test): Require overflow exceptions for
46606         applicable cases of large exponents.
46608         [BZ #706]
46609         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46610         (__ieee754_pow): Use iterative multiplication algorithm only for
46611         integer exponents with absolute value below 1024.  Check for odd
46612         integer exponents when using algorithm for real exponents.
46613         * math/libm-test.inc (pow_test): Add more tests.
46614         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46616 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46618         [BZ #13705]
46619         * math/libm-test.inc (exp_test): Do not allow overflow exception
46620         on underflow test.
46622 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46624         [BZ #13705]
46625         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46626         instead of __kernel_standard_f.
46628 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46630         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46631         * sysdeps/x86_64/memset_chk.S: Likewise.
46633 2012-04-08  Andreas Jaeger  <aj@suse.de>
46635         [BZ #10153]
46636         * manual/startup.texi (Environment Access): Describe return value
46637         for putenv and setenv.
46639         [BZ #6895]
46640         * manual/filesys.texi (Directory Entries): Add description for
46641         DT_LNK.
46643         [BZ #6890]
46644         * manual/filesys.texi (Directory Entries): Clarify that it's file
46645         system not operating system in the description of DT_UNKNOWN.
46647         [BZ #6578]
46648         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46650 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46652         [BZ #6649]
46653         * manual/llio.texi (Opening and Closing Files): Add cross
46654         reference to explain mode argument.
46656 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46658         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46659         * sysdeps/x86_64/memset_chk.S: Likewise.
46661 2012-04-07  David S. Miller  <davem@davemloft.net>
46663         * elf/elf.h (R_SPARC_WDISP10): Define.
46664         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46665         R_SPARC_SIZE32.
46666         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46667         R_SPARC_SIZE64 and R_SPARC_H34.
46669 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46671         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46672         conditions and remove no longer applicable assertion.
46674 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46676         * bits/byteswap.h: Include <features.h>.
46677         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46678         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46680 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46682         * bits/byteswap.h (__bswap_16): Removed.
46683         Include <bits/byteswap-16.h> to get __bswap_16.
46684         * sysdeps/i386/bits/byteswap.h: Likewise.
46685         * sysdeps/s390/bits/byteswap.h: Likewise.
46686         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46687         * bits/byteswap-16.h: New file.
46688         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46689         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46690         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46691         * string/Makefile (headers): Add bits/byteswap-16.h.
46693 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46695         [BZ #13895]
46696         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46697         extra indirection.
46698         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46699         * nss/tst-nss-static.c: New.
46701 2012-04-06  Robert Millan  <rmh@gnu.org>
46703         [BZ #6486]
46704         * manual/llio.texi (File Position Primitive): lseek
46705         refers to WHENCE when it really means OFFSET.
46707 2012-04-06  Andreas Jaeger  <aj@suse.de>
46709         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46710         strncmp declarations.
46712         * abilist/libc.abilist: Add __poll and __ppoll.
46714 2012-04-05  David S. Miller  <davem@davemloft.net>
46716         * scripts/check-local-headers.sh: Accept a host triplet in the
46717         path matched by the exclude regexp.
46719         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46720         definition.
46721         * sysdeps/powerpc/powerpc32/dl-machine.h
46722         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46723         * sysdeps/s390/s390-32/dl-machine.h
46724         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46725         * sysdeps/sparc/sparc32/dl-machine.h
46726         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46727         * sysdeps/sparc/sparc64/dl-machine.h
46728         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46730         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46731         lazy binding.
46732         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46733         undefined symbol errors.
46735         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46736         DT_NEEDED entries.
46738 2012-04-05  Michael Matz  <matz@suse.de>
46740         [BZ #13592]
46741         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46743 2012-04-05  Andreas Jaeger  <aj@suse.de>
46745         [BZ #13908]
46746         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46747         comment.
46749 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46751         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46752         which ROUND is no valid rounding mode.
46754 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46756         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46757         read again.
46758         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46760 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46762         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46763         an exception using FPU order intentionally.
46765 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46767         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46768         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46769         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46770         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46772 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46774         [BZ #12340]
46775         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46776         EINVAL when BUFLEN is too smal.
46778 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46780         [BZ #13553]
46781         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46782         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46784 2012-04-03  Andreas Jaeger  <aj@suse.de>
46786         [BZ #13938]
46787         * manual/setjmp.texi (System V contexts): Fix sentence.
46789         [BZ #13926]
46790         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46791         New macro for this case.
46792         [!__GNUC__] (__bswap_64): New inline function for this case.
46793         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46794         * bits/byteswap.h: Likewise.
46795         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46796         ull, guard with __GLIBC_HAVE_LONG_LONG.
46798         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46799         __GLIBC_HAVE_LONG_LONG.
46801         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46802         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46804 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46806         [BZ #13691]
46807         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46808         inptr and inend, rather than using last_ch.
46810 2012-04-02  David S. Miller  <davem@davemloft.net>
46812         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46813         * stdio-common/printf-parse.h (read_int): Change return type to
46814         'int', return -1 on INT_MAX overflow.
46815         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46816         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46817         overflows INT_MAX.  Check for overflow of in-format-string precision
46818         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46819         SIZE_MAX not INT_MAX for integer overflow test.
46820         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46821         skip the construct in the format string but do not record anything.
46822         * stdio-common/bug22.c: Adjust to test both width/prevision
46823         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46824         explicitly for proper errno values.
46826 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46828         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46829         CHAR_MAX.
46830         * string/test-strcmp.c [! WIDE]: Likewise.
46831         * time/tst-mktime2.c: Likewise for INT_MAX.
46832         * string/test-string.h: #include <sys/param.h> for MIN.
46834         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46835         * sysdeps/i386/init-first.c (init): Likewise.
46836         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46837         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46838         * sysdeps/sh/init-first.c (init): Likewise.
46840 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46842         * po/ru.po: Update from translation team.
46843         * po/vi.po: Likewise.
46845 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46847         * resolv/nss_dns/dns-host.c: Merge copyright years.
46849 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46851         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46852         Optimize memcpy with prefetch if
46853         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46854         src, dst pointers have unequal 16 byte alignments.
46856 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46858         [BZ #13928]
46859         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46860         from a CNAME entry and return the minimum ttl for the query.
46861         (gaih_getanswer_slice): Likewise.
46863 2012-03-30  Jeff Law  <law@redhat.com>
46865         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46866         due to long keys.
46867         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46868         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46870         * resolv/nss_dns/dns-host.c: Update copyright year.
46872 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46874         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46875         requests to save a system call.  Fix check that all bytes are sent.
46877         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46878         comments for sendmmsg.
46880 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46882         [BZ #13691]
46883         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46884         with only 1 character between 0x0041 and 0x01b0.
46885         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46886         * wcsmbs/tst-mbsnrtowcs.c: New file.
46888 2012-03-29  David S. Miller  <davem@davemloft.net>
46890         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46891         small copies by hand.
46893 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46895         [BZ #13761]
46896         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46897         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46898         group memberships.
46900 2012-03-28  David S. Miller  <davem@davemloft.net>
46902         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46903         that branches into memcpy.
46904         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46905         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46906         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46907         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46908         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46909         bits.
46910         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46911         implementation too.
46912         * sysdeps/sparc/mempcpy.S: New file.
46914         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46915         the IFUNC routine in the libc case.
46916         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46918         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46919         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46920         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46921         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46922         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46923         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46924         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46925         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46927         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46928         loop to 256 bytes instead of 64 bytes and fix test signedness.
46930         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46931         * sysdeps/sparc/sparc32/Makefile: rather than here...
46932         * sysdeps/sparc/sparc64/Makefile: and here.
46934 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46936         * malloc/mallocbug.c: Avoid warnings about unused variables.
46938 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46940         [BZ #13760]
46941         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46942         in the right place. Discard and retry query if response is
46943         larger than input buffer size.
46945 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46947         [BZ #369]
46948         [BZ #2678]
46949         [BZ #3866]
46950         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46951         x for large integer exponent.
46952         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46953         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46954         sign of result as needed afterwards.
46955         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46956         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46957         result for underflowing pow the same as for overflow.
46958         (__kernel_standard_l): Handle powl overflow and underflow here
46959         rather than calling __kernel_standard.
46960         * math/libm-test.inc (pow_test): Add more tests.
46962         [BZ #3868]
46963         [BZ #13879]
46964         [BZ #13910]
46965         [BZ #13911]
46966         [BZ #13912]
46967         [BZ #13913]
46968         [BZ #13915]
46969         [BZ #13916]
46970         [BZ #13917]
46971         [BZ #13918]
46972         [BZ #13919]
46973         [BZ #13920]
46974         [BZ #13921]
46975         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46976         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46977         (__kernel_standard_l): New function.
46978         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46979         __kernel_standard.
46980         * math/w_acosl.c (__acosl): Likewise.
46981         * math/w_asinl.c (__asinl): Likewise.
46982         * math/w_atan2l.c (__atan2l): Likewise.
46983         * math/w_atanhl.c (__atanhl): Likewise.
46984         * math/w_coshl.c (__coshl): Likewise.
46985         * math/w_exp10l.c (__exp10l): Likewise.
46986         * math/w_exp2l.c (__exp2l): Likewise.
46987         * math/w_fmodl.c (__fmodl): Likewise.
46988         * math/w_hypotl.c (__hypotl): Likewise.
46989         * math/w_j0l.c (__j0l, __y0l): Likewise.
46990         * math/w_j1l.c (__j1l, __y1l): Likewise.
46991         * math/w_jnl.c (__jnl, __ynl): Likewise.
46992         * math/w_lgammal.c (__lgammal): Likewise.
46993         * math/w_log10l.c (__log10l): Likewise.
46994         * math/w_log2l.c (__log2l): Likewise.
46995         * math/w_logl.c (__logl): Likewise.
46996         * math/w_powl.c (__powl): Likewise.
46997         * math/w_remainderl.c (__remainderl): Likewise.
46998         * math/w_scalbl.c (sysv_scalbl): Likewise.
46999         * math/w_sinhl.c (__sinhl): Likewise.
47000         * math/w_sqrtl.c (__sqrtl): Likewise.
47001         * math/w_tgammal.c (__tgammal): Likewise.
47002         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47003         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47004         * math/libm-test.inc (acos_test): Add more tests.
47005         (acosh_test): Likewise.
47006         (asin_test): Likewise.
47007         (atanh_test): Likewise.
47008         (exp_test): Likewise.
47009         (exp10_test): Likewise.
47010         (exp2_test): Likewise.
47011         (expm1_test): Likewise.
47012         (lgamma_test): Likewise.
47013         (log_test): Likewise.
47014         (log10_test): Likewise.
47015         (log1p_test): Likewise.
47016         (log2_test): Likewise.
47017         (pow_test): Do not allow some spurious overflow exceptions.
47018         (sqrt_test): Add more tests.
47019         (tgamma_test): Likewise.
47020         (y0_test): Likewise.
47021         (y1_test): Likewise.
47022         (yn_test): Likewise.
47024 2012-03-27  Anton Blanchard  <anton@samba.org>
47026         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47027         MAP_HUGETLB.
47028         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47029         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47030         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47032 2012-03-27  David S. Miller  <davem@davemloft.net>
47034         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47036         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47037         have-as-vis3 check.
47039 2012-03-27  Andreas Jaeger  <aj@suse.de>
47041         * sysdeps/x86_64/elf/configure.in: Moved to ...
47042         * sysdeps/x86_64/configure.in: ... here.
47043         * sysdeps/x86_64/elf/start.S: Moved to ...
47044         * sysdeps/x86_64/start.S: ... here.
47045         * sysdeps/x86_64/elf/configure: Delete.
47047         * sysdeps/x86_64/configure.in: Merge contents from
47048         sysdeps/i386/configure.in (without i686 check).
47050         * sysdeps/i386/elf/Versions: Merge into ...
47051         * sysdeps/i386/Versions: ... this.
47052         * sysdeps/i386/elf/Versions: Delete file.
47053         * sysdeps/i386/elf/start.S: Moved to ...
47054         * sysdeps/i386/start.S: ...here.
47055         * sysdeps/i386/elf/configure.in: Merge into...
47056         * sysdeps/i386/configure.in: ...here.
47057         * sysdeps/i386/elf/configure.in: Delete file.
47058         * sysdeps/i386/elf/configure: Delete file.
47060         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47061         * debug/backtracesyms.c: ... here.
47062         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47063         * debug/backtracesymsfd.c: ... here.
47064         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47065         * sysdeps/generic/ifunc-sel.h: ... here.
47067         * sysdeps/unix/i386/start.c: Delete file.
47068         * sysdeps/unix/sparc/start.c: Delete file.
47069         * sysdeps/unix/start.c: Delete file.
47071         * sysdeps/sh/elf/configure.in: Moved to ...
47072         * sysdeps/sh/configure.in: ... here.
47073         * sysdeps/sh/elf/start.S: Moved to ...
47074         * sysdeps/sh/start.S: ... here.
47075         * sysdeps/sh/elf/configure: Delete file.
47077         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47078         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47079         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47080         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47081         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47082         * sysdeps/powerpc/powerpc64/start.S: here.
47083         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47084         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47085         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47086         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47087         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47089         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47090         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47091         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47092         * sysdeps/powerpc/powerpc32/start.S: ... here.
47093         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47094         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47095         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47097         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47098         * sysdeps/powerpc/ifunc-sel.h: ... here.
47099         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47100         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47102         * sysdeps/sparc/elf/configure.in: Moved to ...
47103         * sysdeps/sparc/configure.in: ... here.
47104         * sysdeps/sparc/elf/configure: Delete file.
47105         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47106         * sysdeps/sparc/sparc32/start.S: ... here.
47107         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47108         * sysdeps/sparc/sparc64/start.S: ... here.
47109         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47110         * sysdeps/sparc/sparc32/Makefile: ... this.
47111         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47112         * sysdeps/sparc/sparc64/Makefile: ... this.
47114         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47115         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47116         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47117         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47118         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47119         * sysdeps/s390/s390-32/setjmp.S: ... here.
47120         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47121         * sysdeps/s390/s390-32/configure.in: ... here.
47122         * sysdeps/s390/s390-32/elf/configure: Delete file.
47123         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47124         * sysdeps/s390/s390-32/start.S: ... here.
47126         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47127         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47128         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47129         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47130         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47131         * sysdeps/s390/s390-64/setjmp.S: ... here.
47132         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47133         * sysdeps/s390/s390-64/configure.in: ... here
47134         * sysdeps/s390/s390-64/elf/configure: Delete file.
47135         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47136         * sysdeps/s390/s390-64/start.S: ... here.
47137         * sysdeps/s390/s390-64/elf/configure: Delete.
47139         * configure.in: Remove support for elf directories in sysdeps.
47141         * configure: Regenerated.
47142         * sysdeps/i386/configure: Regenerated.
47143         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47144         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47145         * sysdeps/s390/s390-32/configure: Regenerated.
47146         * sysdeps/s390/s390-64/configure: Regenerated.
47147         * sysdeps/sh/configure: Regenerated.
47148         * sysdeps/sparc/configure: Regenerated.
47149         * sysdeps/x86_64/configure: Regenerated.
47151 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47155         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47156         denormal result into account.
47158 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47160         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47161         Reported by Allan McRae <allan@archlinux.org>.
47163 2012-03-23  Jeff Law  <law@redhat.com>
47165         * nss/getnssent.c (__nss_getent): Fix typo.
47167 2012-03-23  David S. Miller  <davem@davemloft.net>
47169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47171 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47173         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47174         to pad to uint64_t for each field.
47175         (dl_tls_index): Replace unsigned long with uint64_t.
47177 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47178         Paul Pluzhnikov  <ppluzhnikov@google.com>
47180         [BZ #6528]
47181         * grp/Makefile (otherlibs): Don't set it.
47182         * inet/Makefile (otherlibs): Likewise.
47183         * login/Makefile (otherlibs): Likewise.
47184         * nscd/Makefile (otherlibs): Likewise.
47185         * posix/Makefile (otherlibs): Likewise.
47186         * pwd/Makefile (otherlibs): Likewise.
47187         * rt/Makefile (otherlibs): Likewise.
47188         * sunrpc/Makefile (otherlibs): Likewise.
47189         * nss/Makefile (otherlibs): Likewise.
47190         Add libnss_files to routines and static-only-routines.
47191         ($(objpfx)getent): Remove rule.
47192         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47193         static-only-routines.
47195 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47197         [BZ #13892]
47198         * math/s_cexp.c: Include <float.h>.
47199         (__cexp): Handle exp result overflowing not necessarily
47200         overflowing both real and imaginary parts of result.
47201         * math/s_cexpf.c: Likewise.
47202         * math/s_cexpl.c: Likewise.
47203         * math/libm-test.inc (cexp_test): Add more tests.
47204         * sysdeps/i386/fpu/libm-test-ulps: Update.
47205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47207 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47209         * include/link.h (ELFW): New macro.
47210         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47211         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47213 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47215         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47216         with uint64_t.
47218 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47220         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47221         declaration.
47222         (struct La_x32_retval): Likewise.
47224 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47226         * sysdeps/x86_64/preconfigure.in: New file.
47227         * sysdeps/x86_64/preconfigure: New generated file.
47229 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47231         [BZ #13824]
47232         * math/e_exp2l.c: Include <float.h>.
47233         (__ieee754_exp2l): Handle overflow and underflow cases
47234         separately.  Only pass fractional part of argument to
47235         __ieee754_expl.
47236         * math/libm-test.inc (exp2_test): Add more tests.
47238         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47239         negating x to take absolute value.
47240         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47241         Likewise.
47242         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47243         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47244         Likewise.
47245         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47246         computing low part if x was negated.
47247         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47249 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47251         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47252         la_x32_gnu_pltexit.
47253         (pltexit): Cast int_retval to ptrdiff_t.
47254         * elf/tst-auditmod3b.c: Likewise.
47255         * elf/tst-auditmod4b.c: Likewise.
47256         * elf/tst-auditmod5b.c: Likewise.
47257         * elf/tst-auditmod6b.c: Likewise.
47258         * elf/tst-auditmod6c.c: Likewise.
47259         * elf/tst-auditmod7b.c: Likewise.
47261         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47262         and x32_gnu_pltexit.
47264         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47265         __ELF_NATIVE_CLASS.
47266         (La_x32_regs): New macro.
47267         (La_x32_retval): Likewise.
47268         (la_x32_gnu_pltenter): New function prototype.
47269         (la_x32_gnu_pltexit): Likewise.
47271 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47273         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47274         exponent.
47276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47278         * configure.in (libc_cv_cc_nofma): Check for option to disable
47279         generation of FMA instructions.
47280         * configure: Regenerate.
47281         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47282         * sysdeps/ieee754/dbl-64/Makefile: New file.
47283         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47284         Remove brandred-fma4.
47285         (CFLAGS-brandred-fma4.c): Remove.
47286         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47287         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47288         define.
47289         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47290         define.
47292 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47294         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47295         LLONG_MAX != LONG_MAX.
47296         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47297         (_fitoa_word): Likewise.
47298         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47299         LLONG_MAX != LONG_MAX.
47300         * stdio-common/_itowa.h: Include <_itoa.h>.
47301         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47302         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47303         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47304         only if not defined.
47305         (_ITOA_WORD_TYPE): Likewise.
47306         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47307         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47309 2012-03-21  David S. Miller  <davem@davemloft.net>
47311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47313 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47315         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47316         of x86_64 when setting libc_cv_slibdir, libdir and
47317         libc_cv_localedir.
47318         * sysdeps/unix/sysv/linux/configure: Regenerated.
47320 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47322         * manual/lang.texi (Old Varargs): Remove section.
47323         (How Variadic): Update menu.
47324         (va_start): Do not mention varargs.h.
47326 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47327             Joseph Myers  <joseph@codesourcery.com>
47329         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47330         link test.
47331         * configure: Regenerated.
47333 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47335         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47336         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47337         conformtest.pl
47339 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47341         * NOTES: Remove.
47342         * Makefile (files-for-dist): Remove NOTES.
47343         (NOTES): Remove rule.
47344         * README: Don't refer to NOTES.
47345         * manual/creature.texi: Don't include macros.texi.
47346         * manual/intro.texi (creature.texi): Remove comment referring to
47347         NOTES.
47349         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47350         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47351         * configure: Regenerated.
47352         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47353         LIBC_TRY_CC_OPTION.
47354         (libc_cv_as_i686): Likewise.
47355         (libc_cv_cc_avx): Likewise.
47356         (libc_cv_cc_sse2avx): Likewise.
47357         (libc_cv_cc_fma4): Likewise.
47358         (libc_cv_cc_novzeroupper): Likewise.
47359         * sysdeps/i386/configure: Regenerated.
47361         [BZ #13883]
47362         * sysdeps/i386/fpu/s_cexp.S: Remove.
47363         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47364         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47365         * math/libm-test.inc (cexp_test): Add more tests.
47366         * sysdeps/i386/fpu/libm-test-ulps: Update.
47367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47369 2012-03-21  Allan McRae  <allan@archlinux.org>
47371         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47373 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47375         [BZ #13871]
47376         * math/w_exp2.c: Do not include <float.h>.
47377         (o_threshold, u_threshold): Remove.
47378         (__exp2): Calculate result before checking finiteness and calling
47379         __kernel_standard.
47380         * math/w_exp2f.c: Likewise.
47381         * math/w_exp2l.c: Likewise.
47382         * math/libm-test.inc (exp2_test): Require overflow exception for
47383         1e6 input.
47385         [BZ #3866]
47386         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47387         range of signed 64-bit integers before using fistpll.  Remove
47388         checks for whether integers fit in mantissa bits.
47389         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47390         the range of signed 32-bit integers before using fistpl.  Remove
47391         checks for whether integers fit in mantissa bits.
47392         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47393         (__ieee754_powl): Test for y outside the range of signed 64-bit
47394         integers before using fistpll.  Reduce 64-bit values to 63-bit
47395         ones as needed.
47396         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47397         divide-by-zero is raised for zero to large negative powers.
47398         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47399         (__ieee754_powl): Test for y outside the range of signed 64-bit
47400         integers before using fistpll.  Reduce 64-bit values to 63-bit
47401         ones as needed.
47402         * math/libm-test.inc (pow_test): Add more tests.
47404 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47406         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47407         <stdio-common/_itoa.h>.
47408         * debug/segfault.c: Likewise.
47409         * elf/dl-cache.c: Likewise.
47410         * elf/dl-minimal.c: Likewise.
47411         * elf/dl-misc.c: Likewise.
47412         * elf/dl-sysdep.c: Likewise.
47413         * elf/dl-version.c: Likewise.
47414         * elf/rtld.c: Likewise.
47415         * hurd/hurdsock.c: Likewise.
47416         * hurd/lookup-retry.c: Likewise.
47417         * malloc/malloc.c: Likewise.
47418         * malloc/mtrace.c: Likewise.
47419         * nscd/nscd_getgr_r.c: Likewise.
47420         * nscd/nscd_getpw_r.c: Likewise.
47421         * nscd/nscd_getserv_r.c: Likewise.
47422         * posix/getopt_init.c: Likewise.
47423         * posix/wordexp.c: Likewise.
47424         * stdio-common/_itoa.c: Likewise.
47425         * stdio-common/printf_fphex.c: Likewise.
47426         * stdio-common/vfprintf.c: Likewise.
47427         * string/_strerror.c: Likewise.
47428         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47429         * sysdeps/i386/i686/hp-timing.h: Likewise.
47430         * sysdeps/mach/_strerror.c: Likewise.
47431         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47432         * sysdeps/mach/hurd/sethostid.c: Likewise.
47433         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47434         * sysdeps/mach/xpg-strerror.c: Likewise.
47435         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47436         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47437         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47438         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47439         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47440         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47442         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47443         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47444         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47445         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47446         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47447         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47448         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47449         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47450         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47451         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47452         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47453         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47454         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47455         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47457         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47459         * stdio-common/_itoa.h: Moved to ...
47460         * sysdeps/generic/_itoa.h: Here.
47462         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47464         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47465         instead of "_itoa.h" and "_itowa.h".
47466         * stdio-common/vfprintf.: Likewise.
47468 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47470         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47471         <bits/wordsize.h>.
47472         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47473         (__signbit): Likwise.
47474         (llrintf): Likwise.
47475         (llrint): Likwise.
47477 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47479         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47480         __WORDSIZE != 64.
47482 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47484         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47485         OVERFLOW_EXCEPTION_OK.
47486         * math/libm-test.inc ("Philosophy"): Update comment about
47487         exception testing.
47488         (OVERFLOW_EXCEPTION): Define.
47489         (OVERFLOW_EXCEPTION_OK): Likewise.
47490         (INVALID_EXCEPTION_OK): Renumber.
47491         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47492         (IGNORE_ZERO_INF_SIGN): Likewise.
47493         (test_exceptions): Handle FE_OVERFLOW.
47494         (exp10_test): Expect overflow exceptions.
47495         (exp2_test): Likewise.
47496         (expm1_test): Likewise.
47497         (nextafter_test): Likewise.
47498         (pow_test): Likewise.
47499         (scalbn_test): Likewise.
47500         (scalbln_test): Likewise.
47502 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47504         * sysdeps/x86_64/bits/atomic.h
47505         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47506         64bit integer.
47507         (atomic_exchange_acq): Likewise.
47508         (__arch_exchange_and_add_body): Likewise.
47509         (__arch_add_body): Likewise.
47510         (atomic_add_negative): Likewise.
47511         (atomic_add_zero): Likewise.
47513 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47515         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47516         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47518 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47520         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47521         Check __x86_64__ instead of __WORDSIZE.
47523 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47525         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47527 2012-03-19  David S. Miller  <davem@davemloft.net>
47529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47531         * sysdeps/sparc/fpu/fenv_private.h: New file.
47532         * sysdeps/sparc/fpu/math_private.h: Use it.
47533         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47534         Remove.
47535         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47536         (libc_feholdexcept_setroundl): Remove.
47537         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47538         Remove.
47539         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47540         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47542 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47544         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47545         int64_t instead of long int.
47546         (INSERT_WORDS64): Likwise.
47548 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47550         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47551         _Unwind_GetCFA return to _Unwind_Ptr first.
47553 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47555         [BZ #13629]
47556         * math/s_clog.c: Include <float.h>.
47557         (__clog): Scale large or subnormal inputs.
47558         * math/s_clogf.c: Likewise.
47559         * math/s_clogl.c: Likewise.
47560         * math/s_clog10.c: Include <float.h>.
47561         (M_LOG10_2): Define.
47562         (__clog10): Scale large or subnormal inputs.
47563         * math/s_clog10f.c: Likewise.
47564         * math/s_clog10l.c: Likewise.
47565         * math/libm-test.inc (clog_test): Add more tests.
47566         (clog10_test): Likewise.
47567         * sysdeps/i386/fpu/libm-test-ulps: Update.
47568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47570         [BZ #11451]
47571         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47572         x and y.
47573         * math/libm-test.inc (atan2_test): Add another test.
47575         * Makerules (common-objdir-compile): Remove.
47576         * sysdeps/unix/Makefile (config-generated): Do not add
47577         $(unix-generated) to variable.
47578         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47579         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47580         Remove rule.
47581         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47582         Likewise.
47583         [generic bits/local_lim.h] (before-compile): Do not append to
47584         variable.
47585         [generic bits/local_lim.h] (common-generated): Likewise.
47586         [generic sys/param.h] (before-compile): Do not append to variable.
47587         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47588         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47589         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47590         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47591         include.
47592         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47593         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47594         [generic sys/param.h] ($(addprefix
47595         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47596         [generic sys/param.h] (common-generated): Do not append to
47597         variable.
47598         [generic sys/param.h] (sysdep_headers): Likewise.
47599         [generic bits/errno.h] (before-compile): Do not append to
47600         variable.
47601         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47602         rule.
47603         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47604         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47605         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47606         [generic bits/errno.h] (common-generated): Do not append to
47607         variable.
47608         [generic bits/ioctls.h] (before-compile): Do not append to
47609         variable.
47610         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47611         rule.
47612         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47613         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47614         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47615         rule.
47616         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47617         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47618         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47619         [generic bits/ioctls.h] (common-generated): Do not append to
47620         variable.
47621         [generic sys/syscall.h] (syscall.h): Remove variable.
47622         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47623         rule.
47624         [generic sys/syscall.h] (before-compile): Do not append to
47625         variable.
47626         [generic sys/syscall.h] (common-generated): Likewise.
47627         * sysdeps/unix/errnos-tmpl.c: Remove file.
47628         * sysdeps/unix/errnos.awk: Likewise.
47629         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47630         * sysdeps/unix/ioctls.awk: Likewise.
47631         * sysdeps/unix/mk-local_lim.c: Likewise.
47632         * sysdeps/unix/snarf-ioctls: Likewise.
47634 2012-03-19  Richard Henderson  <rth@twiddle.net>
47636         * sysdeps/i386/fpu/fenv_private.h: New file.
47637         * sysdeps/i386/fpu/math_private.h: Use it.
47638         (math_opt_barrier, math_force_eval): Remove.
47639         (libc_feholdexcept_setround_53bit): Remove.
47640         (libc_feupdateenv_53bit): Remove.
47641         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47642         (math_opt_barrier, math_force_eval): Remove.
47643         (libc_feholdexcept): Remove.
47644         (libc_feholdexcept_setround): Remove.
47645         (libc_fetestexcept, libc_fesetenv): Remove.
47646         (libc_feupdateenv_test): Remove.
47647         (libc_feupdateenv, libc_feholdsetround): Remove.
47648         (libc_feresetround): Remove.
47650         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47651         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47653         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47654         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47655         (libc_feupdateenv_testl): New.
47656         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47657         (libc_feupdateenv_testf): New.
47658         (libc_feupdateenv): Use libc_feupdateenv_test.
47659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47660         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47662         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47663         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47664         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47665         (libc_feresetround_noex): New.
47666         (libc_feresetround_noexf): New.
47667         (libc_feresetround_noexl): New.
47668         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47669         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47670         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47671         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47672         SET_RESTORE_ROUND.
47673         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47674         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47675         (__cos): Likewise.
47676         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47677         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47678         SET_RESTORE_ROUND_NOEX.
47679         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47680         SET_RESTORE_ROUND_NOEXF.
47681         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47682         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47683         (libc_feholdsetroundf): New.
47684         (libc_feresetround, libc_feresetroundf): New.
47686         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47687         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47688         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47690         * sysdeps/generic/math_private.h: Include <fenv.h>.
47691         (default_libc_feholdexcept): New.
47692         (default_libc_feholdexcept_setround): New.
47693         (default_libc_fesetenv, default_libc_feupdateenv): New.
47694         (libc_feholdexcept): Only define if undefined.
47695         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47696         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47697         (libc_feholdexcept_setroundl): Likewise.
47698         (libc_feholdexcept_setround_53bit): Likewise.
47699         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47700         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47701         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47702         (libc_feupdateenv_53bit): Likewise.
47703         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47704         (libc_feholdexcept): Convert from macro to inline function.
47705         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47706         (libc_fesetenv, libc_feupdateenv): Likewise.
47708         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47709         not previously defined.
47710         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47711         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47712         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47713         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47714         * sysdeps/ieee754/flt-32/math_private.h: New file.
47715         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47716         math_private.h below SET_FLOAT_WORD.
47717         (__isnan, __isinf_ns, __finite): Remove.
47718         (__isnanf, __isinf_nsf, __finitef): Remove.
47720 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47724 2012-03-17  David S. Miller  <davem@davemloft.net>
47726         [BZ #6471]
47727         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47728         for 2.16.
47730 2012-03-16  David S. Miller  <davem@davemloft.net>
47732         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47733         warnings.
47735         [BZ #6471]
47736         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47737         properly.
47738         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47739         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47740         sysdep_routines when subdir is sysvipc.
47741         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47742         __getshmlba helper.
47744         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47746 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47748         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47749         [__LP64__].
47751 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47753         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47754         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47755         (__lround): Renamed to ...
47756         (__llround): This.  Replace long int with long long int.
47757         Define lround functions as aliases of llround functions.
47758         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47760 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47762         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47763         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47764         adresses to uintptr_t.  Replace "long int" and "unsigned long
47765         int" with "greg_t" on va_arg.
47767 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47769         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47770         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47772         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47773         Move e_machine check before EI_CLASS check.  Handle x32
47774         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47775         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47776         SKIP_EM_IA_64 and include
47777         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47779         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47780         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47781         (add_system_dir): New macro.
47783         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47784         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47786 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47788         [BZ #2551]
47789         [BZ #2552]
47790         [BZ #2553]
47791         [BZ #2554]
47792         [BZ #2562]
47793         [BZ #2563]
47794         [BZ #2565]
47795         [BZ #2566]
47796         [BZ #2576]
47797         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47798         (y0): Likewise.
47799         * math/w_j0f.c (j0f): Likewise.
47800         (y0f): Likewise.
47801         * math/w_j0l.c (__j0l): Likewise.
47802         (__y0l): Likewise.
47803         * math/w_j1.c (j1): Likewise.
47804         (y1): Likewise.
47805         * math/w_j1f.c (j1f): Likewise.
47806         (y1f): Likewise.
47807         * math/w_j1l.c (__j1l): Likewise.
47808         (__y1l): Likewise.
47809         * math/w_jn.c (jn): Likewise.
47810         (yn): Likewise.
47811         * math/w_jnf.c (jnf): Likewise.
47812         (ynf): Likewise.
47813         * math/w_jnl.c (__jnl): Likewise.
47814         (__ynl): Likewise.
47815         * math/libm-test.inc (j0_test): Add more tests.
47816         (j1_test): Likewise.
47817         (jn_test): Likewise.  Add trailing semicolon to existing test.
47818         (y0_test): Likewise.
47819         (y1_test): Likewise.
47820         * sysdeps/i386/fpu/libm-test-ulps: Update.
47821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47823         [BZ #13851]
47824         [BZ #13854]
47825         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47826         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47827         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47828         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47829         (__tanl): Set errno for infinite argument.
47830         * sysdeps/i386/fpu/mptan.c: Remove.
47831         * sysdeps/i386/fpu/s_tan.S: Likewise.
47832         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47833         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47834         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47835         * math/libm-test.inc (tan_test): Add more tests and enable more
47836         tests for double and long double.
47837         * sysdeps/i386/fpu/libm-test-ulps: Update.
47838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47840 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47842         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47843         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47845 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47847         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47848         * configure.in: Use it for both main tree and add-ons.
47849         * configure: Regenerated.
47851 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47853         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47855 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47857         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47858         in comment.
47860         [BZ #13851]
47861         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47862         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47863         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47864         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47865         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47866         infinite argument.
47867         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47868         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47869         != 0 for prec == 2.
47870         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47871         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47872         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47873         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47874         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47875         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47876         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47877         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47878         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47879         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47880         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47881         * math/libm-test.inc (cos_test): Add more tests and enable more
47882         tests for long double.
47883         (sin_test): Likewise.
47884         (sincos_test): Likewise.
47885         * sysdeps/i386/fpu/libm-test-ulps: Update.
47886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47888 2012-03-16  David S. Miller  <davem@davemloft.net>
47890         * sysdeps/sparc/fpu/math_private.h: New file.
47892 2012-03-15  David S. Miller  <davem@davemloft.net>
47894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47895         file.
47896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47898         file.
47899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47904         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47905         sysdep routines.
47906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47908         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47909         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47911         * sysdeps/sparc/sparc-ifunc.h: New file.
47912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47913         sparc-ifunc.h
47914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47916         Likewise.
47917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47918         Likewise.
47919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47923         Likewise.
47924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47929         Likewise.
47930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47931         Likewise.
47932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47937         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47938         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47939         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47940         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47941         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47942         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47946         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47947         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47950         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47951         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47952         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47953         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47954         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47955         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47957 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47959         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47960         scaling.
47961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47963 2012-03-15  Andreas Jaeger  <aj@suse.de>
47965         [BZ #13852]
47966         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47967         ieee754/flt-32 implementation for sin, cos and sincos.
47968         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47969         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47970         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47971         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47972         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47973         ieee754/flt-32 implementation for tan.
47975         * math/libm-test.inc (cos_test): Enable some large input tests for
47976         float as well
47977         (sin_test): Likewise.
47978         (sincos_test): Likewise.
47979         (tan_test): Add tests for large input.
47981         * sysdeps/i386/fpu/libm-test-ulps: Update.
47983 2012-03-15  Andreas Jaeger  <aj@suse.de>
47985         [BZ #13658]
47986         * math/libm-test.inc (cos_test): Add more test cases.
47987         (sin_test): Likewise.
47988         (sincos_test): Likewise.
47990 2012-03-15  Andreas Jaeger  <aj@suse.de>
47992         [BZ #13837]
47993         * math/libm-test.inc (cos_test): Add a test case for large input
47994         value.
47995         (sin_test): Likewise.
47996         (sincos_test): Likewise.
47998 2012-03-15  Andreas Jaeger  <aj@suse.de>
47999             Joseph Myers  <joseph@codesourcery.com>
48001         [BZ #13658]
48002         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48003         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48004         * sysdeps/i386/fpu/branred.c: Likewise.
48005         * sysdeps/i386/fpu/dosincos.c: Likewise.
48006         * sysdeps/i386/fpu/mpa.c: Likewise.
48007         * sysdeps/i386/fpu/s_cos.S: Likewise.
48008         * sysdeps/i386/fpu/s_sin.S: Likewise.
48009         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48010         * sysdeps/i386/fpu/sincos32.c: Likewise.
48012         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48013         Define.
48014         (libc_feupdateenv_53bit): Define.
48015         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48016         Define.
48017         (libc_feupdateenv_53bit): Define.
48019         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48020         53 bit (without extend i386 double precision).
48022         * math/libm-test.inc (sincos_test): Add tests for large input.
48023         (sin): Likewise.
48024         (cos): Likewise.
48026         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48028 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48032 2012-03-15  David S. Miller  <davem@davemloft.net>
48034         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48035         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48036         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48037         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48042         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48050         file.
48051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48053         file.
48054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48056         file.
48057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48059         file.
48060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48062         fmin/fmax sysdep routines.
48063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48065 2012-03-14  David S. Miller  <davem@davemloft.net>
48067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48071         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48072         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48073         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48074         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48075         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48076         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48080         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48087         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48088         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48089         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48090         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48091         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48092         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48093         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48094         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48095         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48096         routines.
48097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48098         file.
48099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48101         file.
48102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48104         file.
48105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48107         file.
48108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48110         file.
48111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48113         file.
48114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48115         file.
48116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48117         file.
48118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48119         file.
48120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48121         New file.
48122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48123         file.
48124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48125         file.
48126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48128         file.
48129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48131         file.
48132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48134         file.
48135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48137         VIS3 routines.
48139         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48140         New file.
48142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48144         * sysdeps/sparc/configure.in: New file.
48145         * sysdeps/sparc/configure: Generate.
48146         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48147         * configure: Regenerate.
48148         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48149         * config.make.in (have-as-vis3): New.
48150         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48151         available use -Av9d instead of -Av9a.
48152         * sysdeps/sparc/sparc64/Makefile: Likewise.
48153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48155         New file.
48156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48157         file.
48158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48159         New file.
48160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48161         file.
48162         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48163         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48164         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48165         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48166         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48168         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48169         fzeros/fnegs to load 0x80000000 into a float register instead of
48170         using the stack.
48171         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48173 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48175         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48176         bits/syscall.h.
48177         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48178         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48179         ($(inst_includedir)/bits/syscall.h): Remove rule.
48180         ($(objpfx)bits/syscall.d): Include instead of
48181         $(objpfx)syscall-list.d.
48182         (generated): Change syscall-list.h and syscall-list.d to
48183         bits/syscall.h and bits/syscall.d.
48185 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48187         [BZ #13846]
48188         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48190 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48192         [BZ #13841]
48193         * math/s_csqrt.c: Include <float.h>.
48194         (__csqrt): Scale large or subnormal inputs.
48195         * math/s_csqrtf.c: Likewise.
48196         * math/s_csqrtl.c: Likewise.
48197         * math/libm-test.inc (csqrt_test): Add more tests.
48198         * sysdeps/i386/fpu/libm-test-ulps: Update.
48199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48201         [BZ #13840]
48202         * math/libm-test.inc (hypot_test): Add more tests.
48204 2012-03-13  David S. Miller  <davem@davemloft.net>
48206         [BZ #13840]
48207         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48208         double-precision for the calculation instead of scaling.
48210 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48212         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48213         manipulate bits before adding and subtracting TWO52[sx].
48214         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48215         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48216         Likewise.
48217         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48219 2012-03-13  David S. Miller  <davem@davemloft.net>
48221         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48222         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48223         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48224         rtld-global-offsets.h
48225         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48227         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48228         large parameters.
48230         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48232         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48233         'err' in the ifdef scope in which it is actually used.
48235         * nss/nss_db/db-init.c: Include string.h
48237 2012-03-12  David S. Miller  <davem@davemloft.net>
48239         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48240         masking out of the most significant byte of random value used.
48241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48242         Fix coding style in previous change.
48244         * sysdeps/unix/sysv/linux/kernel-features.h
48245         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48246         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48247         expression.
48248         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48249         later.
48251 2012-03-11  David S. Miller  <davem@davemloft.net>
48253         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48254         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48255         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48256         for 'resultvar' otherwise things get truncated on 64-bit.
48258         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48259         Fix masking out of the most significant byte of random value used.
48261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48263 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48267 2012-03-09  David S. Miller  <davem@davemloft.net>
48269         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48270         variables with appropriate CPP guards.
48271         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48272         from the frame pointer, not the stack pointer.  Correct layout
48273         comments.  Fix test on resulting framesize and the management of
48274         the outregs buffer for pltexit.  Preserve floating point return
48275         values across _dl_call_pltexit call.
48276         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48277         framesize and the management of the outregs buffer for pltexit.
48278         Preserve floating point return values across _dl_call_pltexit
48279         call.
48280         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48281         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48282         (la_sparc64_gnu_pltexit): New functions.
48283         (print_exit): Fix format string for return register value.
48285 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48287         * sunrpc/Makefile (others): Add rpcgen.
48288         ($(objpfx)rpcgen): Remove special build rule and dependency on
48289         libc.
48290         * sunrpc/rpcgen.c: New file.
48292 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48294         [BZ #13673]
48295         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48296         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48297         * sysdeps/i386/crti.S: Likewise.
48298         * sysdeps/i386/crtn.S: Likewise.
48299         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48300         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48301         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48302         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48303         * sysdeps/sh/crti.S: Likewise.
48304         * sysdeps/sh/crtn.S: Likewise.
48305         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48307         [BZ #13673]
48308         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48309         with URL.
48310         * locale/programs/locfile-kw.gperf: Likewise.
48311         * locale/programs/charmap-kw.h: Regenerated.
48312         * locale/programs/locfile-kw.h: Likewise.
48314         [BZ #13673]
48315         * intl/plural.y: Replace FSF snail mail address with URL.
48316         * intl/plural.c: Regenerated.
48318 2012-03-09  Richard Henderson  <rth@twiddle.net>
48320         * include/math_private.h: Remove file.
48321         * math/math_private.h: Move file ...
48322         * sysdeps/generic/math_private.h: ... here.
48324         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48325         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48326         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48328         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48329         and <math_private.h>.
48330         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48331         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48332         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48333         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48334         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48335         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48336         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48337         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48338         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48339         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48341         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48342         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48343         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48344         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48345         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48346         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48347         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48348         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48349         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48350         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48351         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48352         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48354         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48355         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48356         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48357         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48359         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48360         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48361         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48362         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48363         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48364         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48365         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48366         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48367         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48368         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48369         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48370         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48371         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48372         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48373         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48374         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48375         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48376         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48377         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48378         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48379         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48380         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48381         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48382         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48383         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48384         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48385         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48386         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48387         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48388         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48389         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48390         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48391         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48392         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48393         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48394         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48395         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48396         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48397         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48398         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48399         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48400         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48401         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48402         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48403         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48404         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48405         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48406         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48408         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48409         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48410         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48411         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48412         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48413         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48414         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48415         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48417         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48418         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48419         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48420         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48421         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48422         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48423         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48424         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48425         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48426         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48427         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48428         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48429         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48430         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48431         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48432         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48433         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48434         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48435         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48436         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48437         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48438         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48439         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48440         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48441         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48442         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48443         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48444         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48445         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48446         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48447         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48448         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48449         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48450         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48451         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48452         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48453         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48454         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48455         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48456         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48457         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48458         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48459         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48460         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48461         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48462         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48463         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48464         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48465         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48466         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48467         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48468         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48469         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48470         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48471         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48472         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48473         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48474         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48475         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48476         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48477         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48478         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48479         * sysdeps/ieee754/k_standard.c: Likewise.
48480         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48481         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48482         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48483         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48484         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48485         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48486         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48487         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48488         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48489         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48490         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48491         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48492         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48493         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48494         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48495         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48496         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48497         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48498         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48499         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48500         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48501         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48502         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48503         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48504         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48505         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48506         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48507         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48508         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48509         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48510         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48511         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48512         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48513         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48515         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48523         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48525         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48526         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48527         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48528         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48530         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48531         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48532         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48533         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48534         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48535         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48536         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48537         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48538         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48539         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48540         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48541         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48542         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48543         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48546         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48547         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48548         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48549         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48550         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48551         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48552         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48553         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48554         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48555         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48556         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48557         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48558         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48559         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48560         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48561         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48562         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48563         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48564         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48565         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48566         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48567         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48570         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48571         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48572         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48573         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48574         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48575         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48576         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48577         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48578         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48579         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48580         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48581         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48582         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48583         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48584         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48585         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48586         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48587         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48588         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48589         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48590         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48591         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48592         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48593         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48594         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48595         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48596         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48598         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48599         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48600         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48601         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48602         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48603         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48605         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48606         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48607         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48608         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48609         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48610         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48612         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48615         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48617         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48619         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48620         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48621         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48623         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48624         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48625         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48626         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48628         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48629         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48630         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48631         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48632         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48634         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48635         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48636         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48637         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48638         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48639         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48640         * sysdeps/ieee754/s_lib_version.c: Likewise.
48641         * sysdeps/ieee754/s_matherr.c: Likewise.
48642         * sysdeps/ieee754/s_signgam.c: Likewise.
48643         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48644         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48645         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48646         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48647         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48648         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48649         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48650         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48651         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48652         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48653         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48654         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48655         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48656         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48657         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48658         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48659         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48660         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48661         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48662         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48665 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48667         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48668         * sunrpc/rpc_main.c: Likewise.
48669         * sunrpc/rpc_svcout.c: Likewise.
48671 2012-03-09  David S. Miller  <davem@davemloft.net>
48673         * include/math_private.h: New file.
48675 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48677         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48678         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48679         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48680         from <bits/socket_type.h>.
48681         (enum __socket_type): Don't define here.
48682         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48684         bits/socket_type.h.
48686         [BZ #13566]
48687         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48688         checking __USE_GNU.
48690         * Makerules ($(inst_includedir)/%.h): New rule.
48691         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48692         (install-others): Remove variable setting.
48693         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48695 2012-03-08  Richard Henderson  <rth@twiddle.net>
48697         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48698         from macro to inline function; merge with the
48699         !__LIBC_INTERNAL_MATH_INLINES version.
48700         (__ieee754_sqrtf): Likewise.
48702         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48703         to inline function.
48704         (__rintf, __floor, __floorf): Likewise.
48706         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48707         macro to inline function.
48708         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48710         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48711         not <math/math_private.h>.
48713 2012-03-08  David S. Miller  <davem@davemloft.net>
48715         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48716         copyright year.
48717         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48719 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48721         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48722         normalization.
48723         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48724         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48726 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48728         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48729         be defined individually, they must be defined as a block.  Define
48730         S for printing a string instead of hidint the different by using a
48731         macro for adding the 'l'.
48732         * stdio-common/tst-fphex-wide.c: Adjust.
48734 2012-03-07  Marek Polacek  <polacek@redhat.com>
48736         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48738 2012-03-08  Marek Polacek  <polacek@redhat.com>
48740         [BZ #13806]
48741         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48742         * stdio-common/tst-fphex.c: Define a few macros to make the
48743         test reusable.  Use them.
48744         * stdio-common/tst-fphex-wide.c: New file.
48746 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48748         [BZ #6911]
48749         * manual/macros.texi (gnusystems): New macro.
48750         (nongnusystems): Likewise.
48751         (gnulinuxhurdsystems): Likewise.
48752         (gnuhurdsystems): Likewise..
48753         (gnulinuxsystems): Likewise.
48754         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48755         variants of the GNU system, not "GNU system".
48756         * manual/conf.texi: Likewise.
48757         * manual/errno.texi: Likewise.  Update example of errno macro
48758         expansion.
48759         * manual/filesys.texi: Likewise.
48760         (getumask): Document as specific to GNU/Hurd.
48761         * manual/install.texi: Likewise.  Reword some references to
48762         GNU/Linux.
48763         * manual/intro.texi: Likewise.
48764         * manual/io.texi: Likewise.
48765         (File Name Portability): Detail which constraints are inapplicable
48766         to all GNU systems and which are only inapplicable to GNU/Hurd.
48767         * manual/job.texi: Likewise.
48768         * manual/llio.texi: Likewise.
48769         (O_NOCTTY): Document as present on GNU/Linux.
48770         * manual/maint.texi: Likewise.
48771         * manual/memory.texi: Likewise.
48772         * manual/pattern.texi: Likewise.
48773         * manual/pipe.texi: Likewise.
48774         * manual/process.texi: Likewise.
48775         * manual/resource.texi: Likewise.
48776         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48777         child on GNU/Hurd.
48778         * manual/setjmp.texi: Likewise.
48779         * manual/signal.texi: Likewise.
48780         * manual/startup.texi: Likewise.
48781         * manual/stdio.texi: Likewise.
48782         * manual/terminal.texi: Likewise.
48783         (ONLCR): Document as POSIX.
48784         (OXTABS): Document availability on GNU/Linux as XTABS.
48785         (ONOEOT): Document availability separately from other bits.
48786         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48787         * manual/time.texi: Likewise.
48788         * manual/users.texi: Likewise.
48789         * INSTALL: Regenerated.
48790         * sysdeps/gnu/errlist.c: Regenerated.
48792         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48793         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48794         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48795         puts.
48796         * configure: Regenerated.
48798 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48800         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48801         default includes instead of AC_HEADER_CHECK.
48802         * sysdeps/i386/configure: Regenerated.
48804         [BZ #10716]
48805         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48806         * math/s_cacoshf.c (__cacoshf): Likewise.
48807         * math/s_cacoshl.c (__cacoshl): Likewise.
48808         * math/s_casinh.c (__casinh): Set signs of result from argument.
48809         * math/s_casinhf.c (__casinhf): Likewise.
48810         * math/s_casinhl.c (__casinhl): Likewise.
48811         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48812         (casinh_test): Add more tests.
48813         * sysdeps/i386/fpu/libm-test-ulps: Update.
48814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48816 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48818         * po/zh_TW.po: Update from translation team.
48820         * login/Makefile (distribute): Remove variable.
48821         * catgets/Makefile: Likewise.
48822         * mach/Makefile: Likewise.
48823         * malloc/Makefile: Likewise.
48824         * misc/Makefile: Likewise.
48825         * iconv/Makefile: Likewise.
48826         * nscd/Makefile: Likewise.
48827         * hurd/Makefile: Likewise.
48828         * manual/Makefile: Likewise.
48829         * locale/Makefile: Likewise.
48830         * intl/Makefile: Likewise.
48831         * conform/Makefile: Likewise.
48832         * nss/Makefile: Likewise.
48833         * time/Makefile: Likewise.
48834         * soft-fp/Makefile: Likewise.
48835         * dirent/Makefile: Likewise.
48836         * gmon/Makefile: Likewise.
48837         * po/Makefile: Likewise.
48838         * rt/Makefile: Likewise.
48839         * socket/Makefile: Likewise.
48840         * math/Makefile: Likewise.
48841         * signal/Makefile: Likewise.
48842         * debug/Makefile: Likewise.
48843         * elf/Makefile: Likewise.
48844         * timezone/Makefile: Likewise.
48845         * stdlib/Makefile: Likewise.
48846         * iconvdata/Makefile: Likewise.
48847         * sunrpc/Makefile: Likewise.
48848         * io/Makefile: Likewise.
48849         * argp/Makefile: Likewise.
48850         * inet/Makefile: Likewise.
48851         * hesiod/Makefile: Likewise.
48852         * grp/Makefile: Likewise.
48853         * csu/Makefile: Likewise.
48854         * wctype/Makefile: Likewise.
48855         * crypt/Makefile: Likewise.
48856         * libio/Makefile: Likewise.
48857         * string/Makefile: Likewise.
48858         * nis/Makefile: Likewise.
48859         * resolv/Makefile: Likewise.
48860         * stdio-common/Makefile: Likewise.
48861         * wcsmbs/Makefile: Likewise.
48862         * dlfcn/Makefile: Likewise.
48863         * posix/Makefile: Likewise.
48865         [BZ #6959]
48866         * timezone/Makefile: Don't install timezone files, just the programs
48867         and scripts.
48869 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48871         * nss/databases.def: Add missing gshadow entry.
48873         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48875 2012-03-06  Marek Polacek  <polacek@redhat.com>
48877         [BZ #13726]
48878         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48879         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48880         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48881         * stdio-common/tst-long-dbl-fphex.c: New file.
48883 2012-03-06  David S. Miller  <davem@davemloft.net>
48885         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48886         (set_obp_int): New function.
48887         (get_obp_int): New function.
48888         (__get_clockfreq_via_dev_openprom): Likewise.
48889         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48890         Avoid unused variable warnings on 'val' and use builtin_expect.
48891         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48892         __builtin_expect.
48893         (INLINE_CLONE_SYSCALL): Likewise.
48895 2012-03-05  David S. Miller  <davem@davemloft.net>
48897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48899 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48903         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48904         only for |x| >= 40.
48905         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48907 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48909         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48910         Replace gettimeofday with __vdso_gettimeofday.
48912         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48913         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48914         __vdso_clock_gettime and __vdso_getcpu.
48916         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48917         time with __vdso_time.
48919 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48921         * manual/lang.texi (size_t): Note types to which size_t may be
48922         equivalent with the GNU C Library, but do not describe when
48923         differences between them are significant.
48925 2012-03-05  Andreas Jaeger  <aj@suse.de>
48927         * sysdeps/i386/fpu/libm-test-ulps: Update.
48929 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48931         [BZ #3976]
48932         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48933         (__ieee754_pow): Save and restore rounding mode and use
48934         round-to-nearest for main computations.
48935         * math/libm-test.inc (pow_test_tonearest): New function.
48936         (pow_test_towardzero): Likewise.
48937         (pow_test_downward): Likewise.
48938         (pow_test_upward): Likewise.
48939         (main): Call the new functions.
48940         * sysdeps/i386/fpu/libm-test-ulps: Update.
48941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48943         [BZ #3976]
48944         * math/libm-test.inc (cosh_test_tonearest): New function.
48945         (cosh_test_towardzero): Likewise.
48946         (cosh_test_downward): Likewise.
48947         (cosh_test_upward): Likewise.
48948         (sinh_test_tonearest): Likewise.
48949         (sinh_test_towardzero): Likewise.
48950         (sinh_test_downward): Likewise.
48951         (sinh_test_upward): Likewise.
48952         (main): Call the new functions.
48953         * sysdeps/i386/fpu/libm-test-ulps: Update.
48954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48956 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48958         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48959         default stack guard is set in last bytes.
48960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48962 2012-03-05  Kees Cook  <keescook@chromium.org>
48964         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48966         [BZ #13656]
48967         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48968         possibly allocate from heap instead of stack.
48969         * stdio-common/bug-vfprintf-nargs.c: New file.
48970         * stdio-common/Makefile (tests): Add nargs overflow test.
48972 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48976 2012-03-03  Marek Polacek  <polacek@redhat.com>
48978         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48979         * math/math_private.h: Likewise.
48980         * stdlib/tst-strtod.c: Likewise.
48981         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48982         * sysdeps/x86_64/bits/atomic.h: Likewise.
48984 2012-03-02  David S. Miller  <davem@davemloft.net>
48986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48990         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48991         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48992         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48993         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48995 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48997         [BZ #13792]
48998         * manual/examples/README: New file, says the example source files
48999         can be used under GPL>=2.
49000         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49001         line containing just "*/".
49002         * manual/examples/add.c: Add copyright header (GPL>=2).
49003         * manual/examples/argp-ex1.c: Likewise.
49004         * manual/examples/argp-ex2.c: Likewise.
49005         * manual/examples/argp-ex3.c: Likewise.
49006         * manual/examples/argp-ex4.c: Likewise.
49007         * manual/examples/atexit.c: Likewise.
49008         * manual/examples/db.c: Likewise.
49009         * manual/examples/dir.c: Likewise.
49010         * manual/examples/dir2.c: Likewise.
49011         * manual/examples/execinfo.c: Likewise.
49012         * manual/examples/filecli.c: Likewise.
49013         * manual/examples/filesrv.c: Likewise.
49014         * manual/examples/fmtmsgexpl.c: Likewise.
49015         * manual/examples/genpass.c: Likewise.
49016         * manual/examples/inetcli.c: Likewise.
49017         * manual/examples/inetsrv.c: Likewise.
49018         * manual/examples/isockad.c: Likewise.
49019         * manual/examples/longopt.c: Likewise.
49020         * manual/examples/memopen.c: Likewise.
49021         * manual/examples/memstrm.c: Likewise.
49022         * manual/examples/mkfsock.c: Likewise.
49023         * manual/examples/mkisock.c: Likewise.
49024         * manual/examples/mygetpass.c: Likewise.
49025         * manual/examples/pipe.c: Likewise.
49026         * manual/examples/popen.c: Likewise.
49027         * manual/examples/rprintf.c: Likewise.
49028         * manual/examples/search.c: Likewise.
49029         * manual/examples/select.c: Likewise.
49030         * manual/examples/setjmp.c: Likewise.
49031         * manual/examples/sigh1.c: Likewise.
49032         * manual/examples/sigusr.c: Likewise.
49033         * manual/examples/stpcpy.c: Likewise.
49034         * manual/examples/strdupa.c: Likewise.
49035         * manual/examples/strftim.c: Likewise.
49036         * manual/examples/strncat.c: Likewise.
49037         * manual/examples/subopt.c: Likewise.
49038         * manual/examples/swapcontext.c: Likewise.
49039         * manual/examples/termios.c: Likewise.
49040         * manual/examples/testopt.c: Likewise.
49041         * manual/examples/testpass.c: Likewise.
49042         * manual/examples/timeval_subtract.c: Likewise.
49044         [BZ #13792]
49045         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49046         function to ...
49047         * manual/timeval_subtract.c.texi: ... here, new file.
49049 2012-03-02  David S. Miller  <davem@davemloft.net>
49051         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49053 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49055         [BZ #3976]
49056         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49057         (__sin): Save and restore rounding mode and use round-to-nearest
49058         for all computations.
49059         (__cos): Save and restore rounding mode and use round-to-nearest
49060         for all computations.
49061         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49062         <fenv.h>.
49063         (tan): Save and restore rounding mode and use round-to-nearest for
49064         all computations.
49065         * math/libm-test.inc (cos_test_tonearest): New function.
49066         (cos_test_towardzero): Likewise.
49067         (cos_test_downward): Likewise.
49068         (cos_test_upward): Likewise.
49069         (sin_test_tonearest): Likewise.
49070         (sin_test_towardzero): Likewise.
49071         (sin_test_downward): Likewise.
49072         (sin_test_upward): Likewise.
49073         (tan_test_tonearest): Likewise.
49074         (tan_test_towardzero): Likewise.
49075         (tan_test_downward): Likewise.
49076         (tan_test_upward): Likewise.
49077         (main): Call the new functions.
49078         * sysdeps/i386/fpu/libm-test-ulps: Update.
49079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49081         [BZ #10135]
49082         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49083         small n, then large n, before computing and testing k+n.
49084         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49085         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49086         Likewise.
49087         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49088         Likewise.
49089         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49090         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49091         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49092         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49093         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49094         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49095         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49096         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49097         * math/libm-test.inc (scalbn_test): Add more tests.
49098         (scalbln_test): Likewise.
49100         * manual/filesys.texi (mode_t): Describe constraints on size and
49101         signedness, not exact equivalence to a particular type.
49102         (ino_t): Likewise.
49103         (ino64_t): Likewise.
49104         (dev_t): Likewise.
49105         (nlink_t): Likewise.
49106         (blkcnt_t): Likewise.
49107         (blkcnt64_t): Likewise.
49108         * manual/llio.texi (off_t): Likewise.
49110         [BZ #3976]
49111         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49112         (__ieee754_exp): Save and restore rounding mode and use
49113         round-to-nearest for all computations.
49114         * math/libm-test.inc (exp_test_tonearest): New function.
49115         (exp_test_towardzero): Likewise.
49116         (exp_test_downward): Likewise.
49117         (exp_test_upward): Likewise.
49118         (main): Call the new functions.
49119         * sysdeps/i386/fpu/libm-test-ulps: Update.
49120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49122 2012-03-01  Chris Demetriou  <cgd@google.com>
49124         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49125         have predictable order.
49127 2012-03-01  David S. Miller  <davem@davemloft.net>
49129         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49131         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49132         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49133         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49134         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49136         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49137         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49138         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49140         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49141         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49142         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49143         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49144         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49148         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49149         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49150         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49152         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49153         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49154         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49155         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49156         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49157         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49158         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49159         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49160         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49161         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49162         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49163         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49164         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49165         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49166         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49168         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49169         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49170         * sysdeps/sparc/elf/configure: Regenerated.
49172 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49174         * configure.in (AS, LD): Require binutils 2.20 or later.
49175         * configure: Regenerated.
49176         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49177         as required minimum version.
49178         * INSTALL: Regenerated.
49180         [BZ #2541]
49181         [BZ #4108]
49182         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49183         before squaring exponent.
49184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49185         bottom long double and 27 bits of top long double before squaring
49186         exponent.
49187         * math/libm-test.inc (erfc_test): Add more tests.
49188         * sysdeps/i386/fpu/libm-test-ulps: Update.
49189         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49192 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49194         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49195         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49196         containing bit-fields.
49197         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49198         * soft-fp/single.h (_FP_UNION_S): Likewise.
49199         * soft-fp/double.h (_FP_UNION_D): Likewise.
49201 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49203         [BZ #13786]
49204         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49205         not include ../strcmp.S.
49206         [USE_AS_STRNCASECMP_L]: Likewise.
49207         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49208         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49209         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49210         (__strncasecmp_l_ia32): Define as alias to
49211         __strncasecmp_l_nonascii.
49213         [BZ #5794]
49214         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49215         * sysdeps/i386/fpu/libm-test-ulps: Update.
49216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49218         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49221 2012-02-29  Jeff Law  <law@redhat.com>
49223         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49224         out of bounds read.
49226 2012-02-29  Marek Polacek  <polacek@redhat.com>
49228         [BZ #13706]
49229         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49230         * elf/Makefile: Add rules to run tst-unused-dep.out.
49232 2012-02-28  David S. Miller  <davem@davemloft.net>
49234         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49235         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49236         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49237         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49238         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49239         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49241 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49243         * math/libm-test.inc (llround_test): Move one test from
49244         lround_test.  Use TEST_f_L in moved test.
49245         (lround_test): Move misplaced test to llround_test.  Add testcase
49246         from bug 2561.
49248 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49250         * sysdeps/x86_64/fpu/e_expf.S: New file.
49251         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49253 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49255         [BZ #13637]
49256         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49257         of remain_len that may cause incomplete multi-byte character and
49258         false match.
49259         * posix/bug-regex33.c: New file.
49260         * posix/Makefile (tests): Add bug-regex33.
49262 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49264         * manual/macros.texi: New file.
49265         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49266         * manual/libc.texinfo: Include macros.texi.
49267         * manual/creatute.texi: Likewise.
49268         * manual/install.texi: Likewise.
49269         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49270         @glibcadj{} in references to the GNU C Library.
49271         * manual/charset.texi: Likewise.
49272         * manual/conf.texi: Likewise.
49273         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49274         when not using those macros.
49275         * manual/creature.texi: Likewise.
49276         * manual/crypt.texi: Likewise.
49277         * manual/errno.texi: Likewise.
49278         * manual/filesys.texi: Likewise.
49279         * manual/header.texi: Likewise.
49280         * manual/install.texi: Likewise.
49281         * manual/intro.texi: Likewise.
49282         * manual/io.texi: Likewise.
49283         * manual/job.texi: Likewise.
49284         * manual/lang.texi: Likewise.
49285         * manual/libc.texiinfo: Likewise.
49286         * manual/llio.texi: Likewise.
49287         * manual/locale.texi: Likewise.
49288         * manual/maint.texi: Likewise.
49289         * manual/math.texi: Likewise.
49290         * manual/memory.texi: Likewise.
49291         * manual/message.texi: Likewise.
49292         * manual/nss.texi: Likewise.
49293         * manual/pattern.texi: Likewise.
49294         * manual/process.texi: Likewise.
49295         * manual/resource.texi: Likewise.
49296         * manual/search.texi: Likewise.
49297         * manual/setjmp.texi: Likewise.
49298         * manual/signal.texi: Likewise.
49299         * manual/socket.texi: Likewise.
49300         * manual/startup.texi: Likewise.
49301         * manual/stdio.texi: Likewise.
49302         * manual/string.texi: Likewise.
49303         * manual/sysinfo.texi: Likewise.
49304         * manual/syslog.texi: Likewise.
49305         * manual/terminal.texi: Likewise.
49306         * manual/time.texi: Likewise.
49307         * manual/users.texi: Likewise.
49308         * INSTALL: Regenerated.
49309         * NOTES: Regenerated.
49310         * sysdeps/gnu/errlist.c: Regenerated.
49312 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49314         * include/dirent.h: Include <dirstream.h> before
49315         <dirent/dirent.h>.
49317 2012-02-28  David S. Miller  <davem@davemloft.net>
49319         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49320         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49321         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49322         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49324 2012-02-27  David S. Miller  <davem@davemloft.net>
49326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49328         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49329         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49332         frame pointer instead of stack pointer relative arg slot.
49333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49334         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49335         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49337 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49339         [BZ #3992]
49340         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49342 2012-02-27  David S. Miller  <davem@davemloft.net>
49344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49348         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49349         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49350         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49351         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49353 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49355         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49356         later.  Allow versions 5-9.
49357         * configure: Regenerated.
49358         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49359         required minimum version and 4.6 as recommended version.  Do not
49360         mention bugs in GCC 2.7 and 2.8.
49361         * INSTALL: Regenerated.
49363 2012-02-27  David S. Miller  <davem@davemloft.net>
49365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49369         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49370         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49371         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49372         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49374         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49375         manipulate bits before adding and subtracting TWO112[sx].
49376         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49378 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49380         [BZ #13775]
49381         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49382         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49383         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49384         being in POSIX, because they are in 1003.1-2008.
49386         * rt/tst-aio.c: Include <fcntl.h>.
49387         * rt/tst-aio7.c: Likewise.
49388         * rt/tst-aio64.c: Likewise.
49390         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49392 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49394         * manual/install.texi (--with-headers): Describe headers as
49395         interface headers, not private headers.
49396         (Specific advice for GNU/Linux systems): Describe use of headers
49397         from "make headers_install", not private headers from older
49398         kernels.
49399         * INSTALL: Regenerated.
49400         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49401         Change to 2.6.19.
49402         * sysdeps/unix/sysv/linux/configure: Regenerated.
49404         * manual/llio.texi (fclean): Remove documentation.
49406         * manual/Makefile (libc-texi-generated): New variable.  Include
49407         version.texi.
49408         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49409         $(libc-texi-generated), not duplicated list of files.
49410         (version.texi, stamp-version): New rules.
49411         (realclean): Remove $(libc-texi-generated), not individual files
49412         from that list.  Do not remove dir-add.texinfo.
49413         * manual/libc.texinfo: Comment out uses of edition numbers and
49414         references to printed manual.  Remove last-updated dates.
49415         (EDITION): Comment out.
49416         (ISBN): Likewise.
49417         (VERSION, UPDATED): Remove.
49418         (version.texi): Include.
49420 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49422         * sysdeps/posix/spawni.c: Include <signal.h>.
49423         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49424         * sysdeps/pthread/aio_fsync.c: Likewise.
49426 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49428         * conform/Makefile (tests): Run only when not cross-compiling and
49429         when fast-check is not defined.
49431         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49432         * conform/data/limits.h-data: Fixes for POSIX2008.
49433         * conform/run-conformtest.sh: Run all tests.
49434         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49435         headers.
49436         * include/bits/dlfcn.h: Likewise.
49437         * include/langinfo.h: Likewise.
49438         * include/monetary.h: Likewise.
49439         * include/sys/poll.h: Likewise.
49441         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49442         for __USE_GNU.
49443         * posix/spawn.h: Define __need_sigset_t.
49444         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49445         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49446         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49447         to get sigevent_t only.
49448         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49449         only for __USE_GNU.
49450         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49451         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49452         process_vm_writev only for __USE_GNU.
49453         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49455         * conform/Makefile: For now ignore errors from run-conformtest.
49456         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49457         POSIX to avoid namespace pollution.  Don't prepend headers.
49458         * conform/data/aio.h-data: Fixes for POSIX testing.
49459         * conform/data/fcntl.h-data: Likewise.
49460         * conform/data/glob.h-data: Likewise.
49461         * conform/data/grp.h-data: Likewise.
49462         * conform/data/pthread.h-data: Likewise.
49463         * conform/data/pwd.h-data: Likewise.
49464         * conform/data/signal.h-data: Likewise.
49465         * conform/data/spawn.h-data: Likewise.
49466         * conform/data/stdio.h-data: Likewise.
49467         * conform/data/stdlib.h-data: Likewise.
49468         * conform/data/stropts.h-data: Likewise.
49469         * conform/data/sys/mman.h-data: Likewise.
49470         * conform/data/sys/stat.h-data: Likewise.
49471         * conform/data/sys/types.h-data: Likewise.
49472         * conform/data/sys/wait.h-data: Likewise.
49473         * conform/data/time.h-data: Likewise.
49474         * conform/data/unistd.h-data: Likewise.
49475         * conform/data/utime.h-data: Likewise.
49477         * io/sys/stat.h: fchmod was always in POSIX.
49478         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49479         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49480         * rt/aio.h: Define __need_timespec before including <time.h>.
49481         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49482         struct.  Add forward declaration of pthread_attr_t and use it in
49483         sigevent.
49484         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49485         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49486         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49487         always remove CLK_TCK definition.
49489 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49491         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49493 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49495         * conform/run-conformtest.sh: New file.
49496         * conform/Makefile: Run run-conformtest for tests.
49497         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49498         support.
49500         * conform/data/uchar.h-data: New file.
49501         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49502         * conform/data/arpa/inet.h-data: Likewise.
49503         * conform/data/assert.h-data: Likewise.
49504         * conform/data/complex.h-data: Likewise.
49505         * conform/data/cpio.h-data: Likewise.
49506         * conform/data/ctype.h-data: Likewise.
49507         * conform/data/dirent.h-data: Likewise.
49508         * conform/data/dlfcn.h-data: Likewise.
49509         * conform/data/errno.h-data: Likewise.
49510         * conform/data/fcntl.h-data: Likewise.
49511         * conform/data/float.h-data: Likewise.
49512         * conform/data/fmtmsg.h-data: Likewise.
49513         * conform/data/fnmatch.h-data: Likewise.
49514         * conform/data/ftw.h-data: Likewise.
49515         * conform/data/glob.h-data: Likewise.
49516         * conform/data/grp.h-data: Likewise.
49517         * conform/data/iconv.h-data: Likewise.
49518         * conform/data/inttypes.h-data: Likewise.
49519         * conform/data/langinfo.h-data: Likewise.
49520         * conform/data/libgen.h-data: Likewise.
49521         * conform/data/limits.h-data: Likewise.
49522         * conform/data/locale.h-data: Likewise.
49523         * conform/data/math.h-data: Likewise.
49524         * conform/data/monetary.h-data: Likewise.
49525         * conform/data/mqueue.h-data: Likewise.
49526         * conform/data/ndbm.h-data: Likewise.
49527         * conform/data/net/if.h-data: Likewise.
49528         * conform/data/netdb.h-data: Likewise.
49529         * conform/data/netinet/in.h-data: Likewise.
49530         * conform/data/nl_types.h-data: Likewise.
49531         * conform/data/poll.h-data: Likewise.
49532         * conform/data/pthread.h-data: Likewise.
49533         * conform/data/pwd.h-data: Likewise.
49534         * conform/data/regex.h-data: Likewise.
49535         * conform/data/sched.h-data: Likewise.
49536         * conform/data/search.h-data: Likewise.
49537         * conform/data/semaphore.h-data: Likewise.
49538         * conform/data/setjmp.h-data: Likewise.
49539         * conform/data/signal.h-data: Likewise.
49540         * conform/data/spawn.h-data: Likewise.
49541         * conform/data/stdarg.h-data: Likewise.
49542         * conform/data/stdio.h-data: Likewise.
49543         * conform/data/stdlib.h-data: Likewise.
49544         * conform/data/string.h-data: Likewise.
49545         * conform/data/strings.h-data: Likewise.
49546         * conform/data/stropts.h-data: Likewise.
49547         * conform/data/sys/ipc.h-data: Likewise.
49548         * conform/data/sys/mman.h-data: Likewise.
49549         * conform/data/sys/msg.h-data: Likewise.
49550         * conform/data/sys/resource.h-data: Likewise.
49551         * conform/data/sys/select.h-data: Likewise.
49552         * conform/data/sys/sem.h-data: Likewise.
49553         * conform/data/sys/shm.h-data: Likewise.
49554         * conform/data/sys/socket.h-data: Likewise.
49555         * conform/data/sys/stat.h-data: Likewise.
49556         * conform/data/sys/statvfs.h-data: Likewise.
49557         * conform/data/sys/time.h-data: Likewise.
49558         * conform/data/sys/timeb.h-data: Likewise.
49559         * conform/data/sys/times.h-data: Likewise.
49560         * conform/data/sys/types.h-data: Likewise.
49561         * conform/data/sys/uio.h-data: Likewise.
49562         * conform/data/sys/un.h-data: Likewise.
49563         * conform/data/sys/utsname.h-data: Likewise.
49564         * conform/data/sys/wait.h-data: Likewise.
49565         * conform/data/syslog.h-data: Likewise.
49566         * conform/data/tar.h-data: Likewise.
49567         * conform/data/termios.h-data: Likewise.
49568         * conform/data/utime.h-data: Likewise.
49569         * conform/data/utmpx.h-data: Likewise.
49570         * conform/data/varargs.h-data: Likewise.
49571         * conform/data/wchar.h-data: Likewise.
49572         * conform/data/wctype.h-data: Likewise.
49573         * conform/data/wordexp.h-data: Likewise.
49575         * include/stropts.h: New file.
49576         * include/uchar.h: New file.
49577         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49578         * include/assert.h: Likewise.
49579         * include/ctype.h: Likewise.
49580         * include/dirent.h: Likewise.
49581         * include/dlfcn.h: Likewise.
49582         * include/fcntl.h: Likewise.
49583         * include/fnmatch.h: Likewise.
49584         * include/glob.h: Likewise.
49585         * include/grp.h: Likewise.
49586         * include/libio.h: Likewise.
49587         * include/locale.h: Likewise.
49588         * include/math.h: Likewise.
49589         * include/net/if.h: Likewise.
49590         * include/netdb.h: Likewise.
49591         * include/netinet/in.h: Likewise.
49592         * include/pthread.h: Likewise.
49593         * include/pwd.h: Likewise.
49594         * include/regex.h: Likewise.
49595         * include/sched.h: Likewise.
49596         * include/search.h: Likewise.
49597         * include/setjmp.h: Likewise.
49598         * include/signal.h: Likewise.
49599         * include/stdio.h: Likewise.
49600         * include/stdlib.h: Likewise.
49601         * include/string.h: Likewise.
49602         * include/sys/cdefs.h: Likewise.
49603         * include/sys/mman.h: Likewise.
49604         * include/sys/msg.h: Likewise.
49605         * include/sys/resource.h: Likewise.
49606         * include/sys/select.h: Likewise.
49607         * include/sys/socket.h: Likewise.
49608         * include/sys/stat.h: Likewise.
49609         * include/sys/statvfs.h: Likewise.
49610         * include/sys/time.h: Likewise.
49611         * include/sys/times.h: Likewise.
49612         * include/sys/uio.h: Likewise.
49613         * include/sys/utsname.h: Likewise.
49614         * include/sys/wait.h: Likewise.
49615         * include/termios.h: Likewise.
49616         * include/time.h: Likewise.
49617         * include/ulimit.h: Likewise.
49618         * include/unistd.h: Likewise.
49619         * include/utime.h: Likewise.
49620         * include/wchar.h: Likewise.
49621         * include/wctype.h: Likewise.
49622         * include/wordexp.h: Likewise.
49624         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49626         * time/time.h: TIME_UTC must be a macro.
49627         Make timespec_get available for ISO C11 only as well.
49629 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49631         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49632         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49634 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49636         * configure.in: Use -o not -a in test for unsupported multi-arch.
49638 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49640         * manual/texinfo.tex: Update to version 2012-01-19.16.
49642 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49644         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49646 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49648         [BZ #13738]
49649         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49650         * manual/fdl-1.3.texi: New file.
49651         * manual/fdl-1.1.texi: File removed.
49653         [BZ #13738]
49654         * manual/libc.texinfo (FDL_VERSION): New @set.
49655         Use it for mention of FDL in cover text.
49656         (Documentation License): Use it in @include file name.
49658 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49659             Roland McGrath  <roland@hack.frob.com>
49661         [BZ #5461]
49662         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49663         (not LONG_LONG_MAX and LONG_LONG_MIN.
49664         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49665         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49666         name.
49667         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49669 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49671         [BZ #2547]
49672         [BZ #11365]
49673         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49674         manipulate bits before adding and subtracting TWO23[sx].
49675         * math/libm-test.inc (nearbyint_test): Add more tests.
49677 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49679         [BZ #2548]
49680         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49681         bits before adding and subtracting TWO23[sx].
49682         * math/libm-test.inc (rint_test): Add more tests.
49683         (rint_test_tonearest): Likewise.
49684         (rint_test_towardzero): Likewise.
49685         (rint_test_downward): Likewise.
49686         (rint_test_upward: Likewise.
49688 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49690         [BZ #10110]
49691         * include/stdc-predef.h: New file.  Extracted from features.h.
49692         * include/features.h: Include stdc-predef.h.
49693         * Makefile (headers): Add stdc-predef.h.
49694         * CONFORMANCE (Compiler limitations): Update.
49696 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49698         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49700 2012-02-21  David S. Miller  <davem@davemloft.net>
49702         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49703         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49705 2012-02-20  David S. Miller  <davem@davemloft.net>
49707         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49708         using a normal save/restore sequence, rather than allocating a
49709         dummy stack frame just to store a frame pointer and restore.
49710         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49712 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49714         * manual/install.texi: Fix stray word in line-wrapped comment.
49716 2012-02-20  David S. Miller  <davem@davemloft.net>
49718         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49719         both binutils and gcc support GOTDATA.
49721         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49722         "rd %pc" in the PIC register setup sequences.
49724         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49725         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49726         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49727         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49728         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49729         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49730         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49731         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49732         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49733         (SYSCALL_ERROR_HANDLER): Likewise.
49734         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49735         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49736         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49737         (SYSCALL_ERROR_HANDLER): Likewise.
49739         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49740         (HAVE_GCC_GOTDATA): New.
49741         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49742         relocation support in both binutils and gcc.
49743         * sysdeps/sparc/elf/configure: Regenerate.
49745         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49746         * sysdeps/sparc/sparc32/elf/configure: Delete.
49747         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49748         * sysdeps/sparc/sparc64/elf/configure: Delete.
49749         * sysdeps/sparc/elf/configure.in: New file.
49750         * sysdeps/sparc/elf/configure: Generate.
49752         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49753         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49754         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49755         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49756         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49758 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49760         * manual/install.texi: Do not mention specific glibc version
49761         numbers.
49762         * manual/libc.texinfo (VERSION, UPDATED): Update.
49763         (@copying): Use @copyright{} and range of years.
49765 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49767         [BZ #13695]
49768         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49769         [crti.S not in sysdirs] (generated): Do not append.
49770         [crti.S not in sysdirs] (omit-deps): Likewise.
49771         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49772         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49773         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49774         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49775         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49776         Likewise.
49777         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49778         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49779         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49780         * csu/defs.awk: Remove file.
49781         * sysdeps/generic/initfini.c: Likewise.
49782         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49783         variable.
49784         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49785         Likewise.
49787 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49789         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49790         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49791         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49792         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49793         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49794         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49795         <bits/epoll.h>.
49796         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49797         (__EPOLL_PACKED): Define to empty if not defined by
49798         <bits/epoll.h>.
49799         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49801         bits/epoll.h.
49803 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49805         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49806         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49807         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49808         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49809         <bits/timerfd.h>.
49810         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49811         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49812         bits/timerfd.h.
49814 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49816         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49817         in C locale.
49818         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49819         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49820         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49823 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49825         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49826         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49828 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49830         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49831         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49832         defined.
49833         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49834         Likewise.
49835         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49836         entry for 2.16.
49838 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49840         * math/w_acos.c: Use non-signaling floating-point comparisons.
49841         * math/w_acosf.c: Likewise.
49842         * math/w_acosh.c: Likewise.
49843         * math/w_acoshf.c: Likewise.
49844         * math/w_acoshl.c: Likewise.
49845         * math/w_acosl.c: Likewise.
49846         * math/w_asin.c: Likewise.
49847         * math/w_asinf.c: Likewise.
49848         * math/w_asinl.c: Likewise.
49849         * math/w_atanh.c: Likewise.
49850         * math/w_atanhf.c: Likewise.
49851         * math/w_atanhl.c: Likewise.
49852         * math/w_exp2.c: Likewise.
49853         * math/w_exp2f.c: Likewise.
49854         * math/w_exp2l.c: Likewise.
49855         * math/w_j0.c: Likewise.
49856         * math/w_j0f.c: Likewise.
49857         * math/w_j0l.c: Likewise.
49858         * math/w_j1.c: Likewise.
49859         * math/w_j1f.c: Likewise.
49860         * math/w_j1l.c: Likewise.
49861         * math/w_jn.c: Likewise.
49862         * math/w_jnf.c: Likewise.
49863         * math/w_log.c: Likewise.
49864         * math/w_log10.c: Likewise.
49865         * math/w_log10f.c: Likewise.
49866         * math/w_log10l.c: Likewise.
49867         * math/w_log2.c: Likewise.
49868         * math/w_log2f.c: Likewise.
49869         * math/w_log2l.c: Likewise.
49870         * math/w_logf.c: Likewise.
49871         * math/w_logl.c: Likewise.
49872         * math/w_sqrt.c: Likewise.
49873         * math/w_sqrtf.c: Likewise.
49874         * math/w_sqrtl.c: Likewise.
49875         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49876         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49877         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49878         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49879         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49881 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49883         [BZ #9739]
49884         * manual/string.texi (strnlen): Use correct parameter name in
49885         equivalent expression.
49887 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49889         [BZ #11174]
49890         * manual/users.texi (seteuid): Consistently use neweuid for
49891         argument name.
49893 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49895         [BZ #13704]
49896         * manual/nss.texi (Services in the NSS configuration): Correct
49897         list of services in example configuration file.
49899 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49901         [BZ #11322]
49902         * manual/arith.texi: Remove statements about negative zero
49903         behaving identically to zero.
49905 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49907         [BZ #5993]
49908         * manual/install.texi: Do not document upgrading from libc5.
49910 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49912         [BZ #4596]
49913         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49915 2012-02-18  David S. Miller  <davem@davemloft.net>
49917         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49918         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49919         %o7 across the call.
49920         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49921         instead.
49922         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49923         SETUP_PIC_REG_LEAF.
49924         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49925         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49926         * sysdeps/sparc/crtn.S: Likewise.
49928 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49930         * aout/Makefile: Remove.
49932 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49934         [BZ #13058]
49935         * manual/examples/argp-ex1.c (main): Format definition in GNU
49936         style.
49937         * manual/examples/argp-ex2.c (main): Likewise.
49938         * manual/examples/argp-ex3.c (main): Likewise.
49939         * manual/examples/argp-ex4.c (main): Likewise.
49940         * manual/examples/longopt.c (main): Use new-style prototype
49941         definition.
49942         * manual/examples/strncat.c (main): Specify return type and use
49943         (void) for arguments.
49944         * manual/examples/subopt.c (main): Use char **argv argument.
49946 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49948         [BZ #5077]
49949         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49950         rounding modes.
49952 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49954         [BZ #6907]
49955         * manual/string.texi (strchr): Change when strchrnul is
49956         recommended.
49958 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49960         [BZ #174]
49961         * manual/locale.texi (setlocale): Document LOCPATH.
49963 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49965         [BZ #10210]
49966         * manual/process.texi (execle): Move @dots{} before last argument.
49968 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49970         [BZ #12047]
49971         * manual/charset.texi (Generic Charset Conversion): Fix typo
49972         (LC_TYPE -> LC_CTYPE).
49974 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49976         [BZ #5805]
49977         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49978         (scalbnf): Likewise.
49979         (scalbnl): Likewise.
49980         (scalbln): Likewise.
49981         (scalblnf): Likewise.
49982         (scalblnl): Likewise.
49983         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49984         (vwarnx): Likewise.
49985         (verr): Likewise.
49986         (verrx): Likewise.
49987         * manual/filesys.texi (telldir): Use braces around return type.
49988         * manual/llio.texi (mmap): Add space after comma.
49989         (mmap64): Likewise.
49990         * manual/math.texi (jn): Use @var{} on parameter names.
49991         (jnf): Likewise.
49992         (jnl): Likewise.
49993         (yn): Likewise.
49994         (ynf): Likewise.
49995         (ynl): Likewise.
49996         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49997         line.
49998         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49999         "...".
50000         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50001         (sched_get_priority_max): Likewise.
50002         * manual/signal.texi (sigvec): Add space after comma.
50003         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50004         names.
50005         (if_indextoname): Likewise.
50006         (if_freenameindex): Likewise.
50007         (sendto): Use ',' instead of '.' in prototype.
50008         * manual/startup.texi (syscall): Use @dots{} instead of literal
50009         "...".
50010         * manual/stdio.texi (__fpending): Separate initial words of
50011         paragraph from @deftypefun line.
50012         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50013         "...".
50014         (vsyslog): Use @var{} on parameter names.
50015         * manual/terminal.texi (stty): Use @var{} on parameter names.
50016         * manual/users.texi (getutmp): Use @var{} on parameter names.
50017         (getutmpx): Likewise.
50019 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50021         [BZ #6884]
50022         * manual/stdio.texi (fopen): Fix typos in description of
50023         ",ccs=STRING".
50025 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50027         [BZ #4026]
50028         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50029         get clock_id definition.
50031 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50033         [BZ #4822]
50034         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50035         (madvise): Cast every argument to void on its own.
50037 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50039         [BZ #9902]
50040         * manual/startup.texi (Exit Status): Fix typo.
50042 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50044         [BZ #10140]
50045         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50046         * manual/examples/argp-ex2.c: Likewise.
50047         * manual/examples/argp-ex3.c: Likewise.
50049 2012-02-16  Richard Henderson  <rth@redhat.com>
50051         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50052         * sysdeps/s390/s390-32/initfini.c: Remove.
50053         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50054         * sysdeps/s390/s390-64/initfini.c: Remove.
50056 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50058         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50059         compiler output for sysdeps/generic/initfini.c.
50060         * sysdeps/sh/elf/initfini.c: Remove file.
50062 2012-02-16  David S. Miller  <davem@davemloft.net>
50064         [BZ #11494]
50065         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50067         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50068         * sysdeps/sparc/crti.S: New file.
50069         * sysdeps/sparc/crtn.S: New file.
50070         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50071         * sysdeps/sparc/sparc64/Makefile: Likewise.
50073 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50075         [BZ #3335]
50076         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50078 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50080         [BZ #4822]
50081         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50083         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50084         (write, read, close): Likewise.
50085         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50087 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50089         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50090         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50091         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50092         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50093         <bits/signalfd.h>.
50094         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50095         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50096         bits/signalfd.h.
50098 2012-02-14  Marek Polacek  <polacek@redhat.com>
50100         * sysdeps/x86_64/crti.S: New file.
50101         * sysdeps/x86_64/crtn.S: New file.
50102         * sysdeps/x86_64/elf/initfini.c: Remove file.
50104 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50106         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50107         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50108         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50109         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50110         <bits/inotify.h>.
50111         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50113         bits/inotify.h.
50115 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50117         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50118         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50119         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50120         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50121         <bits/eventfd.h>.
50122         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50124         bits/eventfd.h.
50126 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50128         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50129         __feraiseexcept instead of feraiseexcept.
50131         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50132         nanosleep invocations.
50133         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50134         strings, and add error checking for a nanosleep invocations.
50136 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50138         Replace FSF snail mail address with URLs, as per GNU coding standards.
50139         Most of the snail mail addresses were wrong anyway, and omitting
50140         them makes the source code easier to maintain.  Almost all of the
50141         changes are to license notices and to locale LC_IDENTIFICATION
50142         addresses, except for this one:
50143         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50144         not its snail mail address.
50146 2012-02-09  Richard Henderson  <rth@twiddle.net>
50148         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50149         of kernel-features.h.
50151         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50153 2012-02-08  Marek Polacek  <polacek@redhat.com>
50155         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50156         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50157         * sysdeps/gnu/_G_config.h: Likewise.
50158         * sysdeps/generic/_G_config.h: Likewise.
50160 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50162         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50163         tests.
50164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50166         * sysdeps/powerpc/powerpc32/crti.S: New file.
50167         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50168         * sysdeps/powerpc/powerpc64/crti.S: New file.
50169         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50171         * Makeconfig (have-initfini): Don't set.
50172         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50173         * configure.in (nopic_initfini): Don't substitute.
50174         * config.h.in (HAVE_INITFINI): Don't #undef.
50175         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50176         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50178 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50180         Support crti.S and crtn.S provided directly by architectures.
50181         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50182         [crti.S in sysdirs] (omit-deps): Likewise.
50183         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50184         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50185         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50186         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50187         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50188         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50189         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50190         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50191         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50192         compiler output for sysdeps/generic/initfini.c.
50193         * sysdeps/i386/elf/Makefile: Remove file.
50194         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50196 2012-02-07  Marek Polacek  <polacek@redhat.com>
50198         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50199         * sysdeps/gnu/_G_config.h: Likewise.
50200         * sysdeps/mach/hurd/_G_config.h: Likewise.
50202 2012-02-07  Marek Polacek  <polacek@redhat.com>
50204         * math/Makefile (tests): Add tst-CMPLX2.
50205         * math/tst-CMPLX2.c: New file.
50207 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50209         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50211         * math/libm-test.inc (jn_test): Add missing L suffix.
50213 2012-02-06  Marek Polacek  <polacek@redhat.com>
50215         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50216         * sysdeps/i386/fpu/e_powf.S: Likewise.
50217         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50218         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50219         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50220         * sysdeps/i386/fpu/e_pow.S: Likewise.
50221         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50222         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50223         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50224         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50225         * sysdeps/i386/fpu/e_log2.S: Likewise.
50226         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50227         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50228         * sysdeps/i386/fpu/e_powl.S: Likewise.
50229         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50230         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50231         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50232         * sysdeps/i386/fpu/e_logl.S: Likewise.
50233         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50234         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50235         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50236         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50237         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50238         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50239         * sysdeps/i386/fpu/e_log.S: Likewise.
50240         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50241         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50242         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50243         * sysdeps/i386/fpu/e_logf.S: Likewise.
50244         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50245         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50246         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50247         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50248         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50249         * sysdeps/i386/fpu/e_log10.S: Likewise.
50250         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50251         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50252         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50253         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50254         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50255         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50256         * sysdeps/i386/asm-syntax.h: Likewise.
50257         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50258         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50259         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50260         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50261         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50262         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50263         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50264         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50265         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50266         * sysdeps/powerpc/sysdep.h: Likewise.
50267         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50268         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50270 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50272         [BZ #411]
50273         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50275 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50277         * sysdeps/i386/sysdep.h: Include <features.h>.
50278         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50279         version.
50281 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50283         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50284         Define.
50285         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50286         LOAD_PIC_REG_STR.
50288 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50290         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50291         (SETUP_PIC_REG): Use GET_PC_THUNK.
50292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50293         macro.
50295 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50297         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50298         for non-PIC compilation.
50299         (SETUP_PIC_REG): Add .p2align directive.
50300         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50301         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50302         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50303         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50304         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50305         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50306         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50307         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50308         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50309         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50310         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50311         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50312         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50313         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50314         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50315         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50316         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50317         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50318         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50319         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50320         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50321         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50322         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50323         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50324         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50325         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50326         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50327         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50328         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50329         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50330         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50331         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50332         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50333         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50334         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50335         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50336         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50337         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50338         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50339         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50340         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50342 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50344         * math/tst-CMPLX.c: Include <stdio.h>.
50346 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50348         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50349         float.
50350         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50351         * sysdeps/sparc/bits/mathdef.h: Likewise.
50353 2012-01-31  Marek Polacek  <polacek@redhat.com>
50355         * libio/libio.h: Don't define _PARAMS.
50356         * locale/programs/config.h: Don't define PARAMS.
50357         * stdlib/strtol_l.c: Likewise.
50358         (__strtol_l): Remove PARAMS from the prototype.
50360 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50362         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50363         names.  Just use the correct names.  Remove unnecessary wrapper
50364         functions.
50365         * malloc/arena.c: Likewise.
50366         * malloc/hooks.c: Likewise.
50368         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50369         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50370         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50372 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50374         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50375         into tail calls.
50376         (update_get_addr): New function.
50377         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50378         GET_ADDR_MODULE parameter.
50380 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50382         * crypt/cert.c: Remove __STDC__ conditionals.
50383         * crypt/crypt-entry.c: Likewise.
50384         * crypt/crypt_util.c: Likewise.
50385         * libio/filedoalloc.c: Likewise.
50386         * libio/fileops.c: Likewise.
50387         * libio/genops.c: Likewise.
50388         * libio/iofclose.c: Likewise.
50389         * libio/iofdopen.c: Likewise.
50390         * libio/iofopen.c: Likewise.
50391         * libio/iofopen64.c: Likewise.
50392         * libio/iogetdelim.c: Likewise.
50393         * libio/iopopen.c: Likewise.
50394         * libio/obprintf.c: Likewise.
50395         * libio/oldfileops.c: Likewise.
50396         * libio/oldiofclose.c: Likewise.
50397         * libio/oldiofdopen.c: Likewise.
50398         * libio/oldiofopen.c: Likewise.
50399         * libio/oldiopopen.c: Likewise.
50400         * libio/wfiledoalloc.c: Likewise.
50401         * libio/wgenops.c: Likewise.
50402         * locale/programs/xmalloc.c: Likewise.
50403         * misc/syslog.c: Likewise.
50404         * stdio-common/xbug.c: Likewise.
50405         * string/memchr.c: Likewise.
50406         * string/memcmp.c: Likewise.
50407         * string/memrchr.c: Likewise.
50408         * string/rawmemchr.c: Likewise.
50409         * sysdeps/posix/getcwd.c: Likewise.
50410         * time/strftime_l.c: Likewise.
50412 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50414         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50415         * config.make.in (config-cflags-sse2avx): Define.
50416         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50417         Fix typo.
50419 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50421         * scripts/config.guess: Update from upstream config git repository.
50422         * scripts/config.sub: Likewise.
50424 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50426         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50427         (EM_NUM): Update.
50428         (R_TILEPRO_*, R_TILEGX_*): New macros.
50430         * scripts/firstversions.awk: Fix bug in version range handling.
50432         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50434         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50436         * include/sys/epoll.h: New file.
50437         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50438         libc_hidden_def.
50440 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50442         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50443         Avoid unnecessary __WORDSIZE == 64 test.
50444         (fmaxf): Use VEX format if possible.
50445         (fmax): Likewise.
50446         (fminf): Likewise.
50447         (fmin): Likewise.
50449         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50450         * math/math_private.h: Remove libc_fegetround* and
50451         libc_fesetround*.
50452         * sysdeps/i386/configure.in: Check for -msse2avx.
50453         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50454         also if SSE2AVX is defined.
50455         Remove libc_fegetround* and libc_fesetround*.
50456         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50457         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50458         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50459         of HAS_YMM_USABLE.
50460         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50461         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50462         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50463         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50464         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50466         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50468 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50470         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50471         size is not set.
50472         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50474 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50476         [BZ #13618]
50477         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50478         relocation.
50479         * Makeconfig (libm): Define.
50480         * elf/Makefile: Add rules to build and run tst-relsort1.
50481         * elf/tst-relsort1.c: New file.
50482         * elf/tst-relsort1mod1.c: New file.
50483         * elf/tst-relsort1mod2.c: New file.
50485 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50487         * math/s_ldexp.c: Remove __STDC__ conditionals.
50488         * math/s_ldexpf.c: Likewise.
50489         * math/s_ldexpl.c: Likewise.
50490         * math/s_nextafter.c: Likewise.
50491         * math/s_nexttowardf.c: Likewise.
50492         * math/s_significand.c: Likewise.
50493         * math/s_significandf.c: Likewise.
50494         * math/s_significandl.c: Likewise.
50495         * math/w_jnl.c: Likewise.
50496         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50497         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50498         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50499         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50500         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50501         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50502         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50503         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50504         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50505         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50506         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50507         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50508         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50509         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50510         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50511         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50512         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50513         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50514         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50515         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50516         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50517         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50518         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50519         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50520         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50521         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50522         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50523         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50524         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50525         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50526         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50527         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50528         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50529         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50530         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50531         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50532         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50533         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50534         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50535         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50536         * sysdeps/ieee754/k_standard.c: Likewise.
50537         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50538         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50539         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50540         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50541         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50542         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50543         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50544         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50545         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50546         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50547         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50548         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50549         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50550         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50551         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50552         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50553         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50554         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50555         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50556         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50557         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50558         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50559         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50560         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50561         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50562         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50563         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50564         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50565         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50566         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50567         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50568         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50569         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50570         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50571         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50572         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50573         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50574         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50575         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50576         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50577         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50578         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50579         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50580         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50581         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50582         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50583         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50585         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50586         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50587         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50588         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50589         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50590         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50591         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50592         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50593         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50594         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50595         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50596         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50597         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50598         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50599         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50600         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50601         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50602         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50603         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50604         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50605         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50606         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50607         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50608         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50609         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50610         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50611         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50612         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50613         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50614         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50615         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50616         * sysdeps/ieee754/s_matherr.c: Likewise.
50617         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50618         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50619         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50620         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50622 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50624         * crypt/md5.h: Remove __STDC__ conditionals.
50625         * libio/libioP.h: Likewise.
50626         * locale/programs/config.h: Likewise.
50627         * sysdeps/generic/sysdep.h: Likewise.
50628         * sysdeps/i386/asm-syntax.h: Likewise.
50629         * sysdeps/s390/asm-syntax.h: Likewise.
50630         * sysdeps/unix/sysdep.h: Likewise.
50631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50634 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50636         * libio/libio.h: Remove __STDC__ conditionals.
50637         * malloc/obstack.h: Likewise.
50638         * math/complex.h: Likewise.
50639         * math/math.h: Likewise.
50640         * sysdeps/generic/_G_config.h: Likewise.
50641         * sysdeps/gnu/_G_config.h: Likewise.
50642         * sysdeps/mach/hurd/_G_config.h: Likewise.
50643         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50644         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50645         * sysdeps/sparc/bits/mathdef.h: Likewise.
50647 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50649         [BZ #13583]
50650         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50651         Clean up HAS_* macros.
50652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50653         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50654         possible.
50655         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50656         HAS_AVX.
50657         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50658         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50659         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50660         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50661         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50663 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50665         * elf/tst-unique3.cc (gets): Remove declaration.
50666         * elf/tst-unique3lib.cc (gets): Likewise.
50667         * elf/tst-unique3lib2.cc (gets): Likewise.
50668         * elf/tst-unique4.cc (gets): Likewise.
50670 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50672         * include/stdio.h: Add C++ protection.  Add gets declarations and
50673         definitions.
50674         * debug/tst-chk1.c: Don't declare gets here.
50675         * stdio-common/tst-gets.c: Likewise.
50677 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50679         * posix/glob: Remove directory.
50681 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50683         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50685 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50687         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50688         of the non-standard EPFNOSUPPORT.
50690 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50692         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50693         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50694         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50696 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50698         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50700 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50702         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50703         transient errors.
50704         * nscd/grpcache.c (cache_addgr): Likewise.
50705         * nscd/hstcache.c (cache_addhst): Likewise.
50706         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50707         * nscd/pwdcache.c (cache_addpw): Likewise.
50708         * nscd/servicescache.c (cache_addserv): Likewise.
50710 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50712         * malloc/malloc.c: Various cleanups.
50713         * malloc/hooks.c: Likewise.
50715         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50716         * stdlib/bug-fmtmsg1.c: New file.
50718         * stdlib/fmtmsg.c (init): Add missing unlock.
50719         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50721 2012-01-12  Marek Polacek  <polacek@redhat.com>
50723         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50724         and _GNU_SOURCE.
50726 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50728         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50729         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50730         macro to ensure uniqueness of label name.
50731         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50732         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50734 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50736         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50738         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50739         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50740         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50741         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50743 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50745         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50747         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50748         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50749         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50751         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50753         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50754         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50755         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50756         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50758         * math/bits/math-finite.h: Add ldexp support.
50760 2012-01-10  Marek Polacek  <polacek@redhat.com>
50762         * locale/programs/localedef.h (show_archive_content): Add noreturn
50763         attribute.
50765 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50767         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50769 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50771         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50773         * io/Makefile (headers): Add bits/poll2.h.
50775 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50778         typo #include statement.
50780 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50782         * include/sys/cdefs.h: Define __attribute_alloc_size.
50783         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50784         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50785         * elf/pldd.c: Likewise.
50786         * iconv/iconv_charmap.c: Likewise.
50787         * iconv/iconvconfig.c: Likewise.
50788         * iconv/strtab.c: Likewise.
50789         * locale/programs/locale.c: Likewise.
50790         * locale/programs/localedef.h: Likewise.
50791         * locale/programs/simple-hash.c: Likewise.
50792         * nscd/nscd.h: Likewise.
50793         * nss/makedb.c: Likewise.
50794         * sysdeps/generic/ldconfig.h: Likewise.
50795         * locale/programs/localedef.c: Remove xmalloc prototype.
50796         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50798 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50800         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50801         appropriate.
50803 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50805         * math/Makefile (tests): Add tst-CMPLX.
50806         * math/tst-CMPLX.c: New file.
50808         * math/complex.h (CMPLXL): Fix typo.
50810         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50811         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50812         GLIBC_2.16.
50813         * debug/tst-chk1.c: Add poll and ppoll tests.
50814         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50815         * include/sys/poll.h: Add hidden proto for ppoll.
50816         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50817         * sysdeps/mach/hurd/ppoll.c: Likewise.
50818         * io/ppoll.c: Likewise.
50819         * debug/poll_chk.c: New file.
50820         * debug/ppoll_chk.c: New file.
50821         * include/bits/poll2.h: New file.
50822         * io/bits/poll2.h: New file.
50824         [BZ #1350]
50825         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50827         * configure.in: static is always set to yes.  Remove.
50828         * config.make.in: Don't set build-static.
50829         * Makeconfig: Remove use of build-static.
50830         * dlfcn/Makefile: Likewise.
50831         * elf/Makefile: Likewise.
50832         * math/Makefile: Likewise.
50833         * misc/Makefile: Likewise.
50834         * nptl/Makefile: Likewise.
50835         * sysdeps/mach/hurd/Makefile: Likewise.
50837         * configure.in: PWD_P is not used anymore.
50838         * config.make.in: Remove PWD_P entry.
50840         * configure.in: Remove last remnants of RANLIB.
50841         No need to check for signed size_t anymore.
50842         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50843         and IA-64.
50844         Remove __builtin_expect test because we require at least gcc 3.4.
50845         * aclocal.m4: Likewise.
50847         * wcsmbs/mbrtoc16.c: Implement using towc function.
50848         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50849         * wcsmbs/wcsmbsload.c: Likewise.
50850         * iconv/gconv_simple.c: Likewise.
50851         * iconv/gconv_int.h: Likewise.
50852         * iconv/gconv_builtin.h: Likewise.
50853         * iconv/iconv_prog.c: Remove CHAR16 handling.
50855         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50857         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50859         * configure.in: Remove --with-elf and --enable-bounded options.
50860         Dont set base_machine for ia64.  More non-ELF conditions removed.
50861         Remove testing and setting of leading underscore information.
50862         * config.make.in (build-bounded): Set to no.
50863         * config.h.in: Remove NO_UNDERSCORES entry.
50864         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50865         them.
50866         * csu/start.c: Remove !NO_UNDERSCORE code.
50867         * locale/localeinfo.h: Likewise.
50868         * sysdeps/generic/machine-gmon.h: Likewise.
50869         * sysdeps/generic/sysdep.h: Likewise.
50870         * sysdeps/i386/sysdep.h: Likewise.
50871         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50872         * sysdeps/mach/sysdep.h: Likewise.
50873         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50874         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50875         * sysdeps/sh/sysdep.h: Likewise.
50876         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50877         * sysdeps/unix/i386/sysdep.S: Likewise.
50878         * sysdeps/unix/sparc/start.c: Likewise.
50879         * sysdeps/unix/sparc/sysdep.S: Likewise.
50880         * sysdeps/unix/sparc/sysdep.h: Likewise.
50881         * sysdeps/unix/start.c: Likewise.
50882         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50883         * sysdeps/x86_64/sysdep.h: Likewise.
50885 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50887         [BZ #13553]
50888         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50889         for non-gcc.
50890         * argp/argp-fmtstream.h: Use const instead __const.
50891         * argp/argp.h: Likewise.
50892         * assert/assert.h: Likewise.
50893         * bits/fenv.h: Likewise.
50894         * bits/sched.h: Likewise.
50895         * bits/sigset.h: Likewise.
50896         * bits/sigthread.h: Likewise.
50897         * catgets/nl_types.h: Likewise.
50898         * conform/data/pthread.h-data: Likewise.
50899         * crypt/crypt-private.h: Likewise.
50900         * crypt/crypt.h: Likewise.
50901         * crypt/crypt_util.c: Likewise.
50902         * ctype/ctype.h: Likewise.
50903         * debug/execinfo.h: Likewise.
50904         * debug/mbsnrtowcs_chk.c: Likewise.
50905         * debug/mbsrtowcs_chk.c: Likewise.
50906         * debug/wcsnrtombs_chk.c: Likewise.
50907         * debug/wcsrtombs_chk.c: Likewise.
50908         * debug/wcstombs_chk.c: Likewise.
50909         * dirent/dirent.h: Likewise.
50910         * dlfcn/dlfcn.h: Likewise.
50911         * elf/neededtest4.c: Likewise.
50912         * grp/grp.h: Likewise.
50913         * gshadow/gshadow.h: Likewise.
50914         * iconv/gconv.h: Likewise.
50915         * iconv/gconv_int.h: Likewise.
50916         * iconv/gconv_simple.c: Likewise.
50917         * iconv/iconv.h: Likewise.
50918         * iconv/loop.c: Likewise.
50919         * iconv/skeleton.c: Likewise.
50920         * include/aio.h: Likewise.
50921         * include/aliases.h: Likewise.
50922         * include/argz.h: Likewise.
50923         * include/arpa/inet.h: Likewise.
50924         * include/assert.h: Likewise.
50925         * include/dirent.h: Likewise.
50926         * include/dlfcn.h: Likewise.
50927         * include/execinfo.h: Likewise.
50928         * include/fcntl.h: Likewise.
50929         * include/fenv.h: Likewise.
50930         * include/glob.h: Likewise.
50931         * include/grp.h: Likewise.
50932         * include/libintl.h: Likewise.
50933         * include/mntent.h: Likewise.
50934         * include/netdb.h: Likewise.
50935         * include/pwd.h: Likewise.
50936         * include/rpc/netdb.h: Likewise.
50937         * include/sched.h: Likewise.
50938         * include/search.h: Likewise.
50939         * include/shadow.h: Likewise.
50940         * include/signal.h: Likewise.
50941         * include/stdio.h: Likewise.
50942         * include/stdlib.h: Likewise.
50943         * include/string.h: Likewise.
50944         * include/sys/socket.h: Likewise.
50945         * include/sys/stat.h: Likewise.
50946         * include/sys/statfs.h: Likewise.
50947         * include/sys/statvfs.h: Likewise.
50948         * include/sys/syslog.h: Likewise.
50949         * include/sys/time.h: Likewise.
50950         * include/sys/uio.h: Likewise.
50951         * include/time.h: Likewise.
50952         * include/unistd.h: Likewise.
50953         * include/utmp.h: Likewise.
50954         * include/wchar.h: Likewise.
50955         * include/wctype.h: Likewise.
50956         * inet/aliases.h: Likewise.
50957         * inet/arpa/inet.h: Likewise.
50958         * inet/netinet/ether.h: Likewise.
50959         * inet/netinet/in.h: Likewise.
50960         * intl/libintl.h: Likewise.
50961         * io/bits/fcntl2.h: Likewise.
50962         * io/fcntl.h: Likewise.
50963         * io/ftw.h: Likewise.
50964         * io/sys/poll.h: Likewise.
50965         * io/sys/stat.h: Likewise.
50966         * io/sys/statfs.h: Likewise.
50967         * io/sys/statvfs.h: Likewise.
50968         * io/utime.h: Likewise.
50969         * libio/bits/stdio.h: Likewise.
50970         * libio/bits/stdio2.h: Likewise.
50971         * libio/libio.h: Likewise.
50972         * libio/libioP.h: Likewise.
50973         * libio/stdio.h: Likewise.
50974         * locale/lc-ctype.c: Likewise.
50975         * locale/locale.h: Likewise.
50976         * login/utmp.h: Likewise.
50977         * malloc/arena.c: Likewise.
50978         * malloc/malloc.c: Likewise.
50979         * malloc/malloc.h: Likewise.
50980         * malloc/mcheck.c: Likewise.
50981         * malloc/mtrace.c: Likewise.
50982         * math/bits/mathcalls.h: Likewise.
50983         * math/fenv.h: Likewise.
50984         * math/math_private.h: Likewise.
50985         * misc/bits/error.h: Likewise.
50986         * misc/bits/syslog.h: Likewise.
50987         * misc/err.h: Likewise.
50988         * misc/error.h: Likewise.
50989         * misc/fstab.h: Likewise.
50990         * misc/mntent.h: Likewise.
50991         * misc/regexp.h: Likewise.
50992         * misc/search.h: Likewise.
50993         * misc/sgtty.h: Likewise.
50994         * misc/sys/mman.h: Likewise.
50995         * misc/sys/syslog.h: Likewise.
50996         * misc/sys/uio.h: Likewise.
50997         * misc/sys/xattr.h: Likewise.
50998         * misc/ttyent.h: Likewise.
50999         * nis/rpcsvc/ypclnt.h: Likewise.
51000         * nss/nss.h: Likewise.
51001         * posix/bits/unistd.h: Likewise.
51002         * posix/fnmatch.h: Likewise.
51003         * posix/glob.h: Likewise.
51004         * posix/sched.h: Likewise.
51005         * posix/spawn.h: Likewise.
51006         * posix/sys/wait.h: Likewise.
51007         * posix/unistd.h: Likewise.
51008         * posix/wordexp.h: Likewise.
51009         * pwd/pwd.h: Likewise.
51010         * resolv/netdb.h: Likewise.
51011         * resource/sys/resource.h: Likewise.
51012         * rt/aio.h: Likewise.
51013         * rt/bits/mqueue2.h: Likewise.
51014         * rt/mqueue.h: Likewise.
51015         * shadow/shadow.h: Likewise.
51016         * signal/signal.h: Likewise.
51017         * socket/send.c: Likewise.
51018         * socket/sendto.c: Likewise.
51019         * socket/sys/socket.h: Likewise.
51020         * stdio-common/printf.h: Likewise.
51021         * stdlib/bits/stdlib.h: Likewise.
51022         * stdlib/fmtmsg.h: Likewise.
51023         * stdlib/monetary.h: Likewise.
51024         * stdlib/stdlib.h: Likewise.
51025         * stdlib/ucontext.h: Likewise.
51026         * streams/stropts.h: Likewise.
51027         * string/argz.h: Likewise.
51028         * string/bits/string2.h: Likewise.
51029         * string/string.h: Likewise.
51030         * string/strings.h: Likewise.
51031         * sunrpc/rpc/auth.h: Likewise.
51032         * sunrpc/rpc/auth_des.h: Likewise.
51033         * sunrpc/rpc/clnt.h: Likewise.
51034         * sunrpc/rpc/netdb.h: Likewise.
51035         * sunrpc/rpc/pmap_clnt.h: Likewise.
51036         * sunrpc/rpc/xdr.h: Likewise.
51037         * sysdeps/generic/inttypes.h: Likewise.
51038         * sysdeps/generic/net/if.h: Likewise.
51039         * sysdeps/generic/sys/swap.h: Likewise.
51040         * sysdeps/gnu/net/if.h: Likewise.
51041         * sysdeps/gnu/utmpx.h: Likewise.
51042         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51043         * sysdeps/i386/i486/bits/string.h: Likewise.
51044         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51045         * sysdeps/s390/bits/string.h: Likewise.
51046         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51047         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51048         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51049         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51050         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51051         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51052         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51053         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51054         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51055         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51056         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51057         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51058         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51059         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51060         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51061         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51062         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51064         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51065         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51066         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51067         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51068         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51069         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51070         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51071         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51072         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51073         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51074         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51075         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51076         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51077         * sysvipc/sys/ipc.h: Likewise.
51078         * sysvipc/sys/msg.h: Likewise.
51079         * sysvipc/sys/sem.h: Likewise.
51080         * sysvipc/sys/shm.h: Likewise.
51081         * termios/termios.h: Likewise.
51082         * time/sys/time.h: Likewise.
51083         * time/time.h: Likewise.
51084         * wcsmbs/bits/wchar2.h: Likewise.
51085         * wcsmbs/uchar.h: Likewise.
51086         * wcsmbs/wchar.h: Likewise.
51087         * wctype/wctype.h: Likewise.
51089         [BZ #13551]
51090         * Makeconfig: Remove all but ELF support including AIX support.
51091         * Makerules: Likewise.
51092         * config.h.in: Likewise.
51093         * config.make.in: Likewise.
51094         * configure: Likewise.
51095         * configure.in: Likewise.
51096         * csu/Makefile: Likewise.
51097         * csu/version.c: Likewise.
51098         * debug/Makefile: Likewise.
51099         * dlfcn/Makefile: Likewise.
51100         * elf/Makefile: Likewise.
51101         * extra-lib.mk: Likewise.
51102         * iconv/Makefile: Likewise.
51103         * include/libc-symbols.h: Likewise.
51104         * include/shlib-compat.h: Likewise.
51105         * resolv/Makefile: Likewise.
51106         * resolv/res_libc.c: Likewise.
51107         * rt/Makefile: Likewise.
51108         * sysdeps/i386/asm-syntax.h: Likewise.
51109         * sysdeps/i386/sysdep.h: Likewise.
51110         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51111         * sysdeps/mach/sysdep.h: Likewise.
51112         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51113         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51114         * sysdeps/s390/asm-syntax.h: Likewise.
51115         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51116         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51117         * sysdeps/sh/sysdep.h: Likewise.
51118         * sysdeps/unix/sparc/sysdep.h: Likewise.
51119         * sysdeps/wordsize-32/divdi3.c: Likewise.
51120         * sysdeps/x86_64/sysdep.h: Likewise.
51122         * argp/Versions: Remove _argp_unlock_xxx.
51124         [BZ #13559]
51125         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51126         * abilist/libBrokenLocale.abilist: Likewise.
51127         * abilist/libanl.abilist: Likewise.
51128         * abilist/libc.abilist: Likewise.
51129         * abilist/libcrypt.abilist: Likewise.
51130         * abilist/libdl.abilist: Likewise.
51131         * abilist/libm.abilist: Likewise.
51132         * abilist/libnsl.abilist: Likewise.
51133         * abilist/libpthread.abilist: Likewise.
51134         * abilist/libresolv.abilist: Likewise.
51135         * abilist/librt.abilist: Likewise.
51136         * abilist/libthread_db.abilist: Likewise.
51137         * abilist/libutil.abilist: Likewise.
51138         * abilist/libnss_db.abilist: New file.
51140         * scripts/abilist.awk: Add support for indirect functions.
51142         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51144         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51146         * shlib-versions: Remove entries for ports architectures.
51148         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51149         files in ports.
51150         * elf/stackguard-macros.h: Remove support for IA-64.
51151         * elf/tst-auditmod1.c: Likewise.
51152         * sysdeps/generic/ldsodefs.h: Likewise.
51154         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51155         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51156         configure files.
51158         [BZ #13552]
51159         * configure.in: Remove --enable-omitfp support.
51160         * FAQ.in: Adjust.
51161         * config.make.in: Likewise.
51162         * Makeconfig: Likewise.
51163         * manual/install.texi: Likewise.
51165         In case anyone cares, the IA-64 architecture could move to ports.
51166         * sysdeps/ia64/*: Removed.
51167         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51168         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51170         [BZ #13555]
51171         * configure.in: Remove entries for unsupported architectures.
51173         [BZ #13533]
51174         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51175         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51176         routines.
51177         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51178         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51179         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51180         fall back to using wcrtomb.
51181         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51182         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51183         renaming.
51184         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51185         * wcsmbs/tst-c16c32-1.c: New file.
51187         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51188         local variable.
51190         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51192         * elf/tst-unique3.cc: Add explicit declaration of gets.
51193         * elf/tst-unique3lib.cc: Likewise.
51194         * elf/tst-unique3lib2.cc: Likewise.
51195         * elf/tst-unique4.cc: Likewise.
51197         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51199 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51201         [BZ #13566]
51202         * assert/assert.h (static_assert): Don't define for C++.
51203         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51204         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51206 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51208         * iconv/loop.c (single loop): Fix assertion in storing of
51209         remaining bytes.
51211         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51213 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51215         * posix/getconf.c: Update copyright year.
51216         * nss/getent.c: Likewise.
51217         * nss/makedb.c: Likewise.
51218         * iconv/iconvconfig.c: Likewise.
51219         * iconv/iconv_prog.c: Likewise.
51220         * elf/ldconfig.c: Likewise.
51221         * elf/pldd.c: Likewise.
51222         * elf/sotruss.ksh: Likewise.
51223         * catgets/gencat.c: Likewise.
51224         * csu/version.c: Likewise.
51225         * elf/ldd.bash.in: Likewise.
51226         * elf/sprof.c (print_version): Likewise.
51227         * locale/programs/locale.c: Likewise.
51228         * locale/programs/localedef.c: Likewise.
51229         * login/programs/pt_chown.c: Likewise.
51230         * nscd/nscd.c (print_version): Likewise.
51231         * debug/xtrace.sh: Likewise.
51232         * malloc/memusage.sh: Likewise.
51233         * malloc/mtrace.pl: Likewise.
51234         * debug/catchsegv.sh: Likewise.
51236 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51238         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51239         pure attribute.
51241 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51243         [BZ #13533]
51244         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51245         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51246         transformations.
51247         * iconv/gconv_int.h: Likewise.
51248         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51249         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51250         from libc for GLIBC_2.16.
51251         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51252         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51253         * wcsmbs/uchar.h: Really define mbstate_t.
51254         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51255         * wcsmbs/c16rtomb.c: New file.
51256         * wcsmbs/mbrtoc16.c: New file.
51257         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51258         for C/POSIX locale.
51259         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51260         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51262         * wcsmbs/wchar.h: Add missing __restrict.
51264 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51266         [BZ #13532]
51267         * time/Makefile (routines): Add timespec_get.
51268         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51269         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51270         timespec for ISO C11.
51271         * time/timespec_get.c: New file.
51272         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51273         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51275         [BZ #13531]
51276         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51277         * stdlib/stdlib.h: Declare aligned_alloc.
51278         * Versions.def: Add GLIBC_2.16 for libc.
51279         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51281         [BZ 13527]
51282         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51283         ISO C11.
51285         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51286         code.
51288         [BZ #13528]
51289         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51291         [BZ #13529]
51292         * assert/assert.h (static_assert): Define.
51294         * version.h: Update for 2.16 development version.
51296         [BZ #13526]
51297         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51298         _ISOC11_SOURCE.
51300         * version.h (RELEASE): Bump for 2.15 release.
51301         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51303         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51304         Patch by Marek Polacek <mpolacek@redhat.com>.
51306         * bits/byteswap.h: Protect long long constants with __extension__.
51307         * sysdeps/i386/bits/byteswap.h: Likewise.
51308         * sysdeps/ia64/bits/byteswap.h: Likewise.
51309         * sysdeps/s390/bits/byteswap.h: Likewise.
51310         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51312 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51314         [BZ #13540]
51315         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51316         destination buffer.
51317         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51319 2011-12-23  Marek Polacek  <polacek@redhat.com>
51321         * elf/dl-addr.c (determine_info): Add inline keyword.
51322         * elf/tst-auditmod4b.c (check_avx): Likewise.
51323         * elf/tst-auditmod6b.c (check_avx): Likewise.
51324         * elf/tst-auditmod6c.c (check_avx): Likewise.
51325         * elf/tst-auditmod7b.c (check_avx): Likewise.
51327 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51329         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51330         !__SSE_MATH__.
51332 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51334         [BZ #13540]
51335         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51336         processing for last bytes.
51338 2011-08-06  Bruno Haible  <bruno@clisp.org>
51340         [BZ #13061]
51341         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51342         U+0385, not to U+1FEE.
51344         [BZ #13062]
51345         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51346         entry for U+00A5 U+0301.
51348 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51350         [BZ #13166]
51351         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51352         buffer for the output is too small.
51354         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51355         optimization.
51357         [BZ #13185]
51358         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51359         SSE flags if possible.
51361 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51363         [BZ #13540]
51364         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51365         processing for last bytes.
51367 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51369         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51370         (syscall-list-default-options, syscall-list-default-condition)
51371         (syscall-list-includes): Define.
51372         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51373         list of ABIs and options and #if conditions for each ABI.  Do not
51374         handle common syscalls between ABIs specially.
51375         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51376         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/s390/Makefile (64bit-predefine): Remove.
51381         (syscall-list-variants, syscall-list-32bit-options)
51382         (syscall-list-32bit-condition, syscall-list-64bit-options)
51383         (syscall-list-64bit-condition): Define.
51384         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51385         Remove.
51386         (syscall-list-variants, syscall-list-32bit-options)
51387         (syscall-list-32bit-condition, syscall-list-64bit-options)
51388         (syscall-list-64bit-condition): Define.
51389         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51390         Remove.
51391         (syscall-list-variants, syscall-list-32bit-options)
51392         (syscall-list-32bit-condition, syscall-list-64bit-options)
51393         (syscall-list-64bit-condition): Define.
51395 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51397         * locale/iso-639.def: Add brx entry.
51399         [BZ #13328]
51400         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51401         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51403         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51404         __feraiseexcept_renamed.
51406 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51408         [BZ #13538]
51409         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51410         EPOLLET with unsigned values.
51411         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51412         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51414         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51415         to large cancellation.
51416         * math/s_cacoshf.c: Likewise.
51417         * math/s_cacoshl.c: Likewise.
51419 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51421         [BZ #13305]
51422         [BZ #12786]
51423         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51424         * math/s_cacoshf.c: Likewise.
51425         * math/s_cacoshl.c: Likewise.
51427 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51429         [BZ #13439]
51430         * iconv/gconv.h: Define __GCONV_SWAP.
51431         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51432         * iconvdata/utf-16.c: Likewise.
51433         * iconvdata/utf-32.c: Likewise.
51435 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51437         [BZ #13524]
51438         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51439         numerator after shifting it by one limb.
51441 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51443         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51444         under [__USE_EXTERN_INLINES].
51446 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51448         [BZ #13446]
51449         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51451 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51453         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51454         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51455         optimized code.
51456         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51457         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51458         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51459         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51460         for strncasecmp/strncasecmp_l compilation.
51461         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51462         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51464 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51466         [BZ #13484]
51467         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51468         of __asm__.
51470 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51472         [BZ #13506]
51473         * time/tzfile.c (__tzfile_read): Check values from file header.
51475 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51477         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51478         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51479         * powerpc/powerpc32/dl-start.S: Likewise.
51480         * powerpc/powerpc32/elf/start.S: Likewise.
51481         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51482         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51483         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51484         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51485         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51486         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51487         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51488         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51489         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51490         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51491         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51492         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51493         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51494         * powerpc/powerpc32/memset.S: Likewise.
51495         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51496         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51497         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51498         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51499         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51500         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51501         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51502         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51503         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51504         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51505         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51506         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51507         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51509 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51511         * math/libm-test.inc: Added more nearbyint tests.
51512         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51513         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51515         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51517 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51519         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51520         FD_CLOEXEC.
51522 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51524         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51525         Add wcscpy-ssse3 wcscpy-c.
51526         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51527         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51528         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51529         * sysdeps/x86_64/wcschr.S: New file.
51530         * sysdeps/x86_64/wcsrchr.S: New file.
51531         * string/test-strcmp.c: Remove checking of wcscmp function for
51532         wrong alignments.
51533         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51534         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51535         wcsrchr-sse2 wcsrchr-c.
51536         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51537         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51538         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51539         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51540         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51541         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51542         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51543         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51544         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51545         * wcsmbc/wcschr.c (WCSCHR): New macro.
51547 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51549         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51550         * wcsmbs/test-wcsrchr.c: New file.
51551         * string/test-strrchr.c: Add wcsrchr support.
51552         (WIDE): New macro.
51553         * wcsmbs/test-wcscpy.c: New file.
51554         * string/test-strcpy.c: Add wcscpy support.
51555         (WIDE): New macro.
51557 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51559         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51560         the inner loop.
51562 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51564         [BZ #13472]
51565         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51567 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51569         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51570         Minor optimizations.
51572         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51573         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51574         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51576 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51578         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51579         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51580         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51581         for gcc to avoid warnings.
51582         * inet/Makefile (tests): Add tst-checks.
51583         * inet/tst-checks.c: New file.
51585         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51586         warning.
51588         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51589         __wmemcmp_sse2.
51591         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51592         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51594         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51596 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51598         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51599         problem.
51601         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51603 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51605         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51606         conditional on GCC version.
51607         (__arch_compare_and_exchange_val_8_acq)
51608         (__arch_compare_and_exchange_val_16_acq)
51609         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51610         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51611         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51613 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51615         * sysdeps/sh/backtrace.c: New file.
51617 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51619         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51620         parenthesis.
51622 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51624         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51625         falling back to utime.
51627 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51629         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51630         expectations for float.
51632 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51634         * locale/weight.h (findidx): Add parameter len.
51635         * locale/weightwc.h (findidx): Likewise.
51636         * posix/fnmatch_loop.c (FCT): Adjust caller.
51637         * posix/regcomp.c (build_equiv_class): Likewise.
51638         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51639         * posix/regexec.c (check_node_accept_bytes): Likewise.
51640         * string/strcoll_l.c (STRCOLL): Likewise.
51641         * string/strxfrm_l.c (STRXFRM): Likewise.
51643 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51645         * Makefile.in: Remove CVSOPT handling.
51646         * configure.in: Remove use of AC_REVISION.
51647         * iconvdata/Makefile (distribute): No need to filter out CVS.
51648         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51649         handling.
51651 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51653         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51654         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51655         [USE_AS_STRNCASECMP_L]: Likewise.
51656         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51657         NO_TLS_DIRECT_SEG_REFS.
51658         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51659         Fix argument offsets for non-PIC.
51660         [USE_AS_STRNCASECMP_L]: Likewise.
51661         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51662         NO_TLS_DIRECT_SEG_REFS.
51664 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51666         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51667         O_CLOEXEC.
51668         * locale/loadlocale.c (_nl_load_locale): Likewise.
51670 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51672         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51673         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51674         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51675         (SYSCALL_GETTIME): Set errno on error.
51677         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51678         count references to noai6ai_cached.
51680 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51682         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51684         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51685         FD_CLOEXEC for /proc/self/maps.
51687         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51688         FD_CLOEXEC for /proc/meminfo.
51690         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51691         gai.conf.
51693         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51694         FD_CLOEXEC for given file.
51696         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51698         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51699         FD_CLOEXEC for /etc/hosts.
51700         (_gethtent): Likewise.
51702         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51704         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51705         cancellation and set FD_CLOEXEC for /etc/netgroup.
51707         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51708         reading /etc/publickey.
51710         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51711         allow cancellation when reading /etc/group.
51713         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51714         cancellation.
51715         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51717         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51718         when using data file.
51720         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51722         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51723         (write_nis_obj): Use "c" and "e" in fopen.
51725         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51727         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51729         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51731         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51733         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51734         locale.alias.
51736         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51738         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51740         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51742         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51743         file parsing and set FD_CLOEXEC.
51745 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51747         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51749 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51751         * malloc/arena.c (arena_get2): Don't call reused_arena when
51752         _int_new_arena failed.
51754 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51756         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51757         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51759         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51760         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51761         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51762         to compile strcasecmp and strncasecmp.
51763         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51764         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51768 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51770         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51771         locale-defines.sym to gen-as-const-headers.
51772         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51773         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51774         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51775         to compile strcasecmp and strncasecmp.
51776         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51777         strcasecmp_l and strncasecmp_l.
51778         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51779         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51780         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51781         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51782         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51783         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51784         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51785         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51786         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51787         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51788         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51790 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51792         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51793         result of SYSDEP_GETTIME_CPU to retval.
51794         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51795         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51797         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51798         variable.
51800         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51801         mantissa words.
51802         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51804         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51805         from unused variable.
51807         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51808         DWARF definitions.
51809         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51810         for assembling.
51812         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51813         over namespaces.
51815         * sunrpc/rpc_prot.c (rejected): Fix case value.
51817         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51818         unsigned long long int to avoid warnings in shift.
51820         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51821         of use of trans.
51822         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51823         variable tmp.
51825         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51826         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51827         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51829         * nis/nis_table.c (nis_list): Use variable of correct type for
51830         result of __follow_path call.
51832 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51834         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51835         of math functions ceil, trunc, floor, round, and sqrt, when
51836         avaliable on the platform.
51837         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51838         name clash.
51839         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51840         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51841         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51843 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51845         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51846         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51848 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51850         * include/unistd.h: Fix __readlink return type.
51851         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51853 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51855         * stdlib/ucontext.h: Undo last change for makecontext.
51857 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51859         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51861         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51862         * setjmp/setjmp.h: Mark functions as non-leaf.
51863         * setjmp/bits/setjmp2.h: Likewise.
51864         * stdlib/ucontext.h: Likewise.
51866 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51868         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51869         (reused_arena): Don't check arena limit.
51870         (arena_get2): Atomically check arena limit.
51872 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51874         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51875         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51878         instructions.
51880 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51882         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51883         handler when locking.
51885         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51886         Fix size of allocated buffer.
51888 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51890         [BZ #10103]
51891         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51892         declarations for long double functions.
51893         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51895         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51897 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51899         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51900         installed.
51902         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51903         is disabled.
51905 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51907         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51909 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51911         * include/alloca.h (stackinfo_alloca_round): Define.
51912         (extend_alloca): Use it.
51913         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51914         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51915         here.
51917         * scripts/check-local-headers.sh: Ignore libaudit.h.
51919         * nscd/Makefile (extra-objs): Make recursively expanded.
51921 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51923         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51924         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51926         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51927         * posix/tst-rfc3484-2.c: Likewise.
51928         * posix/tst-rfc3484-3.c: Likewise.
51930         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51931         process_vm_writev.
51932         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51933         process_vm_writev.
51934         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51935         process_vm_writev from libc using GLIBC_2.15 version.
51937         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51939 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51941         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51942         stack usage.
51944 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51946         [BZ #13367]
51947         * nss/getent.c (initgroups_keys): Show error message in case no group
51948         names are given.
51950         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51951         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51952         __bump_nl_timestamp.
51953         * nscd/connections (nscd_init): When host database is served open
51954         netlink socket and request notification about configuration changes.
51955         (main_loop_poll): Track netlink file descriptor and bump timestamp
51956         in case data becomes available.
51957         (main_loop_epoll): Likewise.
51958         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51959         (database_pers_head): Add extra_data fileds.
51960         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51961         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51962         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51963         Adjust caller.
51964         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51965         in6ai data, call __free_in6ai.
51966         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51967         Add -DHAVE_NETLINK.
51968         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51969         interface information.  Reuse previous data if netlink timestamp
51970         is not changed.
51971         (__bump_nl_timestamp): New function.
51972         (__free_in6ai): New function.
51974 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51976         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51977         close_not_cancel_no_status here.
51978         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51980 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51982         [BZ #13276]
51983         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51984         return value.
51986         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51987         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51988         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51990 2011-07-03  Andreas Jaeger  <aj@suse.de>
51992         [BZ #10709]
51993         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51994         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51995         * math/libm-test.inc (sin_test): Add test case.
51997 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51999         [BZ #13337]
52000         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52001         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52003         * elf/chroot_canon.c (chroot_canon): Cleanups.
52005         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52007         [BZ #13335]
52008         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52009         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52011         * string/test-strchr.c: Make usable for strchrnul testing.
52012         * string/test-strchrnul.c: New file.
52013         * string/Makefile (strop-tests): Add strchrnul.
52015         * po/it.po: Update from translation team.
52016         * po/es.po: Likewise.
52018 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52020         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52021         the three constants needed as parameters.  Drop the others.
52022         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52023         __m128i_strloadu_tolower.
52024         Create and initialize variable zero and use it in all the places
52025         where _mm_setzero_si128 was used.
52027         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52028         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52029         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52030         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52031         anymore.
52032         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52033         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52034         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52035         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52036         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52037         __mpranred, __mptan.
52038         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52039         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52040         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52041         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52042         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52043         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52044         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52045         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52046         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52048 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52050         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52051         redefine if SHARED.
52052         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52055         wide char related routines to wcsmbs subdir.
52057 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52059         [BZ #13344]
52060         * misc/sys/cdefs.h (__THROWNL): Define.
52061         * posix/unistd.h: Use __THREADNL instead of __THREAD
52062         for memory synchronization functions.
52064 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52066         [BZ #13349]
52067         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52068         doesn't exist.
52069         * manual/stdio.texi (Obstack Streams): Node removed.
52071 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52073         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52074         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52075         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52077         * math/math_private.h (math_force_eval): Allow non-addressable
52078         arguments.
52079         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52081 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52083         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52084         file is not needed.
52086         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52087         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52088         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52089         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52090         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52091         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52092         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52093         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52094         Add AVX variants.
52095         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52096         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52097         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52098         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52099         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52100         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52101         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52102         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52103         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52104         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52105         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52106         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52107         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52108         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52109         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52110         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52111         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52112         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52113         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52115         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52116         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52118         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52119         place.  Use VEX encoding when compiling for AVX.
52121 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52123         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52124         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52126         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52128 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52130         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52131         useless if() expression.
52132         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52133         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52134         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52135         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52136         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52137         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52138         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52139         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52140         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52141         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52142         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52143         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52144         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52145         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52146         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52147         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52148         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52149         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52150         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52152         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52154 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52156         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52157         condition.
52158         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52160 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52162         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52163         .text section.  Avoid duplicate constants.
52164         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52166         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52167         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52168         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52169         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52170         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52171         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52172         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52173         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52174         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52175         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52176         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52177         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52178         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52179         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52180         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52181         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52182         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52183         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52184         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52185         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52186         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52187         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52188         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52189         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52190         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52191         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52192         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52193         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52194         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52195         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52196         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52197         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52198         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52199         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52200         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52201         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52202         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52203         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52204         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52205         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52206         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52207         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52208         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52210 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52212         * sysdeps/x86_64/dla.h: Move to ...
52213         * sysdeps/x86_64/fpu/dla.h: ...here.
52214         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52215         situations.  Use __builtin_fma only for gcc 4.6 and up.
52217         * config.make.in: Add have-mfma4 entry.
52218         * configure.in: Substitute libc_cv_cc_fma4.
52219         * math/Makefile (dbl-only-routines): Add sincostab.
52220         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52221         Use __sincostab not sincos.
52222         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52223         name is a macro.
52224         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52227         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52228         using __copysign.
52229         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52230         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52231         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52232         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52233         and __inv.
52234         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52235         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52236         __copysign.
52237         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52238         define aliases when function name is a macro.
52239         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52240         sysdeps/ieee754/dbl-64/sincos.tbl.
52241         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52242         fma4-enabled routines.
52243         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52244         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52245         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52246         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52247         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52248         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52249         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52250         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52251         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52252         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52253         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52254         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52255         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52256         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52257         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52258         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52259         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52260         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52261         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52262         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52263         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52264         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52265         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52266         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52267         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52268         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52269         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52270         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52271         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52272         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52274         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52275         rename.
52276         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52277         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52278         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52279         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52280         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52281         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52282         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52283         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52285 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52287         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52289 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52291         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52293         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52294         prediction.
52295         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52297         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52298         Remove unused variable magic_bits.
52299         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52301         * string/strnlen.c: Define and use STRNLEN macro.
52302         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52303         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52304         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52305         * wcsmbs/wcslen.c: Define and use WCSLEN.
52306         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52307         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52308         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52309         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52310         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52311         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52312         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52314 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52317         strnlen-sse2-no-bsf.
52318         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52319         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52320         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52321         Add strnlen support.
52322         (USE_AS_STRNLEN): New macro.
52323         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52324         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52325         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52326         * sysdeps/x86_64/wcslen.S: New file.
52328 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52330         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52331         XMM-moves are used for copying on small sizes.
52333 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52335         * wcsmbs/Makefile (strop-tests): Add wcschr.
52336         * wcsmbs/test-wcschr.c: New file.
52337         * string/test-strchr.c: Update.
52338         Add wcschr support.
52339         (WIDE): New macro.
52341 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52343         * wcsmbs/Makefile (strop-tests): Add wcslen.
52344         * wcsmbs/test-wcslen.c: New file.
52345         * string/test-strlen.c: Update.
52346         Add wcslen support.
52347         (WIDE): New macro.
52349 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52351         * po/it.po: Update from translation team.
52353 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52355         * sysdeps/x86_64/wcscmp.S: Update.
52356         Fix wrong comparison semantics.
52357         wcscmp shall use signed comparison not unsigned.
52358         Don't use substraction to avoid overflow bug.
52359         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52360         * wcsmbc/wcscmp.c: Likewise.
52361         * string/test-strcmp.c: Likewise.
52362         Add new tests to check cases with negative values.
52364 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52366         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52367         * sysdeps/x86_64/dla.h: ...here.  New file.
52368         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52369         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52373         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52374         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52375         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52376         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52378 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52381         __ynl_finite aliases.
52383 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52387         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52388         define DLA_FMA.
52389         [DLA_FMA] (EMULV): Use DLA_FMA.
52390         [DLA_FMA] (MUL12): Use EMULV.
52391         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52392         that are not needed.
52393         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52394         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52397         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52398         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52399         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52401 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52403         * math/s_nan.c: Undef __nan.
52404         * math/s_nanf.c: Undef __nanf.
52405         * math/s_nanl.c: Undef __nanl.
52406         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52407         "math_private.h".
52409 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52411         * math/s_catan.c: Add branch predictions.
52412         * math/s_catanf.c: Likewise.
52413         * math/s_catanh.c: Likewise.
52414         * math/s_catanhf.c: Likewise.
52415         * math/s_catanhl.c: Likewise.
52416         * math/s_catanl.c: Likewise.
52417         * math/s_cexp.c: Likewise.
52418         * math/s_cexpf.c: Likewise.
52419         * math/s_cexpl.c: Likewise.
52420         * math/s_clog.c: Likewise.
52421         * math/s_clog10.c: Likewise.
52422         * math/s_clog10f.c: Likewise.
52423         * math/s_clog10l.c: Likewise.
52424         * math/s_clogf.c: Likewise.
52425         * math/s_clogl.c: Likewise.
52426         * math/s_csqrt.c: Likewise.
52427         * math/s_csqrtf.c: Likewise.
52428         * math/s_csqrtl.c: Likewise.
52429         * math/s_ctanf.c: Likewise.
52430         * math/s_ctanh.c: Likewise.
52431         * math/s_ctanhf.c: Likewise.
52432         * math/s_ctanhl.c: Likewise.
52433         * math/s_ctanl.c: Likewise.
52435         * math/math_private.h: Define __nan, __nanf, __nanl.
52436         * math/s_cacosh.c: Include <math_private.h>.
52437         * math/s_cacoshl.c: Likewise.
52438         * math/s_casinh.c: Likewise.
52439         * math/s_casinhf.c: Likewise.
52440         * math/s_casinhl.c: Likewise.
52441         * math/s_ccos.c: Rely entire on ccosh.
52442         * math/s_ccosf.c: Rely entire on ccoshf.
52443         * math/s_ccosl.c: Rely entirely on ccoshl.
52444         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52445         Remove tests for FE_INVALID.
52446         * math/s_ccoshf.c: Likewise.
52447         * math/s_ccoshl.c: Likewise.
52448         * math/s_csin.c: Likewise.
52449         * math/s_csinf.c: Likewise.
52450         * math/s_csinh.c Likewise.
52451         * math/s_csinhf.c: Likewise.
52452         * math/s_csinhl.c: Likewise.
52453         * math/s_csinl.c: Likewise.
52454         * math/s_ctan.c: Likewise.
52455         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52456         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52457         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52459 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52462         compilation problems.
52464         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52465         __builtin_expect.
52467 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52469         * sysdeps/i386/configure.in: Test for -mfma4 option.
52470         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52471         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52472         COMMON_CPUID_INDEX_80000001.
52473         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52474         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52475         use it if FMA3 is not supported.
52476         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52478         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52479         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52481 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52483         [BZ #12892]
52484         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52485         it would create a cycle with a link time dependency.
52487 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52489         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52490         instruction.
52491         * string/Makefile (strop-tests): Add rawmemchr.
52492         * string/test-rawmemchr.c: New file.
52494         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52495         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52496         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52497         when compiling str{,n}casecmp and when AVX is available.  Hook up
52498         new optimized code in initializers.
52500 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52502         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52503         __feraiseexcept instead of feraiseexcept.
52505 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52507         * math/math_private.h: Define defaults for libc_fetestexcept and
52508         libc_feupdateenv.
52509         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52510         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52511         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52512         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52513         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52514         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52515         libc_fetestexcept and libc_feupdateenv.
52517         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52518         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52519         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52520         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52521         libc_feholdexcept_setround.
52523         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52524         Add s_nearbyint-c and s_nearbyintf-c.
52525         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52526         nearbyintf inlines.
52527         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52528         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52529         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52530         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52532         * math/math_private.h: Define defaults for libc_fegetround,
52533         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52534         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52535         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52536         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52537         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52538         standard functions.
52539         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52540         Remove comments and hacks for old compiler versions.
52541         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52542         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52543         libc_feholdexceptl.
52545 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52547         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52548         (__feraiseexcept_renamed): Add __NTH.
52549         (feraiseexcept): Add __NTH.  Rename local variables to fix
52550         namespace violations.
52552 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52554         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52556         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52558         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52559         recently added interfaces.
52560         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52562         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52563         about macro parameter expansion.
52565         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52566         __NO_MATH_INLINES is defined.  Cleanups.
52568         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52569         and __floorf is target has SSE4.1.
52570         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52571         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52572         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52573         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52575         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52576         name.
52577         (floorf): Likewise.
52579         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52581 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52583         * misc/sys/cdefs.h: Fix last change.
52585         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52586         database lookup.
52588 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52590         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52592         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52593         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52594         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52595         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52596         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52597         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52598         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52599         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52600         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52601         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52602         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52603         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52604         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52605         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52606         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52607         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52608         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52609         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52610         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52611         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52612         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52613         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52615         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52616         ceil, ceilf, floor, floorf.
52618         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52619         Perform IRELATIVE relocations last.
52621         * elf/do-rel.h: Add another parameter nrelative, replacing the
52622         local variable with the same name.  Change name of the function
52623         to end in Rel or Rela (uppercase).
52624         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52625         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52626         elf_dynamic_do_##reloc function.
52628 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52630         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52631         is sufficient, at least on modern CPUs.
52633         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52635         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52636         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52638         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52639         __expl_finite.
52640         * math/bits/math-finite.h: Add entries for exp.
52641         * math/e_expl.c: Add __*_finite alias.
52642         * sysdeps/i386/fpu/e_exp.S: Likewise.
52643         * sysdeps/i386/fpu/e_expf.S: Likewise.
52644         * sysdeps/i386/fpu/e_expl.c: Likewise.
52645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52646         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52647         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52648         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52649         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52650         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52651         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52653         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52654         is sufficient, at least on modern CPUs.
52656         * ctype/ctype-info.c (__ctype_init): Define.
52657         * include/ctype.h (__ctype_init): Declare.
52658         (__ctype_b_loc): The variable is always initialized.
52659         (__ctype_toupper_loc): Likewise.
52660         (__ctype_tolower_loc): Likewise.
52661         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52662         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52664 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52666         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52668         * configure.in: Also look in $cxxmachine/include for C++ system
52669         headers.
52671 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52673         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52674         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52675         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52676         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52677         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52678         (USE_AS_WMEMCMP): New macro.
52679         Fixing indents.
52680         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52681         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52682         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52683         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52684         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52685         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52686         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52687         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52688         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52689         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52690         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52691         (USE_AS_WMEMCMP): New macro.
52692         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52693         * sysdeps/string/test-memcmp.c: Update.
52694         Fix simple_wmemcmp.
52695         Add new tests.
52696         * wcsmbs/wmemcmp.c: Update.
52697         (WMEMCMP): New macro.
52698         Fix overflow bug.
52700 2011-10-12  Andreas Jaeger  <aj@suse.de>
52702         [BZ #13268]
52703         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52705 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52707         * libio/iofwide.c (do_length): Avoid warning.
52709         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52711 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52713         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52715         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52716         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52717         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52718         * sysdeps/i386/i686/fpu/e_log.S: New file.
52719         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52720         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52722         * ctype/ctype.h: Add support for inlined isXXX functions when
52723         compiling C++ code.
52725 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52727         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52729         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52731 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52733         [BZ #13291]
52734         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52736 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52738         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52739         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52740         feraiseexcept.
52742         * sysdeps/x86_64/memrchr.S: Check for zero size.
52744         * string/stratcliff.c: Add memrchr tests.
52746 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52749         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52750         rawmemchr-sse2 rawmemchr-sse2-bsf.
52751         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52752         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52753         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52754         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52755         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52756         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52757         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52758         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52759         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52760         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52761         * string/memrchr.c (MEMRCHR): New macro.
52763 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52765         Add integration with gcc's -ffinite-math-only and optimize wrapper
52766         functions in libm.
52767         * Versions.def: Define GLIBC_2.15 version for libm.
52768         * math/Makefile (headers): Add bits/math-finite.h.
52769         * math/bits/math-finite.h: New file.
52770         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52771         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52772         * math/e_acoshl.c: Add __*_finite alias.
52773         * math/e_acosl.c: Likewise.
52774         * math/e_asinl.c: Likewise.
52775         * math/e_atan2l.c: Likewise.
52776         * math/e_atanhl.c: Likewise.
52777         * math/e_coshl.c: Likewise.
52778         * math/e_exp10.c: Likewise.
52779         * math/e_exp10f.c: Likewise.
52780         * math/e_exp10l.c: Likewise.
52781         * math/e_exp2l.c: Likewise.
52782         * math/e_fmodl.c: Likewise.
52783         * math/e_gammal_r.c: Likewise.
52784         * math/e_hypotl.c: Likewise.
52785         * math/e_j0l.c: Likewise.
52786         * math/e_j1l.c: Likewise.
52787         * math/e_jnl.c: Likewise.
52788         * math/e_lgammal_r.c: Likewise.
52789         * math/e_log10l.c: Likewise.
52790         * math/e_log2l.c: Likewise.
52791         * math/e_logl.c: Likewise.
52792         * math/e_powl.c: Likewise.
52793         * math/e_sinhl.c: Likewise.
52794         * math/e_sqrtl.c: Likewise.
52795         * math/e_scalb.c: Completely rewritten and optimized.
52796         * math/e_scalbf.c: Likewise.
52797         * math/e_scalbl.c: Likewise.
52798         * math/w_acos.c: Likewise.
52799         * math/w_acosf.c: Likewise.
52800         * math/w_acosl.c: Likewise.
52801         * math/w_acosh.c: Likewise.
52802         * math/w_acoshf.c: Likewise.
52803         * math/w_acoshl.c: Likewise.
52804         * math/w_asin.c: Likewise.
52805         * math/w_asinf.c: Likewise.
52806         * math/w_asinl.c: Likewise.
52807         * math/w_atan2.c: Likewise.
52808         * math/w_atan2f.c: Likewise.
52809         * math/w_atan2l.c: Likewise.
52810         * math/w_atanh.c: Likewise.
52811         * math/w_atanhf.c: Likewise.
52812         * math/w_atanhl.c: Likewise.
52813         * math/w_exp10.c: Likewise.
52814         * math/w_exp10f.c: Likewise.
52815         * math/w_exp10l.c: Likewise.
52816         * math/w_fmod.c: Likewise.
52817         * math/w_fmodf.c: Likewise.
52818         * math/w_fmodl.c: Likewise.
52819         * math/w_j0.c: Likewise.
52820         * math/w_j0f.c: Likewise.
52821         * math/w_j0l.c: Likewise.
52822         * math/w_j1.c: Likewise.
52823         * math/w_j1f.c: Likewise.
52824         * math/w_j1l.c: Likewise.
52825         * math/w_jn.c: Likewise.
52826         * math/w_jnf.c: Likewise.
52827         * math/w_log.c: Likewise.
52828         * math/w_logf.c: Likewise.
52829         * math/w_logl.c: Likewise.
52830         * math/w_log10.c: Likewise.
52831         * math/w_log10f.c: Likewise.
52832         * math/w_log10l.c: Likewise.
52833         * math/w_log2.c: Likewise.
52834         * math/w_log2f.c: Likewise.
52835         * math/w_log2l.c: Likewise.
52836         * math/w_pow.c: Likewise.
52837         * math/w_powf.c: Likewise.
52838         * math/w_powl.c: Likewise.
52839         * math/w_remainder.c: Likewise.
52840         * math/w_remainderf.c: Likewise.
52841         * math/w_remainderl.c: Likewise.
52842         * math/w_scalb.c: Likewise.
52843         * math/w_scalbf.c: Likewise.
52844         * math/w_scalbl.c: Likewise.
52845         * math/w_sqrt.c: Likewise.
52846         * math/w_sqrtf.c: Likewise.
52847         * math/w_sqrtl.c: Likewise.
52848         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52849         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52850         used.
52851         * math/math_private.h: Declare __kernel_standard_f.
52852         * math/w_cosh.c: Remove cruft and optimize a bit.
52853         * math/w_coshf.c: Likewise.
52854         * math/w_coshl.c: Likewise.
52855         * math/w_exp2.c: Likewise.
52856         * math/w_exp2f.c: Likewise.
52857         * math/w_exp2l.c: Likewise.
52858         * math/w_hypot.c: Likewise.
52859         * math/w_hypotf.c: Likewise.
52860         * math/w_hypotl.c: Likewise.
52861         * math/w_lgamma.c: Likewise.
52862         * math/w_lgamma_r.c: Likewise.
52863         * math/w_lgammaf.c: Likewise.
52864         * math/w_lgammaf_r.c: Likewise.
52865         * math/w_lgammal.c: Likewise.
52866         * math/w_lgammal_r.c: Likewise.
52867         * math/w_sinh.c: Likewise.
52868         * math/w_sinhf.c: Likewise.
52869         * math/w_sinhl.c: Likewise.
52870         * math/w_tgamma.c: Likewise.
52871         * math/w_tgammaf.c: Likewise.
52872         * math/w_tgammal.c: Likewise.
52873         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52874         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52875         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52876         Minor optimizations.  Pretty printing.  Remove cruft.
52877         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52878         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52879         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52880         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52881         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52882         * sysdeps/i386/fpu/e_asin.S: Likewise.
52883         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52884         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52885         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52886         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52887         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52888         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52889         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52890         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52891         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52892         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52893         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52894         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52895         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52896         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52897         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52898         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52899         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52900         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52901         * sysdeps/i386/fpu/e_log.S: Likewise.
52902         * sysdeps/i386/fpu/e_log10.S: Likewise.
52903         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52904         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52905         * sysdeps/i386/fpu/e_log2.S: Likewise.
52906         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52907         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52908         * sysdeps/i386/fpu/e_logf.S: Likewise.
52909         * sysdeps/i386/fpu/e_logl.S: Likewise.
52910         * sysdeps/i386/fpu/e_pow.S: Likewise.
52911         * sysdeps/i386/fpu/e_powf.S: Likewise.
52912         * sysdeps/i386/fpu/e_powl.S: Likewise.
52913         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52914         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52915         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52916         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52917         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52918         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52919         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52920         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52921         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52922         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52923         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52924         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52925         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52926         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52927         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52928         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52929         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52930         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52931         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52932         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52933         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52934         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52935         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52936         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52937         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52938         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52939         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52940         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52941         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52942         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52943         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52944         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52945         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52946         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52947         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52948         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52949         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52950         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52951         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52952         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52953         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52954         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52955         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52956         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52957         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52958         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52959         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52960         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52961         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52962         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52963         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52964         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52965         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52966         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52967         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52968         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52970         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52972         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52973         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52974         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52977         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52978         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52979         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52981         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52983         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52984         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52986         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52987         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52989         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52991         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52993         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52996         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52997         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52998         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52999         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53000         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53001         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53002         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53003         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53004         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53005         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53006         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53007         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53008         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53009         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53010         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53011         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53012         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53013         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53014         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53015         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53016         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53017         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53018         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53019         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53020         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53021         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53022         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53023         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53024         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53025         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53026         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53027         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53028         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53029         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53030         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53031         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53032         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53033         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53034         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53035         (__isnanf): Likewise.
53036         (__isinf_ns): Likewise.
53037         (__isinf_nsf): Likewise.
53038         (__finite): Likewise.
53039         (__finitef): Likewise.
53040         (__ieee754_sqrt): Define as macro.
53041         (__ieee754_sqrtf): Define as macro.
53042         (__ieee754_sqrtl): Define as macro.
53043         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53044         inlined copy.
53045         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53046         __FINITE_MATH_ONLY__ consistent.
53047         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53049 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53051         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53052         of rawmemchr.
53054         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53056 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53058         * po/ja.po: Update from translation team.
53060 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53062         * locale/programs/locarchive.c (prepare_address_space): New function.
53063         (create_archive, enlarge_archive, open_archive): Use it.
53065         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53066         inside [SHARED], where it is used.
53068         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53070         * nss/getent.c (netgroup_keys): Remove unused variable.
53071         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53073 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53075         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53076         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53077         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53078         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53079         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53080         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53081         * math/Makefile (libm-calls): Add s_isinf_ns.
53082         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53083         * math/multc3.c: Likewise.
53084         * math/s_casin.c: Likewise.
53085         * math/s_casinf.c: Likewise.
53086         * math/s_casinl.c: Likewise.
53087         * math/s_ccos.c: Likewise.
53088         * math/s_ccosf.c: Likewise.
53089         * math/s_ccosl.c: Likewise.
53090         * math/s_ctan.c: Likewise.
53091         * math/s_ctanf.c: Likewise.
53092         * math/s_ctanh.c: Likewise.
53093         * math/s_ctanhf.c: Likewise.
53094         * math/s_ctanhl.c: Likewise.
53095         * math/s_ctanl.c: Likewise.
53096         * math/w_fmod.c: Likewise.
53097         * math/w_fmodf.c: Likewise.
53098         * math/w_fmodl.c: Likewise.
53099         * math/w_remainder.c: Likewise.
53100         * math/w_remainderf.c: Likewise.
53101         * math/w_remainderl.c: Likewise.
53102         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53103         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53104         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53105         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53106         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53107         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53108         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53109         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53111         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53112         of the number.
53113         * stdio-common/printf_fphex.c: Likewise.
53114         * stdio-common/printf_size.c: Likewise.
53116         * math/e_exp10.c: Include math_private.h using <...> not "...".
53117         * math/e_exp10f.c: Likewise.
53118         * math/e_exp10l.c: Likewise.
53119         * math/e_exp2l.c: Likewise.
53120         * math/e_j0l.c: Likewise.
53121         * math/e_j1l.c: Likewise.
53122         * math/e_jnl.c: Likewise.
53123         * math/e_lgammal_r.c: Likewise.
53124         * math/e_rem_pio2l.c: Likewise.
53125         * math/e_scalb.c: Likewise.
53126         * math/e_scalbf.c: Likewise.
53127         * math/e_scalbl.c: Likewise.
53128         * math/k_cosl.c: Likewise.
53129         * math/k_sinl.c: Likewise.
53130         * math/k_tanl.c: Likewise.
53131         * math/s_cacoshf.c: Likewise.
53132         * math/s_catan.c: Likewise.
53133         * math/s_catanf.c: Likewise.
53134         * math/s_catanh.c: Likewise.
53135         * math/s_catanhf.c: Likewise.
53136         * math/s_catanhl.c: Likewise.
53137         * math/s_catanl.c: Likewise.
53138         * math/s_ccosh.c: Likewise.
53139         * math/s_ccoshf.c: Likewise.
53140         * math/s_ccoshl.c: Likewise.
53141         * math/s_cexp.c: Likewise.
53142         * math/s_cexpf.c: Likewise.
53143         * math/s_cexpl.c: Likewise.
53144         * math/s_clog.c: Likewise.
53145         * math/s_clog10.c: Likewise.
53146         * math/s_clog10f.c: Likewise.
53147         * math/s_clog10l.c: Likewise.
53148         * math/s_clogf.c: Likewise.
53149         * math/s_clogl.c: Likewise.
53150         * math/s_csin.c: Likewise.
53151         * math/s_csinf.c: Likewise.
53152         * math/s_csinh.c: Likewise.
53153         * math/s_csinhf.c: Likewise.
53154         * math/s_csinhl.c: Likewise.
53155         * math/s_csinl.c: Likewise.
53156         * math/s_csqrt.c: Likewise.
53157         * math/s_csqrtf.c: Likewise.
53158         * math/s_csqrtl.c: Likewise.
53159         * math/s_ctan.c: Likewise.
53160         * math/s_ctanf.c: Likewise.
53161         * math/s_ctanh.c: Likewise.
53162         * math/s_ctanhf.c: Likewise.
53163         * math/s_ctanhl.c: Likewise.
53164         * math/s_ctanl.c: Likewise.
53165         * math/s_ldexp.c: Likewise.
53166         * math/s_ldexpf.c: Likewise.
53167         * math/s_ldexpl.c: Likewise.
53168         * math/s_significand.c: Likewise.
53169         * math/s_significandf.c: Likewise.
53170         * math/s_significandl.c: Likewise.
53171         * math/w_acos.c: Likewise.
53172         * math/w_acosf.c: Likewise.
53173         * math/w_acosh.c: Likewise.
53174         * math/w_acoshf.c: Likewise.
53175         * math/w_acoshl.c: Likewise.
53176         * math/w_acosl.c: Likewise.
53177         * math/w_asin.c: Likewise.
53178         * math/w_asinf.c: Likewise.
53179         * math/w_asinl.c: Likewise.
53180         * math/w_atan2.c: Likewise.
53181         * math/w_atan2f.c: Likewise.
53182         * math/w_atan2l.c: Likewise.
53183         * math/w_atanh.c: Likewise.
53184         * math/w_atanhf.c: Likewise.
53185         * math/w_atanhl.c: Likewise.
53186         * math/w_cosh.c: Likewise.
53187         * math/w_coshf.c: Likewise.
53188         * math/w_coshl.c: Likewise.
53189         * math/w_dremf.c: Likewise.
53190         * math/w_exp10.c: Likewise.
53191         * math/w_exp10f.c: Likewise.
53192         * math/w_exp10l.c: Likewise.
53193         * math/w_exp2.c: Likewise.
53194         * math/w_exp2f.c: Likewise.
53195         * math/w_fmod.c: Likewise.
53196         * math/w_fmodf.c: Likewise.
53197         * math/w_fmodl.c: Likewise.
53198         * math/w_hypot.c: Likewise.
53199         * math/w_hypotf.c: Likewise.
53200         * math/w_hypotl.c: Likewise.
53201         * math/w_j0.c: Likewise.
53202         * math/w_j0f.c: Likewise.
53203         * math/w_j0l.c: Likewise.
53204         * math/w_j1.c: Likewise.
53205         * math/w_j1f.c: Likewise.
53206         * math/w_j1l.c: Likewise.
53207         * math/w_jn.c: Likewise.
53208         * math/w_jnf.c: Likewise.
53209         * math/w_jnl.c: Likewise.
53210         * math/w_lgamma.c: Likewise.
53211         * math/w_lgamma_r.c: Likewise.
53212         * math/w_lgammaf.c: Likewise.
53213         * math/w_lgammaf_r.c: Likewise.
53214         * math/w_lgammal.c: Likewise.
53215         * math/w_lgammal_r.c: Likewise.
53216         * math/w_log.c: Likewise.
53217         * math/w_log10.c: Likewise.
53218         * math/w_log10f.c: Likewise.
53219         * math/w_log10l.c: Likewise.
53220         * math/w_log2.c: Likewise.
53221         * math/w_log2f.c: Likewise.
53222         * math/w_log2l.c: Likewise.
53223         * math/w_logf.c: Likewise.
53224         * math/w_logl.c: Likewise.
53225         * math/w_pow.c: Likewise.
53226         * math/w_powf.c: Likewise.
53227         * math/w_powl.c: Likewise.
53228         * math/w_remainder.c: Likewise.
53229         * math/w_remainderf.c: Likewise.
53230         * math/w_remainderl.c: Likewise.
53231         * math/w_scalb.c: Likewise.
53232         * math/w_scalbf.c: Likewise.
53233         * math/w_scalbl.c: Likewise.
53234         * math/w_sinh.c: Likewise.
53235         * math/w_sinhf.c: Likewise.
53236         * math/w_sinhl.c: Likewise.
53237         * math/w_sqrt.c: Likewise.
53238         * math/w_sqrtf.c: Likewise.
53239         * math/w_sqrtl.c: Likewise.
53240         * math/w_tgamma.c: Likewise.
53241         * math/w_tgammaf.c: Likewise.
53242         * math/w_tgammal.c: Likewise.
53244         * po/ja.po: Update from translation team.
53246 2011-09-29  Andreas Jaeger  <aj@suse.de>
53248         [BZ #13179]
53249         * sunrpc/netname.c (netname2host): Fix logic.
53251         [BZ #6779]
53252         [BZ #6783]
53253         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53254         correctly.
53255         * math/w_remainder.c (__remainder): Likewise.
53256         * math/w_remainderf.c (__remainderf): Likewise.
53257         * math/libm-test.inc (remainder_test): Add test cases.
53259 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53261         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53262         sdiv_qrnnd.
53264 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53266         * string/test-memcmp.c: Avoid unncessary #defines.
53267         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53269 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53271         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53272         Use new sse2 version for core i3 - i7 as it's faster
53273         than sse42 version.
53274         (bit_Prefer_PMINUB_for_stringop): New.
53275         * sysdeps/x86_64/rawmemchr.S: Update.
53276         Replace with faster SSE2 version.
53277         * sysdeps/x86_64/memrchr.S: New file.
53278         * sysdeps/x86_64/memchr.S: Update.
53279         Replace with faster SSE2 version.
53281 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53283         * elf/dl-load.c (lose): Add cast to avoid warning.
53285 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53287         * po/ca.po: Update from translation team.
53289         * inet/getnetgrent_r.c: Hook up nscd.
53290         * nscd/Makefile (routines): Add nscd_netgroup.
53291         (nscd-modules): Add netgroupcache.
53292         (CFLAGS-netgroupcache.c): Define.
53293         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53294         (cache_search): Add const to second parameter.
53295         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53296         INNETGR.
53297         (dbs): Add netgrdb entry.
53298         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53299         (verify_persistent_db): Handle netgrdb.
53300         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53301         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53302         GETFDNETGR.
53303         (netgroup_response_header): Define.
53304         (innetgroup_response_header): Define.
53305         (datahead): Add netgroup_response_header and innetgroup_response_header
53306         elements.
53307         * nscd/nscd.conf: Add entries for netgroup cache.
53308         * nscd/nscd.h (dbtype): Add netgrdb.
53309         (_PATH_NSCD_NETGROUP_DB): Define.
53310         (netgroup_iov_disabled): Declare.
53311         (xmalloc, xcalloc, xrealloc): Move declarations here.
53312         (cache_search): Adjust prototype.
53313         Add netgroup-related prototypes.
53314         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53315         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53316         (__nscd_innetgr): Declare.
53317         * nscd/selinux.c (perms): Use access_vector_t as element type and
53318         add netgroup-related initializers.
53319         * nscd/netgroupcache.c: New file.
53320         * nscd/nscd_netgroup.c: New file.
53321         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53322         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53323         For four parameters use innetgr.
53324         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53325         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53326         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53327         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53329         * nscd/connections.c (register_traced_file): Don't register file
53330         for disabled databases.
53332 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53334         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53336         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53337         from tree and freeing node.
53339 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53341         * nss/nsswitch.c (__nss_database_lookup): Handle
53342         nss_parse_service_list out of memory case.
53344 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53346         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53347         out of memory case.
53349 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53351         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53352         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53353         pass it down.
53354         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53355         elf_machine_rela, elf_machine_lazy_rel.
53356         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53357         (ELF_DYNAMIC_DO_REL): Likewise.
53358         (ELF_DYNAMIC_DO_RELA): Likewise.
53359         (ELF_DYNAMIC_RELOCATE): Likewise.
53360         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53361         to ELF_DYNAMIC_DO_REL.
53362         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53363         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53364         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53365         elf_machine_rela.
53366         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53367         skip_ifunc, don't call ifunc function if non-zero.
53368         (elf_machine_rela): Likewise.
53369         (elf_machine_lazy_rel): Likewise.
53370         (elf_machine_lazy_rela): Likewise.
53371         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53372         (elf_machine_lazy_rel): Likewise.
53373         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53374         Likewise.
53375         (elf_machine_lazy_rel): Likewise.
53376         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53377         Likewise.
53378         (elf_machine_lazy_rel): Likewise.
53379         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53380         (elf_machine_lazy_rel): Likewise.
53381         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53382         (elf_machine_lazy_rel): Likewise.
53383         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53384         (elf_machine_lazy_rel): Likewise.
53385         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53386         (elf_machine_lazy_rel): Likewise.
53387         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53388         (elf_machine_lazy_rel): Likewise.
53389         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53390         (elf_machine_lazy_rel): Likewise.
53392 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53394         * nss/nss_files/files-init.c (_nss_files_init): Use static
53395         initialization for all the *_traced_file variables.
53397 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53399         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53401 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53403         [BZ #13226]
53404         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53406 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53408         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53409         Reread the line before reparsing it.
53411 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53413         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53415 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53416             Maxim Kuvyrkov  <maxim@codesourcery.com>
53417             Joseph Myers  <joseph@codesourcery.com>
53419         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53420         if needed for __stack_chk_guard.
53422 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53424         * sysdeps/posix/spawni.c (script_execute): Always define it.
53425         It will be optimized away if unused.
53426         (maybe_script_execute): New function.
53427         (__spawni): Call it.
53429         * Makerules: Don't include tls.make.
53430         (config-tls): Always set to thread.
53431         * tls.make.c: File removed.
53433 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53435         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53436         * config.make.in (CPPFLAGS-config): New substituted variable.
53438 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53440         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53442         [BZ #13192]
53443         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53444         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53446 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53448         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53449         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53450         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53451         (CALL_FAIL): Likewise.
53452         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53453         (CALL_FAIL): Macro removed.
53454         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53456 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53458         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53459         for __FINITE_MATH_ONLY__ == 1.
53461 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53463         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53464         __ieee754_sqrt instead of sqrt.
53465         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53466         __ieee754_sqrtf instead of sqrtf.
53467         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53468         __floorf instead of floorf.
53469         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53470         __floorf, __truncf instead of floorf, truncf.
53472 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53474         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53476         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53477         __extern_always_inline.
53478         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53479         32-bit.
53481 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53483         * elf/rtld.c (dl_main): Also relocate in dependency order when
53484         doing symbol dependency testing.
53486 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53488         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53489         Always define `refsym'.
53491 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53493         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53494         (__FD_ELT): Renamed from __FDELT.
53495         * misc/bits/select2.h (__FD_ELT): Likewise.
53496         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53497         __FD_MASK instead of __FDELT, __FDMASK.
53498         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53499         Likewise.
53500         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53501         Likewise.
53503         * elf/Makefile (gen-ldd): Fix pattern.
53505         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53506         (init_tls): Likewise.
53508 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53510         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53512 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53514         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53515         `struct cmsghdr *' instead of `void *'.
53516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53517         Likewise.
53519 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53521         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53522         if non-absolute.
53523         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53524         ldd_rewrite_script.
53526 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53528         * configure.in: Remove --with-tls option.
53529         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53530         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53531         out in case it is missing.
53532         * sysdeps/ia64/elf/configure.in: Likewise.
53533         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53534         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53535         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53536         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53537         * sysdeps/sh/elf/configure.in: Likewise.
53538         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53539         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53540         * sysdeps/x86_64/elf/configure.in: Likewise.
53541         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53542         * sysdeps/mach/hurd/tls.h: Likewise.
53544         [BZ #13067]
53545         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53547         [BZ #13090]
53548         * configure.in: Fix use of AC_INIT.
53550         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53552 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53554         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53555         __set_errno.
53556         * malloc/hooks.c: Likewise.
53558         [BZ #11929]
53559         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53560         variables statically.
53561         (narenas): Initialize.
53562         (list_lock): Initialize.
53563         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53564         initializtion of main_arena and list_lock.  Small cleanups.
53565         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53566         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53567         Add initializers to main_arena and mp_.
53568         (malloc_state): Remove pagesize member.  Change all users to use
53569         GLRO(dl_pagesize).
53571         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53572         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53573         is always initialized.
53575         * malloc/malloc.c: Removed unused configurations and dead code.
53576         * malloc/arena.c: Likewise.
53577         * malloc/hooks.c: Likewise.
53578         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53580         * include/tls.h: Removed.  USE___THREAD must always be defined.
53581         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53582         * elf/dl-libc.c: Likewise.
53583         * elf/dl-tsd.c: Likewise.
53584         * include/errno.h: Likewise.
53585         * include/netdb.h: Likewise.
53586         * include/resolv.h: Likewise.
53587         * inet/herrno-loc.c: Likewise.
53588         * inet/herrno.c: Likewise.
53589         * malloc/arena.c: Likewise.
53590         * malloc/hooks.c: Likewise.
53591         * malloc/malloc.c: Likewise.
53592         * resolv/res-state.c: Likewise.
53593         * resolv/res_libc.c: Likewise.
53594         * sysdeps/i386/dl-machine.h: Likewise.
53595         * sysdeps/ia64/dl-machine.h: Likewise.
53596         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53597         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53598         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53599         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53600         * sysdeps/sh/dl-machine.h: Likewise.
53601         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53602         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53603         * sysdeps/unix/i386/sysdep.S: Likewise.
53604         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53605         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53607         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53608         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53610         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53611         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53612         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53614         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53615         * sysdeps/x86_64/dl-machine.h: Likewise.
53616         * tls.make.c: Likewise.
53618         * configure.in: Remove --with-__thread option.  Make tests for
53619         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53620         tls_model attribute fail if no support is available.  Remove
53621         USE_IN_LIBIO.
53622         * Makeconfig: Adjust for dropped configure option.  All features are
53623         now mandatory.
53624         * Makerules: Likewise.
53625         * Versions.def: Likewise.
53626         * argp/argp-fmtstream.c: Likewise.
53627         * argp/argp-fmtstream.h: Likewise.
53628         * argp/argp-help.c: Likewise.
53629         * assert/assert.c: Likewise.
53630         * config.h.in: Likewise.
53631         * config.make.in: Likewise.
53632         * configure: Likewise.
53633         * configure.in: Likewise.
53634         * csu/Versions: Likewise.
53635         * csu/init.c: Likewise.
53636         * elf/tst-audit2.c: Likewise.
53637         * elf/tst-tls10.c: Likewise.
53638         * elf/tst-tls10.h: Likewise.
53639         * elf/tst-tls11.c: Likewise.
53640         * elf/tst-tls12.c: Likewise.
53641         * elf/tst-tls14.c: Likewise.
53642         * elf/tst-tlsmod11.c: Likewise.
53643         * elf/tst-tlsmod12.c: Likewise.
53644         * elf/tst-tlsmod13.c: Likewise.
53645         * elf/tst-tlsmod13a.c: Likewise.
53646         * elf/tst-tlsmod14a.c: Likewise.
53647         * elf/tst-tlsmod15b.c: Likewise.
53648         * elf/tst-tlsmod16a.c: Likewise.
53649         * elf/tst-tlsmod16b.c: Likewise.
53650         * elf/tst-tlsmod7.c: Likewise.
53651         * elf/tst-tlsmod8.c: Likewise.
53652         * elf/tst-tlsmod9.c: Likewise.
53653         * gmon/gmon.c: Likewise.
53654         * grp/fgetgrent_r.c: Likewise.
53655         * grp/putgrent.c: Likewise.
53656         * hurd/fopenport.c: Likewise.
53657         * include/libc-symbols.h: Likewise.
53658         * include/tls.h: Likewise.
53659         * intl/gettextP.h: Likewise.
53660         * intl/loadinfo.h: Likewise.
53661         * locale/global-locale.c: Likewise.
53662         * locale/localeinfo.h: Likewise.
53663         * mach/devstream.c: Likewise.
53664         * malloc/arena.c: Likewise.
53665         * malloc/set-freeres.c: Likewise.
53666         * misc/err.c: Likewise.
53667         * misc/getttyent.c: Likewise.
53668         * misc/mntent_r.c: Likewise.
53669         * posix/getopt.c: Likewise.
53670         * posix/wordexp.c: Likewise.
53671         * pwd/fgetpwent_r.c: Likewise.
53672         * resolv/Versions: Likewise.
53673         * resolv/res_hconf.c: Likewise.
53674         * shadow/fgetspent_r.c: Likewise.
53675         * shadow/putspent.c: Likewise.
53676         * stdio-common/printf_fphex.c: Likewise.
53677         * stdio-common/tmpfile.c: Likewise.
53678         * stdlib/abort.c: Likewise.
53679         * stdlib/fmtmsg.c: Likewise.
53680         * sunrpc/auth_unix.c: Likewise.
53681         * sunrpc/clnt_perr.c: Likewise.
53682         * sunrpc/clnt_tcp.c: Likewise.
53683         * sunrpc/clnt_udp.c: Likewise.
53684         * sunrpc/clnt_unix.c: Likewise.
53685         * sunrpc/openchild.c: Likewise.
53686         * sunrpc/svc_simple.c: Likewise.
53687         * sunrpc/svc_tcp.c: Likewise.
53688         * sunrpc/svc_udp.c: Likewise.
53689         * sunrpc/svc_unix.c: Likewise.
53690         * sunrpc/xdr.c: Likewise.
53691         * sunrpc/xdr_array.c: Likewise.
53692         * sunrpc/xdr_rec.c: Likewise.
53693         * sunrpc/xdr_ref.c: Likewise.
53694         * sunrpc/xdr_stdio.c: Likewise.
53696 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53698         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53700 2011-07-03  Andreas Jaeger  <aj@suse.de>
53702         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53703         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53704         regenerate with gen-libm-tests.pl.
53706 2010-05-12  Petr Baudis  <pasky@suse.cz>
53708         [BZ #11589]
53709         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53710         around j0() zero points by switching to j1().
53711         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53712         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53714         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53716 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53718         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53719         instead of 0.
53720         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53721         instead of 0.
53722         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53723         Patch in part by Pavel Roskin <proski@gnu.org>.
53725         [BZ #13138]
53726         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53727         realloc.
53728         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53729         Free memory block if necessary.
53731         [BZ #12847]
53732         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53733         be NULL.  Don't lock in this case.
53735 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53737         * elf/elf.h (ELFOSABI_GNU): New macro.
53738         (ELFOSABI_LINUX): Define to that.
53740 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53742         * string/strncat.c (strncat): Undef the symbol in case it has been
53743         defined in bits/string.h.
53745 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53747         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53749         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53750         link map.
53752 2011-08-17  Andreas Jaeger  <aj@suse.de>
53754         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53756 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53757             Ian Lance Taylor  <iant@google.com>
53759         * math/libm-test.inc (lround_test): New testcase.
53760         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53762 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53764         * Makefile: Remove support for automatic cvs check-ins.
53765         * Makerules: Likewise.
53766         * config.make.in: Likewise.
53767         * configure.in: Likewise.
53768         * intl/Makefile: Likewise.
53769         * locale/Makefile: Likewise.
53770         * po/Makefile: Likewise.
53771         * posix/Makefile: Likewise.
53772         * sysdeps/gnu/Makefile: Likewise.
53773         * sysdeps/mach/hurd/Makefile: Likewise.
53774         * sysdeps/sparc/sparc32/Makefile: Likewise.
53776         [BZ #13118]
53777         * posix/Makefile (bug-regex32-ENV): Define.
53778         Patch by John Stanley <jpsinthemix@verizon.net>.
53780         * misc/Makefile (headers): Add bits/select2.h.
53781         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53782         * misc/bits/select2.h: New file.
53783         * include/bits/select2.h: New file.
53784         * debug/Makefile (routines): Add fdelt_chk.
53785         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53786         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53787         FD_ISSET.
53788         * debug/fdelt_chk.c: New file.
53790         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53791         * wcsmbs/test-wmemcmp.c: Likewise.
53792         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53793         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53795 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53797         * string/Makefile (strop-tests): Add memcmp.
53798         * string/test-wmemcmp.c: New file.
53799         * string/test-memcmp.c: Add wmemcmp support.
53801 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53803         [BZ #13153]
53804         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53805         2011-07-19 change.
53807         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53808         garbage value in a __mach_port_mod_refs call in the cases of the
53809         task-self and thread-self ports.
53811 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53813         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53815 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53817         * elf/dl-load.c (lose): Check for non-null L.
53819 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53821         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53823         * elf/dl-libc.c (dlerror_run): Pass back error code from
53824         dl_catch_error.
53826         [BZ #13123]
53827         * elf/dl-load.c (lose): Free l_origin if it is valid.
53829         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53830         names.
53831         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53832         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53833         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53834         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53835         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53836         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53838 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53840         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53841         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53842         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53843         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53844         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53845         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53846         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53847         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53848         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53849         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53851 2011-08-15  Alan Modra  <amodra@gmail.com>
53853         [BZ #13092]
53854         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53855         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53856         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53857         ppc_mcount to static-only-routines.
53858         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53859         __mcount_internal.
53860         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53861         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53863 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53865         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53866         for finite and infinity parameters.
53868 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53870         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53871         and add nop instructions for throughput optimization.
53872         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53874 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53876         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53877         aligned copy for power7 with vector-scalar instructions.
53878         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53880 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53882         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53883         AVX check.
53885 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53887         [BZ #13144]
53888         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53889         last change.
53891 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53893         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53894         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53895         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53896         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53897         clock_gettime.
53899 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53901         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53902         Forgot to demangle the pointer.
53904         * sysdeps/i386/sysdep.h: Define atom_text_section.
53905         * sysdeps/x86_64/sysdep.h: Likewise.
53906         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53907         section with atom_text_section.
53908         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53909         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53910         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53911         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53912         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53914         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53915         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53916         already be defined.  Change to take two parameters and don't assign
53917         result to variable.  Adjust all users.
53918         Define INTERNAL_GETTIME if not already defined.
53919         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53920         call.
53921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53922         HAVE_CLOCK_GETTIME_VSYSCALL.
53923         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53925         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53926         gettimeofday vsyscall, just use time.
53928 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53930         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53931         <errno.h>.
53933 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53935         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53936         syscall on x86-64.
53937         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53938         syscall.
53939         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53940         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53941         syscall if possible.
53943 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53945         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53946         e_ident.  Don't pass to find_mapsXX.
53947         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53949 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53952         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53953         * sysdeps/x86_64/multiarch/strchr.S: Update.
53954         Check bit_slow_BSF bit.
53955         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53956         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53957         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53959 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53961         [BZ #13134]
53962         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53963         before glibc 2.15.
53964         (tryshell): Define.
53965         (__spawni): Change last parameter to be flag.  Test
53966         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53967         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53968         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53969         * posix/spawni.c: Likewise.
53970         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53971         * posix/spawnp.c: Likewise.  Change normal version to use
53972         SPAWN_XFLAGS_USE_PATH.
53973         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53974         SPAWN_XFLAGS_TRY_SHELL.
53976         [BZ #13150]
53977         * posix/glob.h: Remove gcc 1.x support.
53979         [BZ #13068]
53980         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53982 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53985         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53986         strrchr-sse2-bsf
53987         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53988         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53989         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53990         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53991         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53992         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53994 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53996         * sysdeps/x86_64/wcscmp.S: New file.
53998         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53999         wcscmp-c wcscmp-sse2
54000         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54001         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54002         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54003         * wcsmbs/wcscmp.c: Allow renaming.
54005 2011-09-05  David S. Miller  <davem@davemloft.net>
54007         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54008         stack slot, rather than the struct return pointer slot.
54009         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54010         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54012         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54014 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54016         * po/ja.po: Update from translation team.
54018         [BZ #13144]
54019         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54020         kernel in 64-bit binaries.
54022 2011-09-01  David S. Miller  <davem@davemloft.net>
54024         * elf/elf.h (HWCAP_SPARC_*): Move to..
54025         * sysdeps/sparc/sysdep.h: this new file and add new values.
54026         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54027         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54028         _DL_HWCAP_COUNT to 24.
54029         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54030         entries.
54031         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54032         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54033         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54034         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54035         instead of magic constants.
54036         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54038 2011-08-31  David S. Miller  <davem@davemloft.net>
54040         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54042         Reimplement to do errno handling inline.
54043         (SYSCALL_ERROR_HANDLER): New macro.
54044         (__SYSCALL_STRING): Do not do errno handling in asm.
54045         (__CLONE_SYSCALL_STRING): Delete.
54046         (__INTERNAL_SYSCALL_STRING): Delete.
54047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54048         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54049         (PSEUDO): Reimplement to do errno handling inline.
54050         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54051         (SYSCALL_ERROR_HANDLER): New macro.
54052         (__SYSCALL_STRING): Do not do errno handling in asm.
54053         (__CLONE_SYSCALL_STRING): Delete.
54054         (__INTERNAL_SYSCALL_STRING): Delete.
54055         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54056         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54057         i386.
54058         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54059         (inline_syscall*): Add 'err' argument.
54060         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54061         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54062         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54063         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54065         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54066         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54068 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54070         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54072 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54074         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54075         directive.
54077 2011-08-24  David S. Miller  <davem@davemloft.net>
54079         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54081 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54083         * elf/Makefile: Add rules to build and run unload8 test.
54084         * elf/unload8.c: New file.
54085         * elf/unload8mod1.c: New file.
54086         * elf/unload8mod1x.c: New file.
54087         * elf/unload8mod2.c: New file.
54088         * elf/unload8mod3.c: New file.
54090         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54091         it wasn't used.
54093 2011-08-23  David S. Miller  <davem@davemloft.net>
54095         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54096         subtract stack bias.
54097         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54098         %sp not %fp in calculations.
54099         (_JMPBUF_UNWINDS_ADJ): Likewise.
54101         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54102         (aio_suspend): Call it to force an exception region around the
54103         AIO_MISC_WAIT() invocation.
54105 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54107         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54108         backslash.
54110 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54112         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54113         protection macro.
54114         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54115         and <dl-machine.h>.
54116         (Elf64_FuncDesc): Remove.
54118 2011-08-22  David S. Miller  <davem@davemloft.net>
54120         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54121         sigaltstack check, add missing cfi directives.
54122         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54123         missing cfi directives, and sigaltstack handling.
54125 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54127         [BZ #11724]
54128         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54129         object is seen twice.
54130         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54132         * elf/Makefile (distribute): Add tst-initorder2.c.
54133         (tests): Add tst-initorder2.
54134         (modules-names): Add tst-initorder2a tst-initorder2b
54135         tst-initorder2c tst-initorder2d.  Add rules to build them.
54136         ($(objpfx)tst-initorder2.out): New rule.
54137         * elf/tst-initorder2.c: New file.
54138         * elf/tst-initorder2.exp: New file.
54140 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54142         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54144         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54145         dependencies back to end of function.
54147         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54148         $(elfobjdir)/ld.so.
54150 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54152         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54153         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54155         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54156         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54157         of __vdso_gettimeofday.
54158         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54159         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54160         attribute_hidden.
54161         (_libc_vdso_platform_setup): Remove initialization of
54162         __vdso_gettimeofday and __vdso_time.
54164 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54166         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54167         and fgetc_unlocked.
54168         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54169         getc_unlocked.
54171         * elf/dl-open.c (add_to_global): Report additions to the global scope
54172         for LD_DEBUG=scopes.
54173         (dl_open_worker): Also print scope of newly loaded dependencies.
54174         (_dl_show_scope): Indicate if there is no scope.
54176         [BZ #13114]
54177         * stdio-common/Makefile (tests): Add bug24.
54178         * stdio-common/bug24.c: New file.
54180 2011-08-19  Andreas Jaeger  <aj@suse.de>
54182         [BZ #13114]
54183         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54184         non-existant file when using close-on-exec mode.
54186 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54188         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54189         the very first instruction.
54191         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54192         the CFI state in the end.
54193         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54194         inclusion of dl-trampoline.h.
54195         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54197 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54199         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54200         expectations for long double.
54202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54203         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54205 2011-08-14  David S. Miller  <davem@davemloft.net>
54207         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54208         artificual limit depends upon the system page size.
54210 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54212         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54213         * resolv/Makefile: Define CFLAGS-libresolv.
54215 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54217         * nss/makedb.c (compute_tables): Make variables used in nested
54218         function static.
54220 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54222         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54223         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54224         if buffer was too small.
54226         * elf/pldd.c (main): Attach to all threads in the process.
54227         Rewrite /proc handling to use *at functions.
54229 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54231         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54232         specifies first scope to show.
54233         (dl_open_worker): Update callers.  Move printing scope of new
54234         object to before the relocation.
54235         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54236         * sysdeps/generic/ldsodefs.h: Update declaration.
54238         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54239         string for the scope number.
54241 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54243         * nscd/servicescache.c (cache_addserv): Make sure written is always
54244         initialized.
54246 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54248         * sysdeps/i386/i486/bits/atomic.h
54249         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54250         statement expression, so as to suppress "set but not used" warning.
54251         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54253         * string/strncat.c (STRNCAT): Use prototype definition.
54255         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54256         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54257         -Iprograms here.
54258         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54259         (localedef-modules): Add localedef.
54260         (locale-modules): Add locale.
54262         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54263         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54264         to avoid a warning.
54266 2011-08-14  David S. Miller  <davem@davemloft.net>
54268         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54269         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54271 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54273         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54274         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54275         * elf/rtld.c (dl_main): Set l_name of vDSO.
54276         Call _dl_show_scope when DL_DEBUG_SCOPES.
54277         (process_dl_debug): Recognize scopes flag and also set it for all.
54278         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54279         Declare _dl_show_scope.
54281         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54282         (do_dlopen): Pass caller_dlopen to dl_open.
54283         (__libc_dlopen_mode): Initialize caller_dlopen.
54285         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54286         of libc.  Make tolower call locale-independent.  Optimize a bit by
54287         using isdigit instead of isalnum.
54288         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54290 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54292         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54293         was a dependency or dynamically loaded.
54295 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54297         * intl/l10nflist.c: Allow architecture-specific pop function.
54298         * sysdeps/x86_64/l10nflist.c: New file.
54300         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54301         classification.
54303 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54305         * include/dirent.h: Add libc_hidden_proto for scandirat and
54306         scandirat64.  Don't declare __scandirat64.
54307         * dirent/scandirat.c: Add libc_hidden_def.
54308         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54309         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54311 2011-08-10  David S. Miller  <davem@davemloft.net>
54313         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54314         enum.
54315         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54316         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54317         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54319 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54321         * Versions.def [libc]: Add GLIBC_2.15.
54322         * dirent/Makefile (routines): Add scandirat and scandirat64.
54323         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54324         GLIBC_2.15.
54325         * dirent/dirent.h: Declare scandirat and scandirat64.
54326         * dirent/scandirat.c: New file.
54327         * dirent/scandirat64.c: New file.
54328         * sysdeps/wordsize-64/scandirat.c: New file.
54329         * sysdeps/wordsize-64/scandirat64.c: New file.
54330         * dirent/opendir.c: Define opendirat.
54331         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54332         using scandirat.
54333         * dirent/scandir64.c: Adjust for scandir.c change.
54334         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54335         __scandirat64, and __scandir_cancel_handler.
54336         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54337         additional parameter and use openat instead of open (outside of ld.so).
54338         Add new __opendir as wrapper around __opendirat.
54339         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54340         here without requiring old scandirat implementation.
54342 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54344         * dirent/scandir.c (cancel_handler): Renamed to
54345         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54346         defined.  Adjust users.
54347         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54348         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54350 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54352         * string/test-string.h (IMPL): Use __STRING to expand name and then
54353         stringify it.
54355         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54356         of cleanups.
54358 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54360         * string/Makefile: Update.
54361         (strop-tests): Append strncat.
54362         * string/test-wcscmp.c: New file.
54363         New comprehensive test for wcscmp.
54364         * string/test-strcmp.c: Update.
54365         (WIDE): New define.
54367 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54369         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54370         line.
54372 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54375         encoding to ACE if AI_IDN.
54377 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54379         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54380         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54382 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54384         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54385         Fix overflow bug in strncat.
54386         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54388         * string/test-strncat.c: Update.
54389         Add new tests for checking overflow bugs.
54391 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54394         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54395         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54396         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54397         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54398         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54399         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54400         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54401         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54403         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54404         (USE_AS_STRCAT): Define.
54405         Add strcat and strncat support.
54406         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54408 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54410         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54411         __n bigger than INT_MAX+1.
54412         (__strncmp_g): Likewise.
54414 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54416         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54417         * libio/stido.h: Likewise.
54419         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54420         (AF_NFC): Define.
54421         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54422         (AF_NFC): Define.
54424         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54425         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54426         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54427         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54428         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54430         [BZ #13021]
54431         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54432         installed.
54434         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54435         typo.
54436         (_dl_x86_64_save_sse): Likewise.
54438 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54441         OSXSAVE.
54442         (_dl_x86_64_save_sse): Likewise.
54444         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54446         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54448 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54450         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54451         change.
54452         (_dl_x86_64_save_sse): Use correct AVX check.
54454 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54456         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54457         bug in strncpy/strncat.
54458         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54460 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54462         * string/tester.c (test_strcat): Add tests for different alignments
54463         of source and destination.
54464         (test_strncat): Likewise.
54466 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54468         [BZ #12852]
54469         * posix/glob.c (glob): Check passed in values before using them in
54470         expressions to avoid some overflows.
54471         (glob_in_dir): Likewise.
54473         [BZ #13007]
54474         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54475         check for AVX enablement so that we don't crash with old kernels and
54476         new hardware.
54477         * elf/tst-audit4.c: Add same checks here.
54478         * elf/tst-audit6.c: Likewise.
54480         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54482 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54484         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54486 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54488         * po/cs.po: Update from translation team.
54489         * po/bg.po: Likewise.
54491 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54493         * misc/sys/cdefs.h: Add support for const attribute.
54494         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54495         to gnu_dev_{major,minor,makedev} functions.
54497 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54499         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54501 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54503         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54504         strlen results.
54506 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54509         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54510         register in order to avoid conflicts with the soft frame pointer
54511         being held in r11 when necessary.
54512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54513         (INTERNAL_VSYSCALL_NCS): Likewise.
54515 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54517         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54518         * elf/dl-fini.c (_dl_fini): Adjust caller.
54519         * elf/dl-close.c (_dl_close_worker): Likewise.
54520         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54522 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54524         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54525         "aux_cache->nlibs < 0".
54527         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54528         in the reload-count case.
54530 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54533         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54534         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54535         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54536         * sysdeps/x86_64/multiarch/strcat.S: New file.
54537         * sysdeps/x86_64/multiarch/strncat.S: New file.
54538         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54539         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54540         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54541         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54542         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54543         (USE_AS_STRCAT): Define.
54544         Add strcat and strncat support.
54545         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54546         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54547         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54548         * string/strncat.c: Update.
54549         (USE_AS_STRNCAT): Define.
54550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54551         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54552         and i7.
54553         * sysdeps/x86_64/multiarch/init-arch.h
54554         (bit_Prefer_PMINUB_for_stringop): New.
54555         (index_Prefer_PMINUB_for_stringop): Likewise.
54556         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54557         bit_Prefer_PMINUB_for_stringop.
54559 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54561         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54562         buffer64.
54563         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54564         of casting of buffer.
54565         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54566         buffer32 and buffer64.
54567         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54568         writes instead of casting of buffer.
54569         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54570         buffer32.
54571         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54572         casting of buffer.
54574 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54576         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54578 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54580         * nscd/nscd.c (termination_handler): Don't do anything for a database
54581         if it has not yet been initialized.
54583 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54585         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54587 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54589         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54591 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54593         * po/nl.po: Update from translation team.
54594         * po/sv.po: Likewise.
54596 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54598         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54599         now disallowed by GCC.
54601         * configure.in (use-default-link): Default to yes if a test -shared
54602         link meets our qualifications.
54603         * configure: Regenerated.
54605         * config.make.in (output-format): New variable.
54606         * configure.in: Check for ld --print-output-format support.
54607         * configure: Regenerated.
54608         * Makerules ($(common-objpfx)format.lds)
54609         [$(output-format) != unknown]: Just use $(output-format),
54610         instead of the linker-script munging.
54612 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54614         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54615         of $(common-objpfx)shlib.lds.
54616         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54618         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54619         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54621         * configure.in (-z relro check): Adjust test code to add a large
54622         writable data section after it.
54623         * configure: Regenerated.
54625 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54627         * configure.in (-z relro check): Fix test code to make the variable
54628         truly const.
54629         * configure: Regenerated.
54631 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54633         * nscd/nscd.h (struct traced_file): Define.
54634         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54635         elements.  Add traced_files.
54636         (inotify_fd): Declare.
54637         (register_traced_file): Declare.
54638         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54639         (inotify_fd): Export.
54640         (resolv_conf_descr): Remove.
54641         (nscd_init): Move inotify descriptor creation to main.
54642         Don't register files for notification here.
54643         (register_traced_file): New function.
54644         (invalidate_cache): Don't use reset_res to determine whether to call
54645         res_init, go through the list of registered files.
54646         (main_loop_poll): The inotify descriptors are now stored in the
54647         structures for the traced files.
54648         (main_loop_epoll): Likewise
54649         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54650         to __nss_disable_nscd.
54651         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54652         for a database anymore.  Check the records for all the registered
54653         files instead.
54654         * nss/Makefile (libnss_files-routines): Add files-init.
54655         (libnss_db-routines): Add db-init.
54656         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54657         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54658         * nss/nss_db/db-init.c: New file.
54659         * nss/nss_files/files-init.c: New file.
54660         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54661         __nss_lookup_function.
54662         (__nss_lookup_function): Call nss_load_library.
54663         (nss_load_all_libraries): New function.
54664         (__nss_disable_nscd): Take parameter with callback function for files
54665         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54666         used for the cached services.
54667         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54668         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54669         options for features to all the files in nscd.
54671         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54673 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54675         * csu/elf-init.c (__libc_csu_init): Comment typo.
54677 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54679         * po/pl.po: Update from translation team.
54680         * po/ja.po: Likewise.
54681         * po/ru.po: Likewise.
54682         * po/ko.po: Likewise.
54683         * po/fr.po: Likewise.
54685 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54687         * configure.in (.ctors/.dtors header and trailer check):
54688         Use an empirical test on a built program.
54689         * configure: Regenerated.
54691         * configure.in (-z relro check): Use an empirical test on a built DSO.
54692         Detect, but do not require, on ia64.
54693         * configure: Regenerated.
54695         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54696         Update tests that use readelf to use $READELF instead.
54697         * configure: Regenerated.
54699 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54701         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54702         if the result is not used.
54704 2011-07-05  Andreas Jaeger  <aj@suse.de>
54706         [BZ#9696]
54707         * stdlib/tst-strtod.c: Add testcase.
54709 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54711         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54712         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54713         The latter has a higher limit.  Take additional parameter to pass to
54714         the new function.
54715         (__pathconf): Pass file to __statfs_link_max.
54716         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54717         __statfs_link_max.
54718         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54719         __statfs_link_max.
54721         [BZ #12868]
54722         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54723         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54724         Handle Lustre.
54725         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54726         (__statfs_filesize_max): Likewise.
54727         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54729 2011-07-05  Andreas Jaeger  <aj@suse.de>
54731         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54733 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54735         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54736         `status' variable.
54737         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54738         Likewise.
54740 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54742         * Makefile (strop-tests): Add strncat.
54743         * string/test-strncat.c: New file.
54745 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54747         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54749 2011-06-21  Andreas Jaeger  <aj@suse.de>
54751         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54752         Copy rule from iconvdata/Makefile.
54754 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54756         [BZ #12922]
54757         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54758         but no long options are defined, just return 'W'.
54760 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54762         [BZ #9696]
54763         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54765 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54767         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54768         netgroups to read.
54769         (innetgr): Likewise.
54771 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54773         * config.make.in (install_root): Default to $(DESTDIR).
54775 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54777         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54779 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54781         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54783         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54784         containing directory rather than embedding absolute directory names.
54786         * scripts/check-local-headers.sh: Rewritten using awk.
54787         Match by word, not by line.  Print error messages for matches.
54788         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54790         * Makerules [shlib-lds-flags empty]:
54791         ($(common-objpfx)libc_pic.opts): New target.
54792         ($(common-objpfx)libc_pic.os.clean): New target.
54793         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54795         * config.make.in (OBJCOPY): New variable.
54796         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54797         * configure: Regenerated.
54799         * config.make.in (use-default-link): New variable.
54800         * configure.in (use_default_link): Grok --with-default-link to set it.
54801         * configure: Regenerated.
54802         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54803         (shlib-lds, shlib-lds-flags): Define to empty.
54805         * Makerules (shlib-lds): New variable.
54806         (shlib-lds-flags): New variable.
54807         (build-shlib, build-moduile, build-module-asneeded): Use it.
54808         ($(common-objpfx)libc.so): Use $(shlib-lds).
54809         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54810         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54812         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54813         DT_FLAGS/DT_FLAGS_1 with zero flags.
54815         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54816         linker script munging.
54818 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54820         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54821         as 128-bit value.
54822         * crypt/sha512.c (sha512_process_block): Perform total addition using
54823         128-bit if possible.
54824         (__sha512_finish_ctx): Likewise.
54825         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54826         as 64-bit value.
54827         * crypt/sha256.c (SWAP64): Define.
54828         (sha256_process_block): Perform total addition using 64-bit if
54829         possible.
54830         (__sha256_finish_ctx): Likewise.
54832 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54834         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54835         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54836         * nscd/hstcache.c (cache_addhst): Likewise.
54837         * nscd/grpcache.c (cache_addgr): Likewise.
54838         * nscd/aicache.c (addhstaiX): Likewise
54839         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54841 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54843         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54844         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54845         * nscd/hstcache.c (cache_addhst): Likewise.
54846         * nscd/grpcache.c (cache_addgr): Likewise.
54847         * nscd/aicache.c (addhstaiX): Likewise
54849 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54851         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54852         domain only when needed.
54854 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54857         is always restored.
54859 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54861         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54862         are re-adding the entry.
54863         * nscd/servicescache.c (cache_addserv): Likewise.
54865 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54867         * sysdeps/generic/dl-irel.h: fix protection against multiple
54868         inclusions.
54869         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54871 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54873         [BZ #12935]
54874         * malloc/memusage.sh: Fix quoting in message.
54875         * debug/xtrace.sh: Likewise.
54877         * configure.in: Remove support for --experimental-malloc option, make
54878         it the default.
54879         * config.make.in: Likewise.
54880         * malloc/Makefile: Likewise.
54882 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54884         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54885         two-byte characters.
54887 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54889         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54890         AC_CACHE_CHECK invocation.
54891         * configure: Regenerated.
54893         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54895 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54897         [BZ #12350]
54898         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54899         bit from old_res_options.
54901         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54903         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54904         value type for setfct.
54906 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54908         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54909         __gettimeofday instead of gettimeofday.
54911 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54913         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54915 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54917         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54919         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54920         info.
54922 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54925         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54926         strcpy-sse2-unaligned strncpy-sse2-unaligned
54927         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54928         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54929         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54930         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54931         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54932         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54934         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54935         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54936         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54937         (STRCPY): Support SSE2 and SSSE3 versions.
54939 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54941         [BZ #12874]
54942         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54943         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54944         kernels which artificially limit size of requests.
54946 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54949         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54950         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54951         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54952         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54953         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54954         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54955         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54956         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54957         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54958         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54959         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54960         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54961         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54962         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54964         Enable unaligned load optimization for Intel Core i3, i5 and i7
54965         processors.
54966         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54967         Define.
54968         (index_Fast_Unaligned_Load): Define.
54969         (HAS_FAST_UNALIGNED_LOAD): Define.
54971 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54973         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54975 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54977         [BZ #12907]
54978         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54979         until it is clear that the information is realy needed.
54980         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54982 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54986 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54988         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54989         /sys/devices/system/cpu/online if it is usable.
54991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54992         reading the information from the /proc filesystem to once a second.
54994 2011-06-21  Andreas Jaeger  <aj@suse.de>
54996         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54997         NULL after inclusion of kernel headers.
54999 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55001         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55002         calls to internal_setent.
55004         [BZ #12885]
55005         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55006         addresses using gethostbyname4_r ignore IPv4 addresses.
55008         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55009         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55011         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55013 2011-06-20  David S. Miller  <davem@davemloft.net>
55015         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55016         inclusions.
55017         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55019         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55020         (elf_irel): Use it.
55021         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55022         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55023         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55024         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55025         * sysdeps/x86_64/dl-irel.h: Likewise.
55027         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55028         * elf/dl-sym.c: Likewise.
55030 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55032         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55033         need to dereference resplen2.
55035 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55037         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55039 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55041         * Makeconfig: Define vardbdir and inst_vardbdir.
55042         * nss/Makefile: Add rules to install db-Makefile.
55044         * nss/nss_db/db-XXX.c: Cleanup.
55046         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55047         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55048         GLIBC_PRIVATE.
55049         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55050         * nss/makedb.c: Implement -g option to specify that value strings
55051         are generated and should not be added to table iterated over for
55052         get*ent calls.
55053         * nss/nss_db/db-initgroups.c: New file.
55055         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55056         interface.
55058         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55059         (internal_getgrouplist): Adjust to name change.
55060         Update use_initgroups_entry if this is not the first call.
55061         * nss/databases.def: Add initgroups entry.
55063         * nss/makedb.c (compute_tables): Check result of multiple hash table
55064         sizes to minimize maximum chain length.
55066 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55068         * Versions.def: Add entry for libnss_db.
55069         * shlib-versions: Likewise.
55070         * nss/Makefile: Add rules to build libnss_db.
55071         * nss/Versions: Add libnss_db information.  Organize libnss_files
55072         entries better.
55073         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55074         makedb progra.  Some minor improvements to generate smaller files.
55075         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55076         here from...
55077         * nss/makedb.c: ...here.
55078         Improve database format to be smaller and require less memory at
55079         runtime.
55080         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55081         db anymore.
55082         * nss/nss_db/db-netgrp.c: Likewise.
55083         * nss/nss_db/db-open.c: Likewise.
55084         * nss/nss_files/flies-XXX.x: Adjust comments.
55085         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55086         * nss/nss_files/files-grp.c: Likewise.
55087         * nss/nss_files/files-hosts.c: Likewise.
55088         * nss/nss_files/files-network.c: Likewise.
55089         * nss/nss_files/files-proto.c: Likewise.
55090         * nss/nss_files/files-pwd.c: Likewise.
55091         * nss/nss_files/files-rpc.c: Likewise.
55092         * nss/nss_files/files-service.c: Likewise.
55093         * nss/nss_files/files-sgrp.c: Likewise.
55094         * nss/nss_files/files-spwd.c: Likewise.
55095         * nss/nss_db/db-alias.c: Removed.
55096         * nss/nss_db/dummy-db.h: Removed.
55098 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55100         * nss/makedb.c: Rewritten to not use database library.
55101         * nss/Makefile: Update to build new makedb program.
55103 2011-06-14  Andreas Jaeger  <aj@suse.de>
55105         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55106         memset declaration.
55108 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55111         tmpbuf.
55113 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55115         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55116         * elf/Makefile ($(objpfx)ld.so): Likewise.
55118         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55119         Don't list ld.so twice in dependencies.
55121         * posix/bug-regex31.c: Include <stdlib.h>.
55123         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55125         * nis/nss_compat/compat-spwd.c
55126         (getspent_next_nss_netgr): Remove unused variable.
55127         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55129         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55130         nonmembers" output to use the right array.
55132         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55134         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55136         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55137         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55138         * catgets/gencat.c (read_input_file): Likewise.
55139         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55141         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55142         variable definition inside #if's controlling its use.
55144         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55146         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55148         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55150         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55151         unreachable code.
55153         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55155         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55156         * configure: Regenerated.
55158         * Makerules: Revert last change.
55159         * elf/Makefile: Likewise.
55161 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55163         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55164         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55165         (reloc-link): Likewise.
55167 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55169         * elf/Makefile: Add rules to build pldd.
55170         * elf/pldd.c: New file.
55171         * elf/pldd-xx.c: New file.
55173 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55175         * version.h: Update for 2.15 development version.
55177 2011-06-07  David S. Miller  <davem@davemloft.net>
55179         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55180         ifuncs.
55181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55182         elf_machine_lazy_rel): Likewise.
55183         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55184         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55185         elf_machine_lazy_rel): Likewise.
55186         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55187         dl_hwcap via passed in argument.
55188         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55189         Likewise.
55191 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55193         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55195 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55197         [BZ #12849]
55198         * manual/fdl-1.1.texi: New file, verbatim from:
55199         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55200         * manual/lgpl-2.1.texi: New file, verbatim from:
55201         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55202         * manual/Makefile (licenses): New variable, list those new file names.
55203         (texis): Use it.
55204         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55206         * manual/fdl.texi: File removed.
55207         * manual/lesser.texi: File removed.
55208         * manual/libc.texinfo (Copying, Documentation License):
55209         Use new @include file names, put @appendix directive before @include.
55211 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55213         [BZ #12841]
55214         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55215         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55216         (mq_open): Add __NTH.
55218 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55221         Assume Intel Core i3/i5/i7 processor if AVX is available.
55223 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55225         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55226         typo.
55228 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55230         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55231         memory.  Use alloca_account.  Fix memory leak when retrying.
55233 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55235         * version.h (RELEASE): Bump for 2.14 release.
55236         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55238         * config.make.in (RANLIB): Remove entry.
55240 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55242         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55243         (libc.pot): Work around missing support for .ksh extension in xgettext.
55245         [BZ #12684]
55246         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55247         if both request failed.
55248         (send_dg): In case of server errors clear resplen or *resplen2.
55250         [BZ #12454]
55251         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55252         when there are multiple maps.
55253         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55254         (_dl_fini): Remove test here.
55256         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55258 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55260         [BZ #12350]
55261         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55262         bit from old_res_options.
55263         (gaih_inet): Likewise.
55265         [BZ #11099]
55266         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55267         as signed.
55269         * resolv/res_init.c (res_setoptions): Make the code more compact.
55271         [BZ #11558]
55272         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55273         set RES_USEVC.
55275         [BZ #11634]
55276         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55278         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55280         [BZ #11781]
55281         * malloc/malloc.h: Declare malloc hook variables as volatile.
55283         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55284         in last patch.
55286         [BZ #11799]
55287         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55288         raise in the comment.
55289         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55290         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55291         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55293 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55295         [BZ #12811]
55296         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55297         grow the buffers more if it already has to be sufficient.
55298         (build_wcs_upper_buffer): Likewise.
55299         * posix/regexec.c (check_matching): Likewise.
55300         (clean_state_log_if_needed): Likewise.
55301         (extend_buffers): Don't enlarge buffers beyond size of the input
55302         buffer.
55303         Patches mostly by Emil Wojak <emil@wojak.eu>.
55304         * posix/bug-regex32.c: New file.
55305         * posix/Makefile (tests): Add bug-regex32.
55307         * locale/findlocale.c (_nl_find_locale): Return right away if
55308         _nl_explode_name failed.
55309         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55311         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55313         * debug/xtrace.sh: Unify messages.
55314         * malloc/memusage.sh: Likewise.
55316         [BZ #12813]
55317         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55318         time symbol from vDSO.  Substitute with vsyscall if not available.
55319         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55320         __vdso_time.
55322         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55323         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55324         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55325         Add sendmmsg and internal_sendmmsg.
55326         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55327         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55328         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55330         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55331         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55332         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55334 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55336         [BZ #12813]
55337         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55338         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55339         available.
55340         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55341         __vdso_getcpu.
55343         [BZ #12814]
55344         * iconvdata/Makefile (tests): Add bug-iconv9.
55345         * iconvdata/bug-iconv9.c: New file.
55347 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55349         [BZ #12814]
55350         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55352 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55354         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55355         (struct user_regs_struct): Change intcs field back to cs.
55357 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55359         * po/ja.po: Update from translation team.
55361 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55363         [BZ #12795]
55364         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55365         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55367 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55369         * stdlib/longlong.h: Update from GCC.
55371 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55373         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55374         parameter name.
55375         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55376         Add parameter name.
55377         (__sysconf): Pass it down.
55379 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55381         [BZ #12671]
55382         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55383         some situations.
55384         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55385         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55386         add in in __libc_use_alloca calls.  Adjust callers.
55387         (glob): Use malloc in some situations.
55389         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55390         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55391         pltexit.
55393 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55395         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55396         and CLOCK_BOOTTIME_ALARM.
55398         [BZ #12782]
55399         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55400         is returned.
55402         * string/_strerror.c (__strerror_r): Print negative errors as signed
55403         numbers.
55405         [BZ #12777]
55406         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55407         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55408         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55410         * configure.in: Fix typo in redirection and correct removal of test
55411         files in two cases.
55413         [BZ #12788]
55414         * locale/setlocale.c (new_composite_name): Fix test to check for
55415         identical name of all categories.
55417         [BZ #12792]
55418         * libio/filedoalloc.c (local_isatty): New function.
55419         (_IO_file_doallocate): Use local_isatty.
55420         * stdio-common/perror.c (perror): In case a new stream is used
55421         forward the stream error.
55422         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55423         error flag.
55425 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55427         [BZ #11869]
55428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55429         alloca.
55430         * include/alloca.h (extend_alloca_account): Define.
55432         [BZ #11857]
55433         * posix/regex.h: Fix comments with documentation of user-accessible
55434         fields after compilation and describe correct free'ing of pattern
55435         after re_compile_pattern.
55436         Patch by Reuben Thomas <rrt@sc3d.org>.
55438 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55440         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55441         and -mno-altivec to prevent the compiler from using Altivec and/or
55442         VSX instructions when the corresponding registers are not available.
55444 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55446         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55448 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55450         * libio/freopen.c (freopen): Use __dup2, not dup2.
55451         * libio/freopen64.c (freopen64): Likewise.
55453 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55455         [BZ #12775]
55456         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55457         * math/Makefile (tests): Add test-powl.
55458         (CFLAGS-test-powl.c): Define.
55459         * math/test-powl.c: New file.
55461 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55463         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55465 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55467         [BZ #11837]
55468         * iconvdata/gb18030.c: Update to GB18020-2005.
55470 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55472         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55473         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55474         Patch by Aharon Robbins <arnold@skeeve.com>.
55476         [BZ #11892]
55477         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55478         on the stack.
55480         [BZ #11895]
55481         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55482         through underflows.
55484         [BZ #12766]
55485         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55486         point to strings before performing equality test for error_one_per_line
55487         mode.
55489         [BZ #11697]
55490         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55492         [BZ #11820]
55493         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55494         (struct user_fpregs_struct): Avoid __uint*_t types.
55496         [BZ #6420]
55497         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55498         symbol info.  Use it instead of calling _dl_addr locally.
55499         (lock_and_info): New function.
55500         (tr_freehook): Call lock_and_info and pass symbol info as additional
55501         parameter to tr_where.
55502         (tr_mallochook): Likewise.
55503         (tr_reallochook): Likewise.
55504         (tr_memalignhook): Likewise.
55506         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55507         used and couldn't be at all thread-safe.
55509 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55511         * libio/freopen.c (freopen): Don't close old file descriptor
55512         before the new one is opened.  Instead dup the new file descriptor
55513         to the old one after the new stream is created.
55514         * libio/freopen64.c (freopen64): Likewise.
55515         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55516         * libio/fileops.c (_IO_new_file_close_it): Handle new
55517         _IO_FLAGS2_NOCLOSE flag.
55518         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55519         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55520         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55521         _IO_FLAGS2_NOCLOSE flag.
55522         * include/unistd.h: Add hidden_proto for dup3.
55523         Define __have_dup3.
55524         * io/dup3.c: Define hidden symbol.
55525         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55527         [BZ #7101]
55528         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55529         when an incomplete long option is used.
55530         * posix/tst-getopt_long1.c: New file.
55531         * posix/Makefile (tests): Add tst-getopt_long1.
55533         [BZ #10138]
55534         * scripts/config.guess: Update from autoconf-2.68.
55535         * scripts/config.sub: Likewise.
55537         [BZ #10157]
55538         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55539         tests into ...
55540         (has_cpuclock): ...this.  New function.
55541         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55542         macro here based on has_cpuclock code.
55544         [BZ #10149]
55545         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55546         First byte (not low byte) is now always NUL.
55547         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55549         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55550         Use non-cancelable interfaces.
55552         [BZ #9809]
55553         * locale/iso-639.def: Add entry for Sorani.
55555         [BZ #11901]
55556         * include/stdlib.h: Move include protection to the right place.
55557         Define abort_msg_s.  Declare __abort_msg with it.
55558         * stdlib/abort.c (__abort_msg): Adjust type.
55559         * assert/assert.c (__assert_fail_base): New function.  Majority
55560         of code from __assert_fail.  Allocate memory for __abort_msg with
55561         mmap.
55562         (__assert_fail): Now call __assert_fail_base.
55563         * assert/assert-perr.c: Remove bulk of implementation.  Use
55564         __assert_fail_base.
55565         * include/assert.hL Declare __assert_fail_base.
55566         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55567         mmap.
55568         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55570 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55572         [BZ #11952]
55573         [BZ #12453]
55574         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55575         until all modules are registered in the DTV.
55576         * elf/Makefile: Add rules to build and run tst-tls19.
55577         * elf/tst-tls19.c: New file.
55578         * elf/tst-tls19mod1.c: New file.
55579         * elf/tst-tls19mod2.c: New file.
55580         * elf/tst-tls19mod3.c: New file.
55581         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55583         [BZ #12083]
55584         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55585         correctly.
55587         [BZ #12601]
55588         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55589         two-byte sequence errors.
55590         * iconvdata/Makefile (tests): Add bug-iconv8.
55591         * iconvdata/bug-iconv8.c: New file.
55593         [BZ #12626]
55594         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55595         buf2 definition.
55597         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55599         [BZ #12432]
55600         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55601         (dummy_getcfa): New function.
55602         (init): Get _Unwind_GetCFA address, use dummy if not found.
55603         (backtrace_helper): In recursion check, also check whether CFA changes.
55604         (__backtrace): Completely initialize arg.
55606         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55607         storing incomplete byte sequence in state object.  Avoid testing for
55608         guaranteed too small input if we know there is enough data available.
55610 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55612         * Makeconfig (+link-pie): Indent.
55613         * Rules (binaries-pie): Define if $(have-fpie) and
55614         $(build-shared).
55615         (binaries-shared): Also filter out $(binaries-pie).
55616         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55617         * nscd/Makefile (others-pie): Add nscd.
55618         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55619         ($(objpfx)nscd): Remove command override.
55620         * login/Makefile (others-pie): Add pt_chown.
55621         ($(objpfx)pt_chown): Remove command override.
55622         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55623         remove command overrides.
55625 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55627         * libio/tst_putwc.c: Fix error messages.
55629         [BZ #12724]
55630         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55631         currently writing and seek to current position when not.
55632         * libio/Makefile (tests): Add bug-fclose1.
55633         * libio/bug-fclose1.c: New file.
55635 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55637         [BZ #12511]
55638         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55639         don't set DF_1_NODELETE here.
55640         (do_lookup_x): When entering new entry test for copy relocation
55641         and if necessary set DF_1_NODELETE flag.
55642         * elf/tst-unique4.cc: New file.
55643         * elf/tst-unique4.h: New file.
55644         * elf/tst-unique4lib.cc: New file.
55645         * elf/Makefile: Add rules to build and run tst-unique4.
55646         Patch by Piotr Bury <pbury@goahead.com>.
55648 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55650         [BZ #12052]
55651         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55653         [BZ #12625]
55654         * misc/mntent_r.c (addmntent): Flush the stream after the output
55656         [BZ #12393]
55657         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55658         (is_trusted_path_normalize): Skip initial colon.  Append slash
55659         to empty buffer.  Duplicate is_trusted_path code but allow
55660         constructed patch to be prefix.
55661         (is_dst): Allow $ORIGIN followed by /.
55662         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55663         Correct testing of result of is_trusted_path_normalize
55664         (decompose_rpath): Fix warning.
55666 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55668         [BZ #11257]
55669         * grp/initgroups.c (internal_getgrouplist): When we found the service
55670         list through the initgroups entry in nsswitch.conf do not always
55671         continue on a successful lookup.  Don't always use the
55672         __nss_group_database value if it is set.
55673         * nss/nsswitch.conf (initgroups): Change action for successful db
55674         lookup to continue for compatibility.
55676 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55678         [BZ #11532]
55679         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55680         and CP774 modules.
55681         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55682         and CP774 modules.
55683         * iconvdata/tst-tables.sh: Likewise.
55684         * iconvdata/cp770.c: New file.
55685         * iconvdata/cp771.c: New file.
55686         * iconvdata/cp772.c: New file.
55687         * iconvdata/cp773.c: New file.
55688         * iconvdata/cp774.c: New file.
55689         * iconvdata/testdata/CP770: New file.
55690         * iconvdata/testdata/CP770..UTF8: New file.
55691         * iconvdata/testdata/CP771: New file.
55692         * iconvdata/testdata/CP771..UTF8: New file.
55693         * iconvdata/testdata/CP772: New file.
55694         * iconvdata/testdata/CP772..UTF8: New file.
55695         * iconvdata/testdata/CP773: New file.
55696         * iconvdata/testdata/CP773..UTF8: New file.
55697         * iconvdata/testdata/CP774: New file.
55698         * iconvdata/testdata/CP774..UTF8: New file.
55700         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55701         END CHARMAP line.
55702         * iconvdata/gen-8bit-gap.sh: Likewise.
55703         * iconvdata/gen-8bit.sh: Likewise.
55705         * locale/iso-639.def: Add ary entry.
55707         [BZ #11258]
55708         * locale/C-translit.h.in: Add U20A1 transliteration.
55710         [BZ #12178]
55711         * locale/iso-639.def: Add wae entry.
55712         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55714         [BZ #12545]
55715         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55716         for n.
55718         [BZ #12711]
55719         * locale/C-translit.h.in: Add entry for U20B9.
55720         Patch by pravin.d.s@gmail.com.
55722 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55724         [BZ #12713]
55725         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55726         ENAMETOOLONG use generic getcwd.
55727         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55728         in rtld.  Use *stat64.
55729         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55730         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55731         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55732         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55733         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55734         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55735         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55736         __fstatat64 macros.
55737         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55738         * dirent/rewinddir.c: Add libc_hidden_def.
55739         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55740         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55742         * include/dirent.h (__alloc_dir): Add flags parameter.
55743         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55744         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55745         __alloc_dir.
55746         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55747         from fdopendir if O_CLOEXEC is already set.
55749 2011-03-15  Alan Modra  <amodra@gmail.com>
55751         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55752         l_tls_firstbyte_offset non-zero.  Save padding offset in
55753         l_tls_firstbyte_offset for later use.
55754         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55755         freeing static tls block.
55757 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55759         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55760         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55761         being defined by the kernel headers.
55763 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55765         [BZ #12734]
55766         * resolv/resolv.h: Define RES_NOTLDQUERY.
55767         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55768         no-tld-query and set RES_NOTLDQUERY.
55769         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55770         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55771         modern BIND to search name as TLD unless forbidden.
55773 2011-05-07  Petr Baudis  <pasky@suse.cz>
55774             Ulrich Drepper  <drepper@gmail.com>
55776         [BZ #12393]
55777         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55778         (is_trusted_path): ...to here.
55779         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55780         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55781         using is_trusted_path_normalize() in setuid scripts.
55783 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55785         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55786         __BEGIN/__END_DECLS.
55788 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55790         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55791         NSS_STATUS_NOTFOUND if no record was found.
55793 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55795         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55796         (headers-not-in-tirpc): Remove rpc/netdb.h
55797         * resolv/netdb.h: Revert last change.
55799 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55801         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55802         circular dependency between libgcc.a and libc.a.
55804 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55806         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55807         * nis/Makefile: Don't install rpcsvc/*.
55808         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55809         instead of <rpc/types.h>.
55810         (MAXHOSTNAMELEN): Define.
55812 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55814         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55816 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55818         [BZ #12714]
55819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55820         gethostbyname4_r when IPv6 results are possible.
55822 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55824         [BZ #12723]
55825         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55826         _PC_PIPE_BUF handling.
55828 2011-04-30  Bruno Haible  <bruno@clisp.org>
55830         [BZ #12717]
55831         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55832         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55833         to 'int'.
55834         * inet/getnameinfo.c (getnameinfo): Likewise.
55836 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55838         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55839         to groups setting in database lookup.
55840         * nss/nsswitch.conf: Add initgroups entry.
55842 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55844         [BZ #12685]
55845         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55846         mode string.
55847         Patch by Eric Blake <eblake@redhat.com>.
55849 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55851         * sunrpc/Makefile (need-export-routines): Add svc_run.
55852         (routines): Remove svc_run.
55853         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55854         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55855         * sunrpc/svc_run.c (svc_run): Likewise.
55856         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55858 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55860         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55861         problem in reallocation in last patch.
55863 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55865         * sunrpc/Makefile: Move inclusion of Rules.
55867 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55869         * nss/nss_files/files-initgroups.c: New file.
55870         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55871         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55872         _nss_files_initgroups_dyn.
55874 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55876         * elf/elf.h (R_ARM_IRELATIVE): Define.
55878 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55880         * po/ru.po: Update from translation team.
55882 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55884         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55885         dependencies.
55887 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55889         [BZ #12653]
55890         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55891         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55892         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55893         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55894         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55896 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55898         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55899         differing bytes.
55900         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55901         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55902         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55904 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55906         [BZ #12420]
55907         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55908         storing it.
55909         * stdlib/bug-getcontext.c: New file.
55910         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55912 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55914         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55915         instructions into .machine "z9-109".
55916         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55917         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55919 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55921         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55922         between environment variables and auxiliary vector.
55924 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55926         * Makefile: Add rules to build linkobj/libc.so.
55927         * include/libc-symbols.h: Define libc_hidden_nolink.
55928         * include/rpc/auth.h: Mark functions which are to be hidden.
55929         * include/rpc/auth_des.h: Likewise.
55930         * include/rpc/auth_unix.h: Likewise.
55931         * include/rpc/clnt.h: Likewise.
55932         * include/rpc/des_crypt.h: Likewise.
55933         * include/rpc/key_prot.h: Likewise.
55934         * include/rpc/pmap_clnt.h: Likewise.
55935         * include/rpc/pmap_prot.h: Likewise.
55936         * include/rpc/pmap_rmt.h: Likewise.
55937         * include/rpc/rpc_msg.h: Likewise.
55938         * include/rpc/svc.h: Likewise.
55939         * include/rpc/svc_auth.h: Likewise.
55940         * include/rpc/xdr.h: Likewise.
55941         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55942         * nss/Makefile: Likewise.
55943         * sunrpc/Makefile: Don't install headers.  Build library with normal
55944         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55945         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55946         for the compat linking library.  Remove use of INTDEF/INTUSE.
55947         * sunrpc/auth_none.c: Likewise.
55948         * sunrpc/auth_unix.c: Likewise.
55949         * sunrpc/authdes_prot.c: Likewise.
55950         * sunrpc/authuxprot.c: Likewise.
55951         * sunrpc/clnt_gen.c: Likewise.
55952         * sunrpc/clnt_perr.c: Likewise.
55953         * sunrpc/clnt_raw.c: Likewise.
55954         * sunrpc/clnt_simp.c: Likewise.
55955         * sunrpc/clnt_tcp.c: Likewise.
55956         * sunrpc/clnt_udp.c: Likewise.
55957         * sunrpc/clnt_unix.c: Likewise.
55958         * sunrpc/des_crypt.c: Likewise.
55959         * sunrpc/des_soft.c: Likewise.
55960         * sunrpc/get_myaddr.c: Likewise.
55961         * sunrpc/key_call.c: Likewise.
55962         * sunrpc/key_prot.c: Likewise.
55963         * sunrpc/netname.c: Likewise.
55964         * sunrpc/pm_getmaps.c: Likewise.
55965         * sunrpc/pm_getport.c: Likewise.
55966         * sunrpc/pmap_clnt.c: Likewise.
55967         * sunrpc/pmap_prot.c: Likewise.
55968         * sunrpc/pmap_prot2.c: Likewise.
55969         * sunrpc/pmap_rmt.c: Likewise.
55970         * sunrpc/publickey.c: Likewise.
55971         * sunrpc/rpc_cmsg.c: Likewise.
55972         * sunrpc/rpc_common.c: Likewise.
55973         * sunrpc/rpc_dtable.c: Likewise.
55974         * sunrpc/rpc_prot.c: Likewise.
55975         * sunrpc/rpc_thread.c: Likewise.
55976         * sunrpc/rtime.c: Likewise.
55977         * sunrpc/svc.c: Likewise.
55978         * sunrpc/svc_auth.c: Likewise.
55979         * sunrpc/svc_authux.c: Likewise.
55980         * sunrpc/svc_raw.c: Likewise.
55981         * sunrpc/svc_run.c: Likewise.
55982         * sunrpc/svc_simple.c: Likewise.
55983         * sunrpc/svc_tcp.c: Likewise.
55984         * sunrpc/svc_udp.c: Likewise.
55985         * sunrpc/svc_unix.c: Likewise.
55986         * sunrpc/svcauth_des.c: Likewise.
55987         * sunrpc/xcrypt.c: Likewise.
55988         * sunrpc/xdr.c: Likewise.
55989         * sunrpc/xdr_array.c: Likewise.
55990         * sunrpc/xdr_float.c: Likewise.
55991         * sunrpc/xdr_intXX_t.c: Likewise.
55992         * sunrpc/xdr_mem.c: Likewise.
55993         * sunrpc/xdr_rec.c: Likewise.
55994         * sunrpc/xdr_ref.c: Likewise.
55995         * sunrpc/xdr_sizeof.c: Likewise.
55996         * sunrpc/xdr_stdio.c: Likewise.
55998 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56000         [BZ #12650]
56001         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56002         * sysdeps/ia64/dl-tls.h: Likewise.
56003         * sysdeps/powerpc/dl-tls.h: Likewise.
56004         * sysdeps/s390/dl-tls.h: Likewise.
56005         * sysdeps/sh/dl-tls.h: Likewise.
56006         * sysdeps/sparc/dl-tls.h: Likewise.
56007         * sysdeps/x86_64/dl-tls.h: Likewise.
56008         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56010 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56012         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56013         rpath element also skip the following colon.
56014         (expand_dynamic_string_token): Add is_path parameter and pass
56015         down to DL_DST_REQUIRED and _dl_dst_substitute.
56016         (decompose_rpath): Call expand_dynamic_string_token with
56017         non-zero is_path.  Ignore empty rpaths.
56018         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56019         with zero is_path.
56021 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56024         Make cancelable.
56026 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56028         [BZ #12655]
56029         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56030         Patch by Filipe David Manana <fdmanana@apache.org>.
56032 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56034         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56035         Maintain aligned stack.
56036         (CHECK_RSP): Remove unused macro.
56038 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56040         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56041         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56043 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56045         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56047         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56049 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56051         [BZ #12518]
56052         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56053         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56054         * sysdeps/x86_64/memmove.c: New file.
56055         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56056         (memcpy): Renamed to ...
56057         (__new_memcpy): This.
56058         (memcpy): Provide GLIBC_2_14 memcpy.
56059         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56060         (memcpy): Provide GLIBC_2_2_5 memcpy.
56062 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56064         [BZ #12631]
56065         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56067 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56069         * misc/syncfs.c: New file.
56070         * misc/Makefile (routines): Add syncfs.
56071         * posix/unistd.h: Declare syncfs.
56072         * sysdeps/unix/syscalls.list: Add syncfs.
56074 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56076         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56077         open_by_handle_at.
56078         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56079         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56080         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56081         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56083         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56084         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56086 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56088         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56089         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56090         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56091         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56092         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56094         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56096         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56097         sync_file_range.c with -fexceptions.
56098         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56099         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56100         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56101         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56102         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56103         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56104         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56105         sync_file_range as cancellation point
56106         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56107         now a wrapper around __call_sync_file_range with cancellation handling.
56108         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56109         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56110         function name to __call_sync_file_range.
56111         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56112         Add call_sync_file_range.
56114 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56117         bits/timex.h.
56119 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56121         * iconv/iconv.h: Fix typo in comment.
56122         * io/fcntl.h: Likewise.
56123         * libio/stdio.h: Likewise.
56124         * posix/spawn.h: Likewise.
56125         * posix/unistd.h: Likewise.
56126         * stdlib/stdlib.h: Likewise.
56127         * time/time.h: Likewise.
56128         * wcsmbs/wchar.h: Likewise.
56130         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56131         open_by_handle): Add.
56132         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56133         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56134         Augment a few comments.
56135         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56137         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56140         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56141         open_by_handle.
56143         * io/fcntl.h (AT_EMPTY_PATH): Define.
56145 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56147         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56148         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56149         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56150         to...
56151         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56152         * Versions.def: Add GLIBC_2.14.
56153         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56154         Export.
56156 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56158         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56159         round counter.
56160         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56162 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56164         [BZ #12597]
56165         * string/test-strncmp.c (do_page_test): New function.
56166         (check2): Likewise.
56167         (test_main): Call check2.
56168         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56170 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56172         [BZ #12587]
56173         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56174         Handle cache information in CPU leaf 4.
56175         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56177 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56179         [BZ #12583]
56180         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56181         character representation.
56182         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56184 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56186         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56187         END(__isnan) to END(__isnanf) to match function entry point/label
56188         EALIGN(__isnanf,...).
56190 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56192         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56194 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56196         [BZ #12510]
56197         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56198         copy from the symbol referenced in the relocation to initialize the
56199         used variable.
56200         Patch by Piotr Bury <pbury@goahead.com>.
56201         * elf/Makefile: Add rules to build and tst-unique3.
56202         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56203         * elf/tst-unique3.cc: New file.
56204         * elf/tst-unique3.h: New file.
56205         * elf/tst-unique3lib.cc: New file.
56206         * elf/tst-unique3lib2.cc: New file.
56208         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56210 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56212         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56213         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56214         to _start.
56216 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56218         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56219         to-be-loaded object along a path to loader is ld.so.
56221 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56222             Ulrich Drepper  <drepper@gmail.com>
56224         * sysdeps/x86_64/memset.S: After aligning destination, code
56225         branches to different locations depending on the value of
56226         misalignment, when multiarch is enabled. Fix this.
56228 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56230         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56231         Set _x86_64_preferred_memory_instruction for AMD processsors.
56232         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56233         Set bit_Prefer_SSE_for_memop for AMD processors.
56235 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56237         * libio/fmemopen.c (fmemopen): Optimize a bit.
56239 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56241         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56243 2011-03-03  Roland McGrath  <roland@redhat.com>
56245         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56247 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56249         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56250         __bzero_ultra1 instead of __memset_ultra1.
56252 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56253             Ulrich Drepper  <drepper@gmail.com>
56255         [BZ #12509]
56256         * include/link.h (struct link_map): Add l_orig_initfini.
56257         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56258         returning unsuccessfully.
56259         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56260         close of a file loaded at startup, restore the original l_initfini
56261         list.
56262         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56263         list, store the pointer.
56264         * elf/Makefile ($(objpfx)noload-mem): New rule.
56265         (noload-ENV): Define.
56266         (tests): Add $(objpfx)noload-mem.
56267         * elf/noload.c: Include <memcheck.h>.
56268         (main): Call mtrace.  Close all opened handles.
56270 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56272         [BZ #12454]
56273         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56274         dependencies are missing.
56276 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56278         Fix __if_freereq crash: Unlike the generic version which uses free,
56279         Hurd needs munmap.
56280         * sysdeps/mach/hurd/ifreq.h: New file.
56282 2011-01-27  Petr Baudis  <pasky@suse.cz>
56283             Ulrich Drepper  <drepper@gmail.com>
56285         [BZ 12445]#
56286         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56287         to extend_alloca().
56288         * stdio-common/bug23.c: New file.
56289         * stdio-common/Makefile (tests): Add bug23.
56291 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56292             Ulrich Drepper  <drepper@gmail.com>
56294         [BZ #12489]
56295         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56296         before performing relro protection.  At old place add assertion
56297         to make sure nothing changed.
56299 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56300             Glauber de Oliveira Costa  <glommer@gmail.com>
56302         * elf/elf.h: Add new ARM TLS relocs.
56304 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56307         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56308         cast from r3.
56309         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56310         'tests' variable.
56311         * sysdeps/wordsize-64/tst-writev.c: New file.
56313 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56315         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56316         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56317         insns in _dl_start to prevent a TOC reference before relocs are
56318         resolved.
56320 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56322         [BZ #12469]
56323         * Makeconfig: Remove RANLIB definition.
56324         * Makerules: Don't use RANLIB.
56325         * aclocal.m4: Remove ranlib test.
56326         * configure.in: No need to check for ranlib.
56327         * elf/rtld-Rules: Don't use RANLIB.
56329 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56331         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56332         protection macro.
56333         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56334         inclusion protection macro.
56336         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56337         SIGRTMIN and SIGRTMAX and print information in that case only when
56338         SIGRTMIN is defined.
56340 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56342         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56343         arginfo fn returning -1.
56345         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56346         and thousands string is zero terminated.
56348 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56350         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56351         sysdeps/unix/sysv/linux/bits/socket.h.
56353 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56355         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56356         (__CPU_COUNT): Remove old macros.
56357         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56358         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56359         (__CPU_ALLOC, __CPU_FREE): Add macros.
56360         (__sched_cpualloc, __sched_cpufree): Add declarations.
56362 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56364         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56365         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56366         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56367         (readdhstai): Return value of addhstaiX call.
56368         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56369         (addgrbyX): Return value returned by cache_addgr.
56370         (readdgrbyname): Return value returned by addgrbyX.
56371         (readdgrbygid): Likewise.
56372         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56373         (addpwbyX): Return value returned by cache_addpw.
56374         (readdpwbyname): Return value returned by addhstbyX.
56375         (readdpwbyuid): Likewise.
56376         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56377         (addservbyX): Return value returned by cache_addserv.
56378         (readdservbyname): Return value returned by addservbyX:
56379         (readdservbyport): Likewise.
56380         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56381         (addhstbyX): Return value returned by cache_addhst.
56382         (readdhstbyname): Return value returned by addhstbyX.
56383         (readdhstbyaddr): Likewise.
56384         (readdhstbynamev6): Likewise.
56385         (readdhstbyaddrv6): Likewise.
56386         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56387         (readdinitgroups): Return value returned by addinitgroupsX.
56388         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56389         (prune_cache): Keep track of timeout value of re-added entries.
56390         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56391         * nscd/nscd.h: Adjust prototypes of readd* functions.
56393 2011-02-04  Roland McGrath  <roland@redhat.com>
56395         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56396         (nis_stats): Likewise.
56397         * nis/nis_modify.c (nis_modify): Likewise.
56398         * nis/nis_remove.c (nis_remove): Likewise.
56399         * nis/nis_add.c (nis_add): Likewise.
56401         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56403         * posix/fnmatch_loop.c: Add some consts.
56405         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56407 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56409         [BZ #12460]
56410         * config.make.in (config-cflags-novzeroupper): Define.
56411         * configure.in: Substitute libc_cv_cc_novzeroupper.
56412         * elf/Makefile (AVX-CFLAGS): Define.
56413         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56414         (CFLAGS-tst-auditmod4a.c): Likewise.
56415         (CFLAGS-tst-auditmod4b.c): Likewise.
56416         (CFLAGS-tst-auditmod6b.c): Likewise.
56417         (CFLAGS-tst-auditmod6c.c): Likewise.
56418         (CFLAGS-tst-auditmod7b.c): Likewise.
56419         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56421 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56423         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56424         function to the callback.
56425         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56427 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56429         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56430         of errno.
56432 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56434         [BZ #11724]
56435         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56436         of constructors.
56437         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56438         of destructors.
56439         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56441         [BZ #11724]
56442         * elf/Makefile: Add rules to build and run new test.
56443         * elf/tst-initorder.c: New file.
56444         * elf/tst-initorder.exp: New file.
56445         * elf/tst-initordera1.c: New file.
56446         * elf/tst-initordera2.c: New file.
56447         * elf/tst-initordera3.c: New file.
56448         * elf/tst-initordera4.c: New file.
56449         * elf/tst-initorderb1.c: New file.
56450         * elf/tst-initorderb2.c: New file.
56451         * elf/tst-order-a1.c: New file.
56452         * elf/tst-order-a2.c: New file.
56453         * elf/tst-order-a3.c: New file.
56454         * elf/tst-order-a4.c: New file.
56455         * elf/tst-order-b1.c: New file.
56456         * elf/tst-order-b2.c: New file.
56457         * elf/tst-order-main.c: New file.
56458         New test case by George Gensure <werkt0@gmail.com>.
56460 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56462         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56463         decoding ACE if AI_CANONIDN.
56465 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56467         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56469 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56471         * version.h (RELEASE): Bump for 2.13 release.
56472         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56474         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56476         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56477         MADV_NOHUGEPAGE.
56478         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56479         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56480         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56481         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56483         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56485         * posix/getconf.c: Update copyright year.
56486         * catgets/gencat.c: Likewise.
56487         * csu/version.c: Likewise.
56488         * debug/catchsegv.sh: Likewise.
56489         * debug/xtrace.sh: Likewise.
56490         * elf/ldconfig.c: Likewise.
56491         * elf/ldd.bash.in: Likewise.
56492         * elf/sprof.c (print_version): Likewise.
56493         * iconv/iconv_prog.c: Likewise.
56494         * iconv/iconvconfig.c: Likewise.
56495         * locale/programs/locale.c: Likewise.
56496         * locale/programs/localedef.c: Likewise.
56497         * malloc/memusage.sh: Likewise.
56498         * malloc/mtrace.pl: Likewise.
56499         * nscd/nscd.c (print_version): Likewise.
56500         * nss/getent.c: Likewise.
56502         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56503         PF_CAIF, and PF_ALG.
56504         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56506 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56508         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56509         (modules-names): Use them.
56510         (ifunc-test-modules, ifunc-pie-tests): Define.
56511         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56512         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56513         (test-extras): Likewise.
56514         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56515         $(compile-command.c).
56516         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56517         (all-built-dso): Define.
56518         (check-textrel.out, check-execstack.out): Depend on it.
56520         * configure.in: Don't override --enable-multi-arch.
56522 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56524         [BZ #6812]
56525         * nscd/hstcache.c (tryagain): Define.
56526         (cache_addhst): Return tryagain not notfound for temporary errors.
56527         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56528         failed.
56530 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56532         [BZ #10563]
56533         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56534         to make the syscall.
56535         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56537         [BZ #12378]
56538         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56539         and fall back to matching as normal character if the string ends before
56540         the matching ']' is found.  This is what POSIX requires.
56541         * posix/testfnm.c: Adjust test result.
56542         * posix/globtest.sh: Adjust test result.  Add new test.
56543         * posix/tst-fnmatch.input: Likewise.
56544         * posix/tst-fnmatch2.c: Add new test.
56546 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56548         * elf/Makefile (check-execstack): Revert last change.  Depend on
56549         check-execstack.h.
56550         (check-execstack.h): New target.
56551         (generated): Add check-execstack.h.
56552         * elf/check-execstack.c: Include "check-execstack.h".
56553         (main): Revert last change.
56554         (handle_file): Return zero if GNU_STACK is absent and
56555         DEFAULT_STACK_PERMS doesn't include PF_X.
56557 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56559         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56560         in child fails because the descriptor is already closed.
56561         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56562         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56563         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56565         [BZ #12397]
56566         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56567         syscall.
56569         [BZ #10484]
56570         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56571         temporary buffer used to handle multi lookups locally.
56572         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56574 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56576         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56577         loader is ld.so.
56579 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56581         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56582         alignment for SSE2.
56584 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56586         [BZ #12394]
56587         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56588         characters.  When rounding increased number of integer digits recompute
56589         number of groups.
56590         * stdio-common/tst-grouping.c: New file.
56591         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56593 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56595         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56596         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56598         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56599         void.
56600         * bits/select.h: Likewise.
56602 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56604         * po/ja.po: Update from translation team.
56606 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56608         [BZ #11155]
56609         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56610         implementation just like for lxstat, fxstatat, et al.
56612 2010-12-27  Jim Meyering  <meyering@redhat.com>
56614         [BZ #12348]
56615         * posix/regexec.c (build_trtable): Return failure indication upon
56616         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56618 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56620         [BZ #12201]
56621         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56622         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56623         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56624         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56626         [BZ #12207]
56627         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56629         [BZ #12204]
56630         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56631         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56633 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56635         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56636         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56637         script has SORT_BY_INIT_PRIORITY.
56638         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56639         NO_CTORS_DTORS_SECTIONS is defined.
56640         * elf/soinit.c: Likewise.
56641         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56642         NO_CTORS_DTORS_SECTIONS is defined.
56643         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56644         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56645         * sysdeps/sh/init-first.c: Likewise.
56646         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56648 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56650         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56651         always use the slow path.
56653 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56655         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56656         similar rule which adds the sysdep directories to the header search in
56657         order to pick up the correct platform stackinfo.h.
56658         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56659         perform test if it is, otherwise return successfully without testing.
56660         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56661         DEFAULT_STACK_PERMS define in stackinfo.h.
56662         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56663         defined in stackinfo.h.
56664         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56665         DEFAULT_STACK_PERMS defined in stackinfo.h.
56666         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56667         * sysdeps/ia64/stackinfo.h: Likewise.
56668         * sysdeps/s390/stackinfo.h: Likewise.
56669         * sysdeps/sh/stackinfo.h: Likewise.
56670         * sysdeps/sparc/stackinfo.h: Likewise.
56671         * sysdeps/x86_64/stackinfo.h: Likewise.
56672         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56673         PF_X for powerpc64.  Retain PF_X for powerpc32.
56675 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56677         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56678         accurately.
56679         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56680         GETDENTS_64BIT_ALIGNED.
56682 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56684         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56686 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56688         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56689         _GNU_SOURCE.
56691         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56692         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56693         Remove __restrict.
56694         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56695         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56697 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56699         [BZ #11655]
56700         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56701         are initialized.
56703 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56705         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56707 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56709         * po/it.po: Update from translation team.
56711 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56714         unused codes.
56716 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56718         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56720 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56722         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56723         specially.
56724         (gaih_getanswer_slice): Likewise.
56726 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56728         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56730 2010-05-31  Petr Baudis  <pasky@suse.cz>
56732         [BZ #11149]
56733         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56734         silently even in the chroot mode.
56736 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56738         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56739         last patch a bit.  Pretty printing
56741 2010-05-31  Petr Baudis <pasky@suse.cz>
56743         [BZ #10085]
56744         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56745         initialization of skip_initgroups_dyn.
56747 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56749         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56750         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56752 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56754         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56756 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56758         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56759         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56760         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56761         ($(objpfx)tst-fnmatch-mem): New rule.
56762         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56763         * posix/tst-fnmatch.c (main): Call mtrace.
56765 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56768         Support Intel processor model 6 and model 0x2c.
56770 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56772         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56773           signed comparison.
56775 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56777         [BZ #12205]
56778         * string/test-strncasecmp.c (check_result): New function.
56779         (do_one_test): Use it.
56780         (check1): New function.
56781         (test_main): Use it.
56782         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56783         Support strcasecmp and strncasecmp.
56785 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56787         [BZ #12194]
56788         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56789         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56791 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56793         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56794         IFUNC support.
56795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56796         memset-x86-64.
56797         * sysdeps/x86_64/multiarch/bzero.S: New file.
56798         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56799         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56800         * sysdeps/x86_64/multiarch/memset.S: New file.
56801         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56803         Set bit_Prefer_SSE_for_memop for Intel processors.
56804         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56805         Define.
56806         (index_Prefer_SSE_for_memop): Define.
56807         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56809 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56811         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56812         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56814 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56816         [BZ #12191]
56817         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56818         (__x86_64_raw_data_cache_size_half): Likewise.
56819         (__x86_64_raw_shared_cache_size): Likewise.
56820         (__x86_64_raw_shared_cache_size_half): Likewise.
56822         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56823         (__x86_64_raw_data_cache_size_half): Likewise.
56824         (__x86_64_raw_shared_cache_size): Likewise.
56825         (__x86_64_raw_shared_cache_size_half): Likewise.
56826         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56827         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56828         and __x86_64_raw_shared_cache_size_half.  Round
56829         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56830         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56831         to multiple of 256 bytes.
56833 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56835         [BZ #12167]
56836         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56837         of inacessible symlinks.  Verify result of symlink before returning it.
56838         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56839         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56841 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56843         * math/math.h (isinf): Fix typo in comment.
56845 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56847         * po/da.po: Update from translation team.
56849 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56851         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56852         is added to the list.
56854 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56855             Ulrich Drepper  <drepper@gmail.com>
56857         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56858         the global list here.  Move code to...
56859         (_dl_add_to_namespace_list): ...here.  New function.
56860         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56861         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56862         * elf/dl-load.c (lose): Don't remove the element from the list.
56863         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56864         (_dl_map_object): Likewise.
56866 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56868         [BZ #12159]
56869         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56870         into all bytes of SSE register.
56871         Patch by Richard Li <richardpku@gmail.com>.
56873 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56875         [BZ #12140]
56876         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56877         perturbing.
56879 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56881         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56882         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56883         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56884         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56886         submachine.
56887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56889 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56891         * include/dlfcn.h (__RTLD_SECURE): Define.
56892         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56893         mode & __RTLD_SECURE instead.
56894         (open_path): Rename preloaded parameter to secure.
56895         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56896         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56897         * elf/dl-deps.c (openaux): Likewise.
56898         * elf/rtld.c (struct map_args): Remove is_preloaded.
56899         (map_doit): Don't use it.
56900         (dl_main): Likewise.
56901         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56902         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56904 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56906         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56907         (sysd-rules-targets): Remove duplicates.
56908         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56909         rtld-%.$o dependency.
56911 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56913         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56914         _dl_map_object do it.
56916 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56918         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56919         fast fma builtins, define the macros in the C99 standard.
56920         (FP_FAST_FMAF): Likewise.
56921         (FP_FAST_FMAL): Likewise.
56922         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56924         * bits/mathdef.h: Update copyright year.
56925         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56927 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56929         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56930         builtins, define the macros in the C99 standard.
56931         (FP_FAST_FMAF): Likewise.
56932         (FP_FAST_FMAL): Likewise.
56933         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56934         multiply/add.
56935         (FP_FAST_FMAF): Likewise.
56937 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56939         [BZ #3268]
56940         * math/libm-test.inc (fma_test): Some new testcases.
56941         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56942         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56943         y and infinite z.  Do multiplication by C already in long double.
56944         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56946         y and infinite z.  Do bitwise or of inexact bit into u.d.
56947         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56948         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56949         * sysdeps/i386/fpu/s_fma.S: Removed.
56950         * sysdeps/i386/fpu/s_fmal.S: Removed.
56952 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56954         [BZ #3268]
56955         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56956         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56957         computation is not scheduled after fetestexcept.  Fix value
56958         of minimum denormal long double.
56960 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56962         [BZ #3268]
56963         * math/libm-test.inc (fma_test): Add some more tests.
56964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56965         correctly.
56967 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56969         * scripts/data/localplt-s390-linux-gnu.data: New file.
56970         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56972 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56974         [BZ #3268]
56975         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56976         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56977         instead of dbl-64.
56978         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56979         inlines.
56980         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56982         if one of x and y is very large and the other is subnormal.
56983         * sysdeps/s390/fpu/s_fmaf.c: New file.
56984         * sysdeps/s390/fpu/s_fma.c: New file.
56985         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56986         * sysdeps/powerpc/fpu/s_fma.S: New file.
56987         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56988         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56989         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56991 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56993         [BZ #3268]
56994         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56995         fma tests.
56996         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56997         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56998         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56999         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57000         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57001         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57002         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57004 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57006         [BZ #12078]
57007         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57008         * posix/bug-regex31.input: Add test case.
57010 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57012         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57013         * posix/bug-regex31.input: New file.
57015         [BZ #12078]
57016         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57017         (parse_sub_exp): Fix last change, use postorder.
57019         * posix/bug-regex31.c: New file.
57020         * posix/Makefile: Add rules to build and run bug-regex31.
57022         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57024         [BZ #12078]
57025         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57027         [BZ #12108]
57028         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57029         to have entries in sys_siglist.
57031         [BZ #12093]
57032         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57033         be NULL.
57035 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57037         [BZ #3268]
57038         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57039         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57040         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57041         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57042         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57043         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57044         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57045         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57046         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57047         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57048         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57049         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57050         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57051         * math/ftestexcept.c (fetestexcept): Likewise.
57052         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57053         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57054         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57055         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57056         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57057         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57058         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57060 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57062         [BZ #12107]
57063         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57064         newline.
57066 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57068         * string/bug-strstr1.c: New file.
57069         * string/Makefile: Add rules to build and run bug-strstr1.
57071 2010-10-05  Eric Blake  <eblake@redhat.com>
57073         [BZ #12092]
57074         * string/str-two-way.h (two_way_long_needle): Always clear memory
57075         when skipping input due to the shift table.
57077 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57079         [BZ #12005]
57080         * malloc/mcheck.c: Handle large requests.
57082         [BZ #12077]
57083         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57084         for strncmp and strncasecmp.
57085         * string/stratcliff.c: Add tests for strcmp and strncmp.
57086         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57088 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57090         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57091         __set_fpscr.
57093 2010-09-30  Andreas Jaeger  <aj@suse.de>
57095         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57096         (CGROUP_SUPER_MAGIC): Define.
57097         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57098         Handle btrfs and cgroup file systems.
57099         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57100         Likewise.
57102 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57104         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57105         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57107 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57109         [BZ #12067]
57110         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57111         trying to locate the ELF header.
57113 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57115         [BZ #11611]
57116         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57117         Mask out sign-bit copies when constructing f_fsid.
57119 2010-09-24  Petr Baudis <pasky@suse.cz>
57121         * debug/stack_chk_fail_local.c: Add missing licence exception.
57122         * debug/warning-nop.c: Likewise.
57124 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57126         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57127         implementing getdents64 using getdents syscall, set d_type if
57128         __ASSUME_GETDENTS32_D_TYPE.
57130 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57132         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57133         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57135 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57137         [BZ #12037]
57138         * posix/unistd.h: Undo change of feature selection for ftruncate from
57139         2010-01-11.
57141 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57143         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57144         detection.
57146 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57148         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57149         fanotify_mark.
57150         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57152 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57154         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57155         variables after CHECK_SP call.
57156         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57158 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57159             Ulrich Drepper  <drepper@redhat.com>
57161         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57162         re-relocationg ld.so.
57163         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57164         _dl_init_paths call.
57165         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57166         here anymore.
57168 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57170         * resolv/res_init.c (__res_vinit): Count the default server we added.
57172 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57173             Ulrich Drepper  <drepper@redhat.com>
57175         [BZ #11968]
57176         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57177         (____longjmp_chk): Use %ebx for saving value across system call.
57178         Add unwind info.
57180 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57182         * manual/Makefile: Don't mix pattern rules with normal rules.
57184 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57186         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57187         operation.
57188         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57189         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57190         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57191         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57193         Likewise.
57195 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57197         [BZ #11979]
57198         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57199         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57201 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57203         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57204         * sysdeps/x86_64/addmul_1.S: Likewise.
57205         * sysdeps/x86_64/lshift.S: Likewise.
57206         * sysdeps/x86_64/mul_1.S: Likewise.
57207         * sysdeps/x86_64/rshift.S: Likewise.
57208         * sysdeps/x86_64/sub_n.S: Likewise.
57209         * sysdeps/x86_64/submul_1.S: Likewise.
57211 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57213         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57214         Define __sched_param instead of SCHED_* and sched_param when
57215         <bits/sched.h> is included with __need_schedparam defined.
57216         * bits/sched.h [__need_schedparam]
57217         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57218         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57219         (__defined_schedparam): Define to 1.
57220         (__sched_param): New structure, identical to sched_param.
57221         (__need_schedparam): Undefine.
57223 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57225         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57226         (epoll_create1): Declare.
57228         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57230 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57232         [BZ #7066]
57233         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57234         shifting retval into place.
57236 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57238         * nis/rpcsvc/nis.h: Update copyright notice.
57239         * nis/rpcsvc/nis.x: Likewise.
57240         * nis/rpcsvc/nis_callback.h: Likewise.
57241         * nis/rpcsvc/nis_callback.x: Likewise.
57242         * nis/rpcsvc/nis_object.x: Likewise.
57243         * nis/rpcsvc/nis_tags.h: Likewise.
57244         * nis/rpcsvc/yp.h: Likewise.
57245         * nis/rpcsvc/yp.x: Likewise.
57246         * nis/rpcsvc/ypupd.h: Likewise.
57247         * nis/yp_xdr.c: Likewise.
57248         * nis/ypupdate_xdr.c: Likewise.
57250         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57251         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57252         (pmap_getport): Use __libc_rpc_getport.
57253         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57254         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57255         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57257 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57260         fanotify_mark.
57262 2010-08-27  Roland McGrath  <roland@redhat.com>
57264         * sysdeps/i386/i686/multiarch/Makefile
57265         (CFLAGS-varshift.c): New variable.
57267 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57269         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57270         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57272         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57274         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57276 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57278         * sysdeps/x86_64/strlen.S: Unroll the loop.
57279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57280         strlen-sse2 strlen-sse2-bsf.
57281         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57282         __strlen_no_bsf if bit_Slow_BSF is set.
57283         (__strlen_sse42): Removed.
57284         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57285         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57287 2010-08-25  Roland McGrath  <roland@redhat.com>
57289         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57290         * sysdeps/x86_64/multiarch/varshift.c: New file.
57291         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57292         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57293         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57294         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57296 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57299         strlen-sse2 strlen-sse2-bsf.
57300         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57301         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57302         (__strlen_sse2): Removed.
57303         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57304         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57306         bit_Slow_BSF for Atom.
57307         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57308         (index_Slow_BSF): Define.
57309         (HAS_SLOW_BSF): Define.
57311 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57313         [BZ #10851]
57314         * resolv/res_init.c (__res_vinit): When no server address at all
57315         is given default to loopback.
57317 2010-08-24  Roland McGrath  <roland@redhat.com>
57319         * configure.in: Remove config-name.h generation.
57320         * configure: Regenerated.
57321         * config-name.in: File removed.
57322         * scripts/config-uname.sh: New file.
57323         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57324         ($(objdir)config-name.h): New target.
57326         * sunrpc/rpc_parse.h: Avoid nested comment.
57328 2010-08-24  Richard Henderson  <rth@redhat.com>
57329             Ulrich Drepper  <drepper@redhat.com>
57330             H.J. Lu  <hongjiu.lu@intel.com>
57332         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57334         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57335         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57336         _mm_alignr_epi8 with _mm_loadu_si128.
57337         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57338         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57339         (__m128i_shift_right): Removed.
57340         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57341         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57342         * sysdeps/x86_64/multiarch/varshift.h: New file.
57343         * sysdeps/x86_64/multiarch/varshift.S: New file.
57345 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57347         * configure.in: Move assembler checks to before sysdep dir checking.
57349 2010-08-20  Petr Baudis  <pasky@suse.cz>
57351         * LICENSES: Sync the sunrpc license.
57353 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57355         * sunrpc/auth_des.c: Update copyright notice once again.
57356         * sunrpc/auth_none.c: Likewise.
57357         * sunrpc/auth_unix.c: Likewise.
57358         * sunrpc/authdes_prot.c: Likewise.
57359         * sunrpc/authuxprot.c: Likewise.
57360         * sunrpc/bindrsvprt.c: Likewise.
57361         * sunrpc/clnt_gen.c: Likewise.
57362         * sunrpc/clnt_perr.c: Likewise.
57363         * sunrpc/clnt_raw.c: Likewise.
57364         * sunrpc/clnt_simp.c: Likewise.
57365         * sunrpc/clnt_tcp.c: Likewise.
57366         * sunrpc/clnt_udp.c: Likewise.
57367         * sunrpc/clnt_unix.c: Likewise.
57368         * sunrpc/des_crypt.c: Likewise.
57369         * sunrpc/des_soft.c: Likewise.
57370         * sunrpc/get_myaddr.c: Likewise.
57371         * sunrpc/getrpcport.c: Likewise.
57372         * sunrpc/key_call.c: Likewise.
57373         * sunrpc/key_prot.c: Likewise.
57374         * sunrpc/openchild.c: Likewise.
57375         * sunrpc/pm_getmaps.c: Likewise.
57376         * sunrpc/pm_getport.c: Likewise.
57377         * sunrpc/pmap_clnt.c: Likewise.
57378         * sunrpc/pmap_prot.c: Likewise.
57379         * sunrpc/pmap_prot2.c: Likewise.
57380         * sunrpc/pmap_rmt.c: Likewise.
57381         * sunrpc/rpc/auth.h: Likewise.
57382         * sunrpc/rpc/auth_unix.h: Likewise.
57383         * sunrpc/rpc/clnt.h: Likewise.
57384         * sunrpc/rpc/des_crypt.h: Likewise.
57385         * sunrpc/rpc/key_prot.h: Likewise.
57386         * sunrpc/rpc/netdb.h: Likewise.
57387         * sunrpc/rpc/pmap_clnt.h: Likewise.
57388         * sunrpc/rpc/pmap_prot.h: Likewise.
57389         * sunrpc/rpc/pmap_rmt.h: Likewise.
57390         * sunrpc/rpc/rpc.h: Likewise.
57391         * sunrpc/rpc/rpc_des.h: Likewise.
57392         * sunrpc/rpc/rpc_msg.h: Likewise.
57393         * sunrpc/rpc/svc.h: Likewise.
57394         * sunrpc/rpc/svc_auth.h: Likewise.
57395         * sunrpc/rpc/types.h: Likewise.
57396         * sunrpc/rpc/xdr.h: Likewise.
57397         * sunrpc/rpc_clntout.c: Likewise.
57398         * sunrpc/rpc_cmsg.c: Likewise.
57399         * sunrpc/rpc_common.c: Likewise.
57400         * sunrpc/rpc_cout.c: Likewise.
57401         * sunrpc/rpc_dtable.c: Likewise.
57402         * sunrpc/rpc_hout.c: Likewise.
57403         * sunrpc/rpc_main.c: Likewise.
57404         * sunrpc/rpc_parse.c: Likewise.
57405         * sunrpc/rpc_parse.h: Likewise.
57406         * sunrpc/rpc_prot.c: Likewise.
57407         * sunrpc/rpc_sample.c: Likewise.
57408         * sunrpc/rpc_scan.c: Likewise.
57409         * sunrpc/rpc_scan.h: Likewise.
57410         * sunrpc/rpc_svcout.c: Likewise.
57411         * sunrpc/rpc_tblout.c: Likewise.
57412         * sunrpc/rpc_util.c: Likewise.
57413         * sunrpc/rpc_util.h: Likewise.
57414         * sunrpc/rpcinfo.c: Likewise.
57415         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57416         * sunrpc/rpcsvc/key_prot.x: Likewise.
57417         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57418         * sunrpc/rpcsvc/mount.x: Likewise.
57419         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57420         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57421         * sunrpc/rpcsvc/rex.x: Likewise.
57422         * sunrpc/rpcsvc/rstat.x: Likewise.
57423         * sunrpc/rpcsvc/rusers.x: Likewise.
57424         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57425         * sunrpc/rpcsvc/spray.x: Likewise.
57426         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57427         * sunrpc/rtime.c: Likewise.
57428         * sunrpc/svc.c: Likewise.
57429         * sunrpc/svc_auth.c: Likewise.
57430         * sunrpc/svc_authux.c: Likewise.
57431         * sunrpc/svc_raw.c: Likewise.
57432         * sunrpc/svc_run.c: Likewise.
57433         * sunrpc/svc_simple.c: Likewise.
57434         * sunrpc/svc_tcp.c: Likewise.
57435         * sunrpc/svc_udp.c: Likewise.
57436         * sunrpc/svc_unix.c: Likewise.
57437         * sunrpc/svcauth_des.c: Likewise.
57438         * sunrpc/xcrypt.c: Likewise.
57439         * sunrpc/xdr.c: Likewise.
57440         * sunrpc/xdr_array.c: Likewise.
57441         * sunrpc/xdr_float.c: Likewise.
57442         * sunrpc/xdr_mem.c: Likewise.
57443         * sunrpc/xdr_rec.c: Likewise.
57444         * sunrpc/xdr_ref.c: Likewise.
57445         * sunrpc/xdr_sizeof.c: Likewise.
57446         * sunrpc/xdr_stdio.c: Likewise.
57448         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57449         handling.
57451 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57453         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57455 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57457         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57458         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57459         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57460         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57461         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57462         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57463         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57464         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57465         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57466         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57467         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57468         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57469         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57470         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57472 2010-07-26  Anton Blanchard  <anton@samba.org>
57474         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57475         * malloc/arena.c (heap_trim): Likewise.
57477 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57479         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57480         here.  Not...
57481         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57482         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57484 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57486         * sysdeps/i386/elf/Makefile: New file.
57488 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57490         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57491         from fanotify_init.
57492         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57493         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57495 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57497         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57498         of strncasecmp_l.
57499         * sysdeps/multiarch/strcmp.S: Likewise.
57501 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57503         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57504         strncase_l-nonascii.
57505         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57506         Add strncase_l-ssse3.
57507         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57508         * sysdeps/x86_64/strcmp.S: Likewise.
57509         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57510         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57511         * sysdeps/x86_64/strncase.S: New file.
57512         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57513         * sysdeps/x86_64/strncase_l.S: New file.
57514         * string/Makefile (strop-tests): Add strncasecmp.
57515         * string/test-strncasecmp.c: New file.
57517         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57518         warning.
57520         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57521         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57523 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57525         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57527 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57529         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57530         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57531         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57533 2010-05-01  Alan Modra  <amodra@gmail.com>
57535         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57536         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57537         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57538         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57539         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57540         tidying.  Don't tail-call __sigjmp_save for static lib.
57541         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57542         save location.
57543         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57544         (CALL_MCOUNT): Add eh info, and nop after bl.
57545         (TAIL_CALL_SYSCALL_ERROR): New macro.
57546         (PSEUDO_RET): Use it.
57547         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57548         Correct save location of integer regs and cr.
57549         (_dl_profile_resolve): Correct cr save location.  Delete nops
57550         after bl when SHARED.  Reduce cfi size a little by better
57551         placement of cfi directives.
57552         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57553         make a stack frame.  Instead use parm save area as a temp.
57554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57555         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57557         Don't make a stack frame for parent, use parm save area.
57558         Increase child stack frame to 112 bytes.  Don't save unused reg,
57559         and adjust reg usage.  Set up cfi on error recovery and
57560         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57562         (__makecontext): Add dummy nop after jump to exit.
57563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57564         Use correct parm save area and cr save, reduce stack frame.
57565         Correct cfi for possible PSEUDO_RET frame setup.
57566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57567         Branch to local label emitted by PSEUDO_RET rather than
57568         __syscall_error.
57570 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57572         [BZ #11904]
57573         * locale/programs/locale.c (print_assignment): New function.
57574         (show_locale_vars): Use it.
57576 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57578         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57579         field.
57580         (struct statfs64): Likewise.
57581         (_STATFS_F_FLAGS): Define.
57582         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57583         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57584         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57585         (ST_VALID): Define locally.
57586         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57587         __statvfs_getflags, use the provided value.
57588         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57589         __ASSUME_STATFS_F_FLAGS.
57591         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57593         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57594         Add sys/fanotify.h.
57595         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57596         fanotify_mask for GLIBC_2.13.
57597         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57598         fanotify_init and fanotify_mark.
57599         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57600         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57602         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57603         Add prlimit.
57604         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57605         prlimit64 for GLIBC_2.13.
57606         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57607         prlimit64.
57608         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57609         syscall.
57610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57611         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57612         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57613         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57614         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57615         add prlimit alias.
57616         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57618         [BZ #11903]
57619         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57620         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57622         * nss/Makefile: Add rules to build and run tst-nss-test1.
57623         * shlib-versions: Add entry for libnss_test1.
57624         * nss/nss_test1.c: New file.
57625         * nss/tst-nss-test1.c: New file.
57627         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57628         (__nss_configure_lookup): Set appropriate entry in
57629         __nss_configure_lookup to true.
57630         * nss/nsswitch.h: Define enum with indeces of databases in
57631         databases and __nss_database_custom arrays.  Declare
57632         __nss_database_custom.
57633         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57634         to avoid using nscd when custom rules are installed.
57635         * nss/getXXbyYY_r.c: Likewise.
57636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57638         * nss/nss_files/files-parse.c: Whitespace fixes.
57640 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57642         [BZ #11883]
57643         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57644         * posix/fnmatch_loop.c: Likewise.
57646 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57648         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57649         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57650         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57651         * Versions.def [GLIBC_2.13]: Add.
57653 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57655         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57656         Also fail if tpwd after pwuid call is NULL.
57658 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57660         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57661         when converting to ms.
57663 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57665         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57666         EOPNOTSUPP errors with ENOTTY.
57667         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57668         EOPNOTSUPP errors with ENOTTY.
57670 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57672         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57673         Add strcasecmp_l-ssse3.
57674         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57675         strcasecmp.
57676         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57677         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57678         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57680 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57682         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57684         * string/Makefile (strop-tests): Add strcasecmp.
57685         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57686         strcasecmp_l-nonascii.
57687         (gen-as-const-headers): Add locale-defines.sym.
57688         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57689         * sysdeps/x86_64/strcasecmp.S: New file.
57690         * sysdeps/x86_64/strcasecmp_l.S: New file.
57691         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57692         * sysdeps/x86_64/locale-defines.sym: New file.
57693         * string/test-strcasecmp.c: New file.
57695         * string/test-strcasestr.c: Test both ends of the range of characters.
57696         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57698 2010-07-29  Roland McGrath  <roland@redhat.com>
57700         [BZ #11856]
57701         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57703 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57705         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57706         for ld.so.
57708 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57710         * manual/memory.texi (Malloc Tunable Parameters): Document
57711         M_PERTURB.
57713 2010-07-26  Roland McGrath  <roland@redhat.com>
57715         [BZ #11840]
57716         * configure.in (-fgnu89-inline check): Set and substitute
57717         gnu89_inline, not libc_cv_gnu89_inline.
57718         * configure: Regenerated.
57719         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57721 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57723         * string/test-strnlen.c: New file.
57724         * string/Makefile (strop-tests): Add strnlen.
57725         * string/tester.c (test_strnlen): Add a few more test cases.
57726         * string/tst-strlen.c: Better error reporting.
57728         * sysdeps/x86_64/strnlen.S: New file.
57730 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57732         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57733         lower-latency instructions.
57735 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57737         * string/test-strcasestr.c: New file.
57738         * string/test-strstr.c: New file.
57739         * string/Makefile (strop-tests): Add strstr and strcasestr.
57740         * string/str-two-way.h: Don't undefine MAX.
57741         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57743 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57745         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57746         strcasestr-nonascii.
57747         (CFLAGS-strcasestr-nonascii.c): Define.
57748         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57749         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57750         Remove unused attribute.
57752 2010-07-20  Roland McGrath  <roland@redhat.com>
57754         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57755         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57756         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57757         like LD_HWCAP_MASK can disable hwcaps.
57759 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57761         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57763 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57765         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57766         call in strcasestr.
57767         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57768         __strcasestr_sse42_nonascii.
57769         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57770         strcasestr-nonascii.c.
57771         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57773 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57775         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57776         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57777         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57778         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57780 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57782         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57783         fcntl.
57785 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57787         [BZ #11577]
57788         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57789         dl_signal_cerror.
57791 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57793         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57794         _PC_PIPE_BUF using F_GETPIPE_SZ.
57796 2010-07-05  Roland McGrath  <roland@redhat.com>
57798         * manual/arith.texi (Rounding Functions): Fix rint description
57799         implicit in round description.
57801 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57803         * elf/Makefile: Fix linking for a few tests to make recent linker
57804         happy.
57806 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57808         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57809         $(common-objpfx)libc_nonshared.a.
57811 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57813         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57814         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57815         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57816         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57817         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57818         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57819         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57820         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57835         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57836         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57837         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57838         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57839         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57840         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57841         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57842         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57843         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57844         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57845         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57846         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57862 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57864         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57865         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57866         * string/memmove.c (memmove): Renamed to ...
57867         (MEMMOVE): ...this.  Default to memmove.
57868         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57869         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57870         (END_CHK): Define.
57871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57872         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57873         mempcpy-ssse3-back memmove-ssse3-back.
57874         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57875         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57876         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57877         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57878         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57879         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57880         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57881         * sysdeps/x86_64/multiarch/memmove.c: New file.
57882         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57883         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57884         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57885         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57886         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57887         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57888         Define.
57889         (index_Fast_Copy_Backward): Define.
57890         (HAS_ARCH_FEATURE): Define.
57891         (HAS_FAST_REP_STRING): Define.
57892         (HAS_FAST_COPY_BACKWARD): Define.
57894 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57896         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57897         Restore proper fallback handling.
57899 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57901         [BZ #11701]
57902         * posix/group_member.c (__group_member): Correct checking loop.
57904         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57905         OOM in getpwuid_r correctly.  Return error number when the caller
57906         should return, otherwise -1.
57907         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57908         call returning > 0 value.
57909         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57911 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57913         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57914         libc_nonshared.a from targets in modules-names.
57916 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57918         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57919         requires it.
57921 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57923         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57924         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57925         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57926         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57928 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57930         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57932 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57934         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57935         and F_GETPIPE_SZ.
57936         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57937         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57938         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57939         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57940         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57941         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57943 2010-06-14  Roland McGrath  <roland@redhat.com>
57945         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57947 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57949         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57950         __REDIRECT followed by __THROW.
57951         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57952         * posix/getopt.h (getopt): Likewise.
57954 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57956         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57957         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57958         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57959         in AT_FLAGS.
57960         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57961         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57963 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57965         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57967 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57969         [BZ #11640]
57970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57971         Properly check family and model.
57973 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57975         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57977 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57979         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57981 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57983         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57984         symbol reference.
57986 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57988         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57989         symbol reference.
57991 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57993         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57994         and internal_recvmmsg.
57995         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57996         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57997         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57998         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58000         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58001         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58002         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58004 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58006         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58008 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58010         POWER7 optimizations.
58011         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58012         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58014 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58016         * version.h: Update for 2.13 development version.
58018 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58020         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58021         exceptions.  Return 0.
58023 2010-05-07  Roland McGrath  <roland@redhat.com>
58025         * elf/ldconfig.c (main): Add a const.
58027 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58029         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58030         (args_options): Add no-idn option.
58031         (ahosts_keys_int): Add idn_flags to ai_flags.
58032         (parse_option): Handle 'i' option to clear idn_flags.
58034         * malloc/malloc.c (_int_free): Possible race in the most recently
58035         added check.  Only act on the data if no current modification
58036         happened.
58038 See ChangeLog.17 for earlier changes.