Add a testcase for copy reloc against protected data
[glibc.git] / ChangeLog
blobdd40484e70dcb8b81b29576b5caef8f4b02c2b3c
1 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #17711]
4         * config.make.in (have-protected-data): New.
5         * configure.ac: Check linker support for protected data symbol.
6         * configure: Regenerated.
7         * elf/Makefile (modules-names): Add tst-protected1moda and
8         tst-protected1modb if $(have-protected-data) is yes.
9         (tests): Add tst-protected1a and tst-protected1b if
10         $(have-protected-data) is yes.
11         ($(objpfx)tst-protected1a): New.
12         ($(objpfx)tst-protected1b): Likewise.
13         (tst-protected1modb.so-no-z-defs): Likewise.
14         * elf/tst-protected1a.c: New file.
15         * elf/tst-protected1b.c: Likewise.
16         * elf/tst-protected1mod.h: Likewise.
17         * elf/tst-protected1moda.c: Likewise.
18         * elf/tst-protected1modb.c: Likewise.
20 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22         [BZ #17711]
23         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24         indicates it is called from do_lookup_x on relocation against
25         protected data, skip the data definion in the executable from
26         copy reloc.
27         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
30         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32         otherwise to 0.
33         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
34         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
40 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
42         * sysdeps/nptl/pthread.h: Remove duplicate definition of
43         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
45 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
47         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
48         THREAD_SETMEM_NC.
49         * sysdeps/x86_64/nptl/tls.h: Ditto.
51 2015-03-27  Roland McGrath  <roland@hack.frob.com>
53         * dlfcn/tststatic.c (main): Converted to ...
54         (do_test): ... this.
55         (TEST_FUNCTION): New macro.
56         Include test-skeleton.c.
58 2015-03-26  Alan Modra  <amodra@gmail.com>
60         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
61         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
62         zero for undefined weak.
63         (elf_machine_plt_conflict): Similarly.
65 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
67         * math/auto-libm-test-in: Add more tests of acosh, asinh and
68         atanh.
69         * math/auto-libm-test-out: Regenerated.
70         * sysdeps/i386/fpu/libm-test-ulps: Update.
71         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73         * math/auto-libm-test-in: Add another test of asin.
74         * math/auto-libm-test-out: Regenerated.
75         * sysdeps/i386/fpu/libm-test-ulps: Update.
76         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
79         Remove macro.
80         (LLL_EBX_REG): Likewise.
81         (LLL_ENTER_KERNEL): Likewise.
83         * math/auto-libm-test-in: Add more tests of asin.
84         * math/auto-libm-test-out: Regenerated.
85         * sysdeps/i386/fpu/libm-test-ulps: Update.
86         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88         [BZ #18138]
89         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
90         libc_do_syscall_args): New structure.
91         (INTERNAL_SYSCALL_MAIN_0): New macro.
92         (INTERNAL_SYSCALL_MAIN_1): Likewise.
93         (INTERNAL_SYSCALL_MAIN_2): Likewise.
94         (INTERNAL_SYSCALL_MAIN_3): Likewise.
95         (INTERNAL_SYSCALL_MAIN_4): Likewise.
96         (INTERNAL_SYSCALL_MAIN_5): Likewise.
97         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
98         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
99         Replace conditional definitions by conditional definitions of ....
100         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
101         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
102         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
103         (libpthread-sysdep_routines): Add libc-do-syscall.
104         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
106         to __NR_futex not 240.
108 2015-03-25  Alan Modra  <amodra@gmail.com>
110         * NEWS: Advertise TLS optimization.
111         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
112         (DT_PPC_NUM): Increment.
113         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
114         (CHECK_STATIC_TLS): Use here.
115         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
116         TLS descriptors.
117         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
118         * sysdeps/powerpc/dl-tls.c: New file.
119         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
120         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
121         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
122         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
127 2015-03-25  Alan Modra  <amodra@gmail.com>
129         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
130         for overlapping .opd entries" to "support...".
131         * sysdeps/powerpc/powerpc64/configure: Regenerate
133 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
135         * math/auto-libm-test-in: Add more tests of acos.
136         * math/auto-libm-test-out: Regenerated.
137         * sysdeps/i386/fpu/libm-test-ulps: Update.
138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
140         * math/auto-libm-test-in: Add more tests of expm1.
141         * math/auto-libm-test-out: Regenerated.
142         * sysdeps/i386/fpu/libm-test-ulps: Update.
143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
147         * math/auto-libm-test-in: Add more tests of cosh and sinh.
148         * math/auto-libm-test-out: Regenerated.
149         * sysdeps/i386/fpu/libm-test-ulps: Update.
150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
155         * math/auto-libm-test-in: Add more tests of log2.
156         * math/auto-libm-test-out: Regenerated.
157         * sysdeps/i386/fpu/libm-test-ulps: Update.
158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
160 2015-03-23  Roland McGrath  <roland@hack.frob.com>
162         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
163         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
164         _IO_IS_APPENDING bit in READ_WRITE instead.
166 2015-03-23  Florian Weimer  <fweimer@redhat.com>
168         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
169         (__determine_cpumask_size): Replace extend_alloca with a
170         variable-length array.  Do not treat res == 0 as an error.
172 2015-03-23  Florian Weimer  <fweimer@redhat.com>
174         [BZ #18100]
175         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
176         and integer overflow.
177         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
178         (main): Add integer overflow tests.
179         * manual/pattern.texi (Calling Wordexp): Document additional use
180         for WRDE_SYNTAX.
182 2015-03-23  Alan Modra  <amodra@gmail.com>
184         * config.h.in: Remove HAVE_ASM_PPC_REL16.
185         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
186         and false branch of conditional.
187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
188         Likewise.
190 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
192         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
193         libc-modules.h
194         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
195         unused declaration of _hurd_intr_rpc_msg_in_trap.
196         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
197         defined instead of whether it is non-zero.
198         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
199         input constraint instead of both input and output constraint.  Use ecx
200         clobber instead of %ecx.
201         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
202         mutex_unlock): Use a statement expression instead of an expression list.
203         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
204         type to vm_size_t instead of vm_address_t.
205         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
206         defined instead of whether it is non-zero.
207         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
208         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
209         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
210         comparisons with mapaddr.
211         * nscd/nscd-client.h: Include <time.h>.
212         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
213         9th parameter to __vm_region instead of int.
214         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
215         * scripts/check-local-headers.sh (exclude): Add device/,
216         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
217         cthreads.h.
219 2015-03-19  Roland McGrath  <roland@hack.frob.com>
221         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
222         to account for alignment padding.
223         * sysdeps/arm/memmove.S: Likewise.
225 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
227         * sysdeps/unix/sysv/linux/generic/README: New file.
229 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
231         [BZ #18138]
232         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
233         (futex_abstimed_wait)
234         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
235         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
236         of lll_futex_timed_wait.
238 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
240         [BZ #17542]
241         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
243 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
245         [BZ #17090]
246         [BZ #17620]
247         [BZ #17621]
248         [BZ #17628]
249         * NEWS: Update.
250         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
251         entries with Static TLS too.  Skip entries past the end of the
252         allocated DTV, from Alan Modra.
253         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
254         Static TLS DTV entry set up from...
255         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
256         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
257         * nptl/allocatestack.c (init_one_static_tls): ... and here...
258         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
259         for Static TLS.
260         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
261         that the slot we find is associated with the given map before
262         using its generation count.
263         * nptl_db/db_info.c: Include ldsodefs.h.
264         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
265         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
266         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
267         (link_map::l_tls_offset): New struct field.
268         (dtv_t::counter): Likewise.
269         (rtld_global): New struct.
270         (_rtld_global): New rtld variable.
271         (dl_tls_dtv_slotinfo_list): New rtld global field.
272         (dtv_slotinfo_list): New struct.
273         (dtv_slotinfo): Likewise.
274         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
275         (td_lookup): Rename to...
276         (td_mod_lookup): ... this.  Use new mod parameter instead of
277         LIBPTHREAD_SO.
278         * nptl_db/td_thr_tlsbase.c: Include link.h.
279         (dtv_slotinfo_list, dtv_slotinfo): New functions.
280         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
281         addresses even if the DTV is out of date or missing them.
282         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
283         index zero-length arrays.
284         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
285         (td_lookup): Make it a macro implemented in terms of...
286         (td_mod_lookup): ... this declaration.
287         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
288         (DB_MAIN_VARIABLE): Likewise.
290 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
292         [BZ #18134]
293         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
295 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
297         * stdlib/setenv.c (__add_to_environ): Revert previous change.
299 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
301         [BZ #18128]
302         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
303         (atomic_add, atomic_increment_and_test)
304         (atomic_decrement_and_test): Fix 64-bit arithmetic.
306 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
308         * stdlib/setenv.c (__add_to_environ):
309         Dump core quickly if setenv (..., NULL, ...) is called.
311 2015-03-13  Roland McGrath  <roland@hack.frob.com>
313         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
314         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
315         all the necessary asm magic in one place.
316         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
317         using those.
319 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
321         [BZ #14906]
322         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
323         traced file mtime. Use consistent log message.
324         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
325         (register_traced_file): Call install_watches. Always set mtime.
326         (invalidate_cache): Iterate over all trace files. Call install_watches.
327         (inotify_check_files): Don't inline. Handle watching parent
328         directories and configuration file movement in and out.
329         (handle_inotify_events): New function.
330         (main_loop_poll): Call handle_inotify_events.
331         (main_loop_epoll): Likewise.
332         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
333         (struct traced_file): Use array of inotify fds. Add parent directory,
334         and basename.
335         (struct database_dyn): Remove unused file_mtime.
336         (init_traced_file): New inline function.
337         (define_traced_file): New macro.
338         * nss/nss_db/db-init.c: Use define_traced_file.
339         (_nss_db_init): Use init_traced_file.
340         * nss/nss_files/files-init.c: Use define_traced_file.
341         (_nss_files_init): Use init_traced_file.
343 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
345         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
346         [_LIBC]: Do not include <stdlib.h>.
347         [!_LIBC] (abort): Remove declaration.
348         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
349         _FP_STATIC_ASSERT instead of conditionally calling abort.
350         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
351         (_FP_EXTEND_CNAN): Likewise.
352         (FP_TRUNC): Likewise.
353         (__FP_CLZ): Likewise.
354         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
356 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
358         * manual/string.texi (XPG basename): Fix prototype.
360 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
362         [BZ #18080]
363         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
364         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
365         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
366         (__setcontext): Likewise.
367         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
368         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
369         Call rt_sigprocmask syscall one time to set new signal mask
370         and retrieve the current signal mask instead of two calls.
371         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
372         (__swapcontext): Likewise.
373         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
374         * stdlib/tst-setcontext2.c: New file.
376 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
378         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
380 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
382         [BZ #18093]
383         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
384         the wrong size.
386 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
388         [BZ #18043]
389         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
391 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
393         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
394         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
395         Remove define.
396         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
397         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
398         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
399         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
400         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
401         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
402         define.
403         * nptl_db/td_symbol_list.c (td_lookup): Remove
404         HAVE_ASM_GLOBAL_DOT_NAME code.
405         * sysdeps/powerpc/powerpc64/configure.ac: Remove
406         HAVE_ASM_GLOBAL_DOT_NAME check.
407         * sysdeps/powerpc/powerpc64/configure: Regenerate.
408         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
409         (DOT_LABEL): Remove define.
410         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
411         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
412         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
413         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
414         (__TLS_GET_ADDR): Likewise.
415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
416         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
418 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
420         [BZ #18111]
421         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
422         (_FPU_SETCW): Initialize cw from fpsr before storing.
423         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
424         (fesetexceptflag): Rewrite using fpu_control.h.
425         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
427 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
429         [BZ #18110]
430         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
431         asms.
432         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
434 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
436         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
437         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
438         abort.
439         (_FP_FMA): Likewise.
440         (_FP_DIV): Likewise.
442 2015-03-10  Roland McGrath  <roland@hack.frob.com>
444         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
445         with 0 in that case.
446         * Makefile (summarize-tests): New canned sequence, factored out of
447         commands for targets tests and xtests.  Display summary lines that
448         don't start with PASS: or XFAIL: rather than ones that do start with
449         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
450         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
451         do start with ERROR: or FAIL:.
452         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
453         (except for [$(build-shared) = yes]).
454         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
455         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
456         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
457         * nptl/Makefile: Revert 2015-03-04 changes.
458         [$(CXX) empty] (tests-unsupported): New variable.
459         * debug/Makefile: Likewise.
461         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
462         gnulib file.  Replace __attribute with __attribute__ throughout.
464 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
466         * sysdeps/hppa/fpu/libm-test-ulps: Update.
468 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
470         [BZ #18104]
471         * math/auto-libm-test-in: Add another test of pow.
472         * math/auto-libm-test-out: Regenerated.
474 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
476         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
477         $(config-cflags-nofma).
479 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
481         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
482         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
483         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
484         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
485         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
486         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
487         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
488         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
489         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
490         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
491         Add comment on closing #endif.
493 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
495         * posix/wordexp.c (CHAR_IN_SET): New macro.
496         (parse_param): Use it.
498 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
500         * sysdeps/powerpc/fpu/libm-test-ulps: update.
502 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
504         [BZ #18043]
505         * posix/wordexp.c (parse_param): Fix buffer overflow.
506         * posix/wordexp-test.c (test_case): Add test case.
508 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
510         [BZ #18042]
511         * posix/wordexp.c (parse_backtick): Fix off-by-one.
512         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
514 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
516         [BZ #18043]
517         * posix/wordexp-test.c (test_case): Add test for BZ #18043
518         (do_bz18043): Delete.
519         (at_page_end): New.
520         (testit): Refactor to have words at the edge of unreadable page.
522 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
524         [BZ #16734]
525         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
526         Cleanup read-only streams as well.
527         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
529 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
531         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
532         <bits/libc-lockP.h>
534 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
536         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
537         on [__KERNEL__].
538         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
539         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
540         * soft-fp/op-common.h (_FP_DECL): Likewise.
542 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
544         * elf/ifuncdep2.c (global): Replace
545         __attribute__((visibility("protected"))) with
546         asm (".protected global").
547         * elf/ifuncmod1.c (global): Likewise.
548         * elf/ifuncmod5.c (global): Likewise.
550 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
552         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
553         <asm/sfp-machine.h> instead of <sfp-machine.h>.
555 2015-03-06  Roland McGrath  <roland@hack.frob.com>
557         * manual/install.texi (Configuring and compiling):
558         Document test-wrapper-env-only.
559         * INSTALL: Regenerated.
561 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
563         [BZ #18043]
564         * posix/wordexp.c (parse_param): Fix buffer overflow.
565         * posix/wordexp-test.c (do_bz18043): Add test case.
567 2015-03-06  Vincent Bernat  <vincent@bernat.im>
569         * time/tst-strptime2.c (do_test): Ensure failing tests are
570         reported correctly.
571         * time/tst-strptime3.c (do_test): Likewise.
573 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
575         Fix aio_error thread-safety.
576         * sysdeps/pthread/aio_error.c: New file
577         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
578         synchronization.
580 2015-03-06  Florian Weimer  <fweimer@redhat.com>
582         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
583         (group_number, vfprintf): Use it.
584         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
585         (JUMP, REF): Use it.
586         (WORK_BUFFER_SIZE): New enum constant.
587         (process_arg, vfprintf): Use it.
589 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
591         * manual/errno.texi (Error Messages): Complete example function
592         by adding missing #define.
593         (program_invocation_name): Add statement indicating GNU
594         extension and reference which header file declares the variable.
595         (program_invocation_short_name): Likewise.
597 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
599         * manual/errno.texi (Error Messages): Delete strerror ISO C89
600         compatibility note.
602 2015-03-05  Roland McGrath  <roland@hack.frob.com>
604         * Makeconfig (test-wrapper-env-only): New variable.
605         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
606         then use that with $(test-wrapper-env-only) rather than using
607         $(test-wrapper-env) $(run-program-env) $($*-ENV).
609 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
611         [BZ #18082]
612         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
613         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
614         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
615         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
616         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
617         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
618         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
619         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
620         Likewise.
621         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
622         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
623         Likewise.
624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
625         Likewise.
626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
627         Likewise.
628         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
629         Likewise.
630         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
631         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
632         Likewise.
633         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
634         Likewise.
635         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
636         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
638 2015-03-04  Roland McGrath  <roland@hack.frob.com>
640         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
641         (ETH_ALEN): New macro.
642         (struct ether_addr): Use it for length of ether_addr_octet.
644         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
645         (setdb): Don't call __nss_configure_lookup for "rpc".
646         (do_test): Don't call test_rpc.
647         (output_rpcent, test_rpc): Functions moved ...
648         * sunrpc/test-rpcent.c: ... to this new file.
649         * sunrpc/Makefile (tests): Add it.
651         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
652         __xpg_sigpause.
653         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
654         * nptl/tst-signal6.c: Likewise.
655         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
656         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
658         * configure.ac (libc_cv_cxx_link_ok): New check.
659         Reset CXX to empty if it fails to link.
660         * configure: Regenerated.
661         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
662         bug-atexit3-lib only if $(CXX) is nonempty.
663         * nptl/Makefile (tests): Likewise for tst-cancel24.
664         (tests, tests-static): Likewise for tst-cancel24-static.
665         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
666         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
667         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
668         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
670 2015-03-04  Andreas Schwab  <schwab@suse.de>
672         [BZ #17631]
673         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
674         for non-GCC compilers.
675         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
676         Likewise.
678 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
680         [BZ #17776]
681         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
682         integer before bitwise and assembly operations.
683         (feclearexcept): Likewise.
684         * math/test-fenvinline.c: New file.
685         * math/Makefile: Add test-fenvinline test.
687 2015-03-03  Alan Modra  <amodra@gmail.com>
689         [BZ #16512]
690         * scripts/localplt.awk: Strip off symbol version.
691         * NEWS: Mention bug fix.
693 2015-03-02  Roland McGrath  <roland@hack.frob.com>
695         * sysdeps/pthread/timer_routines.c
696         (timer_free_list, thread_free_list, thread_active_list): Make static.
698 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
700         [BZ #17779]
701         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
702         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
703         Undefine.
704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
705         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
706         Likewise.
707         * sysdeps/unix/sysv/linux/sh/kernel-features.h
708         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
709         Likewise.
711 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
713         [BZ #18036]
714         * posix/fnmatch_loop.c (END): Detect invalid pattern.
715         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
717 2015-03-02  Andreas Schwab  <schwab@suse.de>
719         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
720         variable name.
722 2015-03-02  Florian Weimer  <fweimer@redhat.com>
724         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
725         Return error status.
727 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
729         [BZ #15969]
730         * locale/findlocale.c (_nl_find_locale): Introduce const
731         version of loc_name and drop unsafe type casts.
733 2015-02-27  Roland McGrath  <roland@hack.frob.com>
735         * dlfcn/tststatic2.c (main): Converted to ...
736         (do_test): ... this.
737         (TEST_FUNCTION): New macro.
738         Include test-skeleton.c.
740 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
742         [BZ #17711]
743         * elf/Makefile (tests): Add vismain only if PIE is enabled.
744         (tests-pie): Add vismain.
745         (CFLAGS-vismain.c): New.
746         * elf/vismain.c: Add comments for PIE requirement.
748 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
750         [BZ #18046]
751         [BZ #18047]
752         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
753         0x1p-56L as threshold for just returning the argument.
754         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
755         0x1p-32L as threshold for just returning the argument.
756         * math/auto-libm-test-in: Add more tests of atanh.
757         * math/auto-libm-test-out: Regenerated.
758         * sysdeps/i386/fpu/libm-test-ulps: Update.
759         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
761 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
763         * string/bcopy.c (bcopy): Call memmove for performance.
765 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
767         * string/bzero.c (__bzero): Call memset for performance.
769 2015-02-27  John David Anglin  <dave.anglin@bell.net>
771         [BZ #18068]
772         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
773         to 00100000.
775 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
777         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
779 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
781         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
782         (__kernel_standard): Use CSTR macro when setting exc.name.
783         * sysdeps/ieee754/Makefile [$(subdir) = math]
784         (CFLAGS-k_standard.c): Remove variable.
786         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
787         setting p and q from "else if" to "else".
788         (qzero): Likewise.
789         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
790         (qone): Likewise.
791         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
792         (qzerof): Likewise.
793         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
794         (qonef): Likewise.
795         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
796         (qzero): Likewise.
797         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
798         (qone): Likewise.
800         [BZ #18038]
801         [BZ #18039]
802         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
803         return pi/2 for arguments below 0x1p-113L.
804         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
805         return pi/2 for arguments below 0x1p-106L.
806         * math/auto-libm-test-in: Add more tests of acos.
807         * math/auto-libm-test-out: Regenerated.
809         [BZ #16351]
810         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
811         (MO): New macro.
812         (__ieee754_asin): Force underflow exception for results with small
813         absolute value.
814         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
815         (MO): New macro.
816         (__ieee754_asinf): Force underflow exception for results with
817         small absolute value.
818         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
819         (__ieee754_asin): Force underflow exception for results with small
820         absolute value.
821         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
822         (__ieee754_asinf): Force underflow exception for results with
823         small absolute value.
824         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
825         (__ieee754_asinl): Force underflow exception for results with
826         small absolute value.
827         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
828         (__ieee754_asinl): Force underflow exception for results with
829         small absolute value.
830         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
831         (__ieee754_asinl): Force underflow exception for results with
832         small absolute value.
833         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
834         Include <math.h>.
835         * math/auto-libm-test-in: Do not mark underflow exceptions as
836         possibly missing for bug 16351.
837         * math/auto-libm-test-out: Regenerated.
839         [BZ #18030]
840         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
841         of power of 2 down when low part has opposite sign.
842         * math/libm-test.inc (logb_test_data): Add more tests.
844 2015-02-26  Andreas Schwab  <schwab@suse.de>
846         [BZ #18032]
847         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
848         over collating symbol inside a bracket expression.  Minor cleanup.
849         * posix/tst-fnmatch3.c (do_test): Add test case.
851 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
853         [BZ #18029]
854         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
855         Adjust exponent of power of 2 down when low part has opposite
856         sign.
857         * math/libm-test.inc (ilogb_test_data): Add more tests.
859 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
861         [BZ #15969]
862         * locale/findlocale.c (_nl_find_locale): Fix constness error in
863         the previous change.
865         [BZ #15969]
866         * locale/findlocale.c (_nl_find_locale): Retry archive search
867         after alias expansion.
869 2015-02-25  Roland McGrath  <roland@hack.frob.com>
871         * iconv/tst-iconv3.c (main): Converted to ...
872         (do_test): ... this.
873         (TEST_FUNCTION): New macro.
874         Include test-skeleton.c.
876         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
877         (convert): Make function static.
878         (test_unalign): Likewise.  Add const to argument pointee types.
879         (main): Replace with static function do_test.
880         Print "Succeeded." only if RET is zero.
881         (TEST_FUNCTION): New macro.
882         Include test-skeleton.c.
884         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
885         returns a null pointer.
887 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
889         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
890         to __memcpy_ppc only for static builds.
892 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
894         [BZ #18020]
895         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
896         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
897         * math/auto-libm-test-in: Add more tests of asinh.
898         * math/auto-libm-test-out: Regenerated.
899         * sysdeps/i386/fpu/libm-test-ulps: Update.
900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
902 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
904         [BZ #15850]
905         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
906         and ip6_mtuinfo definitions here.
907         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
908         in this define too.  Update comment.
910 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
912         * elf/sprof.c (load_shobj): Tweak error message to match others.
914 2015-02-24  Kevin Easton  <kevin@guarana.org>
916         [BZ #16145] (partial fix)
917         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
918         to reduce lock contention.
920 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
922         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
923         (struct timex): Update time comment.
924         (ADJ_SETOFFSET): Define.
926 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
928         [BZ #18019]
929         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
930         2**56 not 2**28 as threshold for log (2x) formula.
931         * math/auto-libm-test-in: Add more tests of acosh.
932         * math/auto-libm-test-out: Regenerated.
933         * sysdeps/i386/fpu/libm-test-ulps: Update.
934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
936 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
938         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
939         parenthesis around the buf assignment.
940         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
942 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #16783]
945         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
946         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
947         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
948         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
949         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
950         * math/libm-test.inc (scalb_test_data): Add more tests.
952 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
954         [BZ #17916]
955         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
956         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
958 2015-02-24  Eric Rannaud  <e@nanocritical.com>
960         [BZ #17523]
961         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
962         * io/bits/fcntl2.h (open): Use it.
963         (openat): Likewise.
964         * io/open.c (__libc_open): Likewise.
965         * io/open64.c (__libc_open64): Likewise.
966         * io/open64_2.c (__open64_2): Likewise.
967         * io/open_2.c (__open_2): Likewise.
968         * io/openat.c (__openat): Likewise.
969         * io/openat64.c (__openat64): Likewise.
970         * io/openat64_2.c (__openat64_2): Likewise.
971         * io/openat_2.c (__openat_2): Likewise.
972         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
973         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
974         * sysdeps/posix/open64.c (__libc_open64): Likewise.
975         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
976         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
977         (__open_nocancel): Likewise.
978         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
979         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
980         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
982 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
984         [BZ #14841]
985         * resolv/gethnamaddr.c (getanswer): Skip logging if
986         RES_USE_DNSSEC is set.
987         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
989 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
991         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
993 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
995         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
996         201304L, for Unicode 7.
998 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1000         [BZ #17836]
1001         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1002         shared library.  Add gmon-start.os otherwise.
1003         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1004         $(objpfx)gmon-start.os if builing shared library.
1005         ($(objpfx)g$(static-start-installed-name)): Likewise.
1007 2015-02-23  Andreas Schwab  <schwab@suse.de>
1009         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1011 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1013         [BZ #17269]
1014         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1015         (enlarge_userbuf): Likewise.
1017 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1019         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1020         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1021         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1022         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1024 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1026         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1027         expression inside statement expression.
1029 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1031         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1032         <sysdeps/nptl/lowlevellock.h> and remove macros and
1033         functions that are now defined there.
1034         (SYS_futex): Remove.
1035         (lll_compare_and_swap): Remove.
1036         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1038 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1040         [BZ #17999]
1041         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1042         instead of scandirat.
1043         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1044         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1045         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1046         __scandirat.
1047         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1048         (__scandirat): Declare.  Use libc_hidden_proto.
1049         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1050         Remove variable.
1051         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1053 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1055         [BZ #15319]
1056         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1057         (MO): New macro.
1058         (__ieee754_atan2): For results with small absolute value, force
1059         underflow exception and remove excess range and precision from
1060         return value.
1061         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1062         (MO): New macro.
1063         (__ieee754_atan2f): For results with small absolute value, force
1064         underflow exception and remove excess range and precision from
1065         return value.
1066         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1067         (MO): New macro.
1068         (__atan): For results with small absolute value, force underflow
1069         exception and remove excess range and precision from return value.
1070         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1071         (MO): New macro.
1072         (__atanf): For results with small absolute value, force underflow
1073         exception and remove excess range and precision from return value.
1074         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1075         <math.h>.
1076         (__ieee754_atan2): Force underflow exception for results with
1077         small absolute value.
1078         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1079         <math_private.h>.
1080         (atan): Force underflow exception for results with small absolute
1081         value.
1082         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1083         (__atanf): Force underflow exception for results with small
1084         absolute value.
1085         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1086         <math.h>.
1087         (__atanl): Force underflow exception for results with small
1088         absolute value.
1089         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1090         (__atanl): Force underflow exception for results with small
1091         absolute value.
1092         * sysdeps/x86/fpu/bits/mathinline.h
1093         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1094         (__ieee754_atan2): Only define inline for long double.
1095         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1096         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1097         * math/auto-libm-test-in: Do not mark underflow exceptions as
1098         possibly missing for bug 15319.  Add more tests of atan2.
1099         * math/auto-libm-test-out: Regenerated.
1100         * math/libm-test.inc (casin_test_data): Do not mark underflow
1101         exceptions as possibly missing for bug 15319.
1102         (casinh_test_data): Likewise.
1103         * sysdeps/i386/fpu/libm-test-ulps: Update.
1105 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1107         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1108         * sysdeps/mips/bits/endian.h: Fix comments.
1110 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1112         [BZ #17996]
1113         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1114         (hdestroy_r): Likewise.
1115         (hsearch_r): Likewise.
1116         (__hcreate_r): Declare and use libc_hidden_proto.
1117         (__hdestroy_r): Likewise.
1118         (__hsearch_r): Likewise.
1119         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1120         (hcreate): Call __hcreate_r instead of hcreate_r.
1121         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1122         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1123         as weak alias of __hcreate_r.
1124         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1125         __hdestroy_r.
1126         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1127         __hsearch_r.
1128         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1129         Remove variable.
1130         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1131         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1132         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1133         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1135 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1137         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1138         arena_lock into a single arena_get.
1140 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1142         * dl-reloc.c: Inlucde libc-internal.h.
1143         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1144         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1145         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1146         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1147         (grow_heap): Likewise.
1148         * malloc/malloc.c: Include libc-internal.h.
1149         (do_check_malloc): Call powerof2.
1150         (sysmalloc): Use pagesize. Call ALIGN_UP.
1151         (systrim): Use pagesize.
1152         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1153         (__libc_valloc): Use pagesize.
1154         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1156 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1158         [BZ #17991]
1159         * include/sys/resource.h (__getrlimit64): Declare.  Use
1160         libc_hidden_proto.
1161         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1162         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1163         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1164         getrlimit64.
1165         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1166         __getrlimit64.
1167         [!getrlimit64] (getrlimit64): Define as weak alias of
1168         __getrlimit64.  Use libc_hidden_weak.
1169         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1170         using __getrlimit64 not __new_getrlimit64.
1171         (__GI_getrlimit64): Likewise.
1172         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1173         Likewise.
1174         (__GI_getrlimit64): Likewise.
1175         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1177         (getrlimit): Add __getrlimit64 alias.
1178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1179         Likewise.
1180         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1181         Remove variable.
1182         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1183         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1185 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1187         * libio/fileops.c: Add missing sys/mman.h
1188         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1190 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1192         * manual/math.texi (Errors in Math Functions): Clarify goals
1193         regarding inexact and underflow exceptions.
1195 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1197         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1198         * sysdeps/mips/memset.S: Ditto.
1200 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1202         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1204 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1206         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1207         (__v1longjmp): Remove versioned symbol.
1208         (__v1siglongjmp): Remove alias and versioned symbol.
1209         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1210         (__v2siglongjmp): Likewise.
1212 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1214         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1216 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1218         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1220 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1222         [BZ #17987]
1223         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1224         zero result does not depend on the sign resulting from
1225         subtraction.
1226         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1227         Likewise.
1228         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1229         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1230         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1231         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1232         * math/libm-test.inc (remquo_test_data): Add more tests.
1234 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1236         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1237         Problem reported by J William Piggott.
1239 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1241         [BZ #17978]
1242         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1243         products 4 * y and 2 * y where those would overflow.
1244         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1245         Likewise.
1246         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1247         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1248         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1249         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1250         * math/libm-test.inc (remquo_test_data): Add more tests.
1252         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1254         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1255         [defined _COMPILING_NEWLIB].
1256         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1257         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1259         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1260         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1262 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1264         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1265         acquired.
1267 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1269         [BZ #17792]
1270         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1271         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1272         HOST_STACK_END_ADDR): Likewise.
1274 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1276         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1277         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1278         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1280 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1282         * sysdeps/generic/c++-types.data: New file.
1283         * sysdeps/generic/ld.abilist: New file.
1284         * sysdeps/generic/libBrokenLocale.abilist: New file.
1285         * sysdeps/generic/libanl.abilist: New file.
1286         * sysdeps/generic/libc.abilist: New file.
1287         * sysdeps/generic/libcrypt.abilist: New file.
1288         * sysdeps/generic/libdl.abilist: New file.
1289         * sysdeps/generic/libm.abilist: New file.
1290         * sysdeps/generic/libpthread.abilist: New file.
1291         * sysdeps/generic/libresolv.abilist: New file.
1292         * sysdeps/generic/librt.abilist: New file.
1294 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1296         [BZ #17569]
1297         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1298         Compute absolute value of x as modified by fmod, not original
1299         value of x.
1300         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1301         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1302         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1303         RUN_TEST_ffI_f1_mod8.
1304         (remquo_test_data): Add more tests.
1306 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1308         * sysdeps/init_array/pt-crti.S: New file.
1310 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1312         [BZ #17967]
1313         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1314         __builtin_fmaf instead of relying on contraction of a * b + c.
1316 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1318         [BZ #17969]
1319         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1320         node.
1322 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1324         [BZ #17964]
1325         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1326         __builtin_fma instead of relying on contraction of a * b + c.
1328 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1330         * Makeconfig (ASFLAGS): Add -Werror=undef.
1331         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1332         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1333         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1335         * Makeconfig (after-link): New variable.
1336         (+link-pie, +link-pie-tests): Use it.
1337         (+link-static, +link-static-tests): Likewise.
1338         (+link, +link-tests): Likewise.
1339         * Makerules (build-module, build-module-asneeded): Likewise.
1340         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1341         Likewise.
1342         * elf/Makefile ($(objpfx)ld.so): Likewise.
1344 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1346         [BZ #17965]
1347         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1348         both struct timeval and struct timespec.
1350 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1352         [BZ #16560]
1353         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1354         and redefine.
1355         (__ieee754_exp2l): Do not multiply small fractional parts by
1356         M_LN2l.
1357         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1358         small argument.
1359         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1360         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1361         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1362         * math/auto-libm-test-in: Add more tests of exp2.
1363         * math/auto-libm-test-out: Regenerated.
1365 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1367         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1368         unaligned path.
1370 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1372         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1373         little endian.
1375 2015-02-12  Andreas Schwab  <schwab@suse.de>
1377         [BZ #15790]
1378         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1379         Filter out elision flags from value returned in kind.
1380         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1381         * nptl/tst-pthread-mutexattr.c: New file.
1383 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1385         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1386         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1387         into gnu-gnu, and update comment to refer to abi-tags.
1389 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1391         [BZ #15467]
1392         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1393         (__sincos): Set errno to EDOM for infinite argument.
1394         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1395         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1396         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1397         (__sincosl): Set errno to EDOM for infinite argument.
1398         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1399         (__sincosl): Set errno to EDOM for infinite argument.
1400         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1401         (__sincosl): Set errno to EDOM for infinite argument.
1402         * math/libm-test.inc (sincos_test_data): Test errno setting.
1404 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1406         * string/strxfrm_l.c: Remove #define STRCMP.
1407         * string/strcoll_l.c: Remove #define STRLEN.
1408         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1409         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1411 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1413         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1414         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1415         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1416         * sysdeps/mips/mips64/Makefile: ... here.
1417         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1418         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1419         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1420         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1421         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1422         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1423         * sysdeps/mips/mips64/n64/Implies: Likewise.
1425 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1427         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1428         <sys/time.h>, <string.h>, and <errno.h>.
1429         (dest_offset, dest_address, value, zero): Remove unused variables.
1430         (ldouble): Remove typedef.
1431         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1432         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1433         1).  Fix code style.
1434         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1435         (check): Function removed.
1436         (CHECK): New macro.
1437         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1438         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1439         Don't call set_sigaction_FP and remove_sigaction_FP here.
1440         (ldouble_test): Just use 'long double' as macro argument, no need for
1441         the 'ldouble' typedef.
1442         (do_test): Set up SIGFPE handler at start, using plain signal rather
1443         than sigaction.  Fix code style.
1445 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1447         [BZ #17949]
1448         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1449         jump label.
1451 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1453         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1454         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1456         * sysdeps/powerpc/configure.ac: Remove file.
1457         * sysdeps/powerpc/configure: Likewise.
1459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1460         [sysdep_routines]: Remove wordcopy-power6 object.
1461         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1462         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1463         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1464         (__memmove_ppc32): Likewise.
1465         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1466         file.
1467         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1468         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1469         Remove preprocessor.
1471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1472         [sysdep_routines]: Remove wide chars objects.
1473         [wcsmbs]: New rule for wide char objects.
1475         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1476         Remove wordcopy-power6 obejct.
1477         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1478         Use local call for wordcopy and memcpy symbols.
1479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1481         implementation for loader.
1482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1484         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1485         Remove wordcopy-power7 object.
1486         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1487         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1488         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1489         (_wordcopy_fwd_dest_aligned): Likewise.
1490         (_wordcopy_bwd_aligned): Likewise.
1491         (_wordcopy_bwd_dest_aligned): Likewise.
1493         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1494         Rewrite to call __memmove_ppc instead of include default
1495         implementation.
1497         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1498         Remove wide chars objects.
1499         [wcsmbs]: New rule for wide char objects.
1501 2015-02-09  Andreas Schwab  <schwab@suse.de>
1503         [BZ #17912]
1504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1505         in terms of __O_DIRECTORY.
1507 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1509         * time/getdate.c: Include <stdbool.h>.
1510         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1511         call PTR_MANGLE.
1512         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1513         PTR_DEMANGLE.
1515 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1517         Add ersatz _Static_assert on older C hosts
1518         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1519         pre-C11 C platform that is not known to support _Static_assert.
1521 2015-02-07  Richard Braun  <rbraun@sceen.net>
1523         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1524         sigstate.
1525         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1527 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1529         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1530         priority against unexistent AIO_PRIO_DELTA_MAX.
1531         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1532         instead of int.
1533         * misc/fchflags.c (fchflags): Likewise.
1534         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1535         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1536         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1537         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1538         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1539         Declare macros.
1540         [__USE_MISC] (chflags, fchflags): Declare functions.
1541         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1542         EINVAL when nfds is greater than FD_SETSIZE.
1543         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1544         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1545         45.
1546         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1547         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1548         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1549         MACH_RCV_TIMED_OUT.
1550         * hurd/hurd/signal.h (_hurd_self_sigstate,
1551         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1552         Explicit casts from void *.
1553         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1554         * abi-tags: Rename gnu-gnu os into gnu.
1556         [BZ #4719]
1557         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1558         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1559         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1560         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1561         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1562         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1564         [BZ #17944]
1565         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1566         duplicates ADDR->sun_path with sockaddr LEN limitation.
1567         * sysdeps/mach/hurd/connect.c: Include <string.h>
1568         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1569         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1570         * sysdeps/mach/hurd/sendto.c: Likewise.
1571         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1572         implementing it by hand.
1574 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1576         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1577         Use sfi_breg on ldr.
1578         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1579         Likewise.
1581         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1582         it's defined.
1583         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1584         Test SIGSETXID only if it's defined.
1586         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1588         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1589         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1591         * nptl/tst-align2.c: Moved ...
1592         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1593         * nptl/Makefile (tests): Remove tst-align2.
1594         * sysdeps/unix/sysv/linux/Makefile
1595         [$(subdir) = nptl] (tests): Add tst-align-clone.
1596         * nptl/tst-getpid1.c: Moved ...
1597         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1598         * nptl/tst-getpid2.c: Moved ...
1599         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1600         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1601         * sysdeps/unix/sysv/linux/Makefile
1602         [$(subdir) = nptl] (tests): ... here.
1603         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1604         * sysdeps/unix/sysv/linux/Makefile
1605         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1607         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1608         Drop trailing \n from perror argument.  Use return rather than exit.
1610         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1611         on [SA_SIGINFO].
1612         * nptl/tst-cancel21.c (do_test): Likewise.
1613         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1614         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1615         [!SA_SIGINFO]: Make it a stub test.
1617         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1618         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1620         * posix/tst-getlogin.c: Move to ...
1621         * login/tst-getlogin.c: ... here.
1622         * posix/Makefile (tests): Move tst-getlogin to ...
1623         * login/Makefile (tests): ... here.
1625         * libio/tst-atime.c (do_test): Move local variables SV and E
1626         inside [ST_NOATIME] conditional.
1628         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1630         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1632         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1633         (wait_code): New function replaces macro.
1634         Call nanosleep rather than syscall.
1636         * nptl/pt-system.c: Rewritten.  Put everything under
1637         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1638         Use IFUNC to redirect when possible.
1640         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1641         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1642         Use IFUNC to redirect when possible.
1644         * nptl/pt-fork.c: Rewritten.  Put everything under
1645         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1646         Use IFUNC to redirect when possible.
1647         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1649         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1650         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1651         unconditionally nowadays.  This included the only reference to
1652         __vdso_clock_gettime that appears outside libc proper.
1653         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1654         Remove version set (containing only __vdso_clock_gettime).
1655         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1656         Add attribute_hidden.
1657         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1658         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1659         libc_hidden_data_def.
1660         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1661         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1663         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1664         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1665         setrpcent, and getrpcport to ...
1666         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1667         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1668         getrpcbynumber_r, and getrpcent_r to ...
1669         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1670         * inet/getrpcbyname.c: Moved ...
1671         * sunrpc/getrpcbyname.c: ... here.
1672         * inet/getrpcbyname_r.c: Moved ...
1673         * sunrpc/getrpcbyname_r.c: ... here.
1674         * inet/getrpcbynumber.c: Moved ...
1675         * sunrpc/getrpcbynumber.c: ... here.
1676         * inet/getrpcbynumber_r.c: Moved ...
1677         * sunrpc/getrpcbynumber_r.c: ... here.
1678         * inet/getrpcent.c: Moved ...
1679         * sunrpc/getrpcent.c: ... here.
1680         * inet/getrpcent_r.c: Moved ...
1681         * sunrpc/getrpcent_r.c: ... here.
1682         * inet/Makefile (routines): Move those to ...
1683         * sunrpc/Makefile (routines): ... here.
1684         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1685         the $(subdirs) list.
1686         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1687         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1688         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1689         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1691         * elf/Makefile (routines): Include $(all-dl-routines), not just
1692         $(dl-routines).
1693         (rtld-routines): Likewise.  Use = rather than :=.
1694         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1695         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1696         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1697         * sysdeps/arm/Makefile: Likewise.
1698         * sysdeps/i386/Makefile: Likewise.
1699         * sysdeps/x86_64/Makefile: Likewise.
1700         * sysdeps/hppa/Makefile [$(subdir) = elf]
1701         (sysdep_routines, sysdep-rtld-routines): Don't add
1702         $(sysdep-dl-routines) to these.
1703         * sysdeps/ia64/Makefile: Likewise.
1704         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1705         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1706         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1707         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1708         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1709         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1710         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1711         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1712         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1713         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1714         these; sysdep-dl-routines alone is enough.
1716 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1718         [BZ #17932]
1719         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1720         where multiplication results in zero and third argument is finite
1721         and nonzero.
1722         * math/auto-libm-test-in: Add more tests of fma.
1723         * math/auto-libm-test-out: Regenerated.
1725         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1726         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1727         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1728         (_FP_CMP_EQ): Likewise.
1729         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1731         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1732         extra argument CHECK_NAN.  Redefine as wrapper around
1733         _FP_EXTEND_CNAN.
1735 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1737         * version.h (RELEASE): Set to "stable".
1738         (VERSION): Set to "2.21"
1739         * include/features.h (__GLIBC_MINOR__): Set to 21.
1741         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1743 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1744             Paul Eggert  <eggert@cs.ucla.edu>
1746         [BZ #16618]
1747         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1748         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1749         size in bytes. Store needed elements in wpmax. Use needed size
1750         in bytes for extend_alloca.
1752 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1754         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1755         binutls 2.25, and texinfo 5.2.
1756         * INSTALL: Regenerate.
1757         * sysdeps/nios2/configure: Regenerate.
1758         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1759         * manual/contrib.texi: Update.
1760         * po/be.po: Update.
1761         * po/bg.po: Update.
1762         * po/ca.po: Update.
1763         * po/cs.po: Update.
1764         * po/da.po: Update.
1765         * po/de.po: Update.
1766         * po/el.po: Update.
1767         * po/eo.po: Update.
1768         * po/es.po: Update.
1769         * po/fi.po: Update.
1770         * po/fr.po: Update.
1771         * po/gl.po: Update.
1772         * po/hr.po: Update.
1773         * po/hu.po: Update.
1774         * po/ia.po: Update.
1775         * po/id.po: Update.
1776         * po/it.po: Update.
1777         * po/ja.po: Update.
1778         * po/ko.po: Update.
1779         * po/lt.po: Update.
1780         * po/nb.po: Update.
1781         * po/nl.po: Update.
1782         * po/pl.po: Update.
1783         * po/pt_BR.po: Update.
1784         * po/ru.po: Update.
1785         * po/rw.po: Update.
1786         * po/sk.po: Update.
1787         * po/sl.po: Update.
1788         * po/sv.po: Update.
1789         * po/tr.po: Update.
1790         * po/uk.po: Update.
1791         * po/vi.po: Update.
1792         * po/zh_CN.po: Update.
1793         * po/zh_TW.po: Update.
1795         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1796         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1797         * sysdeps/hppa/dl-irel.h: Remove #warning.
1798         * sysdeps/hppa/entry.h: Provide prototype for
1799         __canonicalize_funcptr_for_compare and cast argument.
1800         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1801         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1802         * sysdeps/hppa/sotruss-lib.c: New file.
1803         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1804         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1805         (atomic_compare_and_exchange_bool_acq): Likewise.
1806         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1807         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1809         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1810         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1811         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1813 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1815         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1816         called function in non-PIC case.
1818 2015-01-31  David S. Miller  <davem@davemloft.net>
1820         * sysdeps/sparc/sparc32/bits/atomic.h
1821         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1822         unlock not after it.
1823         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1824         volatile register usage warnings from the compiler.
1826         * sysdeps/sparc/nptl/sem_init.c: Delete.
1827         * sysdeps/sparc/nptl/sem_post.c: Delete.
1828         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1829         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1830         * sysdeps/sparc/sparc32/sem_init.c: New file.
1831         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1832         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1833         padding explicitly initialized.
1834         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1835         padding for in-semaphore spinlock.
1836         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1837         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1838         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1839         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1840         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1841         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1842         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1843         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1844         version.
1845         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1846         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1848 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1850         [BZ #17801]
1851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1852         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1853         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1854         New.
1855         (index_AVX_Fast_Unaligned_Load): Likewise.
1856         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1857         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1858         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1859         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1860         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1861         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1862         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1863         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1864         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1866 2015-01-29  Andreas Schwab  <schwab@suse.de>
1868         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1870 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1872         [BZ #17892]
1873         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1875 2015-01-28  Martin Sebor  <msebor@redhat.com>
1877         * math/README.libm-test: Clarify. Add "How to read the test output."
1879 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1881         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1882         Define to 0.
1884 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1886         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1887         (__HAVE_64B_ATOMICS): Define to 0.
1889 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1891         [BZ #17885]
1892         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1893         value to set as new flag.
1895         [BZ #16576]
1896         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1897         and use _ARCH_PPCSQ instead.
1898         (__ieee754_sqrt): Likewise.
1899         (__ieee754_sqrtf): Likewise.
1900         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1901         _ARCH_PPCSQ is defined.
1902         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1903         fsqrt instruction.
1904         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1905         _ARCH_PPCSQ is defined.
1906         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1907         fsqrts instruction.
1908         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1910 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1912         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1913         bug (GCC BZ #64739).
1915 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1917         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1918         Mark _retval as used.
1919         (lll_futex_wake_unlock): Likewise.
1920         (lll_futex_timed_wait_requeue_pi): Likewise.
1922         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1923         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1924         register variables.
1926         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1927         libm_hidden_def.
1929         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1930         (__bswap_64): Mark as __always_inline.
1932 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1934         [BZ #15378]
1935         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1936         when none of the search directories exist.
1938 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1940         [BZ #17869]
1941         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1942         power8 in .machine directive.
1944         [BZ #17868]
1945         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1946         set dependency from opd value.
1948 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1951         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1952         architecture.
1954 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1956         [BZ #17870]
1957         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1958         with uint64_t.
1959         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1960         (uint64_t) 1.
1961         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1962         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1963         Replace 1UL with (uint64_t) 1.
1964         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1965         int with uint64_t.
1967 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1969         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1970         (if_freenameindex): Likewise.
1972         * resource/getrlimit64.c: Add missing libc_hidden_def.
1974 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1976         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1977         __label__.
1978         (_FP_FMA): Likewise.
1979         (_FP_TO_INT_ROUND): Likewise.
1980         (_FP_FROM_INT): Likewise.
1982 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1984         [BZ #16418]
1985         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1986         Make code racy and cancel safe.
1988 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
1990         * sysdeps/arm/unwind-resume.h: Fix copyright year.
1991         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1992         attribution.
1994         * pwd/tst-getpw.c: Rewrite.
1996         [BZ #17702]
1997         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1998         (modules-names): Add moddummy1 and moddummy2.
1999         ($(objpfx)tst-rec-dlopen): Define.
2000         * dlfcn/moddummy1.c: New file.
2001         * dlfcn/moddummy2.c: New file.
2002         * dlfcn/tst-rec-dlopen.c: New file.
2003         * elf/dl-cache.c (_dl_load_cache_lookup):
2004         Return char*. Copy result with alloca/strcpy/strdup.
2005         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2006         returns char*. Free cached. If not saving realname
2007         free cached.
2008         * elf/dl-open.c (dl_open_worker): Do not assert that
2009         _r_debug->r_state is RT_CONSISTENT.
2010         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2011         returns char*.
2013 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2014             Carlos O'Donell  <carlos@redhat.com>
2016         [BZ #12674]
2017         * nptl/sem_waitcommon.c: New file.
2018         * nptl/sem_wait.c: Include sem_waitcommon.c.
2019         (__sem_wait_cleanup, do_futex_wait): Remove.
2020         (__new_sem_wait): Adapt.
2021         (__new_sem_trywait): New function.
2022         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2023         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2024         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2025         (sem_timedwait): Adapt.
2026         * nptl/sem_post.c (__new_sem_post): Adapt.
2027         (futex_wake): New function.
2028         (__old_sem_post): Add release MO fence.
2029         * nptl/sem_open.c (sem_open): Adapt.
2030         * nptl/sem_init.c (__new_sem_init): Adapt.
2031         (futex_private_if_supported): New function.
2032         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2033         (__old_sem_getvalue): Add using previous code.
2034         * sysdeps/nptl/internaltypes.h: Adapt.
2035         * nptl/tst-sem13.c (do_test): Adapt.
2036         * nptl/tst-sem11.c (main): Adapt.
2037         * nptl/sem_trywait.c: Remove.
2038         * nptl/DESIGN-sem.txt: Remove.
2039         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2040         (gen-as-const-headers): Remove structsem.sym.
2041         * nptl/structsem.sym: Remove.
2042         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2043         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2044         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2045         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2046         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2047         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2048         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2049         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2050         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2051         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2052         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2053         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2054         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2055         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2056         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2057         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2058         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2059         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2060         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2061         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2062         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2063         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2065 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2067         * INSTALL: Regenerated.
2069         * po/libc.pot: Regenerated.
2071 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2072             Sandra Loosemore  <sandra@codesourcery.com>
2073             Andrew Jenner  <andrew@codesourcery.com>
2074             Joseph Myers  <joseph@codesourcery.com>
2075             Nathan Sidwell  <nathan@codesourcery.com>
2077         * NEWS: Mention new Nios II port.
2078         * sysdeps/nios2/Implies: New file.
2079         * sysdeps/nios2/Makefile: New file.
2080         * sysdeps/nios2/Subdirs: New file.
2081         * sysdeps/nios2/Versions: New file.
2082         * sysdeps/nios2/__longjmp.S: New file.
2083         * sysdeps/nios2/abort-instr.h: New file.
2084         * sysdeps/nios2/backtrace.c: New file.
2085         * sysdeps/nios2/bits/endian.h: New file.
2086         * sysdeps/nios2/bits/fenv.h: New file.
2087         * sysdeps/nios2/bits/link.h: New file.
2088         * sysdeps/nios2/bits/setjmp.h: New file.
2089         * sysdeps/nios2/bsd-_setjmp.S: New file.
2090         * sysdeps/nios2/bsd-setjmp.S: New file.
2091         * sysdeps/nios2/configure: New generated file.
2092         * sysdeps/nios2/configure.ac: New file.
2093         * sysdeps/nios2/crti.S: New file.
2094         * sysdeps/nios2/crtn.S: New file.
2095         * sysdeps/nios2/dl-init.c: New file.
2096         * sysdeps/nios2/dl-machine.h: New file.
2097         * sysdeps/nios2/dl-sysdep.h: New file.
2098         * sysdeps/nios2/dl-tls.h: New file.
2099         * sysdeps/nios2/dl-trampoline.S: New file.
2100         * sysdeps/nios2/gccframe.h: New file.
2101         * sysdeps/nios2/gmp-mparam.h: New file.
2102         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2103         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2104         * sysdeps/nios2/ldsodefs.h: New file.
2105         * sysdeps/nios2/libc-tls.c: New file.
2106         * sysdeps/nios2/libm-test-ulps: New file.
2107         * sysdeps/nios2/machine-gmon.h: New file.
2108         * sysdeps/nios2/math-tests.h: New file.
2109         * sysdeps/nios2/math_private.h: New file.
2110         * sysdeps/nios2/memusage.h: New file.
2111         * sysdeps/nios2/nptl/Makefile: New file.
2112         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2113         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2114         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2115         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2116         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2117         * sysdeps/nios2/nptl/tls.h: New file.
2118         * sysdeps/nios2/preconfigure: New file.
2119         * sysdeps/nios2/s_fma.c: New file.
2120         * sysdeps/nios2/s_fmaf.c: New file.
2121         * sysdeps/nios2/setjmp.S: New file.
2122         * sysdeps/nios2/sfp-machine.h: New file.
2123         * sysdeps/nios2/sotruss-lib.c: New file.
2124         * sysdeps/nios2/stackguard-macros.h: New file.
2125         * sysdeps/nios2/stackinfo.h: New file.
2126         * sysdeps/nios2/start.S: New file.
2127         * sysdeps/nios2/sysdep.h: New file.
2128         * sysdeps/nios2/tls-macros.h: New file.
2129         * sysdeps/nios2/tst-audit.h: New file.
2130         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2131         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2132         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2133         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2134         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2135         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2136         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2137         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2138         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2139         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2140         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2141         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2142         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2143         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2144         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2145         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2146         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2147         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2148         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2149         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2150         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2151         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2152         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2153         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2154         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2155         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2156         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2157         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2158         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2159         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2160         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2161         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2162         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2163         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2164         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2165         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2167         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2168         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2169         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2170         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2171         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2172         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2173         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2175 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2177         [BZ #17844]
2178         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2179         (getutent): Use weak_alias in non SHARED case
2180         and default_symbol_version in SHARED case.
2181         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2182         (getutent_r, pututline): Likewise.
2183         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2184         (getutid): Likewise.
2185         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2186         (getutid_r): Likewise.
2187         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2188         (getutline): Likewise.
2189         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2190         (getutline_r): Likewise.
2191         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2192         (updwtmp): Likewise.
2194 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2196         [BZ #17848]
2197         * sysdeps/s390/s390-32/memcmp.S
2198         (memcmp_g5): Rename to __memcmp_g5.
2199         * sysdeps/s390/s390-32/memcpy.S
2200         (memcpy_g5): Rename to __memcpy_g5.
2201         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2202         (memcpy_mvcle) Rename to __memcpy_mvcle.
2203         * sysdeps/s390/s390-32/memset.S
2204         (memset_g5): Rename to __memset_g5.
2205         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2206         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2207         and use prefixed functions.
2208         * sysdeps/s390/s390-32/multiarch/memcmp.S
2209         (memcmp_z196): Rename to __memcmp_z196.
2210         (memcmp_z10): Rename to __memcmp_z10.
2211         (memcmp): Set alias to __memcmp_g5.
2212         (bcmp): Set alias to __memcmp_g5.
2213         * sysdeps/s390/s390-32/multiarch/memcpy.S
2214         (memcpy_z196): Rename to __memcpy_z196.
2215         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2216         (memcpy_z10): Rename to __memcpy_z10.
2217         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2218         (memcpy): Set alias to __memcpy_g5.
2219         * sysdeps/s390/s390-32/multiarch/memset.S
2220         (memset_z196): Rename to __memset_z196.
2221         Jump to __memset_mvcle instead of memset_mvcle.
2222         (memset_z10): Rename to __memset_z10.
2223         Jump to __memset_mvcle instead of memset_mvcle.
2224         (memset_mvcle) Rename to __memset_mvcle.
2225         (memset): Set alias to __memset_g5.
2226         * sysdeps/s390/s390-64/memcmp.S
2227         (memcmp_z900): Rename to __memcmp_z900.
2228         * sysdeps/s390/s390-64/memcpy.S
2229         (memcpy_z900): Rename to __memcpy_z900.
2230         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2231         (memcpy_mvcle) Rename to __memcpy_mvcle.
2232         * sysdeps/s390/s390-64/memset.S
2233         (memset_z900): Rename to __memset_z900.
2234         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2235         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2236         and use prefixed functions.
2237         * sysdeps/s390/s390-64/multiarch/memcmp.S
2238         (memcmp_z196): Rename to __memcmp_z196.
2239         (memcmp_z10): Rename to __memcmp_z10.
2240         (memcmp): Set alias to __memcmp_z900.
2241         (bcmp): Set alias to __memcmp_z900.
2242         * sysdeps/s390/s390-64/multiarch/memcpy.S
2243         (memcpy_z196): Rename to __memcpy_z196.
2244         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2245         (memcpy_z10): Rename to __memcpy_z10.
2246         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2247         (memcpy): Set alias to __memcpy_z900.
2248         * sysdeps/s390/s390-64/multiarch/memset.S
2249         (memset_z196): Rename to __memset_z196.
2250         Jump to __memset_mvcle instead of memset_mvcle.
2251         (memset_z10): Rename to __memset_z10.
2252         Jump to __memset_mvcle instead of memset_mvcle.
2253         (memset_mvcle) Rename to __memset_mvcle.
2254         (memset): Set alias to __memset_z900.
2256 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2258         [BZ #17748]
2259         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2260         __fesetenv instead of fesetenv.
2262 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2264         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2265         macro.
2267 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2269         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2270         regression on LE.
2272         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2273         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2274         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2275         strncmp-power8 object.
2276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2277         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2278         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2279         * NEWS: Update.
2281 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2282             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2284         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2285         trailing byte check.
2287 2015-01-13  David S. Miller  <davem@davemloft.net>
2289         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2291 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2293         * login/logout.c (logout): Use memset rather than bzero.
2294         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2295         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2296         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2297         (_gethtbyaddr): Likewise.
2298         * locale/programs/simple-hash.c (bcopy): Macro removed.
2300 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2302         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2303         Add strcmp-power8 object.
2304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2305         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2306         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2307         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2308         __strcmp_power8 implementation.
2309         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2310         * NEWS: Update.
2312         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2313         Add strncpy-power8 and stpncpy-power8 objects.
2314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2315         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2316         implementations.
2317         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2318         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2319         __stpncpy_power8 implementation.
2320         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2321         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2322         __strncpy_power8 implementation.
2323         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2324         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2325         * NEWS: Update.
2327         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2328         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2329         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2331         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2332         strncat-power8 object.
2333         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2334         __strcat_power8 implementation.
2335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2336         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2337         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2338         optimized strcat for power8.
2340         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2341         strcpy-power8 and stpcpy-power8 objects.
2342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2343         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2344         implementations.
2345         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2346         multiarch stpcpy implementation for POWER8.
2347         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2348         multiarch strcpy implementation for POWER8.
2349         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2350         __strcpy_power8 function.
2351         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2352         stpcpy for POWER8.
2353         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2354         strcpy for POWER8.
2355         * NEWS: Update.
2357 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2359         [BZ #16009]
2360         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2361         weights and rules. Use do_xfrm_cached if data fits in cache,
2362         do_xfrm otherwise.  Moved former main loop to...
2363         * (do_xfrm_cached): New function.
2364         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2365         find_idx, find_position and stack_push.
2366         * (find_idx): New function.
2367         * (find_position): Likewise.
2368         * localedata/sort-test.sh: Added test run for do_xfrm.
2369         * localedata/xfrm-test.c (main): Added command line option
2370         -nocache to run the test with strings that are too large for
2371         the STRXFRM cache.
2373 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2375         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2376         variable to lll_futex_wake call, not the value itself.
2378 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2380         [BZ #17803]
2381         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2382         twom64.  Adjust value to 0x1p-64L.
2383         (__scalblnl): Only return standard underflowing result for K <=
2384         -64 not K <= -63; adjust exponent for underflowing result by 64
2385         not 63.
2386         * math/libm-test.inc (scalbn_test_data): Add more tests.
2387         (scalbln_test_data): Likewise.
2389         [BZ #17834]
2390         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2391         0x1p63L.
2392         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2393         not HX.
2394         * math/libm-test.inc (scalbn_test_data): Add more tests.
2395         (scalbln_test_data): Likewise.
2397 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2398             Stefani Seibold  <stefani@seibold.net>
2400         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2401         (sysdep_routines): Add dl-vdso here, ...
2402         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2403         (sysdep_routines): ... not here.
2404         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2405         fallback when vDSO is not presented.
2406         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2407         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2408         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2409         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2410         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2411         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2412         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2413         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2414         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2416         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2417         fallback configurable symbol when vDSO is not available.
2418         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2419         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2420         be able to redefine fallback symbol when vDSO is not available.
2421         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2422         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2424 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2426         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2427         (TLS_INIT_TP): Add tm_capable initialization.
2428         (TLS_DEFINE_INIT_TP): Likewise.
2429         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2430         TCB.
2431         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2432         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2433         calculation.
2434         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2435         transactoion is lock elision is built and TCB tm_capable is set.
2436         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2438         (INTERNAL_SYSCALL_NCS): Likewise.
2439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2440         (INTERNAL_SYSCALL_NCS): Likewise.
2441         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2443         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2444         for powerpc.
2445         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2446         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2447         and remove it for 32 bits case.
2448         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2449         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2450         initialization.
2451         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2452         Disable lock elision with rdlocks if elision is not available.
2454         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2455         (sysdep_routines): Add lock elision objects.
2456         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2457         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2458         [pthread_mutex_t] (__elision): Add field.
2459         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2460         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2461         elision definitions for powerpc.
2462         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2463         implementation of lock elision for powerpc.
2464         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2465         implementation of timed lock elision for powerpc.
2466         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2467         implementation of trylock with lock elision for powerpc.
2468         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2469         implementaion of unlock for lock elision for powerpc.
2470         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2471         automatic enable lock elision for mutexes.
2472         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2473         transaction execution definitions for powerpc.
2474         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2475         definitions.
2476         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2477         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2478         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2479         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2480         * NEWS: Update.
2482 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2484         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2485         for #include of <shm-directory.h>.
2487 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2489         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2490         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2492 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2494         [BZ #17791]
2495         * NEWS: Mention bug fix.
2496         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2497         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2498         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2500 2015-01-09  Torvald Riegel <triegel@redhat.com>
2502         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2504 2015-01-09  Torvald Riegel <triegel@redhat.com>
2506         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2508 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2510         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2511         pointer and cast to uintptr_t.
2513 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2515         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2516         removed.
2517         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2519 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2521         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2522         of 0.
2524 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2526         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2527         <nptl/pthreadP.h> instead.
2528         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2530         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2531         already defined.
2532         [__SIGRTMIN] (init): Function removed.
2533         [__SIGRTMIN] (initialized): Variable removed.
2534         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2535         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2536         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2537         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2538         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2539         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2540         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2541         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2542         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2543         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2544         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2545         * sysdeps/nptl/allocrtsig.c: New file.
2546         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2547         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2548         * sysdeps/generic/testrtsig.h: File removed.
2550         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2551         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2553         * nptl/nptl-init.c (pthread_functions): Conditionalize
2554         .ptr__nptl_setxid initialization on [SIGSETXID].
2556         * sysdeps/nptl/sys/procfs.h: New file.
2557         * nptl_db/Makefile (headers): Add it.
2558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2560         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2561         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2562         * nptl/pthread_attr_setaffinity.c: Include it.
2563         * nptl/pthread_setattr_default_np.c: Likewise.
2564         * nptl/check-cpuset.h: New file.
2566 2015-01-08  Richard Henderson  <rth@redhat.com>
2568         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2569         (CFLAGS-tst-execstack-prog.c): Likewise.
2570         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2572 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2573             Sandra Loosemore  <sandra@codesourcery.com>
2574             Andrew Jenner  <andrew@codesourcery.com>
2575             Joseph Myers  <joseph@codesourcery.com>
2576             Nathan Sidwell  <nathan@codesourcery.com>
2578         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2579         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2580         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2581         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2582         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2583         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2584         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2585         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2586         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2587         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2588         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2589         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2590         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2591         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2592         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2593         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2594         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2596 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2598         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2599         timespec struct member in syscall macro.
2600         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2601         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2602         first timeval struct member in syscall macro.
2603         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2605 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2607         [BZ #17748]
2608         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2609         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2610         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2611         __feupdateenv and define as weak alias of __feupdateenv.  Use
2612         libm_hidden_weak.
2613         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2614         libm_hidden_def.
2615         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2616         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2617         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2618         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2619         libm_hidden_def.
2620         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2621         __feupdateenv and define as weak alias of __feupdateenv.  Use
2622         libm_hidden_weak.
2623         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2624         libm_hidden_def.
2625         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2626         __feupdateenv and define as weak alias of __feupdateenv.  Use
2627         libm_hidden_weak.
2628         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2629         libm_hidden_def.
2630         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2631         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2632         (__feupdateenv): Likewise.
2633         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2634         __feupdateenv and define as weak alias of __feupdateenv.  Use
2635         libm_hidden_weak.
2636         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2637         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2638         libm_hidden_def.
2639         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2640         function.
2641         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2642         libm_hidden_def.
2643         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2644         __feupdateenv instead of feupdateenv.
2645         (default_libc_feupdateenv_test): Likewise.
2646         (libc_feresetround_ctx): Likewise.
2648 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2650         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2651         prototype.
2653 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2655         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2656         COLL_SYM in a couple of places to avoid uninitialized variable
2657         wanings on tilegx gcc 4.8.2.
2659 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2661         * sysdeps/aarch64/strcpy.S: New file.
2662         * sysdeps/aarch64/stpcpy.S: New file.
2663         * NEWS: Updated.
2665 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2667         * sysdeps/aarch64/strrchr.S: New file.
2668         * NEWS: Updated.
2670 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2672         [BZ #17658]
2673         * stdlib/setenv.c: Fix memory leak when setting large,
2674         duplicate string.
2676 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2678         [BZ #17273]
2679         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2680         and tabs from buffer before parsing fstab entry.
2681         * misc/tst-mntent.c (main): Add test for mount entry with
2682         trailing spaces and tabs.
2684 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2686         [BZ #17748]
2687         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2688         * math/fesetround.c (fesetround): Rename to __fesetround and
2689         define as weak alias of __fesetround.  Use libm_hidden_weak.
2690         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2691         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2692         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2693         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2694         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2695         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2696         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2697         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2698         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2699         __fesetround_inline.
2700         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2701         __fesetround_inline instead of __fesetround.
2702         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2703         __fesetround and define as weak alias of __fesetround.  Use
2704         libm_hidden_weak.  Call __fesetround_inline instead of
2705         __fesetround.
2706         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2707         __fesetround and define as weak alias of __fesetround.  Use
2708         libm_hidden_weak.
2709         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2710         Likewise.
2711         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2712         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2713         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2714         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2715         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2716         __fesetround and define as weak alias of __fesetround.  Use
2717         libm_hidden_weak.
2718         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2719         __fesetround instead of fesetround.
2720         (default_libc_feholdexcept_setround): Likewise.
2721         (libc_feholdsetround_ctx): Likewise.
2722         (libc_feholdsetround_noex_ctx): Likewise.
2724         [BZ #17748]
2725         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2726         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2727         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2728         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2729         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2730         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2731         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2732         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2733         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2734         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2735         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2736         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2737         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2738         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2739         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2740         libm_hidden_def.
2741         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2742         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2743         Likewise.
2744         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2745         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2746         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2747         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2748         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2749         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2750         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2751         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2752         __fesetenv instead of fesetenv.
2753         (libc_feresetround_noex_ctx): Likewise.
2754         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2755         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2756         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2757         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2758         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2759         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2760         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2761         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2762         (__feupdateenv): Likewise.
2763         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2764         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2765         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2766         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2768 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2770         [BZ #17806]
2771         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2772         addresses have been freed.
2774 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2776         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2777         and nservall.
2779 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2781         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2782         Clean up check_pf allocation pattern. addresses
2784 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2786         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2787         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2788         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2789         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2790         * nptl/pthread_join.c (pthread_join): Likewise.
2791         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2792         * sysdeps/posix/waitid.c (__waitid): Likewise.
2793         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2794         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2795         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2796         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2798         Likewise.
2799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2800         (__libc_pread64): Likewise.
2801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2802         (__libc_pwrite): Likewise.
2803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2804         (__libc_pwrite64): Likewsie.
2805         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2806         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2807         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2808         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2809         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2810         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2811         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2813         Likewise.
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2815         (__libc_pread64): Likewise.
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2817         Likewise.
2818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2819         (__libc_pwrite64): Likewise.
2820         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2821         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2822         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2823         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2824         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2825         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2826         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2827         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2828         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2829         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2830         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2831         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2832         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2833         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2834         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2835         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2836         Likewise.
2838 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2840         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2841         (CFLAGS-test-double.c): Likewise.
2842         (CFLAGS-test-ldouble.c): Likewise.
2843         (CPPFLAGS-test-ifloat.c): Likewise.
2844         (CPPFLAGS-test-idouble.c): Likewise.
2845         (CPPFLAGS-test-ildoubl.c): Likewise.
2846         (CFLAGS-test-test-fenv.c): Remove variable.
2847         (CFLAGS-test-misc.c): Likewise.
2849 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2851         [BZ #17797]
2852         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2853         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2854         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2855         CLOCKS_PER_SEC == 1000000.
2856         * time/clocktest.c (main): Replace %ld with %jd and cast to
2857         intmax_t.
2859 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2861         * sysdeps/generic/unwind-resume.h: New file.
2862         * sysdeps/gnu/unwind-resume.c: Include it.
2863         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2864         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2865         argument list.
2866         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2867         global rather than static.
2868         (_Unwind_Resume): Update user.
2869         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2870         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2871         rather than static.  Add __attribute__ ((cold)).
2872         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2873         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2874         * sysdeps/arm/arm-unwind-resume.S: New file.
2875         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2876         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2877         * sysdeps/arm/Makefile [$(subdir) = csu]
2878         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2879         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2880         Add rt-arm-unwind-resume.
2881         [$(subdir) = nptl]
2882         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2883         Add pt-arm-unwind-resume.
2884         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2885         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2887 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2889         [BZ #17748]
2890         * include/fenv.h (__feholdexcept): Declare.  Use
2891         libm_hidden_proto.
2892         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2893         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2894         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2895         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2896         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2897         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2898         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2899         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2900         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2901         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2902         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2903         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2904         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2905         (feholdexcept): Likewise.
2906         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2907         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2908         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2909         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2910         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2911         __feholdexcept instead of feholdexcept.
2912         (default_libc_feholdexcept_setround): Likewise.
2914 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2916         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2917         to avoid using stl/str to align destination.
2919 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2921         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2923 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2925         [BZ #17796]
2926         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2927         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2928         Define as weak alias not strong alias.
2930 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2932         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2933         bltzal with addiupc.
2934         (RTLD_START): Ditto.
2936 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2938         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2939         for __vdso_* functions in declarations.
2940         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2941         definitions.
2942         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2943         INTERNAL_VSYSCALL): Use struct return types to check for error.
2945         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2946         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2947         function with cast from llround().
2948         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2949         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2950         Define.
2952 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2954         [BZ #17793]
2955         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2956         Define as weak alias not strong alias.
2958         [BZ #17635]
2959         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2960         ...
2961         * ctype/ctype-extn.c: ... here.
2962         (__isblank_l): Move to ...
2963         * ctype/ctype-c99_l.c: ... here.  New file.
2964         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2965         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2966         Remove variable.
2967         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2968         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2969         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2970         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2971         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2973         [BZ #17777]
2974         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2975         (posix_fadvise64): Define as weak alias not strong alias.
2976         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2977         (posix_fallocate64): Likewise.
2978         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2979         Remove variable.
2980         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2981         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2982         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2983         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2984         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2986 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
2988         [BZ #16191]
2989         * NEWS: Mention bug fix.
2990         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2991         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2992         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2993         (HOST_STACK_END_ADDR): Likewise.
2995 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2997         [BZ #17748]
2998         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
2999         * math/fegetround.c (fegetround): Rename to __fegetround and
3000         define as weak alias of __fegetround.  Use libm_hidden_weak.
3001         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3002         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3003         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3004         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3005         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3006         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3007         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3008         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3009         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3010         Undefine after rather than before function definition; use
3011         parentheses around function name in definition.
3012         (__fegetround): Also undefine macro after function definition.
3013         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3014         __fegetround and define as weak alias of __fegetround.  Use
3015         libm_hidden_weak.  Do not undefine as macro.
3016         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3017         Likewise.
3018         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3019         __fegetround and define as weak alias of __fegetround.  Use
3020         libm_hidden_weak.
3021         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3022         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3023         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3024         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3025         __fegetround and define as weak alias of __fegetround.  Use
3026         libm_hidden_weak.
3027         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3028         __fegetround instead of fegetround.
3030         [BZ #17782]
3031         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3032         Condition macro definition on [__USE_MISC].
3034         [BZ #17781]
3035         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3036         (struct sigaction): Change type of sa_flags field to int.
3038         [BZ #17780]
3039         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3040         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3041         __glibc_reserved0.
3043         * nptl/version.c (banner): Use single year in copyright notice.
3045         * NEWS: Update copyright dates.
3046         * catgets/gencat.c (print_version): Likewise.
3047         * csu/version.c (banner): Likewise.
3048         * debug/catchsegv.sh: Likewise.
3049         * debug/pcprofiledump.c (print_version): Likewise.
3050         * debug/xtrace.sh (do_version): Likewise.
3051         * elf/ldconfig.c (print_version): Likewise.
3052         * elf/ldd.bash.in: Likewise.
3053         * elf/pldd.c (print_version): Likewise.
3054         * elf/sotruss.sh: Likewise.
3055         * elf/sprof.c (print_version): Likewise.
3056         * iconv/iconv_prog.c (print_version): Likewise.
3057         * iconv/iconvconfig.c (print_version): Likewise.
3058         * locale/programs/locale.c (print_version): Likewise.
3059         * locale/programs/localedef.c (print_version): Likewise.
3060         * login/programs/pt_chown.c (print_version): Likewise.
3061         * malloc/memusage.sh (do_version): Likewise.
3062         * malloc/memusagestat.c (print_version): Likewise.
3063         * malloc/mtrace.pl: Likewise.
3064         * manual/libc.texinfo: Likewise.
3065         * nptl/version.c (banner): Likewise.
3066         * nscd/nscd.c (print_version): Likewise.
3067         * nss/getent.c (print_version): Likewise.
3068         * nss/makedb.c (print_version): Likewise.
3069         * posix/getconf.c (main): Likewise.
3070         * scripts/test-installation.pl: Likewise.
3071         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3073 2015-01-02  Will Newton  <will.newton@linaro.org>
3075         * sysdeps/arm/armv7/configure: Removed.
3076         * sysdeps/arm/armv7/configure.ac: Likewise.
3078 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3080         * All files with FSF copyright notices: Update copyright dates
3081         using scripts/update-copyrights.
3082         * intl/plural.c: Regenerated.
3083         * locale/programs/charmap-kw.h: Likewise.
3084         * locale/programs/locfile-kw.h: Likewise.
3086 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3088         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3090 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3092         [BZ #17748]
3093         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3094         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3095         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3096         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3097         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3098         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3099         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3100         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3101         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3102         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3103         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3104         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3105         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3106         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3107         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3108         libm_hidden_def.
3109         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3111         Likewise.
3112         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3113         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3114         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3115         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3116         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3117         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3118         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3119         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3120         __fegetenv instead of fegetenv.
3121         (libc_feholdsetround_noex_ctx): Likewise.
3123 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3125         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3126         (Elf_MIPS_ABIFlags_v0): New structure.
3127         (EF_MIPS_FP64): Define.
3128         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3129         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3130         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3131         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3132         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3133         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3134         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3135         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3136         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3137         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3138         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3139         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3140         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3141         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3142         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3143         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3144         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3145         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3146         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3147         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3148         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3149         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3150         field.
3151         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3152         EF_MIPS_FP64.
3153         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3154         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3155         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3156         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3157         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3158         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3159         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3160         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3161         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3162         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3163         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3164         record the current FP ABI extension.
3165         (mips-mode-switch): Define to show if kernel headers support mode
3166         switching.
3167         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3168         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3169         supported SYSV ABI version to 3.
3170         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3171         feature.
3173 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3174             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3176         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3177         path.
3178         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3180 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3182         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3183         __fegetround and redefine to call __fegetround.  Remove condition
3184         on [!__NO_MATH_INLINES].
3185         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3186         function.
3187         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3188         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3189         Remove macro.
3190         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3191         instead of <fenv_libc.h>.
3192         (__llrintl): Call fegetround instead of __fegetround.
3193         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3194         instead of <fenv_libc.h>.
3195         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3196         (__lrintl): Call fegetround instead of __fegetround.
3197         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3198         instead of <fenv_libc.h>.
3199         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3200         (__rintl): Call fegetround instead of __fegetround.
3202 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3204         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3205         arrays.
3207 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3209         [BZ #17775]
3210         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3211         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3212         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3214 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3216         * sysdeps/i386/tls-macros.h: Include <features.h>.
3217         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3218         (TLS_IE): Likewise.
3219         (TLS_LD): Likewise.
3220         (TLS_GD): Likewise.
3221         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3222         define for GCC >= 5.0.
3224 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3226         * math/test-fenv.c (test_single_exception, set_single_exc,
3227         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3228         feexcp_mask_test, feenable_test, fe_single_test): Add
3229         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3230         case where they are not used.
3231         * math/libm-test.inc: Likewise.
3232         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3233         unused in the absence of FP rounding/exception support.
3234         * stdio-common/tst-printf-round.c: Likewise.
3235         * stdlib/tst-strtod-round.c: Likewise.
3236         * stdlib/tst-strtod-underflow.c: Likewise.
3238 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3240         [BZ #17723]
3241         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3242         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3243         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3244         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3245         libm_hidden_weak.
3246         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3247         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3248         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3249         libm_hidden_def.
3250         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3251         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3252         libm_hidden_weak.
3253         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3254         Likewise.
3255         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3256         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3257         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3258         libm_hidden_weak.
3259         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3260         libm_hidden_def.
3261         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3262         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3263         (__feraiseexcept): Likewise.
3264         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3265         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3266         libm_hidden_weak.
3267         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3268         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3269         libm_hidden_def.
3270         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3271         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3272         Use libm_hidden_def.
3273         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3274         libm_hidden_def.
3275         (feraiseexcept): Define as weak not strong alias.  Use
3276         libm_hidden_weak.
3277         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3278         New inline function.  Factored out of ...
3279         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3280         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3281         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3282         feraiseexcept.
3283         * math/w_acos.c (__acos): Likewise.
3284         * math/w_asin.c (__asin): Likewise.
3285         * math/w_ilogb.c (__ilogb): Likewise.
3286         * math/w_j0.c (y0): Likewise.
3287         * math/w_j1.c (y1): Likewise.
3288         * math/w_jn.c (yn): Likewise.
3289         * math/w_log.c (__log): Likewise.
3290         * math/w_log10.c (__log10): Likewise.
3291         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3292         * sysdeps/aarch64/fpu/math_private.h
3293         (libc_feupdateenv_test_aarch64): Likewise.
3294         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3295         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3296         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3297         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3298         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3299         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3300         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3301         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3302         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3303         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3305 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3307         [BZ #17732]
3308         * io/test-utime.c (main): Replace %ld with %jd and cast to
3309         intmax_t.
3310         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3311         * nptl/tst-mutex5.c: Include <stdint.h>.
3312         (do_test): Replace %ld with %jd and cast to intmax_t.
3313         * posix/tst-regex.c (run_test): Likewise.
3314         (run_test_backwards): Likewise.
3315         * rt/tst-clock.c: Include <stdint.h>.
3316         (clock_test): Replace %ld with %jd and cast to intmax_t.
3317         * rt/tst-cpuclock1.c: Include <stdint.h>.
3318         (do_test): Replace %lu with %ju and cast to uintmax_t.
3319         * rt/tst-cpuclock2.c: Include <stdint.h>.
3320         (do_test): Replace %lu with %ju and cast to uintmax_t.
3321         * rt/tst-mqueue1.c: Include <stdint.h>.
3322         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3323         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3324         intmax_t.
3325         * rt/tst-mqueue4.c (do_test): Likewise.
3326         * rt/tst-timer4.c: Include <stdint.h>.
3327         (check_ts): Replace %ld with %jd and cast to intmax_t.
3328         (do_test): Likewise.
3329         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3330         and cast to intmax_t.
3331         * sysdeps/pthread/tst-timer.c (main): Likewise.
3332         * time/clocktest.c (main): Likewise.
3333         * time/tst-posixtz.c (do_test): Likewise.
3334         * timezone/tst-timezone.c (main): Likewise.
3336 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3337             H.J. Lu  <hongjiu.lu@intel.com>
3339         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3340         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3341         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3342         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3343         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3344         version if bit_Fast_Unaligned_Load is set.
3345         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3346         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3347         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3348         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3349         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3350         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3351         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3352         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3353         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3354         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3355         to 4.
3356         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3357         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3358         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3359         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3361 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3363         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3364         instead of #if to avoid a Wundef warning.
3365         * stdlib/tst-limits.c (do_test): Likewise.
3367         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3368         parallel other exception macros.
3369         (fegetenv): Convert from macro to extern inline so that it applies
3370         retroactively to inline functions already seen by the compiler.
3371         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3373         * posix/Makefile (before-compile): Use $(objpfx) for
3374         posix-conf-vars-def.h.
3376 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3378         * posix/getconf.c (main): Use size_t for type of I.
3379         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3380         NSPEC.
3382         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3383         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3384         * posix/posix-envs.def: Likewise.
3385         * sysdeps/posix/sysconf.c: Likewise.
3386         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3387         (specs): Remove array.
3388         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3389         array.
3391         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3392         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3393         (__sysconf): Use CONF_IS_* macros.
3395         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3396         ($(objpfx)posix-conf-vars-def.h): New target.
3397         * posix/posix-conf-vars.list: New file.
3398         * posix/posix-conf-vars.h: New file.
3399         * posix/confstr.c: Include posix-conf-vars.h.
3400         (confstr): Use CONF_IS_* macros.
3401         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3402         CONF_IS_* macros.
3403         * scripts/gen-posix-conf-vars.awk: New file.
3405 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3407         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3408         fegetround): Add no-op macros to avoid linknamespace issues.
3410         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3411         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3413         * sysdeps/unix/sysv/linux/tile/sysdep.h
3414         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3415         assembly-specific section to avoid a redefinition warning.
3417         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3418         long before casting to pointer to avoid a cast warning.
3420 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3422         * sysdeps/tile/tilegx/Implies: New file.
3424 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3426         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3428 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3430         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3432 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3435         not define.
3436         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3437         <kernel-features.h>.
3438         (__utimes) [__NR_utimes]: Make code unconditional.
3439         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3440         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3441         (__ASSUME_UTIMES): Do not undefine.
3442         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3443         (__ASSUME_UTIMES): Likewise.
3444         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3445         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3446         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3447         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3449 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3451         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3453 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3455         [BZ #17747]
3456         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3457         alias to weak alias for j0l, y0l.
3458         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3459         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3461         [BZ #17746]
3462         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3463         conversion.
3465 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3467         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3468         to zero if not already defined.
3470 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3472         [BZ #17724]
3473         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3474         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3475         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3476         (char *) casts added.
3477         * sysdeps/ieee754/k_standardf.c: New file.
3478         * sysdeps/ieee754/k_standardl.c: Likewise.
3479         * math/Makefile (libm-support): Remove k_standard.
3480         (libm-calls): Add k_standard.
3482 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3484         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3485         Optimize to avoid an unnecessary FPCR read.
3487 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3489         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3490         Optimize to reduce FPCR/FPSR accesses.
3492 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3494         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3495         Call libc_fetestexcept_aarch64.
3497 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3499         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3500         Call libc_fesetround_aarch64.
3502 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3504         [BZ #17733]
3505         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3506         (__bind): Do not define as weak alias.
3507         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3508         define.
3509         (__getsockname): Do not define as weak alias.
3511 2014-12-22  Will Newton  <will.newton@linaro.org>
3513         * manual/install.texi: Document that we require bison 2.7
3514         or above.
3515         * INSTALL: Regenerate.
3516         * configure.ac: Use AC_CHECK_PROG_VER instead of
3517         AC_PATH_PROG when checking for bison and check for
3518         version 2.7 or above.
3519         * configure: Regenerate.
3521 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3523         [BZ #17745]
3524         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3525         * sysdeps/tile/ffsll.c (ffsll): To here.
3527         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3529 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3531         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3532         if not defined.
3533         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3534         definition.
3535         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3536         hidden ___tls_get_addr.
3537         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3538         hidden __tls_get_addr.
3539         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3540         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3541         Likewise.
3543 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3545         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3546         _dl_init call.
3548 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3550         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3551         from "call _dl_init@PLT".
3552         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3554 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3556         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3557         guarantees.
3559 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3561         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3563 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3565         [BZ #17744]
3566         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3567         strnlen.
3569 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3571         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3572         of multu on MIPSr6.
3573         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3574         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3575         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3576         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3577         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3579 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3581         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3582         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3583         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3584         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3585         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3586         mips32r6/mips64r6.
3587         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3589 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3591         * string/strncat.c (STRNCAT): Simplify implementation.
3593 2014-12-19  David S. Miller  <davem@davemloft.net>
3595         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3596         access the quad as both a long double and as a series of 4 words.
3598         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3599         link_map->l_info array access.
3601 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3603         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3605         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3606         * math/atest-exp2.c (TIMEOUT): Likewise.
3607         * math/atest-sincos.c (TIMEOUT): Likewise.
3609 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3611         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3612         -Wno-error with -fno-builtin-lround.
3614 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3616         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3617         Contains futex constants and functions moved over from ...
3618         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3619         <lowlevellock-futex.h>.
3620         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3621         (lll_timedwait_tid): Add comments and parentheses around macro
3622         arguments.
3624 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3626         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3627         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3628         (__lll_private_flag): Remove.
3629         (lll_futex_wait): Likewise.
3630         (lll_futex_timed_wait): Likewise.
3631         (lll_futex_wake): Likewise.
3632         (lll_futex_requeue): Likewise.
3633         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3634         (__lll_timedwait_tid): Spell out argument names.
3635         (lll_timedwait_tid): Add comments and parentheses around macro
3636         arguments.
3637         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3638         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3640 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3642         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3643         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3644         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3645         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3646         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3647         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3648         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3649         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3650         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3652         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3654         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3656         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3657         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3658         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3659         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3660         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3662 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3664         * sysdeps/x86_64/x32/Makefile: New file.
3666 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3668         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3669         1L with (mp_limb_t) 1.
3671 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3673         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3674         * nptl/libc_pthread_init.c: ... here.
3675         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3676         * nptl/register-atfork.c: ... here.
3678         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3679         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3680         Use assert_perror to check its return value.
3681         (__gai_create_helper_thread): Likewise.
3683         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3685         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3687 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3689         [BZ #17725]
3690         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3691         __profil_counter.
3692         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3693         Likewise.
3694         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3695         Likewise.
3696         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3697         Likewise.
3698         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3699         (profil_counter): Likewise.
3700         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3701         (profil_counter): Likewise.
3702         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3703         Likewise.
3704         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3705         Likewise.
3706         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3707         (profil_counter): Likewise.
3708         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3709         Likewise.
3710         [!__profil_counter] (profil_counter): Define as weak alias of
3711         __profil_counter.
3712         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3713         (profil_counter): Rename to __profil_counter.
3714         [!__profil_counter] (profil_counter): Define as weak alias of
3715         __profil_counter.
3716         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3717         (profil_counter): Rename to __profil_counter.
3718         [!__profil_counter] (profil_counter): Define as weak alias of
3719         __profil_counter.
3720         * sysdeps/posix/profil.c: Update comment referring to
3721         profil_counter.
3722         (__profil): Use __profil_counter instead of profil_counter.
3723         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3724         __profil_counter.  Use __profil_counter_ushort and
3725         __profil_counter_uint in definitions.
3726         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3727         instead of profil_counter_uint and profil_counter_ushort.
3729         [BZ #17722]
3730         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3731         define as weak alias of __inet_makeaddr.
3732         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3733         as weak alias of __inet_addr.
3734         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3735         as weak alias of __inet_pton.  Use libc_hidden_weak.
3736         * include/arpa/inet.h (__inet_pton): Declare.  Use
3737         libc_hidden_proto.
3738         (inet_makeaddr): Don't use libc_hidden_proto.
3739         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3740         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3741         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3742         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3743         Remove variable.
3744         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3745         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3747 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3749         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3751 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3753         * stdio-common/bug-vfprintf-nargs.c (do_test):
3754         Cast value to intptr_t to avoid format warning
3755         for usage with PRIdPTR printing macro.
3757 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3759         * libio/tst-widetext.c (do_test):
3760         Use format type %td instead of %Zd for ptrdiff_t
3761         in order to avoid format warning.
3763 2014-12-17  Andreas Schwab  <schwab@suse.de>
3765         * nscd/mem.c (gc): Add size_t cast to match printf format.
3767 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3769         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3770         (init): Apply PTR_MANGLE to pointers before storing them.
3771         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3772         before using them.
3774 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3776         [BZ #17719]
3777         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3778         define as weak alias of __memrchr.
3779         (__memrchr): Do not define as strong alias of memrchr.
3780         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3781         Remove variable.
3782         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3783         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3784         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3786         [BZ #17717]
3787         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3788         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3789         (if_indextoname): Rename to __if_indextoname and define as weak
3790         alias of __if_indextoname.  Use libc_hidden_weak.
3791         (if_freenameindex): Rename to __if_freenameindex and define as
3792         weak alias of __if_freenameindex.
3793         (if_nameindex): Rename to __if_nameindex and define as weak alias
3794         of __if_nameindex.
3795         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3796         __if_nametoindex and define as weak alias of __if_nametoindex.
3797         Use libc_hidden_weak.
3798         (if_freenameindex): Rename to __if_freenameindex and define as
3799         weak alias of __if_freenameindex.
3800         (if_nameindex): Rename to __if_nameindex and define as weak alias
3801         of __if_nameindex.
3802         (if_indextoname): Rename to __if_indextoname and define as weak
3803         alias of __if_indextoname.  Use libc_hidden_weak.
3804         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3805         __if_nametoindex and define as weak alias of __if_nametoindex.
3806         Use libc_hidden_weak.
3807         (if_freenameindex): Rename to __if_freenameindex and define as
3808         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3809         (if_nameindex_netlink): Use __if_freenameindex instead of
3810         if_freenameindex.
3811         (if_nameindex): Rename to __if_nameindex and define as weak alias
3812         of __if_nameindex.  Use libc_hidden_weak.
3813         (if_indextoname): Rename to __if_indextoname and define as weak
3814         alias of __if_indextoname.  Use libc_hidden_weak.
3815         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3816         libc_hidden_proto.
3817         [!_ISOMAC] (__if_freenameindex): Likewise.
3818         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3819         if_nametoindex.
3820         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3821         variable.
3822         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3823         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3824         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3825         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3826         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3827         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3828         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3830         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3831         Remove variable.
3832         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3833         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3835 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3837         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3838         subscript above bounds'
3840         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3841         bounds.
3843 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3845         * libio/tst-fopenloc.c: Use test-skeleton.c.
3847         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3848         (entry): Rename to ITEM.
3849         (do_test, comp): Adjust.
3851         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3853 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3855         * string/tester.c: Include <libc-internal.h>.
3856         (test_memset): Ignore -Wmemset-transposed-args.
3858 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3860         * misc/tst-mntent2.c (do_test): Fix warning.
3862 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3864         * elf/tst-unique4lib.cc(a): Mark as used.
3866 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3868         [BZ #17630]
3869         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3870         names.
3872 2014-12-16  Allan McRae  <allan@archlinux.org>
3874         * stdio-common/Makefile (tests): Re-add bug26.
3876 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3878         [BZ #17657]
3879         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3880         static array.
3882 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3884         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3885         (__lll_lock_wait): Likewise.
3886         (__lll_timedlock_wait): Likewise.
3887         (__lll_timedwait_tid): Likewise.
3888         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3889         (__lll_robust_timedlock_wait): Likewise.
3890         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3891         (lll_cond_trylock): Likewise.
3892         (__lll_lock): Likewise.
3893         (__lll_robust_lock): Likewise.
3894         (__lll_cond_lock): Likewise.
3895         (lll_robust_cond_lock): Likewise.
3896         (__lll_timedlock): Likewise.
3897         (__lll_robust_timedlock): Likewise.
3898         (__lll_unlock): Likewise.
3899         (__lll_robust_unlock): Likewise.
3900         (lll_wait_tid): Likewise.
3901         (lll_timedwait_tid): Likewise.
3903 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3905         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3907 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3909         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3911 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3913         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3914         * stdio-common/tst-sprintf.c: Likewise.
3916 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3918         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3920 2014-12-15  Jeff Law  <law@redhat.com>
3922         [BZ #16617]
3923         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3924         on the heap.  (CVE-2012-3406)
3925         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3926         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3927         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3929 2014-12-15  Will Newton  <will.newton@linaro.org>
3931         * manual/install.texi: Bump required version of texinfo
3932         to 4.7 from 4.5.
3933         * INSTALL: Regenerated.
3934         * configure.ac: Check for makeinfo version 4.7 and above.
3935         * configure: Regenerated.
3937 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3939         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3940         PREFIX, string constant to insert between directory and name.
3941         * sysdeps/posix/shm_open.c: Update caller.
3942         * sysdeps/posix/shm_unlink.c: Likewise.
3943         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3944         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3945         (SEM_SHM_PREFIX): New macro.
3946         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3947         [$(have-thread-library) = no].
3948         * nptl/Makefile (libpthread-routines): Add shm-directory.
3949         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3950         * sysdeps/nptl/shm-directory.h: New file.
3951         * sysdeps/posix/shm-directory.c
3952         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3953         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3954         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3955         INTERNAL_SYSCALL.
3956         (__where_is_shmfs): Function removed.
3957         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3958         Variables removed.
3959         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3960         Use SHM_GET_NAME.
3961         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3963         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3964         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3965         unconditional for use inside libpthread.
3966         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3968 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3970         * nptl/pthread_getaffinity.c: New file.
3971         * nptl/pthread_setaffinity.c: New file.
3972         * nptl/pthread_getname.c: New file.
3973         * nptl/pthread_setname.c: New file.
3975         * nptl/pthread_create.c (START_THREAD_DEFN)
3976         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3978 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3979             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3981         * resolv/res_send.c (send_vc): Disable warning resplen may
3982         be used uninitialized.
3984 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3986         * nptl/tst-mutex6.c
3987         (ATTR_NULL): New define checks ATTR against NULL.
3988         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3989         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3991 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
3993         [BZ #17581]
3994         * malloc/hooks.c
3995         (mem2mem_check): Revert my previous change.
3996         (malloc_check_get_size): Revert my previous change.
3997         (mem2chunk_check): Revert my previous change.
3999 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4001         * sysdeps/posix/shm-directory.c: New file.
4002         * sysdeps/posix/shm-directory.h: New file.
4003         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4004         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4005         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4006         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4007         Transmute EPERM to EACCES.
4008         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4009         from ...
4010         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4011         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4013 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4015         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4016         pointer and cast to uintptr_t.
4017         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4018         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4019         Add cast to avoid warning.
4020         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4022 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4024         * nptl/semaphore.h: Move to ...
4025         * sysdeps/pthread/semaphore.h: ... here.
4026         * Makefile (installed-headers): Change nptl/semaphore.h to
4027         sysdeps/pthread/semaphore.h.
4029 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4031         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4032         generated error format strings.
4034         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4035         -Wformat-extra-args warnings for scanf formats.
4036         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4037         test of zero-length format (duh).
4038         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4039         corner-case scanf format test.
4040         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4041         generated fprintf format string.
4042         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4043         corner-case sprintf format tests.
4044         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4045         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4046         -Wformat-extra-args warnings throughout.
4047         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4048         (CFLAGS-scanf4.c): Likewise.
4049         (CFLAGS-scanf7.c): Likewise.
4050         (CFLAGS-tst-sprintf.c): Likewise.
4051         (CFLAGS-tst-printf.c): Likewise.
4052         (CFLAGS-tst-printfsz.c): Likewise.
4054 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4056         * include/cpio.h: New file.
4057         * include/fmtmsg.h: Likewise.
4059         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4060         corresponding format argument to size_t.
4061         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4062         arguments.
4063         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4064         corresponding format argument to size_t.
4065         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4066         arguments.
4067         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4068         corresponding format argument to size_t.
4069         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4070         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4071         (CFLAGS-tst-mbswcs2.c): Likewise.
4072         (CFLAGS-tst-mbswcs3.c): Likewise.
4073         (CFLAGS-tst-mbswcs4.c): Likewise.
4074         (CFLAGS-tst-mbswcs5.c): Likewise.
4075         (CFLAGS-tst-trans.c): Likewise
4077 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4079         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4080         rather than assuming they won't contain any '%'s.
4082 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4084         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4085         inhibit_loop_to_libcall to avoid recursive calls.
4086         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4087         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4089 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4091         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4092         prototype.
4094 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4096         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4097         integer value instead of boolean.
4099 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4101         * malloc/malloc.c: Fix powerof2 check.
4103 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4105         * locale/programs/locfile.h (maybe_swap_uint32):
4106         Remove inline and add unused attribute.
4108 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4110         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4111         Truncating assembler expression to a .long expression.
4113 2014-12-11  Andreas Schwab  <schwab@suse.de>
4115         * elf/rtld.c (struct map_args): Constify str member.
4116         (do_preload): Constify fname argument.
4118 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4120         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4121         constants definition.
4123 2014-12-11  Andreas Schwab  <schwab@suse.de>
4125         [BZ #16657]
4126         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4127         FORCE_ELISION instead of DO_ELISION.
4128         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4129         Remove.
4130         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4131         Likewise.
4133         * iconvdata/gconv-modules: Remove duplicate entry.
4135 2014-12-11  Will Newton  <will.newton@linaro.org>
4137         Merge gettext 0.19.3 into intl/.
4139         This involves a number of cosmetic changes to comments
4140         and ANSI function definitions and prototypes throughout
4141         all the files. The gettext copyright header is used but
4142         with the date ranges taken from the glibc copy.
4144         * NEWS: Add gettext merge to 2.21.
4145         * intl/bindtextdom.c: Switch to gettext copyright.
4146         Use ANSI definitions and prototypes.
4147         Use gl_* locking primitives rather than __libc_* ones.
4148         Use __builtin_expect rather than __glibc_likely/unlikely.
4149         * intl/dcgettext.c: Switch to gettext copyright.
4150         Use ANSI definitions and prototypes.
4151         * intl/dcigettext.c: Switch to gettext copyright.
4152         Use ANSI definitions and prototypes.
4153         (INTDIV0_RAISES_SIGFPE): New define.
4154         Use gl_* locking primitives rather than __libc_* ones.
4155         Include eval-plural.h instead of plural-eval.c.
4156         Use __builtin_expect rather than __glibc_likely/unlikely.
4157         * intl/dcngettext.c: Switch to gettext copyright.
4158         Use ANSI definitions and prototypes.
4159         * intl/dgettext.c: Likewise.
4160         * intl/dngettext.c: Likewise.
4161         * intl/plural-eval.c: Renamed to...
4162         * intl/eval-plural.h: ...this.
4163         * intl/explodename.c: Switch to gettext copyright.
4164         Use ANSI definitions and prototypes.
4165         (_nl_explode_name): Use strchr instead of __rawmemchr.
4166         * intl/finddomain.c: Switch to gettext copyright.
4167         Use ANSI definitions and prototypes.
4168         Use gl_* locking primitives rather than __libc_* ones.
4169         (_nl_find_domain): Use malloc rather than alloca for
4170         allocation of temporary locale name.
4171         * intl/gettext.c: Switch to gettext copyright.
4172         Use ANSI definitions and prototypes.
4173         * intl/gettextP.h: Switch to gettext copyright.
4174         Use ANSI definitions and prototypes.
4175         Use gl_* locking primitives rather than __libc_* ones.
4176         * intl/gmo.h: Switch to gettext copyright.
4177         (struct sysdep_string): Move struct segment_pair outside of
4178         struct definition.
4179         * intl/hash-string.c: Use ANSI definitions and prototypes.
4180         * intl/hash-string.h: Switch to gettext copyright.
4181         Use ANSI definitions and prototypes.
4182         * intl/l10nflist.c: Switch to gettext copyright.
4183         Use ANSI definitions and prototypes.
4184         (_nl_normalize_codeset): Avoid integer overflow.
4185         * intl/loadinfo.h: Switch to gettext copyright.
4186         Use ANSI definitions and prototypes.
4187         (LIBINTL_DLL_EXPORTED): New define.
4188         (PATH_SEPARATOR): New define.
4189         * intl/loadmsgcat.c: Switch to gettext copyright.
4190         * intl/localealias.c: Switch to gettext copyright.
4191         Use ANSI definitions and prototypes.
4192         (_nl_expand_alias): Use PATH_SEPARATOR.
4193         * intl/ngettext.c: Switch to gettext copyright.
4194         Use ANSI definitions and prototypes.
4195         * intl/plural-exp.c: Likewise.
4196         * intl/plural-exp.h: Switch to gettext copyright.
4197         Use ANSI definitions and prototypes.
4198         (struct expression): Move definition of enum operator outside
4199         of struct definition.
4200         * intl/plural.c: Regenerate.
4201         * intl/plural.y: Switch to gettext copyright.
4202         Use ANSI definitions and prototypes.
4203         Port to bison 3.0.
4204         * intl/textdomain.c: Switch to gettext copyright.
4205         Use ANSI definitions and prototypes.
4206         Use gl_* locking primitives rather than __libc_* ones.
4208 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4210         * debug/warning-nop.c: Add used atrribute.
4212 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4214         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4216         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4217         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4218         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4220 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4221             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4223         [BZ #17634]
4224         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4225         Undefine after defining function.  Define as weak alias of
4226         __wcschr.  Use libc_hidden_weak.
4227         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4228         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4229         (libc_hidden_def): Also define __GI___wcschr alias.
4230         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4231         __wcschr and define as weak alias of __wcschr.
4232         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4233         __wcschr.
4234         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4235         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4236         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4237         libc_hidden_weak.  Do not use libc_hidden_def.
4238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4239         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4240         __GI___wcschr alias.
4241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4242         [IS_IN (libc)] (wcschr): Define as macro expanding to
4243         __redirect_wcschr.
4244         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4245         [IS_IN (libc)] (__wcschr_power6): Likewise.
4246         [IS_IN (libc)] (__wcschr_power7): Likewise.
4247         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4248         instead of wcschr.
4249         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4250         __libc_wcschr.
4251         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4252         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4253         __wcschr and define as weak alias of __wcschr.  Use
4254         libc_hidden_builtin_def.
4255         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4256         as weak alias of __wcschr.  Use libc_hidden_weak.
4257         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4258         wcschr.
4259         * time/era.c (_nl_init_era_entries): Likewise.
4260         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4261         variable.
4262         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4263         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4265 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4267         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4268         format for long int variable.
4270 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4272         [BZ #10672]
4273         * manual/search.texi: (Array Sort Function): Remove claim how to make
4274         qsort stable.
4276 2014-12-10  Andreas Schwab  <schwab@suse.de>
4278         [BZ #12847]
4279         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4280         user-controlled locks.
4282 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4284         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4285         register.
4287 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4289         * configure.ac (--disable-werror): New configure option.
4290         (enable_werror): New AC_SUBST.
4291         * configure: Regenerated.
4292         * config.make.in (enable-werror): New variable.
4293         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4294         -Wno-error=undef.
4295         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4296         * manual/install.texi (Configuring and compiling): Document
4297         --disable-werror.
4298         * INSTALL: Regenerated.
4299         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4300         (CFLAGS-tst-chk2.c): Likewise.
4301         (CFLAGS-tst-chk3.c): Likewise.
4302         (CFLAGS-tst-chk4.cc): Likewise.
4303         (CFLAGS-tst-chk5.cc): Likewise.
4304         (CFLAGS-tst-chk6.cc): Likewise.
4305         (CFLAGS-tst-lfschk1.c): Likewise.
4306         (CFLAGS-tst-lfschk2.c): Likewise.
4307         (CFLAGS-tst-lfschk3.c): Likewise.
4308         (CFLAGS-tst-lfschk4.cc): Likewise.
4309         (CFLAGS-tst-lfschk5.cc): Likewise.
4310         (CFLAGS-tst-lfschk6.cc): Likewise.
4312         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4313         (main): Disable -Wdeprecated-declarations around calls to
4314         register_printf_function.
4316         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4317         (do_test): Disable -Wdiv-by-zero around some calls to
4318         fwrite_unlocked and fread_unlocked.
4320         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4321         (DIAG_POP_NEEDS_COMMENT): Likewise.
4322         (_DIAG_STR1): Likewise.
4323         (_DIAG_STR): Likewise.
4324         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4325         * stdio-common/bug21.c: Include <libc-internal.h>.
4326         (do_test): Disable -Wformat around call to sscanf.
4327         * stdio-common/scanf14.c: Include <libc-internal.h>.
4328         (main): Disable -Wformat around some calls to scanf functions.
4330 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4332         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4334 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4336         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4337         stack variable alignment.
4339 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4341         [BZ #17682]
4342         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4343         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4344         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4345         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4346         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4347         __getrlimit instead of getrlimit.
4348         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4349         __gettimeofday instead of gettimeofday.
4350         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4351         Likewise.
4352         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4353         Likewise.
4354         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4355         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4356         Remove variable.
4357         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4358         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4360 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4362         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4363         for wide-character tests.
4365 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4367         * io/openat64.c: #include <libc-internal.h>
4368         (__openat64): Prototypify.  Use ignore_value on MODE.
4369         * io/openat.c: Likewise.
4370         * misc/reboot.c: #include <libc-internal.h>
4371         (reboot): Prototypify.  Use ignore_value on HOWTO.
4372         * misc/ptrace.c: #include <libc-internal.h>
4373         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4375 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4377         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4378         XPG4, UNIX98 and XOPEN2K.
4379         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4380         Remove variable.
4381         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4383 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4385         * libio/fileops.c: Use ISO C style for function definitions.
4386         * libio/iofopen.c: Likewise.
4387         * libio/wfileops.c: Likewise.
4389         [BZ #17653]
4390         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4391         offset on EOF.
4392         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4393         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4394         (fgets_func): Function pointer to fgets and fgetws.
4395         (do_ftell_test): Add test to verify ftell value after read
4396         EOF.
4397         (do_test): Set fgets_func.
4399         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4400         O_TRUNC flag for w and w+ modes.
4401         (do_rewind_test): Likewise.
4402         (do_ftell_test): Likewise.
4403         (do_write_test): Likewise.
4405         [BZ #17647]
4406         * libio/fileops.c (do_ftell): Seek only when there are
4407         unflushed writes.
4408         * libio/wfileops.c (do_ftell_wide): Likewise.
4409         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4410         test case.
4411         (do_one_test): Call it.
4413 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4415         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4416         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4417         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4418         Remove variable.
4419         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4420         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4421         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4423 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4425         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4426         Remove variable.
4427         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4429         [BZ #17668]
4430         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4431         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4432         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4433         __freeifaddrs.  Use libc_hidden_weak.
4434         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4435         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4436         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4437         __freeifaddrs.  Use libc_hidden_weak.
4438         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4439         __getifaddrs and define as weak alias of __getifaddrs.  Use
4440         libc_hidden_weak.
4441         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4442         __freeifaddrs.  Use libc_hidden_weak.
4443         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4444         Remove variable.
4445         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4446         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4448 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4450         [BZ #17601]
4451         * sysdeps/mips/start.S (__start): Use indirect jump to call
4452         __libc_start_main.
4454 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4456         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4458         * nptl/tst-mutex1.c: Include <stdbool.h>.
4459         [!ATTR] (ATTR_NULL): New macro.
4460         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4461         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4462         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4464         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4465         to char *.
4467         [BZ #17665]
4468         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4469         Change conditional to [__USE_MISC].
4471         [BZ #17664]
4472         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4473         fgets_unlocked.
4474         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4475         __fgets_unlocked.
4476         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4477         fgets_unlocked.
4478         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4479         Remove variable.
4480         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4481         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4482         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4483         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4484         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4485         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4486         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4487         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4488         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4490         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4492 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4495         Remove strpbrk objects.
4496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4497         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4498         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4499         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4500         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4501         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4504         Remove strcspn objects.
4505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4506         (__libc_ifunc_impl_list): Remove strcspn implementation.
4507         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4508         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4509         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4510         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4512         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4513         Remove strspn objetcs.
4514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4515         (__libc_ifunc_impl_list): Remove strspn implementation.
4516         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4517         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4518         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4519         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4521 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4523         [BZ #17581]
4524         * malloc/hooks.c
4525         (mem2mem_check): Add a terminator to the chain of checking blocks.
4526         (malloc_check_get_size): Use it here.
4527         (mem2chunk_check): Ditto.
4529 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4531         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4532         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4534 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4536         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4538         * nptl/nptl-init.c: Include libc-internal.h.
4539         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4541         * elf/ldconfig.c (search_dir): Expand comment.
4543 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4545         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4546         variable.
4547         (linknamespace-symlist-stdlibs-tests): Likewise.
4548         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4549         instead of $(objpfx)symlist-stdlibs.
4550         (linknamespace-libs-isoc): New variable.
4551         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4552         (linknamespace-libs-ISO): New variable.
4553         (linknamespace-libs-ISO99): Likewise.
4554         (linknamespace-libs-ISO11): Likewise.
4555         (linknamespace-libs-XPG3): Likewise.
4556         (linknamespace-libs-XPG4): Likewise.
4557         (linknamespace-libs-POSIX): Likewise.
4558         (linknamespace-libs-UNIX98): Likewise.
4559         (linknamespace-libs-XOPEN2K): Likewise.
4560         (linknamespace-libs-POSIX2008): Likewise.
4561         (linknamespace-libs-XOPEN2K8): Likewise.
4562         ($(objpfx)symlist-stdlibs): Replace by
4563         $(linknamespace-symlist-stdlibs-tests).  Use
4564         $(linknamespace-libs-$*) as set of libraries.
4565         ($(linknamespace-header-tests)): Update dependencies.  Use
4566         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4567         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4568         * conform/linknamespace.pl: Remove comment about considering
4569         definitions of symbols from irrelevant libraries.
4571 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4573         [BZ #13862]
4574         * elf/dl-tls.c: Include <atomic.h>.
4575         (oom): Remove #ifdef SHARED/#endif.
4576         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4577         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4578         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4579         big enough.
4580         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4581         * nptl/Makefile (tests): Add tst-stack4.
4582         (modules-names): Add tst-stack4mod.
4583         ($(objpfx)tst-stack4): New.
4584         (tst-stack4mod.sos): Likewise.
4585         ($(objpfx)tst-stack4.out): Likewise.
4586         ($(tst-stack4mod.sos)): Likewise.
4587         (clean): Likewise.
4588         * nptl/tst-stack4.c: New file.
4589         * nptl/tst-stack4mod.c: Likewise.
4591 2014-11-27  J. Brown  <jb999@gmx.de>
4593         * sysdeps/x86/bits/string.h: Add recent CPUs.
4595 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4597         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4598         sigblock.
4600         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4601         feof.
4603         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4604         variable.
4606 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4608         * nscd/connections.c: Include libc-internal.h because of macro
4609         usage ignore_value.
4611 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4613         * string/bits/string3.h (__warn_memset_zero_len): Don't
4614         declare for gcc newer than 5.0.
4615         (memset): Don't test for zero-length __LEN for gcc newer than
4616         5.0.
4618 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4620         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4621         size_t for %zu format.
4623         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4624         difference, not %ju.
4626 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4628         * include/libc-internal.h (ignore_value): New macro.
4629         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4630         with ignore_value.
4632         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4633         definition.
4635         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4636         pthread_cleanup_push to void *.
4638         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4639         Undefine.
4641         [BZ #16619]
4642         [BZ #16740]
4643         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4644         instead of 1L << 52.
4646         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4647         * libio/bug-rewind2.c (do_test): Likewise.
4649         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4650         * debug/test-strcpy_chk-ifunc.c: Likewise.
4651         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4652         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4653         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4654         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4655         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4656         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4657         * Rules [$(multi-arch) = no] (tests): Do not filter out
4658         $(tests-ifunc).
4659         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4660         * debug/Makefile (tests-ifunc): Remove variable.
4661         (tests): Do not add $(tests-ifunc).
4662         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4663         (tests): Do not add $(tests-ifunc).
4664         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4665         [TEST_IFUNC]: Remove conditionals.
4666         * string/test-string.h (TEST_IFUNC): Remove macro.
4667         [TEST_IFUNC]: Remove conditionals.
4669         * string/test-strchr.c [!WIDE] (L): New macro.
4670         [WIDE] (L): Likewise.
4671         (check1): Use CHAR instead of char.  Use L on string and character
4672         constants.
4674 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4676         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4677         tests.
4678         * sysdeps/powerpc/bits/atomic.h
4679         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4680         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4681         (atomic_exchange_and_add_acq): Likewise.
4682         (atomic_exchange_and_add_rel): Likewise.
4683         * sysdeps/powerpc/powerpc32/bits/atomic.h
4684         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4685         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4686         * sysdeps/powerpc/powerpc64/bits/atomic.h
4687         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4688         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4690 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4692         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4693         Change synchronization of __sched_fifo_min_prio and
4694         __sched_fifo_max_prio.
4695         * nptl/pthread_mutexattr_getprioceiling.c
4696         (pthread_mutexattr_getprioceiling): Likewise.
4697         * nptl/pthread_mutexattr_setprioceiling.c
4698         (pthread_mutexattr_setprioceiling): Likewise.
4699         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4700         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4701         Likewise.
4703 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4705         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4706         void.
4708 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4710         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4711         third argument const.
4713 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4715         fnmatch: work around GCC compiler warning bug with uninit var
4716         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4717         This works around a bug with x86-64 GCC 4.9.2 and earlier
4718         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4719         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4720         used uninitialized in this function [-Wmaybe-uninitialized]".
4722 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4724         * posix/bug-regex31.c (main): Return RES not 0.
4726 2014-11-25  Anton Blanchard <anton@samba.org>
4728         * sysdeps/powerpc/bits/atomic.h
4729         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4731 2014-11-24  Sterling Augustine  <saugustine@google.com>
4733         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4735 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4737         [BZ #17608]
4738         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4740 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4742         [BZ #17633]
4743         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4744         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4745         variable.
4746         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4747         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4749 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4751         * string/strncpy.c (strncpy): Improve performance by using memset.
4753 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4755         * string/strcpy.c (strcpy):
4756         Improve performance by using strlen and memcpy.
4758 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4760         * string/strcoll_l.c (get_next_seq): __always_inline.
4761         * string/strcoll_l.c (do_compare): __always_inline.
4763 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4765         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4766         defined.
4767         * include/mqueue.h: Likewise.
4768         * include/stdlib.h: Likewise.
4770         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4771         (get_null_defines): Adjust.
4772         * sunrpc/Makefile: Adjust comment.
4773         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4774         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4775         (CFLAGS-interp.c): Likewise.
4776         (CFLAGS-ldconfig.c): Likewise.
4777         (CPPFLAGS-.os): Likewise.
4778         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4779         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4780         * extra-modules.mk (extra-modules.mk): Likewise.
4781         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4782         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4783         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4784         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4785         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4786         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4787         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4788         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4789         * iconvdata/Makefile (CPPFLAGS): Likewise.
4790         (cpp-srcs-left): Add libof for all iconvdata routines.
4791         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4792         * include/assert.h: Likewise.
4793         * include/ctype.h: Likewise.
4794         * include/errno.h: Likewise.
4795         * include/libc-symbols.h: Likewise.
4796         * include/math.h: Likewise.
4797         * include/netdb.h: Likewise.
4798         * include/resolv.h: Likewise.
4799         * include/stdio.h: Likewise.
4800         * include/stdlib.h: Likewise.
4801         * include/string.h: Likewise.
4802         * include/sys/stat.h: Likewise.
4803         * include/wctype.h: Likewise.
4804         * intl/l10nflist.c: Likewise.
4805         * libidn/idn-stub.c: Likewise.
4806         * libio/libioP.h: Likewise.
4807         * nptl/libc_multiple_threads.c: Likewise.
4808         * nptl/pthreadP.h: Likewise.
4809         * posix/regex_internal.h: Likewise.
4810         * resolv/res_hconf.c: Likewise.
4811         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4812         * sysdeps/arm/memmove.S: Likewise.
4813         * sysdeps/arm/sysdep.h: Likewise.
4814         * sysdeps/generic/_itoa.h: Likewise.
4815         * sysdeps/generic/symbol-hacks.h: Likewise.
4816         * sysdeps/gnu/errlist.awk: Likewise.
4817         * sysdeps/gnu/errlist.c: Likewise.
4818         * sysdeps/i386/i586/memcpy.S: Likewise.
4819         * sysdeps/i386/i586/memset.S: Likewise.
4820         * sysdeps/i386/i686/memcpy.S: Likewise.
4821         * sysdeps/i386/i686/memmove.S: Likewise.
4822         * sysdeps/i386/i686/mempcpy.S: Likewise.
4823         * sysdeps/i386/i686/memset.S: Likewise.
4824         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4825         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4826         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4827         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4828         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4829         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4830         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4831         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4832         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4833         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4834         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4835         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4836         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4837         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4838         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4839         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4840         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4841         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4842         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4843         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4844         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4845         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4846         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4847         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4848         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4849         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4850         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4851         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4852         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4853         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4854         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4855         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4856         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4857         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4858         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4859         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4860         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4861         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4862         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4863         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4864         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4865         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4866         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4867         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4868         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4869         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4870         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4871         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4872         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4873         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4874         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4875         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4876         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4877         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4878         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4879         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4880         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4881         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4882         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4883         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4884         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4885         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4886         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4887         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4888         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4889         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4890         * sysdeps/posix/closedir.c: Likewise.
4891         * sysdeps/posix/opendir.c: Likewise.
4892         * sysdeps/posix/readdir.c: Likewise.
4893         * sysdeps/posix/rewinddir.c: Likewise.
4894         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4895         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4896         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4897         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4898         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4899         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4900         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4903         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4904         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4905         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4906         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4907         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4908         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4909         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4910         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4911         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4912         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4913         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4914         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4915         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4916         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4917         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4918         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4920         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4922         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4929         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4930         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4931         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4932         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4933         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4934         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4935         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4936         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4937         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4938         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4939         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4940         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4941         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4942         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4943         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4944         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4945         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4946         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4947         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4948         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4949         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4950         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4951         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4952         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4953         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4954         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4955         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4956         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4957         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4958         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4959         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4960         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4961         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4962         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4964         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4965         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4966         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4967         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4968         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4969         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4970         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4971         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4972         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4973         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4974         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4976         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4977         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4978         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4980         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4981         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4982         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4983         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4984         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4985         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4986         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4987         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4988         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4989         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4990         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4991         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4992         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4993         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4994         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4995         * sysdeps/unix/alpha/sysdep.S: Likewise.
4996         * sysdeps/unix/alpha/sysdep.h: Likewise.
4997         * sysdeps/unix/make-syscalls.sh: Likewise.
4998         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4999         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5000         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5001         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5002         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5003         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5004         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5005         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5006         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5007         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5008         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5009         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5010         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5011         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5012         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5013         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5014         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5015         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5016         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5017         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5018         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5019         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5020         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5021         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5022         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5023         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5024         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5027         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5028         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5029         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5030         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5031         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5032         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5033         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5034         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5035         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5036         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5037         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5038         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5039         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5040         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5041         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5042         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5043         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5045         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5047         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5048         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5049         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5050         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5051         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5052         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5053         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5054         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5056         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5057         * sysdeps/x86_64/memcpy.S: Likewise.
5058         * sysdeps/x86_64/memmove.c: Likewise.
5059         * sysdeps/x86_64/memset.S: Likewise.
5060         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5061         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5062         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5063         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5064         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5065         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5066         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5067         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5068         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5069         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5070         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5071         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5072         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5073         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5074         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5075         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5076         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5077         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5078         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5079         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5080         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5081         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5082         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5083         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5084         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5085         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5086         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5087         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5088         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5089         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5090         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5091         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5092         * sysdeps/x86_64/strcmp.S: Likewise.
5094         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5096         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5097         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5098         * elf/rtld-Rules: Likewise.
5099         * elf/setup-vdso.h: Likewise.
5100         * include/assert.h: Likewise.
5101         * include/bits/stdlib-float.h: Likewise.
5102         * include/errno.h: Likewise.
5103         * include/sys/stat.h: Likewise.
5104         * include/unistd.h: Likewise.
5105         * sysdeps/aarch64/setjmp.S: Likewise.
5106         * sysdeps/alpha/setjmp.S: Likewise.
5107         * sysdeps/arm/__longjmp.S: Likewise.
5108         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5109         * sysdeps/arm/setjmp.S: Likewise.
5110         * sysdeps/arm/sysdep.h: Likewise.
5111         * sysdeps/generic/_itoa.h: Likewise.
5112         * sysdeps/generic/dl-sysdep.h: Likewise.
5113         * sysdeps/generic/ldsodefs.h: Likewise.
5114         * sysdeps/i386/dl-tls.h: Likewise.
5115         * sysdeps/i386/setjmp.S: Likewise.
5116         * sysdeps/m68k/setjmp.c: Likewise.
5117         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5118         * sysdeps/mach/hurd/opendir.c: Likewise.
5119         * sysdeps/posix/getcwd.c: Likewise.
5120         * sysdeps/posix/opendir.c: Likewise.
5121         * sysdeps/posix/profil.c: Likewise.
5122         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5123         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5124         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5125         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5126         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5127         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5128         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5129         * sysdeps/s390/dl-tls.h: Likewise.
5130         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5131         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5132         * sysdeps/sh/sh3/setjmp.S: Likewise.
5133         * sysdeps/sh/sh4/setjmp.S: Likewise.
5134         * sysdeps/unix/alpha/sysdep.h: Likewise.
5135         * sysdeps/unix/arm/sysdep.S: Likewise.
5136         * sysdeps/unix/i386/sysdep.S: Likewise.
5137         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5138         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5139         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5140         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5141         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5142         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5143         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5144         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5145         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5146         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5147         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5148         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5149         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5152         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5153         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5154         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5155         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5156         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5157         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5158         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5160         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5161         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5162         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5164         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5165         * sysdeps/x86_64/setjmp.S: Likewise.
5167         * include/math.h: Use IS_IN instead of IS_IN_libm.
5168         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5169         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5170         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5171         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5172         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5173         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5174         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5175         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5176         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5177         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5178         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5179         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5180         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5181         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5182         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5183         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5184         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5185         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5186         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5187         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5188         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5189         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5190         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5191         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5192         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5193         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5194         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5195         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5196         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5197         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5198         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5199         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5200         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5202         Likewise.
5203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5204         Likewise.
5205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5206         Likewise.
5207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5208         Likewise.
5209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5210         Likewise.
5211         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5212         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5213         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5214         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5215         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5216         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5222         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5223         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5224         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5225         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5226         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5227         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5228         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5229         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5230         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5231         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5232         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5233         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5235         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5237         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5239         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5240         * nptl/pthreadP.h: Likewise.
5241         * nptl_db/structs.def: Likewise.
5242         * sysdeps/arm/sysdep.h: Likewise.
5243         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5244         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5245         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5246         * sysdeps/unix/alpha/sysdep.h: Likewise.
5247         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5248         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5249         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5250         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5251         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5252         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5253         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5254         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5255         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5256         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5257         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5258         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5259         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5260         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5265         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5267         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5268         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5269         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5270         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5271         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5272         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5274         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5275         * nptl/pthreadP.h: Likewise.
5276         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5277         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5278         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5279         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5280         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5281         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5282         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5283         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5284         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5285         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5286         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5287         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5289         Likewise.
5290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5291         Likewise.
5292         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5294         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5297         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5298         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5299         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5301         * dlfcn/dladdr.c: Use IS_IN.
5302         * dlfcn/dladdr1.c: Likewise.
5303         * dlfcn/dlclose.c: Likewise.
5304         * dlfcn/dlerror.c: Likewise.
5305         * dlfcn/dlinfo.c: Likewise.
5306         * dlfcn/dlmopen.c: Likewise.
5307         * dlfcn/dlopen.c: Likewise.
5308         * dlfcn/dlsym.c: Likewise.
5309         * dlfcn/dlvsym.c: Likewise.
5311         * include/ifaddrs.h: Use IS_IN.
5312         * inet/check_pf.c: Likewise.
5313         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5314         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5316         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5317         IS_IN_ldconfig.
5318         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5319         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5321         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5322         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5323         IS_IN (libc).
5325         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5327         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5328         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5329         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5330         * include/libc-symbols.h (IS_IN_LIB): New macro.
5331         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5332         * include/netdb.h: Likewise.
5333         * include/stap-probe.h: Remove all uses of IN_LIB.
5335         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5336         instead of IN_MODULE.
5337         * include/libc-symbols.h (IN_MODULE): Define using
5338         MODULE_NAME.
5339         (PASTE_NAME, PASTE_NAME1): New macros.
5340         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5341         of IN_LIB.
5342         (STAP_PROBE_ASM): Likewise.
5344 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5346         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5347         __mach_init in dlopened libc.
5349 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5351         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5352         * sysdeps/arm/preconfigure: Regenerate.
5354 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5356         * nptl/pthread_create.c (__pthread_create_2_1): Set
5357         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5358         when copying values from IATTR into PD.
5360 2014-11-21  Will Newton  <will.newton@linaro.org>
5361             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5363         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5364         Refactor inline-asm.  Also add comment.
5366         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5367         ElfW macro instead of hardcoded Elf64 types.
5368         (la_aarch64_gnu_pltenter): Likewise.
5369         * sysdeps/aarch64/dl-machine.h
5370         (elf_machine_runtime_setup): Use ElfW(Addr).
5372         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5373         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5374         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5375         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5376         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5377         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5378         (R_AARCH64_TLS_DTPMOD): This.
5379         (R_AARCH64_TLS_DTPREL64): Rename to ...
5380         (R_AARCH64_TLS_DTPREL): This.
5381         (R_AARCH64_TLS_TPREL64): Rename to ...
5382         (R_AARCH64_TLS_TPREL): This.
5383         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5384         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5385         R_AARCH64_TLS_TPREL64.
5386         (elf_machine_rela): Likewise.
5388 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5390         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5391         by setting it to 0.  64b atomics are not supported currently.
5393 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5395         [BZ #16469]
5396         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5397         search domain names.
5399 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5401         [BZ #16469]
5402         * NEWS: Update.
5403         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5404         trailing dot.
5405         * posix/tst-getaddrinfo5.c: New.
5406         * posix/Makefile (tests): Add it.
5408 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5410         [BZ #14498]
5411         * NEWS: Fixed.
5412         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5413         after parsing line but before break_if_match.
5414         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5415         if there is a protocol mismatch.
5417 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5419         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5420         because the potential race is on the user-supplied stream.
5422 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5424         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5425         string literal if not passed a buffer.
5426         * manual/job.texi (ctermid): Update reasoning, note deviation
5427         from posix, suggest mtasurace when not passed a buffer, for
5428         future non-preliminary safety notes.
5430 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5432         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5433         of not passing it a buffer.
5434         Reported by Peng Haitao.
5436 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5438         * manual/Makefile ($(objpfx)stamp-summary): Require
5439         check-safety.sh to pass.
5440         * manual/check-safety.sh: Wish for verification that every
5441         @deftypefn and @deftypefun is followed by a @safety remark.
5443 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5445         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5447         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5448         PTHREAD_CANCEL_ASYNCHRONOUS.
5449         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5450         send SIGCANCEL.
5452         * nptl/default-sched.h: New file.
5453         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5454         * nptl/pthread_create.c: Include it.
5455         (__pthread_create_2_1): Use collect_default_sched instead of making
5456         Linux syscalls here directly.
5458 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5460         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5461         __pthread_once): Use C11 atomics.
5463 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5465         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5467 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5469         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5470         atomic_thread_fence_acquire, atomic_thread_fence_release,
5471         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5472         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5473         atomic_compare_exchange_weak_relaxed,
5474         atomic_compare_exchange_weak_acquire,
5475         atomic_compare_exchange_weak_release,
5476         atomic_exchange_acquire, atomic_exchange_release,
5477         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5478         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5479         atomic_fetch_and_acquire,
5480         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5482 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5484         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5485         USE_ATOMIC_COMPILER_BUILTINS): Define.
5486         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5488         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5490         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5492         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5494         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5496         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5498         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5500         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5502         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5504         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5506         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5508         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5510         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5512         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5514         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5516         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5518         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5520         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5521         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5522         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5524         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5527 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5529         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5530         the sched_priority value here.  It was already checked when the user
5531         called pthread_attr_setschedparam.
5533         * nptl/tst-bad-schedattr.c: New file.
5534         * nptl/Makefile (tests): Add it.
5536 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5537             Florian Weimer  <fweimer@redhat.com>
5538             Joseph Myers  <joseph@codesourcery.com>
5539             Adam Conrad  <adconrad@0c3.net>
5540             Andreas Schwab  <schwab@suse.de>
5541             Brooks  <bmoses@google.com>
5543         [BZ #17625]
5544         * wordexp-test.c (__dso_handle): Add prototype.
5545         (__register_atfork): Likewise.
5546         (__app_register_atfork): New function.
5547         (registered_forks): New global.
5548         (register_fork): New function.
5549         (test_case): Add 3 new tests for WRDE_CMDSUB.
5550         (main): Call __app_register_atfork.
5551         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5552         fork count is non-zero fail the test.
5553         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5554         is set.
5555         (parse_dollars): Remove check for WRDE_NOCMD.
5556         (parse_dquote): Likewise.
5558 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5560         * Makeconfig (built-modules): List non-library modules to be
5561         built.
5562         (module-cppflags): Include libc-modules.h for
5563         everything except shlib-versions.v.i.
5564         (CPPFLAGS): Use it.
5565         (before-compile): Add libc-modules.h.
5566         ($(common-objpfx)libc-modules.h,
5567         $(common-objpfx)libc-modules.stmp): New targets.
5568         (common-generated): Add libc-modules.h and libc-modules.stmp.
5569         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5570         * include/libc-symbols.h: Don't include libc-modules.h.
5571         * include/libc-modules.h: Remove file.
5572         * scripts/gen-libc-modules.awk: New script to generate
5573         libc-modules.h.
5574         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5575         Depend on libc-modules.stmp.
5577         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5579         * Makeconfig (in-module): Get value of libof set for the
5580         translation unit.
5581         (CPPFLAGS): Use $(in-module).
5582         * Makerules: Don't suffix routine names for nonlib.
5583         * include/libc-modules.h: New file.
5584         * include/libc-symbols.h: Include libc-modules.h
5585         (IS_IN): New macro to replace IS_IN_* macros.
5586         * elf/Makefile: Set libof-* for each routine.
5587         * elf/rtld-Rules: Likewise.
5588         * extra-modules.mk: Likewise.
5589         * iconv/Makefile: Likewise.
5590         * iconvdata/Makefile: Likewise.
5591         * locale/Makefile: Likewise.
5592         * malloc/Makefile: Likewise.
5593         * nss/Makefile: Likewise.
5594         * sysdeps/gnu/Makefile: Likewise.
5595         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5596         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5597         * sysdeps/s390/s390-64/Makefile: Likewise.
5598         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5599         CPPFLAGS for nscd instead of nonlib.
5601 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5603         * nptl/createthread.c: New file.
5605         * nptl/createthread.c: Moved ...
5606         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5608         * nptl/createthread.c: Add proper top-line comment.
5609         (do_clone): Folded into ...
5610         (create_thread): ... here.  Take new arguments STOPPED_START and
5611         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5612         increment __nptl_threads, do event-reporting logic, do
5613         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5614         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5615         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5616         just send SIGCANCEL.
5617         * nptl/pthread_create.c: Forward-declare create_thread before
5618         including createthread.c.
5619         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5620         declaration, and new macro START_THREAD_SELF to replace argument.
5621         Remove return statement.
5622         (report_thread_creation): New function.
5623         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5624         synchronization logic, and __nptl_nthreads increment here, around
5625         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5626         PD->parent_cancelhandling here, before create_thread.  When
5627         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5628         __deallocate_stack, and ENOMEM translation here.
5630 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #17616]
5633         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5634         (mptwo): Rename to __mptwo.
5635         (__inv): Use __mptwo instead of mptwo.
5636         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5637         (mptwo): Rename to __mptwo.
5638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5639         of mpone and __mptwo instead of mptwo.
5640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5641         instead of mpone.
5642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5643         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5644         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5645         of mpone and __mptwo instead of mptwo.
5646         (__mpranred): Use __mpone instead of mpone.
5647         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5648         variable.
5649         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5650         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5651         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5652         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5653         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5654         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5655         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5656         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5657         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5658         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5659         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5660         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5661         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5662         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5663         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5664         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5665         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5666         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5667         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5669 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5671         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5672         replace BSD Handler xref with BSD Signal Handling.
5674 2014-11-17  Richard Henderson  <rth@redhat.com>
5676         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5677         (_FP_PACK_RAW_2): Remove.
5678         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5679         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5680         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5681         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5682         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5683         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5684         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5685         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5686         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5687         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5688         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5689         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5690         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5691         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5692         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5693         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5695 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5697         * signal/signal.h [__USE_MISC]
5698         (struct sigvec): Remove type.
5699         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5700         (sigvec): Remove declaration.
5701         * sysdeps/posix/sigvec.c: Moved ...
5702         * signal/sigvec.c: ... here, replacing old file.
5703         (struct sigvec): New type, copied from old signal.h definition.
5704         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5705         (__sigvec): Convert definition to prototype.
5706         (sigvec): Replace weak_alias with compat_symbol.
5707         * signal/Versions (libc: GLIBC_2.21): New version set.
5708         * include/signal.h: Remove __sigvec declaration.
5709         * sysdeps/unix/bsd/sigvec.c: Remove file.
5710         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5711         * manual/signal.texi (BSD Handler): Remove subsection.
5712         Move siginterrupt up to ...
5713         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5714         (Blocking in BSD): Fold subsection into its parent.
5715         * NEWS: Mention sigvec removal.
5717 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5719         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5720         (DLA_FMS): Make definition conditional only on [__FMA4__].
5721         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5722         definition.
5724         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5725         Make definition conditional only on [PROF].
5726         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5727         definition.
5728         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5729         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5731         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5732         !__GNUC__].
5733         * include/signal.h (__sigpause): Move declaration above call to
5734         libc_hidden_proto.
5735         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5736         variable.
5737         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5738         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5740 2014-11-14  David S. Miller  <davem@davemloft.net>
5742         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5743         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5745 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5747         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5748         * configure: Regenerated.
5749         * manual/install.texi (Tools for Compilation): Document a
5750         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5751         compiler verified to work.
5752         * INSTALL: Regenerated.
5754         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5755         redeclare with asm name.
5756         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5757         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5758         including <string.h>.
5759         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5760         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5761         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5762         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5763         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5765         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5767 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5769         * stdlib/strtol.c (__strtol): Use prototype definition.
5771         [BZ #17594]
5772         * stdlib/strtol.c (SYM__): New macro.
5773         (SYM__1): Likewise.
5774         (__strtol): Likewise.
5775         (strtol): Rename to __strtol and define as weak alias of
5776         __strtol.  Use libc_hidden_weak.
5778 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5780         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5781         Use numbered labels in inline assembly.
5783 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5785         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5786         Add setjmp LIBC_PROBE.
5787         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5788         Likewise.
5789         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5790         Add longjmp, longjmp_target LIBC_PROBE.
5791         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5792         Likewise.
5794 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5796         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5797         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5798         to get rid of unused variable warning.
5800 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5802         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5803         Check for unwind_backtrace ==  NULL only in SHARED case.
5804         (__backchain_backtrace): Compile only in SHARED case.
5805         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5806         Likewise.
5807         (__backchain_backtrace): Declare as static.
5809 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5811         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5812         (__libc_multiple_threads_ptr): Variable moved ...
5813         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5815 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5817         * conform/GlibcConform.pm: New file.
5818         * conform/conformtest.pl: Use GlibcConform module.
5819         * conform/linknamespace.pl: New file.
5820         * conform/list-header-symbols.pl: Likewise.
5821         * conform/Makefile (linknamespace-symlists-base): New variable.
5822         (linknamespace-symlists-tests): Likewise.
5823         (linknamespace-header-base): Likewise.
5824         (linknamespace-header-tests): Likewise.
5825         (tests-special): Add new tests.
5826         ($(linknamespace-symlists-tests)): New rule.
5827         (linknamespace-libs): New variable.
5828         ($(objpfx)symlist-stdlibs): New rule.
5829         ($(linknamespace-header-tests)): Likewise.
5830         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5831         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5832         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5833         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5834         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5835         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5836         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5837         (test-xfail-ISO/math.h/linknamespace): Likewise.
5838         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5839         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5840         (test-xfail-ISO/time.h/linknamespace): Likewise.
5841         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5842         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5843         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5844         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5845         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5846         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5847         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5848         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5849         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5850         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5851         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5852         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5853         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5854         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5855         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5856         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5857         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5858         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5859         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5860         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5861         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5862         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5863         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5864         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5865         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5866         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5867         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5868         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5869         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5870         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5871         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5872         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5873         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5874         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5875         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5876         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5877         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5878         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5879         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5880         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5881         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5882         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5883         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5884         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5885         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5886         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5887         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5888         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5889         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5890         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5891         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5892         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5893         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5894         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5895         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5896         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5897         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5898         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5899         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5900         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5901         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5902         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5903         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5904         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5905         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5906         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5907         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5908         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5909         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5910         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5911         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5912         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5913         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5914         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5915         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5916         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5917         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5918         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5919         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5920         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5921         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5922         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5923         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5924         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5925         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5926         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5927         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5928         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5929         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5930         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5931         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5932         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5933         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5934         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5935         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5936         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5937         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5938         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5939         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5940         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5941         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5942         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5943         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5944         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5945         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5946         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5947         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5948         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5949         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5950         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5951         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5952         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5953         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5954         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5955         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5956         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5957         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5958         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5959         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5960         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5961         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5962         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5963         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5964         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5965         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5966         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5967         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5968         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5969         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5970         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5971         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5972         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5973         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5974         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5975         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5976         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5977         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5978         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5979         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5980         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5981         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5982         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5983         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5984         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5985         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5986         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5987         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5988         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5989         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5990         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5992         [BZ #17589]
5993         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5994         of fgets_unlocked.
5996         [BZ #17585]
5997         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5998         (memmem): Rename to __memmem and define as weak alias of
5999         __memmem.  Use libc_hidden_weak.
6000         (__memmem): Use libc_hidden_def.
6001         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6002         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6003         memmem.
6005         [BZ #17582]
6006         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6007         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6008         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6009         and define as weak alias of __fgets_unlocked.  Use
6010         libc_hidden_weak.
6011         (__fgets_unlocked): Use libc_hidden_def.
6012         * include/stdio.h (__fgets_unlocked): Declare.  Use
6013         libc_hidden_proto.
6014         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6015         __fgets_unlocked instead of fgets_unlocked.
6016         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6017         (GET_NPROCS_CONF_PARSER): Likewise.
6018         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6019         (GET_NPROCS_CONF_PARSER): Likewise.
6021         [BZ #17574]
6022         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6023         weak alias of __wmemset.  Use libc_hidden_weak.
6024         (__wmemset): Use libc_hidden_def.
6025         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6026         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6027         of wmemset.
6029         [BZ #17573]
6030         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6031         with asm name __mempcpy.
6032         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6034         [BZ #17572]
6035         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6036         and define as weak alias of __rawmemchr.
6037         (__rawmemchr): Do not define as strong alias of rawmemchr.
6039         [BZ #17571]
6040         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6041         alias of __qsort_r.
6042         (qsort): Call __qsort_r instead of qsort_r.
6043         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6044         (__qsort_r): Declare.  Call libc_hidden_proto.
6045         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6046         instead of qsort_r.
6047         * nscd/gai.c (__qsort_r): Define to qsort_r.
6048         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6049         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6050         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6052         [BZ #17570]
6053         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6054         define as weak alias of __malloc_info.
6056         [BZ #17584]
6057         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6058         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6059         (__rewinddir): Use libc_hidden_def.
6060         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6061         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6062         (__rewinddir): Use libc_hidden_def.
6063         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6064         weak alias of __rewinddir.  Don't use libc_hidden_def.
6065         (__rewinddir): Use libc_hidden_def.
6066         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6067         (__rewinddir): Use libc_hidden_proto.
6068         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6069         rewinddir.
6070         (__getcwd): Use __rewinddir instead of rewinddir.
6072         [BZ #17583]
6073         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6074         alias of __fileno.  Use libc_hidden_weak.
6075         (__fileno): Use libc_hidden_def.
6076         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6077         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6078         alias of __ftello.
6079         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6080         __ftello.
6081         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6082         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6083         libc_hidden_def.
6084         (fread_unlocked): Don't use libc_hidden_ver.
6085         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6086         and define as weak alias of __fread_unlocked.  Don't use
6087         libc_hidden_def.
6088         (__fread_unlocked): Use libc_hidden_def.
6089         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6090         (ftello): Don't use libc_hidden_proto.
6091         (__ftello): Declare.  Use libc_hidden_proto.
6092         (fread_unlocked): Don't use libc_hidden_proto.
6093         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6094         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6095         and __ftello instead of fileno, fread_unlocked and ftello.
6097 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6099         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6100         GOT12.
6101         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6102         Likewise.
6103         (_dl_start_user): Likewise.
6104         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6106 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6107             Siddhesh Poyarekar  <siddhesh@redhat.com>
6109         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6110         Move argv and envp down instead of moving argc up.
6111         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6113 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6115         [BZ #17506]
6116         * test-skeleton.c (main): Return successful if one of
6117         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6118         * string/tst-strcoll-overflow.c: Define expected status.
6120 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6122         [BZ #17475]
6123         * locale/iso-639.def: Define Bhili and Tulu language codes.
6125 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6127         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6129 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6131         [BZ #17555]
6132         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6134 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6136         * configure.ac: Updated check of minimal required version to
6137         2.22.
6138         * manual/install.texi (Tools for Compilation): Updated version
6139         number.
6140         * configure: Regenerated.
6141         * INSTALL: Likewise.
6143 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6145         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6146         __tls_get_addr.
6148 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6150         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6151         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6152         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6153         libc_hidden_weak.
6154         (waitpid): Define as alias of __waitpid.
6155         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6156         __waitpid.
6157         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6158         libc_hidden_weak.
6159         (waitpid): Define as alias of __waitpid.
6160         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6161         __libc_waitpid alias.
6162         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6163         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6164         Likewise.
6165         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6166         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6167         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6168         alias.
6169         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6170         __waitpid.
6171         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6172         libc_hidden_weak.
6173         (waitpid): Define as alias of __waitpid.
6175 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6177         * manual/llio.texi: Add comment that write safety has been
6178         fixed in Linux.
6180         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6181         (localplt-build-dso): Add elf/ld.so.
6182         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6183         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6184         and free for ld.so.
6185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6186         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6188         Likewise.
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6190         Likewise.
6191         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6192         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6193         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6194         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6195         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6196         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6197         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6198         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6199         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6200         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6201         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6203 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6205         [BZ #14132]
6206         * include/libc-symbols.h (INTUSE): Remove macro.
6207         (INTDEF): Likewise.
6208         (INTVARDEF): Likewise.
6209         (_INTVARDEF): Likewise.
6210         (INTDEF2): Likewise.
6211         (INTVARDEF2): Likewise.
6212         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6213         rtld_hidden_def instead of INTVARDEF.
6214         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6215         (_dl_starting_up_internal): Remove declaration.
6216         (_dl_starting_up): Use rtld_hidden_proto.
6217         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6218         declaration.
6219         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6220         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6221         _dl_starting_up.
6222         * elf/dl-writev.h (_dl_writev): Likewise.
6223         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6224         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6225         _dl_starting_up_internal.
6227 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6229         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6230         test-skeleton.c.
6232 2014-11-05  Will Newton  <will.newton@linaro.org>
6234         * benchtests/Makefile: (bench-malloc): Add malloc thread
6235         scalability benchmark.
6236         * benchtests/bench-malloc-threads.c: New file.
6238 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6240         * sysdeps/aarch64/strchrnul.S: New file.
6242 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6244         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6245         definition.
6246         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6247         Likwise.
6248         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6249         Likewise.
6250         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6251         Likewise.
6252         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6253         Likewise.
6254         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6255         Likewise.
6257 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6259         * catgets/test-gencat.c: Use test-skeleton.c.
6260         * catgets/tst-catgets.c: Likewise.
6261         * csu/tst-empty.c: Likewise.
6262         * elf/tst-audit2.c: Likewise.
6263         * elf/tst-global1.c: Likewise.
6264         * elf/tst-pathopt.c: Likewise.
6265         * elf/tst-piemod1.c: Likewise.
6266         * elf/tst-tls10.c: Likewise.
6267         * elf/tst-tls11.c: Likewise.
6268         * elf/tst-tls12.c: Likewise.
6269         * gnulib/tst-gcc.c: Likewise.
6270         * iconvdata/tst-e2big.c: Likewise.
6271         * iconvdata/tst-loading.c: Likewise.
6272         * iconv/tst-iconv1.c: Likewise.
6273         * iconv/tst-iconv2.c: Likewise.
6274         * inet/test-inet6_opt.c: Likewise.
6275         * inet/tst-gethnm.c: Likewise.
6276         * inet/tst-network.c: Likewise.
6277         * inet/tst-ntoa.c: Likewise.
6278         * intl/tst-codeset.c: Likewise.
6279         * intl/tst-gettext2.c: Likewise.
6280         * intl/tst-gettext3.c: Likewise.
6281         * intl/tst-ngettext.c: Likewise.
6282         * intl/tst-translit.c: Likewise.
6283         * io/test-stat.c: Likewise.
6284         * libio/test-fmemopen.c: Likewise.
6285         * libio/tst-freopen.c: Likewise.
6286         * libio/tst-sscanf.c: Likewise.
6287         * libio/tst-ungetwc1.c: Likewise.
6288         * libio/tst-ungetwc2.c: Likewise.
6289         * libio/tst-widetext.c: Likewise.
6290         * localedata/tst-ctype.c: Likewise.
6291         * localedata/tst-digits.c: Likewise.
6292         * localedata/tst-leaks.c: Likewise.
6293         * localedata/tst-mbswcs1.c: Likewise.
6294         * localedata/tst-mbswcs2.c: Likewise.
6295         * localedata/tst-mbswcs3.c: Likewise.
6296         * localedata/tst-mbswcs4.c: Likewise.
6297         * localedata/tst-mbswcs5.c: Likewise.
6298         * localedata/tst-setlocale.c: Likewise.
6299         * localedata/tst-trans.c: Likewise.
6300         * localedata/tst-wctype.c: Likewise.
6301         * localedata/tst-xlocale1.c: Likewise.
6302         * login/tst-grantpt.c: Likewise.
6303         * malloc/tst-calloc.c: Likewise.
6304         * malloc/tst-malloc.c: Likewise.
6305         * malloc/tst-mallocstate.c: Likewise.
6306         * malloc/tst-mcheck.c: Likewise.
6307         * malloc/tst-mtrace.c: Likewise.
6308         * malloc/tst-obstack.c: Likewise.
6309         * math/atest-exp2.c: Likewise.
6310         * math/atest-exp.c: Likewise.
6311         * math/atest-sincos.c: Likewise.
6312         * math/test-matherr.c: Likewise.
6313         * math/test-misc.c: Likewise.
6314         * math/test-powl.c: Likewise.
6315         * math/tst-definitions.c: Likewise.
6316         * misc/tst-dirname.c: Likewise.
6317         * misc/tst-efgcvt.c: Likewise.
6318         * misc/tst-fdset.c: Likewise.
6319         * misc/tst-hsearch.c: Likewise.
6320         * misc/tst-mntent2.c: Likewise.
6321         * nptl/tst-sem7.c: Likewise.
6322         * nptl/tst-sem8.c: Likewise.
6323         * nptl/tst-sem9.c: Likewise.
6324         * nss/test-netdb.c: Likewise.
6325         * posix/tst-fnmatch.c: Likewise.
6326         * posix/tst-getlogin.c: Likewise.
6327         * posix/tst-gnuglob.c: Likewise.
6328         * posix/tst-mmap.c: Likewise.
6329         * pwd/tst-getpw.c: Likewise.
6330         * resolv/tst-inet_ntop.c: Likewise.
6331         * rt/tst-timer.c: Likewise.
6332         * stdio-common/test-fseek.c: Likewise.
6333         * stdio-common/test-popen.c: Likewise.
6334         * stdio-common/test-vfprintf.c: Likewise.
6335         * stdio-common/tst-cookie.c: Likewise.
6336         * stdio-common/tst-fileno.c: Likewise.
6337         * stdio-common/tst-gets.c: Likewise.
6338         * stdio-common/tst-obprintf.c: Likewise.
6339         * stdio-common/tst-perror.c: Likewise.
6340         * stdio-common/tst-sprintf2.c: Likewise.
6341         * stdio-common/tst-sprintf3.c: Likewise.
6342         * stdio-common/tst-sprintf.c: Likewise.
6343         * stdio-common/tst-swprintf.c: Likewise.
6344         * stdio-common/tst-tmpnam.c: Likewise.
6345         * stdio-common/tst-unbputc.c: Likewise.
6346         * stdio-common/tst-wc-printf.c: Likewise.
6347         * stdlib/tst-environ.c: Likewise.
6348         * stdlib/tst-fmtmsg.c: Likewise.
6349         * stdlib/tst-limits.c: Likewise.
6350         * stdlib/tst-rand48-2.c: Likewise.
6351         * stdlib/tst-rand48.c: Likewise.
6352         * stdlib/tst-random2.c: Likewise.
6353         * stdlib/tst-random.c: Likewise.
6354         * stdlib/tst-strtol.c: Likewise.
6355         * stdlib/tst-strtoll.c: Likewise.
6356         * stdlib/tst-tls-atexit.c: Likewise.
6357         * stdlib/tst-xpg-basename.c: Likewise.
6358         * string/test-ffs.c: Likewise.
6359         * string/tst-bswap.c: Likewise.
6360         * string/tst-inlcall.c: Likewise.
6361         * string/tst-strtok.c: Likewise.
6362         * string/tst-strxfrm.c: Likewise.
6363         * sysdeps/x86_64/tst-audit10.c: Likewise.
6364         * sysdeps/x86_64/tst-audit3.c: Likewise.
6365         * sysdeps/x86_64/tst-audit4.c: Likewise.
6366         * sysdeps/x86_64/tst-audit5.c: Likewise.
6367         * time/tst-ftime_l.c: Likewise.
6368         * time/tst-getdate.c: Likewise.
6369         * time/tst-mktime3.c: Likewise.
6370         * time/tst-mktime.c: Likewise.
6371         * time/tst-posixtz.c: Likewise.
6372         * time/tst-strptime2.c: Likewise.
6373         * time/tst-strptime3.c: Likewise.
6374         * wcsmbs/tst-btowc.c: Likewise.
6375         * wcsmbs/tst-mbrtowc.c: Likewise.
6376         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6377         * wcsmbs/tst-wchar-h.c: Likewise.
6378         * wcsmbs/tst-wcpncpy.c: Likewise.
6379         * wcsmbs/tst-wcrtomb.c: Likewise.
6380         * wcsmbs/tst-wcsnlen.c: Likewise.
6381         * wcsmbs/tst-wcstof.c: Likewise.
6383 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6385         [BZ #14132]
6386         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6387         INTDEF.
6388         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6389         declaration.
6390         (_dl_mcount): Use rtld_hidden_proto.
6391         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6392         _dl_mcount.
6393         * elf/rtld.c (_rtld_global_ro): Likewise.
6395         [BZ #14132]
6396         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6397         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6398         of _dl_init_internal.
6399         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6400         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6401         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6402         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6403         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6404         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6405         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6406         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6407         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6408         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6409         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6410         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6411         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6412         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6413         * sysdeps/tile/dl-start.S (_start): Likewise.
6414         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6415         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6417         [BZ #14132]
6418         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6419         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6420         (rtld_progname): Make macro definition unconditional.
6421         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6422         INTDEF.
6423         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6424         (dl_main): Likewise.
6425         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6426         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6427         instead of _dl_argv_internal.
6428         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6429         __GI__dl_argv instead of INTUSE(_dl_argv).
6430         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6431         __GI__dl_argv instead of _dl_argv_internal.
6433         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6434         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6435         macro.
6436         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6437         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6438         New macro.
6439         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6440         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6441         macro.
6442         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6443         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6445 2014-11-04  Andreas Schwab  <schwab@suse.de>
6447         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6449 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6451         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6452         mtvsrd instruction in binary form.
6454 2014-11-03  Andreas Schwab  <schwab@suse.de>
6456         [BZ #17522]
6457         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6458         for less than MB_LEN_MAX use a local buffer of that size.
6459         * libio/tst-fputws.c: New file.
6460         * libio/Makefile (tests): Add tst-fputws.
6462 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6464         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6465         the size of the fpu_fr.fpu_dregs[] array.
6467 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6469         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6470         (__nanosleep): Do not define as alias.
6471         (nanosleep): Define as alias of __nanosleep.
6472         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6473         __libc_nanosleep name.
6475 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6477         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6478         install.texi in comment.
6480 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6482         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6483         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6484         ... add here and use lwsync or sync ...
6485         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6486         ... and add here using lwsync.
6488 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6490         * elf/dl-machine-reject-phdr.h: New file.
6491         * elf/dl-load.c: #include that.
6492         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6493         if that returned true.
6495 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6497         [BZ #17496]
6498         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6499         gen-as-const-headers chunk.  Add a big scare comment after the last
6500         safe place to touch before-compile.
6502 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6504         * manual/install.texi (Tools for Compilation): Update autoconf
6505         version requirements.
6506         * INSTALL: Regenerated.
6508         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6509         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6510         (__libc_pselect): Likewise.
6512         [BZ #14138]
6513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6518 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6520         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6521         correct barrier instruction.
6522         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6523         Likewise.
6524         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6525         Likewise.
6527 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6529         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6530         after defining inlines.  Instead, just use parens to defeat macro
6531         expansion of __isctype in its declaration.
6533 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6535         * include/sys/uio.h (__libc_readv): Remove declaration.
6536         (__libc_writev): Likewise.
6537         * misc/readv.c (__libc_readv): Rename to __readv.
6538         (__readv): Do not define as alias.
6539         (readv): Define as alias of __readv.
6540         * misc/writev.c (__libc_writev): Rename to __writev.
6541         (__writev): Do not define as alias.
6542         (writev): Define as alias of __writev.
6543         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6544         (__readv): Do not define as alias.
6545         (readv): Define unconditionally as alias of __readv.
6546         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6547         (__writev): Do not define as alias.
6548         (writev): Define unconditionally as alias of __writev.
6549         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6550         name.
6551         (writev): Do not define __libc_writev name.
6553 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6555         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6556         (convert_charseq): New function, broken out of ...
6557         (use_from_charmap): ... here.  Call it.
6558         (use_to_charmap): Use convert_charseq and free instead of duplicating
6559         its code with a variable-length stack struct.
6561 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6563         * include/fcntl.h (__libc_creat): Remove declaration.
6564         * io/creat.c (__libc_creat): Rename to creat.
6565         (creat): Do not define as alias.
6566         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6567         of creat instead of __libc_creat.
6568         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6569         to creat.
6570         (creat): Do not define as alias.
6571         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6572         __libc_creat.
6573         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6574         __libc_creat name.
6575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6576         Likewise.
6578 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6580         * manual/llio.texi: Add comments discussing why write() may be
6581         considered MT-unsafe on Linux.
6583 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6585         * dl-load.c (local_strdup): Remove.
6586         (expand_dynamic_string_token): Use __strdup.
6587         (decompose_rpath): Likewise.
6588         (_dl_map_object): Likewise.
6590 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6592         [BZ #14132]
6593         * sysdeps/generic/unwind-dw2-fde.c
6594         (__register_frame_info_bases_internal): Do not declare.
6595         (__register_frame_info_table_bases_internal): Likewise.
6596         (__deregister_frame_info_bases_internal): Likewise.
6597         (__register_frame_info_bases): Declare and use hidden_proto before
6598         definition.  Use hidden_def instead of INTDEF.
6599         (__register_frame_info_table_bases): Likewise.
6600         (__deregister_frame_info_bases): Likewise.
6601         (__register_frame_info): Do not use INTUSE.
6602         (__register_frame): Likewise.
6603         (__register_frame_info_table): Likewise.
6604         (__register_frame_table): Likewise.
6605         (__deregister_frame_info): Likewise.
6606         (__deregister_frame): Likewise.
6608 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6610         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6611         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6612         not undefine.
6613         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6614         Likewise.
6615         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6616         Likewise.
6618 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6620         [BZ #14138]
6621         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6622         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6623         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6624         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6625         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6626         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6627         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6628         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6629         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6630         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6631         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6632         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6633         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6634         syscall.
6635         (setfsuid): Likewise.
6636         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6637         (setfsuid): Likewise.
6638         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6639         (setfsuid): Likewise.
6640         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6641         Likewise.
6642         (setfsuid): Likewise.
6643         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6644         (setfsuid): Likewise.
6645         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6646         Likewise.
6647         (setfsuid): Likewise.
6649 2014-10-27  Andreas Schwab  <schwab@suse.de>
6651         [BZ #17501]
6652         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6653         check for Slow_SSE4_2 feature bit.
6654         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6655         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6656         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6657         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6659 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6661         * configure.ac: Validate compiler version with a empirical test of
6662         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6663         $CC -v output.
6664         * configure: Regenerated.
6666         * inet/htons.c (htons): Prototypify.
6667         * inet/htonl.c (htonl): Likewise.
6669 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6671         * string/strncat.c (strncat): Improve performance by using strlen.
6673 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6675         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6677 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6679         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6680         Call libc_fetestexcept_aarch64.
6682 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6684         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6685         Call libc_feholdexcept_aarch64.
6687 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6689         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6690         Call get_rounding_mode.
6692 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6694         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6695         Simplify logic.
6697 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6699         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6700         Simplify logic.
6702 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6704         [BZ #14138]
6705         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6706         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6707         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6708         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6709         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6710         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6711         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6712         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6713         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6714         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6715         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6716         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6717         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6718         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6719         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6720         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6721         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6722         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6723         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6724         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6725         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6726         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6727         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6728         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6729         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6730         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6731         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6732         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6733         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6734         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6735         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6736         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6737         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6738         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6739         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6740         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6741         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6742         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6743         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6744         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6745         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6746         syscall.
6747         (geteuid): Likewise.
6748         (getgid): Likewise.
6749         (getuid): Likewise.
6750         (getresgid): Likewise.
6751         (getresuid): Likewise.
6752         (getgroups): Likewise.
6753         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6754         (geteuid): Likewise.
6755         (getgid): Likewise.
6756         (getuid): Likewise.
6757         (getresgid): Likewise.
6758         (getresuid): Likewise.
6759         (getgroups): Likewise.
6760         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6761         (geteuid): Likewise.
6762         (getgid): Likewise.
6763         (getuid): Likewise.
6764         (getresgid): Likewise.
6765         (getresuid): Likewise.
6766         (getgroups): Likewise.
6767         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6768         Likewise.
6769         (geteuid): Likewise.
6770         (getgid): Likewise.
6771         (getuid): Likewise.
6772         (getresgid): Likewise.
6773         (getresuid): Likewise.
6774         (getgroups): Likewise.
6775         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6776         (geteuid): Likewise.
6777         (getgid): Likewise.
6778         (getuid): Likewise.
6779         (getresgid): Likewise.
6780         (getresuid): Likewise.
6781         (getgroups): Likewise.
6782         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6783         Likewise.
6784         (geteuid): Likewise.
6785         (getgid): Likewise.
6786         (getuid): Likewise.
6787         (getgroups): Likewise.
6789         [BZ #14138]
6790         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6791         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6792         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6793         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6794         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6795         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6796         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6797         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6798         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6799         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6800         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6801         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6802         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6803         __chown.
6804         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6805         (lchown): Likewise.
6806         (fchown): Likewise.
6807         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6808         Likewise.
6809         (lchown): Likewise.
6810         (fchown): Likewise.
6811         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6812         (lchown): Likewise.
6813         (fchown): Likewise.
6814         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6815         Likewise.
6816         (lchown): Likewise.
6817         (fchown): Likewise.
6819 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6821         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6822         Simplify logic.
6824 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6826         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6827         Cleanup logic.
6829 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6831         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6832         Remove unused include.
6834 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6836         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6837         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6838         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6839         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6841 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6842             Helge Deller <deller@gmx.de>
6844         [BZ #17508]
6845         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6846         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6847         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6849 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6851         [BZ #14132]
6852         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6853         Remove macro definition.
6854         (__ashrdi3_v_glibc20): Likewise.
6855         (__lshrdi3_v_glibc20): Likewise.
6856         (__cmpdi2_v_glibc20): Likewise.
6857         (__ucmpdi2_v_glibc20): Likewise.
6858         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6859         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6860         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6861         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6862         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6863         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6865 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6867         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6868         old GNU extension [0] syntax.
6869         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6870         alloca rather than an array member with variable length.
6871         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6872         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6873         (parse_opt): ... here.  Likewise use alloca there.
6874         Validate the -i argument before checking for rootness.
6875         (send_shutdown): New function, broken out of ...
6876         (parse_opt): ... here.
6878 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6880         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6881         macro to get at the _rt_local_ro field.
6882         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6883         ([PIC] case) or _dl_hwcap ([!PIC] case).
6884         * sysdeps/arm/setjmp.S: Likewise.
6886         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6887         * sysdeps/arm/configure.ac: New check to define it.
6888         * sysdeps/arm/configure: Regenerated.
6889         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6890         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6891         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6892         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6893         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6894         Use move/movt pair instead of a load.
6895         (LDST_GLOBAL): Macro removed.
6896         (LDR_GLOBAL): New macro replaces it.
6897         (LDR_HIDDEN): New macro.
6898         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6899         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6901         * setjmp/tst-setjmp-static.c: New file.
6902         * setjmp/Makefile (tests): Add it.
6903         (tests-static): New variable.
6905 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6907         [BZ #17485]
6908         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6910 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6912         [BZ #14132]
6913         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6915 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6917         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6919 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6921         * io/fts.c (dirent_not_directory): New function.
6922         (fts_build): Call it.
6924 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6926         * nptl/version.c (__nptl_main): Use normal __write rather than
6927         INTERNAL_SYSCALL.
6928         (banner): Update copyright years.
6930         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6931         gettimeofday.
6932         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6933         * nptl/pthread_cond_timedwait.c: Likewise.
6934         * nptl/pthread_mutex_timedlock.c: Likewise.
6935         * nptl/sem_timedwait.c: Likewise.
6937         * sysdeps/nptl/bits/libc-lock.h
6938         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6939         (__libc_lock_init_recursive): Return void, not 0.
6940         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6941         (__libc_rwlock_init): Likewise.
6942         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6944 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6946         [BZ #15215]
6947         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6948         (__pthread_once_slow): ... here.
6949         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6950         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6952 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6954         [BZ #15215]
6955         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6956         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6957         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6958         * nptl/pthread_once.c (__pthread_once): Likewise.
6959         Update comments.
6961 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6963         [BZ #14138]
6964         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6965         name.
6966         (writev): Use __libc_writev as strong name.
6967         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6968         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6970 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6972         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6974         * sysdeps/i386/nptl/tls.h
6975         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6976         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6977         New macros.
6978         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6979         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6980         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6981         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6982         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6983         Call CHECK_THREAD_SYSINFO instead of doing an assert.
6985         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6986         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6987         on [__NR_futex].
6988         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6989         broken out of ...
6990         (__pthread_mutex_init): ... here.  Call it.
6991         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6992         Conditionalize PI cases on [__NR_futex].
6993         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6994         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6995         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6997         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6998         conditional on [SIGSETXID].
6999         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7000         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7001         is defined.  Likewise for SIGSETXID.
7002         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7003         Conditionalize definitions on [SIGSETXID].
7004         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7005         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7006         unblocking on [SIGCANCEL].
7008         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7009         [__NR_set_robust_list].
7011 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7013         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7014         (do_compare): Likewise.
7016 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7018         [BZ #15884]
7019         * string/strcoll_l.c: Don't include stdio.h.
7020         (coll_seq): Remove members idxarr and rulearr.
7021         (get_next_seq_cached): Remove function.
7022         (get_next_seq): Likewise.
7023         (get_next_seq_nocache): Rename to get_next_seq.
7024         (do_compare): Remove function.
7025         (do_compare_nocache): Rename to do_compare.
7026         (STRCOLL): Remove weight and rules cache.
7028 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7030         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7031         * sysdeps/arm/sfp-machine.h: ... to here.
7032         * sysdeps/arm/Implies: Remove arm/soft-fp.
7034 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7036         * conform/data/sys/utsname.h-data (*_t): Allow.
7037         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7038         [POSIX] (WEXITED): Do not expect constant.
7039         [POSIX] (WSTOPPED): Likewise.
7040         [POSIX] (WNOHANG): Likewise.
7041         [POSIX] (WNOWAIT): Likewise.
7042         [POSIX] (siginfo_t): Do not expect type or elements.
7043         [POSIX] (pid_t): Do not expect type.
7044         [POSIX] (signal.h): Do not allow header.
7045         [POSIX] (sys/resource.h): Likewise.
7046         [POSIX] (si_*): Do not allow pattern.
7047         [POSIX] (W*): Likewise.
7048         [POSIX] (P_*): Likewise.
7049         [POSIX] (BUS_*): Likewise.
7050         [POSIX] (CLD_*): Likewise.
7051         [POSIX] (FPE_*): Likewise.
7052         [POSIX] (ILL_*): Likewise.
7053         [POSIX] (POLL_*): Likewise.
7054         [POSIX] (SEGV_*): Likewise.
7055         [POSIX] (SI_*): Likewise.
7056         [POSIX] (TRAP_*): Likewise.
7057         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7058         variable.
7060 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7062         [BZ #12926]
7063         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7064         infinite loop when __recvmsg returns 0.
7066 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7068         * CANCEL-FCT-WAIVE: Remove file.
7069         * CANCEL-FILE-WAIVE: Likewise.
7071         [BZ #14132]
7072         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7073         instead of INTVARDEF.
7074         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7075         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7076         rtld_hidden_data_def instead of INTVARDEF.
7077         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7078         * elf/dl-deps.c (expand_dst): Likewise.
7079         * elf/dl-load.c (_dl_dst_count): Likewise.
7080         (_dl_dst_substitute): Likewise.
7081         (decompose_rpath): Likewise.
7082         (_dl_init_paths): Likewise.
7083         (open_path): Likewise.
7084         (_dl_map_object): Likewise.
7085         * elf/rtld.c (dl_main): Likewise.
7086         (process_dl_audit): Likewise.
7087         (process_envvars): Likewise.
7088         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7089         Remove declaration.
7090         (__libc_enable_secure): Use rtld_hidden_proto.
7092 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7094         * elf/dl-load.c
7095         (add_path): New function broken out of _dl_rtld_di_serinfo.
7096         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7098 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7100         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7101         parentheses around macro arguments.
7102         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7103         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7104         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7105         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7106         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7107         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7108         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7109         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7110         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7111         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7113         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7114         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7115         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7116         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7117         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7118         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7121         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7122         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7125         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7126         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7127         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7128         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7129         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7130         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7131         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7132         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7133         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7134         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7135         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7136         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7137         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7138         Likewise.
7139         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7140         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7141         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7143         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7144         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7145         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7146         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7147         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7148         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7149         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7150         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7151         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7153         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7155         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7157         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7158         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7159         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7160         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7161         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7162         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7163         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7164         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7165         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7166         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7167         (_FP_FRAC_SRS_1): Likewise.
7168         (_FP_FRAC_CLZ_1): Likewise.
7169         (_FP_MUL_MEAT_1_imm): Likewise.
7170         (_FP_MUL_MEAT_1_wide): Likewise.
7171         (_FP_MUL_MEAT_1_hard): Likewise.
7172         (_FP_SQRT_MEAT_1): Likewise.
7173         (_FP_FRAC_ASSEMBLE_1): Likewise.
7174         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7175         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7176         (__FP_CLZ_2): Likewise.
7177         (_FP_MUL_MEAT_2_wide): Likewise.
7178         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7179         (_FP_MUL_MEAT_2_gmp): Likewise.
7180         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7181         (_FP_SQRT_MEAT_2): Likewise.
7182         (_FP_FRAC_ASSEMBLE_2): Likewise.
7183         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7184         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7185         (_FP_FRAC_CLZ_4): Likewise.
7186         (_FP_MUL_MEAT_4_wide): Likewise.
7187         (_FP_MUL_MEAT_4_gmp): Likewise.
7188         (_FP_SQRT_MEAT_4): Likewise.
7189         (_FP_FRAC_ASSEMBLE_4): Likewise.
7190         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7191         * soft-fp/op-common.h (_FP_CMP): Likewise.
7192         (_FP_CMP_EQ): Likewise.
7193         (_FP_CMP_UNORD): Likewise.
7194         (_FP_TO_INT): Likewise.
7195         (_FP_FROM_INT): Likewise.
7196         [!__FP_CLZ] (__FP_CLZ): Likewise.
7197         (_FP_DIV_HELP_imm): Likewise.
7198         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7199         Likewise.
7200         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7202         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7205         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7206         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7210         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7211         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7213         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7214         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7215         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7216         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7224         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7228         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7229         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7230         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7231         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7232         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7233         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7234         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7235         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7236         (FP_UNPACK_RAW_SP): Likewise.
7237         (FP_PACK_RAW_S): Likewise.
7238         (FP_PACK_RAW_SP): Likewise.
7239         (FP_UNPACK_S): Likewise.
7240         (FP_UNPACK_SP): Likewise.
7241         (FP_UNPACK_SEMIRAW_S): Likewise.
7242         (FP_UNPACK_SEMIRAW_SP): Likewise.
7243         (FP_PACK_S): Likewise.
7244         (FP_PACK_SP): Likewise.
7245         (FP_PACK_SEMIRAW_S): Likewise.
7246         (FP_PACK_SEMIRAW_SP): Likewise.
7247         (_FP_SQRT_MEAT_S): Likewise.
7248         (FP_CMP_S): Likewise.
7249         (FP_CMP_EQ_S): Likewise.
7250         (FP_CMP_UNORD_S): Likewise.
7251         (FP_TO_INT_S): Likewise.
7252         (FP_FROM_INT_S): Likewise.
7254         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7256         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7257         (FP_EX_INVALID_IMZ): Likewise.
7258         (FP_EX_INVALID_IMZ_FMA): Likewise.
7259         (FP_EX_INVALID_ISI): Likewise.
7260         (FP_EX_INVALID_ZDZ): Likewise.
7261         (FP_EX_INVALID_IDI): Likewise.
7262         (FP_EX_INVALID_SQRT): Likewise.
7263         (FP_EX_INVALID_CVI): Likewise.
7264         (FP_EX_INVALID_VC): Likewise.
7265         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7266         "invalid" exceptions.
7267         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7268         (_FP_ADD_INTERNAL): Likewise.
7269         (_FP_MUL): Likewise.
7270         (_FP_FMA): Likewise.
7271         (_FP_DIV): Likewise.
7272         (_FP_CMP_CHECK_NAN): Likewise.
7273         (_FP_SQRT): Likewise.
7274         (_FP_TO_INT): Likewise.
7275         (FP_EXTEND): Likewise.
7277 2014-10-09  Allan McRae  <allan@archlinux.org>
7279         * po/fr.po: Update French translation from translation project.
7281 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7283         [BZ #14132]
7284         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7285         of INTDEF.
7286         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7287         (__cxa_atexit): Use libc_hidden_proto.
7288         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7290         [BZ #14132]
7291         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7292         declaration.
7293         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7294         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7295         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7296         [!_ISOMAC] (__iswctype_internal): Likewise.
7297         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7298         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7299         alias.
7300         (fcntl): Remove __fcntl_internal alias.
7301         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7302         __connect_internal alias.
7303         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7304         Likewise.
7306         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7307         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7308         FP_DENORM_ZERO.
7309         (_FP_CHECK_FLUSH_ZERO): New macro.
7310         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7311         (_FP_CMP): Likewise.
7312         (_FP_CMP_EQ): Likewise.
7313         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7314         FP_DENORM_ZERO.
7315         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7316         (FP_TRUNC): Likewise.
7318         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7319         treated as invalid conversion, not as normal exponent.
7321         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7322         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7323         (_FP_CMP_EQ): Likewise.
7324         (_FP_CMP_UNORD): Likewise.
7325         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7326         (FP_CMP_EQ_D): Likewise.
7327         (FP_CMP_UNORD_D): Likewise.
7328         * soft-fp/extended.h (FP_CMP_E): Likewise.
7329         (FP_CMP_EQ_E): Likewise.
7330         (FP_CMP_UNORD_E): Likewise.
7331         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7332         (FP_CMP_EQ_Q): Likewise.
7333         (FP_CMP_UNORD_Q): Likewise.
7334         * soft-fp/single.h (FP_CMP_S): Likewise.
7335         (FP_CMP_EQ_S): Likewise.
7336         (FP_CMP_UNORD_S): Likewise.
7337         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7338         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7339         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7340         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7341         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7342         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7343         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7344         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7345         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7346         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7347         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7348         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7349         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7350         to FP_CMP_Q.
7351         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7352         FP_CMP_Q.
7353         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7354         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7355         FP_CMP_EQ_Q.
7356         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7357         FP_CMP_Q.
7358         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7359         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7360         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7361         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7362         FP_CMP_EQ_Q.
7363         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7364         FP_CMP_Q.
7365         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7366         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7367         FP_CMP_EQ_Q.
7368         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7369         FP_CMP_Q.
7370         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7371         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7372         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7373         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7374         FP_CMP_EQ_Q.
7376         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7377         a subnormal result, set the underflow exception if trapping on
7378         underflow is enabled.
7379         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7380         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7381         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7382         redefine to 0.
7383         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7384         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7385         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7386         * soft-fp/extendxftf2.c (__extendxftf2): Use
7387         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7389         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7390         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7391         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7392         FP_HANDLE_EXCEPTIONS.
7393         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7394         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7395         FP_HANDLE_EXCEPTIONS.
7396         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7397         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7398         FP_HANDLE_EXCEPTIONS.
7399         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7400         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7401         FP_HANDLE_EXCEPTIONS.
7403 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7405         [BZ #14132]
7406         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7407         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7408         use INTUSE.
7409         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7410         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7411         Remove alias.
7412         (__adjtimex): Define using libc_hidden_ver.
7413         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7414         Remove declaration.
7415         (ntp_gettime): Call __adjtimex directly.
7416         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7417         Remove declaration.
7418         (ntp_gettimex): Call __adjtimex directly.
7419         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7420         __adjtimex_internal alias.
7422 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7424         [BZ #17460]
7425         * nscd/nscd.c (more_help): Rewrite list of tables collection
7426         using xstrdup and asprintf.
7428         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7430 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7431             Roland McGrath  <roland@hack.frob.com>
7433         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7434         (do_lookup_unique): ... local function 'enter' here; update callers.
7436 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7438         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7439         compat_symbol calls on [SHARED].
7440         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7441         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7442         Remove.
7443         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7444         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7445         (oldsetrlimit): Remove.
7446         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7448         (lchown): New syscall entry.
7449         (oldsetrlimit): Remove.
7450         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7451         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7452         (oldsetrlimit): Remove.
7453         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7455         [BZ #14138]
7456         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7457         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7458         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7459         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7460         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7461         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7462         (fchown): Likewise.
7463         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7464         (fchown): Likewise.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7466         Likewise.
7468 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7470         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7471         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7472         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7473         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7474         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7475         Likewise.
7476         (__old_sem_post): Likewise.
7478 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7480         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7481         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7482         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7483         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7484         Use INLINE_VSYSCALL macro.
7485         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7486         __vdso_clock_gettime.
7487         * sysdeps/unix/sysv/linux/tile/init-first.c
7488         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7489         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7490         __vdso_clock_gettime.
7492         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7493         to set up frame more cleanly.
7495         * sysdeps/tile/memcmp.c: New file.
7497         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7499         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7500         * sysdeps/tile/tilegx/strcasestr.c: New file.
7501         * sysdeps/tile/tilegx/strnlen.c: New file.
7502         * sysdeps/tile/tilegx/strstr.c: New file.
7504         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7506 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7508         * nptl/tst-setuid3.c: Write errors to stdout.
7510 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7512         * elf/dl-deps.c
7513         (preload): New functions broken out of _dl_map_object_deps.
7514         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7516 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7518         [BZ #14138]
7519         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7520         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7522 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7524         * sysdeps/mips/strcmp.S: New.
7526 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7528         [BZ #14138]
7529         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7530         (linkat): Likewise.
7531         (mkdirat): Likewise.
7532         (readlinkat): Likewise.
7533         (renameat): Likewise.
7534         (symlinkat): Likewise.
7535         (unlinkat): Likewise.
7536         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7537         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7538         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7539         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7540         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7541         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7542         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7544 2014-09-30  Will Newton  <will.newton@linaro.org>
7546         * math/math.h: Define long double math functions if
7547         _LIBC_TEST is defined.
7548         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7550         * localedata/Makefile: Move assignment to tests-special
7551         into an ifdef testing run-built-tests.
7552         * timezone/Makefile: Likewise.
7554 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7556         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7557         with $(BASH) not $(SHELL).
7559 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7560             Matthew LeGendre  <legendre1@llnl.gov>
7562         [BZ #17411]
7563         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7564         l_reloc_result.
7566 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7568         * stdio-common/printf_fp.c
7569         (hack_digit): New function, broken out of ...
7570         (__printf_fp): ... local function here.  Update call sites.
7571         hack_digit now takes an additional parameter that is a pointer
7572         to a struct of the referenced locals.  Those locals moved inside
7573         the struct and references updated.
7575 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7577         * aclocal.m4: Require autoconf 2.69.
7578         * configure: Regenerated.
7579         * sysdeps/aarch64/configure: Likewise.
7580         * sysdeps/alpha/configure: Likewise.
7581         * sysdeps/arm/armv7/configure: Likewise.
7582         * sysdeps/arm/configure: Likewise.
7583         * sysdeps/ia64/configure: Likewise.
7584         * sysdeps/mach/configure: Likewise.
7585         * sysdeps/mips/configure: Likewise.
7586         * sysdeps/s390/configure: Likewise.
7587         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7590         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7591         file.
7592         * sysdeps/ia64/configure.ac: Likewise.
7594 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7597         specify symbol version for ld.so.  Do not include entry for
7598         libpthread.
7599         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7600         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7601         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7603         [BZ #14171]
7604         * Makeconfig [$(build-shared) = yes]
7605         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7606         makefiles.
7607         [$(build-shared) = yes && $(soversions.mk-done) = t]
7608         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7609         [$(build-shared) = yes && $(soversions.mk-done) = t]
7610         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7611         to Makerules.
7612         [$(build-shared) = yes && $(soversions.mk-done) = t]
7613         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7614         here.
7615         [$(build-shared) = yes && $(soversions.mk-done) = t]
7616         (common-generated): Don't append gnu/lib-names.h and
7617         gnu/lib-names.stmp here.
7618         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7619         (lib-names-h-abi): New variable.
7620         [$(build-shared) = yes && $(soversions.mk-done) = t]
7621         (lib-names-stmp-abi): Likewise.
7622         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7623         abi-variants] (before-compile): Append
7624         $(common-objpfx)$(lib-names-h-abi).
7625         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7626         abi-variants] (common-generated): Append gnu/lib-names.h.
7627         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7628         abi-variants] (install-others-nosubdir): Depend on
7629         $(inst_includedir)/$(lib-names-h-abi).
7630         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7631         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7632         [$(build-shared) = yes && $(soversions.mk-done) = t]
7633         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7634         [$(build-shared) = yes && $(soversions.mk-done) = t]
7635         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7636         [$(build-shared) = yes && $(soversions.mk-done) = t]
7637         (common-generated): Append $(lib-names-h-abi) and
7638         $(lib-names-stmp-abi).
7639         * scripts/lib-names.awk: Do not handle multi being set.
7640         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7641         Remove variable.
7642         (abi-lp64_be-ld-soname): Likewise.
7643         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7644         Likewise.
7645         (abi-hard-ld-soname): Likewise.
7646         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7647         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7648         Remove variable.
7649         (abi-o32_hard-ld-soname): Likewise.
7650         (abi-o32_soft_2008-ld-soname): Likewise.
7651         (abi-o32_hard_2008-ld-soname): Likewise.
7652         (abi-n32_soft-ld-soname): Likewise.
7653         (abi-n32_hard-ld-soname): Likewise.
7654         (abi-n32_soft_2008-ld-soname): Likewise.
7655         (abi-n32_hard_2008-ld-soname): Likewise.
7656         (abi-n64_soft-ld-soname): Likewise.
7657         (abi-n64_hard-ld-soname): Likewise.
7658         (abi-n64_soft_2008-ld-soname): Likewise.
7659         (abi-n64_hard_2008-ld-soname): Likewise.
7660         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7661         Likewise.
7662         (abi-64-v2-ld-soname): Likewise.
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7664         ld.so entries.
7665         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7666         variable.
7667         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7668         entry.
7669         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7670         variable.
7671         (abi-64-ld-soname): Likewise.
7672         (abi-x32-ld-soname): Likewise.
7673         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7674         entry.
7675         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7677 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7679         [BZ #14138]
7680         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7681         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7682         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7683         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7684         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7685         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7686         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7687         syscall entry for GLIBC_2.2 symbol version.
7688         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7689         Likewise.
7690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7691         (setrlimit): Likewise.
7692         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7693         Likewise.
7695 2014-09-23  Will Newton  <will.newton@linaro.org>
7697         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7698         _LINUX_ARM_SYSDEP_H include guard too.
7699         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7700         define.
7702 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7704         * sysdeps/unix/sysv/linux/eventfd.c:
7705         Make first argument unsigned.
7706         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7707         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7709 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7711         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7712         * socket/sys/socket.h: Likewise
7713         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7715 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7717         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7719 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7721         * time/tst-ftime.c: New test.
7722         * time/Makefile (tests): Add tst-ftime.
7724 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7726         * soft-fp/extended.h: Fix comment formatting.
7727         * soft-fp/op-1.h: Likewise.
7728         * soft-fp/op-2.h: Likewise.
7729         * soft-fp/op-4.h: Likewise.
7730         * soft-fp/op-8.h: Likewise.
7731         * soft-fp/op-common.h: Likewise.
7732         * soft-fp/soft-fp.h: Likewise.
7734         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7736 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7738         [BZ #6652]
7739         * Makeconfig (soversions-default-setname): Remove variable.
7740         ($(common-objpfx)soversions.i): Don't pass default_setname to
7741         soversions.awk.
7742         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7743         oldest_abi to abi-versions.awk.
7744         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7745         * config.make.in (oldest-abi): Remove variable.
7746         * configure.ac (--enable-oldest-abi): Remove configure option.
7747         * configure: Regenerated.
7748         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7749         text.
7750         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7751         * scripts/soversions.awk: Do not handle default_setname variable.
7752         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7753         variable.
7754         * sysdeps/mach/hurd/configure: Regenerated.
7755         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7756         variable.
7757         * sysdeps/unix/sysv/linux/configure: Regenerated.
7759 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7761         * elf/Makefile (CFLAGS-interp.c): Remove.
7762         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7763         path string.
7764         * elf/interp.c: Include generated runtime-linker.h
7766         * Makerules (lib%.so): Don't include $(+interp) in
7767         prerequisites.
7768         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7769         * dlfcn/eval.c: Remove file.
7771         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7772         macros.
7774         [BZ #17266]
7775         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7776         4.2 and newer.
7778         [BZ #17370]
7779         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7781 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7782             Jakub Jelinek  <jakub@redhat.com>
7784         [BZ #17266]
7785         * libio/stdio.h: Check definition of __fortify_function
7786         instead of __extern_always_inline to include bits/stdio2.h.
7787         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7788         check if __extern_always_inline is defined.
7789         [__USE_MISC || __USE_XOPEN]: Likewise.
7790         [__USE_ISOC99] Likewise.
7791         * misc/sys/cdefs.h (__fortify_function): Define only if
7792         __extern_always_inline is defined.
7793         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7794         __extern_always_inline and __extern_inline only for g++-4.3
7795         and newer or a compatible gcc.
7797 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7799         [BZ #17371]
7800         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7801         last change to handle zero prefix length.
7803 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7805         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7806         _SC_REGEX_VERSION.
7808         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7809         _POSIX_RAW_SOCKETS.
7811 2014-09-13  Allan McRae  <allan@archlinux.org>
7813         * po/ru.po: Update Russian translation from translation project.
7815 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7817         * locale/programs/locale.c (show_locale_vars): Inline local function
7818         into its sole call site.  Clean up some style nits.
7819         (print_item): New function, broken out of ...
7820         (show_info): ... local function here.  Clean up style nits.
7822         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7823         out of ...
7824         (set_class_defaults): ... local function set_default here.
7825         Define set_default as a macro locally to pass constant parameters.
7826         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7827         rather than a shared local.
7829         * stdlib/rpmatch.c (try): New function, broken out of ...
7830         (rpmatch): ... local function here.  Also, prototypify definition.
7832 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7834         * scripts/soversions.awk: Do not handle configuration names.
7835         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7836         vendor and os variables to soversions.awk.
7837         * configure.ac: Do not modify gnu-* host_os.
7838         * configure: Regenerated
7839         * shlib-versions: Remove first column with configuration names.
7840         * nptl/shlib-versions: Likewise.
7841         * nptl_db/shlib-versions: Likewise.
7842         * sysdeps/hppa/shlib-versions: Likewise.
7843         * sysdeps/m68k/shlib-versions: Likewise.
7844         * sysdeps/mach/hurd/shlib-versions: Likewise.
7845         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7846         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7847         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7848         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7849         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7850         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7851         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7852         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7854         Likewise.
7855         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7856         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7857         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7858         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7859         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7860         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7861         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7862         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7865         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7867         Regenerated.
7868         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7870         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7872         * shlib-versions: Remove OS-specific entries.  Moved to files in
7873         sysdeps.
7874         * sysdeps/mach/hurd/shlib-versions: New file.
7875         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7877         * nptl/shlib-versions: Remove architecture-specific entries.
7878         Moved to files in sysdeps.
7879         * shlib-versions: Likewise.
7880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7881         file.
7882         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7883         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7884         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7885         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7887         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7888         (UDP_NO_CHECK6_RX): Likewise.
7890 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7892         * sysdeps/posix/sysconf.c (__sysconf): Spell
7893         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7895 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7897         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7898         loading.
7899         * iconv/Versions (__gconv_transliterate): Export for use from
7900         gconv modules.
7901         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7902         (struct __gconv_trans_data, __gconv_trans_fct,
7903         __gconv_trans_context_fct, __gconv_trans_query_fct,
7904         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7905         definitions.
7906         (struct __gconv_step_data): Remove __trans member.
7907         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7908         longer hidden.  Remove unused trans_data argument.
7909         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7910         (__gconv_translit_find): Remove declaration.
7911         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7912         prototype.
7913         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7914         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7915         trans_data argument.  Add hidden definition.
7916         (__gconv_translit_find): Remove.
7917         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7918         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7919         * iconv/skeleton.c: Remove transliteration initialization.
7920         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7921         __gconv_step_data initialization.
7922         * libio/iofwide.c (__libio_translit_): Remove.
7923         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7924         * wcsmbs/btowc.c (__btowc): Likewise.
7925         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7926         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7927         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7928         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7929         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7930         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7931         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7932         * wcsmbs/wctob.c (wctob): Likewise.
7934 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7936         [BZ #16194]
7937         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7938         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7939         register usage.
7940         * sysdeps/x86/Makefile: Adjust.
7942 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7943             Roland McGrath  <roland@hack.frob.com>
7945         * locale/weight.h: Add include guard.
7946         (findidx): Make static rather than auto; take new parameters
7947         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7948         * locale/weightwc.h: Likewise.
7949         * posix/fnmatch_loop.c
7950         (FCT): Change type of EXTRA from int32_t to wint_t.
7951         Don't include either header inside the function.
7952         Call FINDIDX rather than findidx, and pass new arguments.
7953         #undef FINDIDX at the end of the file.
7954         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7955         FINDIDX before including fnmatch_loop.c for the non-wide version.
7956         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7957         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7958         for the wide version.
7959         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7960         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7961         Pass new arguments to findidx.
7962         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7963         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7964         Don't #include it inside the function.  Pass new arguments to findidx.
7965         * posix/regex_internal.h
7966         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7967         (re_string_elem_size_at): Don't #include it inside the function.
7968         Pass new arguments to findidx.
7969         * string/strcoll_l.c: #include WEIGHT_H at top level.
7970         (get_next_seq): Don't #include it inside the function.
7971         Pass new arguments to findidx.
7972         (get_next_seq_nocache): Likewise.
7973         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7974         (STRXFRM): Don't #include it inside the function.
7975         Pass new arguments to findidx.
7977 2014-09-11  Florian Weimer  <fweimer@redhat.com>
7979         [BZ #17344]
7980         * malloc/malloc.c (unlink): Turn asserts into a call to
7981         malloc_printerr.
7983 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
7985         [BZ #17370]
7986         * libio/wfileops (do_ftell_wide): Free OUT.
7988 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
7990         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7992 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7994         [BZ #17363]
7995         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7996         group if the current group is empty.
7998 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8000         * benchtests/bench-memset.c (test_main): Add more test from size
8001         from 32 to 512 bytes.
8002         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8003         Add POWER8 memset object.
8004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8005         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8006         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8007         implementation.
8008         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8009         Likewise.
8010         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8011         multiarch POWER8 memset optimization.
8012         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8013         POWER8 memset optimization.
8015         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8016         Remove bzero multiarch objects.
8017         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8018         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8019         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8020         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8021         Remove define.
8022         [__bzero]: Redefine to specific name.
8023         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8024         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8025         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8026         define.
8027         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8028         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8030 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8032         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8033         warnings into errors.
8035         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8036         __cxa_thread_atexit_impl prototype.
8038 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8040         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8041         Fix capitalization of error message.
8043 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8045         * sysdeps/mips/preconfigure: Modify ABI tests.
8047 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8049         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8051 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8052             Carlos O'Donell  <carlos@systemhalted.org>
8054         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8055         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8056         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8057         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8058         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8059         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8060         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8061         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8062         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8063         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8064         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8065         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8066         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8067         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8068         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8069         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8071         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8073         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8074         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8075         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8076         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8077         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8078         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8079         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8080         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8081         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8082         Deconditionalize the code that was previously under [RESET_PID].
8083         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8084         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8085         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8086         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8087         include sysdep.h.
8089 2014-09-08  Allan McRae  <allan@archlinux.org>
8091         * version.h (RELEASE): Set to "development".
8092         (VERSION): Set to "2.20.90"
8094 2014-09-07  Allan McRae  <allan@archlinux.org
8096         * version.h (RELEASE): Set to "stable".
8097         (VERSION): Set to "2.20"
8098         * include/features.h (__GLIBC_MINOR__): Set to 20.
8100         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8101         Liebler.
8103         * po/ko.po: Update Korean translation from translation project.
8105 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8107         [BZ #17354]
8108         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8109         macro for handling signed relocations.
8111 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8113         [BZ #17325]
8114         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8115         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8116         assert.
8117         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8118         * iconvdata/ibm935.c (BODY): Likewise.
8119         * iconvdata/ibm937.c (BODY): Likewise.
8120         * iconvdata/ibm939.c (BODY): Likewise.
8121         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8122         assert.
8123         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8124         script.
8125         * iconvdata/run-iconv-test.sh: New test loop for checking for
8126         decoder crashers.
8128 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8130         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8131         libm_hidden_ver.
8133 2014-09-01  Allan McRae  <allan@archlinux.org>
8135         * po/eo.po: Update Esperanto translation from translation project.
8137         * po/ca.po: Update Catalan translation from translation project.
8139 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8141         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8142         __proc_dostop call.
8144 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8146         [BZ #17319]
8147         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8148         to call set_thread_area instead of hand written asm.
8149         (__NR_set_thread_area): Removed define.
8150         (TLS_FLAG_WRITABLE): Likewise.
8151         (__ASSUME_SET_THREAD_AREA): Remove check.
8152         (TLS_EBX_ARG): Remove define.
8153         (TLS_LOAD_EBX): Likewise.
8155 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8157         Simplify atomicity of socket creation in bind.
8159         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8160         looking up the name after linking the file.
8162 2014-08-27  Allan McRae  <allan@archlinux.org>
8164         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8166 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8168         [BZ #17187]
8169         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8170         trans_compare, open_translit, __gconv_translit_find):
8171         Remove module loading code.
8173 2014-08-26  Allan McRae  <allan@archlinux.org>
8175         * po/vi.po: Update Vietnamese translation from translation project.
8177         * po/uk.po: Update Ukrainian translation from translation project.
8179         * po/fr.po: Update French translation from translation project.
8181         * po/ru.po: Update Russian translation from translation project.
8183         * po/pl.po: Update Polish translation from translation project.
8185         * po/cs.po: Update Czech translation from translation project.
8187         * po/de.po: Update German translation from translation project.
8189         * po/bg.po: Update Bulgarian translation from translation project.
8191         * po/sv.po: Update Sweedish translation from translation project.
8193         * po/nl.po: Update Dutch translation from translation project.
8195         * po/es.po: Update Spanish translation from translation project.
8197 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8199         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8201         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8202         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8203         (CPPFLAGS-iconvconfig): Likewise.
8204         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8206         * include/libc-symbols.h: Remove unnecessary check for
8207         NOT_IN_libc.
8208         * nptl/pthreadP.h: Likewise.
8209         * sysdeps/aarch64/setjmp.S: Likewise.
8210         * sysdeps/alpha/setjmp.S: Likewise.
8211         * sysdeps/arm/sysdep.h: Likewise.
8212         * sysdeps/i386/setjmp.S: Likewise.
8213         * sysdeps/m68k/setjmp.c: Likewise.
8214         * sysdeps/posix/getcwd.c: Likewise.
8215         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8216         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8217         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8218         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8219         * sysdeps/sh/sh3/setjmp.S: Likewise.
8220         * sysdeps/sh/sh4/setjmp.S: Likewise.
8221         * sysdeps/unix/alpha/sysdep.h: Likewise.
8222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8223         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8224         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8225         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8228         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8230         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8231         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8233         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8235         * sysdeps/x86_64/setjmp.S: Likewise.
8237 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8239         [BZ #17263]
8240         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8241         <stdint.h>.
8242         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8243         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8245 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8247         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8249         [BZ #17262]
8250         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8251         and __x86_64__ when disabling x87 inline functions.
8253 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8255         [BZ #17259]
8256         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8257         asm statement with __cpuid_count.
8259 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8261         * configure.ac: Change __ehdr_start code to dereference the struct.
8262         Run readelf on the output to look for relocations.
8263         * configure: Regenerated.
8265 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8267         [BZ #17261]
8268         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8269         value to 0.
8270         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8272 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8274         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8276 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8278         [BZ #16892]
8279         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8280         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8282 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8284         * malloc/malloc.c: Fix typo in comment.
8286 2014-08-09  Allan McRae  <allan@archlinux.org>
8288         * Regenerate libc.po.
8290 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8292         * intl/tst-gettext2.sh: Check every lang file for creation.
8294 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8296         * sysdeps/aarch64/fpu/math_private.h
8297         (libc_feholdsetround_noex_aarch64_ctx): New function.
8299 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8301         * sysdeps/arm/armv6/strcpy.S (strcpy):
8302         Fix performance issue in misaligned cases.
8304 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8306         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8307         Move definition from termios.h.
8308         (struct termio): Likewise.
8309         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8310         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8311         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8312         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8313         Likewise.
8314         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8315         Move definition to ioctl-types.h
8316         (struct termio): Likewise.
8317         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8318         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8319         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8320         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8321         Likewise.
8323 2014-08-05  Richard Henderson  <rth@redhat.com>
8325         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8326         exceptions.
8327         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8328         Add fraiseexcpt.
8329         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8330         Use __feraiseexcept.
8331         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8332         Protect libm symbols with IS_IN_libm.
8334         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8336 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8338         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8340 2014-08-04  Will Newton  <will.newton@linaro.org>
8342         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8343         file.
8345 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8347         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8348         variants for each function.
8350 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8352         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8353         appended ...
8354         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8355         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8356         appended ...
8357         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8358         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8359         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8360         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8361         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8362         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8363         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8364         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8365         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8366         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8367         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8368         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8369         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8370         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8371         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8372         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8373         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8374         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8375         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8376         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8377         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8378         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8379         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8380         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8381         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8382         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8383         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8384         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8385         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8386         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8387         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8388         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8389         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8390         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8391         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8392         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8393         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8394         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8395         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8396         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8397         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8399         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8401         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8403         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8405         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8406         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8407         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8408         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8409         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8410         Update #include.
8411         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8412         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8414 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8416         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8417         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8418         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8419         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8420         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8421         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8423 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8425         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8426         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8427         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8428         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8430 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8432         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8433         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8434         (__libc_vfork): Define function under this name.
8435         (__vfork): Define as an alias.
8436         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8437         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8439 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8441         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8442         that was previously under [RESET_PID].
8443         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8445 2014-08-04  Andreas Schwab  <schwab@suse.de>
8447         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8449 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8451         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8452         (main): Likewise.
8454 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8456         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8458 2014-08-01  Richard Henderon  <rth@redhat.com>
8460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8461         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8462         typo in exact zero test.
8463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8464         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8467 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8469         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8470         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8471         * sysdeps/arm/sysdep.h: ... here.
8472         [!__ASSEMBLER__]: Include <stdint.h>.
8474 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8476         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8477         (HAVE_WCTYPE_H): Likewise.
8478         (HAVE_ISWCTYPE): Likewise.
8479         (ENABLE_NLS): Likewise.
8480         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8481         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8483         * posix/regex_internal.c: Check if DEBUG is defined and is
8484         set.
8486         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8487         (HAVE_MBSRTOWCS): Likewise.
8488         * posix/fnmatch.c: Include string.h unconditionally.
8490 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8492         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8493         reversal.
8495 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8497         * sysdeps/generic/safe-fatal.h: New file.
8498         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8499         * nptl/forward.c: Include it.
8500         (__pthread_unwind): Use __safe_fatal as default action, rather
8501         than a bogus use of INTERNAL_SYSCALL that could never work.
8503         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8504         * configure.ac (libc_cv_builtin_trap): New test.
8505         * configure: Regenerated.
8506         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8507         (ABORT_INSTRUCTION): Define using __builtin_trap.
8509         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8510         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8511         * sysdeps/nptl/nptl-signals.h: New file.
8512         * nptl/pthreadP.h: Include <nptl-signals.h>.
8514 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8516         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8517         (ONE_DIRECTION): Define.
8518         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8519         (ONE_DIRECTION): Define.
8520         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8521         (ONE_DIRECTION): Define.
8523 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8525         * sysdeps/s390/Makefile: Delete file.
8526         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8527         * sysdeps/s390/__longjmp.c: Delete file.
8528         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8529         Remove fields __flags and __reserved.
8530         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8531         and add versioning.
8532         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8533         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8534         * sysdeps/s390/rtld-setjmp.S: Likewise.
8535         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8536         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8537         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8538         * sysdeps/s390/s390-32/setjmp.S: ... here.
8539         Add versioning.
8540         (__sigsetjmp): Remove setting __flags field.
8541         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8542         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8543         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8544         * sysdeps/s390/s390-64/setjmp.S: ... here.
8545         Add versioning.
8546         (__sigsetjmp): Remove setting __flags field.
8547         * sysdeps/s390/setjmp.S: Delete file.
8548         * sysdeps/s390/sigjmp.c: Likewise.
8549         * sysdeps/s390/v1-longjmp.c: Likewise.
8550         * sysdeps/s390/v1-setjmp.h: Likewise.
8551         * sysdeps/s390/v1-sigjmp.c: Likewise.
8552         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8553         Remove v1-longjmp_chk.
8554         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8555         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8556         Include debug/longjmp_chk.c and add versioning.
8557         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8558         Include nptl/pt-longjmp.c and add versioning.
8559         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8560         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8561         Include __longjmp.c.
8562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8563         Move to ...
8564         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8565         (__getcontext): Remove setting __flags field.
8566         Add versioning.
8567         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8568         Don't restore upper high grps.
8569         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8570         Likewise.
8571         (__swapcontext): Remove setting uc_flags field.
8572         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8573         Delete file.
8574         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8575         Include __longjmp.c.
8576         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8577         Move to ...
8578         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8579         (__getcontext): Remove setting __flags field.
8580         Add versioning.
8581         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8582         (__swapcontext): Remove setting uc_flags field.
8583         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8584         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8585         Remove fields uc_high_gprs and __reserved.
8586         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8587         New file with reverted content.
8588         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8589         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8590         Regenerated.
8591         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8592         Regenerated.
8594 2014-07-31  Andreas Schwab  <schwab@suse.de>
8596         * config.h.in (HAVE_IFUNC): Define to 0.
8597         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8598         definedness.
8600 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8603         memmove-avx-unaligned, memcpy-avx-unaligned and
8604         mempcpy-avx-unaligned.
8605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8606         Add tests for AVX memcpy functions.
8607         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8608         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8609         memcpy_chk.
8610         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8611         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8612         memmove_chk.
8613         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8614         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8615         mempcpy_chk.
8616         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8617         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8618         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8620 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8622         [BZ #17213]
8623         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8624         powerpc64le.
8626 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8628         [BZ #16839]
8629         * manual/llio.texi: Add section about open file description locks.
8630         * manual/examples/ofdlocks.c: Example of open file description
8631         lock usage.
8632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8633         F_OFD_SETLK, and F_OFD_SETLKW.
8635 2014-07-23  Allan McRae  <allan@archlinux.org>
8637         * po/es.po: Update Spanish translation from translation project.
8639 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8641         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8643 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8645         [BZ #17078]
8646         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8647         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8648         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8650 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8652         [BZ #17088]
8653         * math/fesetenv.c (__fesetenv)
8654         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8655         * math/feupdateenv.c (__feupdateenv)
8656         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8658         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8659         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8660         (__ASSUME_SOCKETCALL): Do not define.
8662         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8663         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8664         (__ASSUME_SOCKETCALL): Do not define.
8665         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8666         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8667         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8668         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8670         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8672         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8674         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8675         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8676         (__ASSUME_SOCKETCALL): Do not define.
8677         (__ASSUME_IPC64): Define unconditionally.
8678         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8679         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8680         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8682         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8683         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8684         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8685         Likewise.
8687         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8688         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8689         (__ASSUME_SOCKETCALL): Do not define.
8690         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8691         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8692         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8693         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8694         (__ASSUME_REQUEUE_PI): Define unconditionally.
8695         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8696         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8697         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8698         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8699         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8700         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8702         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8703         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8704         (__ASSUME_SOCKETCALL): Do not define.
8705         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8706         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8707         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8708         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8709         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8710         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8712         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8713         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8714         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8715         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8716         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8717         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8719         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8720         (__ASSUME_GETCPU_SYSCALL): Likewise.
8722         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8723         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8724         cases for individual architectures.
8725         * sysdeps/gnu/configure: Regenerated.
8726         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8727         LIBC_SLIBDIR_RTLDDIR.
8728         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8729         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8730         LIBC_SLIBDIR_RTLDDIR.
8731         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8733         LIBC_SLIBDIR_RTLDDIR.
8734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8735         Regenerated.
8736         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8737         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8738         file.
8739         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8740         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8741         file.
8742         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8743         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8744         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8745         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8747         * sysdeps/aarch64/shlib-versions: Move to ...
8748         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8749         * sysdeps/alpha/shlib-versions: Move to ...
8750         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8751         * sysdeps/arm/shlib-versions: Move to ...
8752         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8753         * sysdeps/hppa/shlib-versions: Move all contents except for
8754         libgcc_s entry to ...
8755         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8756         entry from ...
8757         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8758         * sysdeps/ia64/shlib-versions: Move to ...
8759         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8760         entry from ...
8761         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8762         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8763         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8764         * sysdeps/microblaze/shlib-versions: Move to ...
8765         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8766         * sysdeps/mips/shlib-versions: Move to ...
8767         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8768         entry from ...
8769         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8770         * sysdeps/tile/shlib-versions: Move to ...
8771         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8772         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8773         from ...
8774         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8775         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8776         entry from ...
8777         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8779 2014-07-17  Will Newton  <will.newton@linaro.org>
8781         * sysdeps/arm/bits/atomic.h
8782         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8783         (__arch_compare_and_exchange_bool_16_int): Likewise.
8784         (__arch_compare_and_exchange_bool_64_int): Likewise.
8786         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8787         into an #else block.
8789 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8791         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8792         just Linux configurations.  Test empirically that the compiler sets
8793         __ARM_EABI__, rather than using the tuple to decide.
8794         * sysdeps/arm/preconfigure: Regenerated.
8795         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8796         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8797         contents appended ...
8798         * sysdeps/arm/configure.ac: ... here.
8799         * sysdeps/arm/configure: Regenerated.
8801 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8803         * nptl/pthread_kill.c: New file.
8804         * nptl/pthread_sigmask.c: New file.
8805         * nptl/pthread_sigqueue.c: New file.
8807         * sysdeps/nptl/lowlevellock.h: New file.
8808         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8809         * sysdeps/nptl/lowlevellock-futex.h: New file.
8811         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8812         Remove dead declarations.
8814 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8816         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8817         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8818         config-cflags-avx2.
8819         * sysdeps/x86_64/configure.ac: Likewise.
8820         * sysdeps/i386/configure: Regenerated.
8821         * sysdeps/x86_64/configure: Likewise.
8822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8823         memset-avx2 only if config-cflags-avx2 is yes.
8824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8825         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8826         defined.
8827         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8828         only if HAVE_AVX2_SUPPORT is defined.
8829         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8831 2014-07-14  Alan Modra  <amodra@gmail.com>
8833         [BZ #17153]
8834         * elf/elf.h (DT_PPC64_NUM): Correct value.
8835         * NEWS: Add to fixed bug list.
8837 2014-07-13  Jim Meyering  <meyering@fb.com>
8839         [BZ 17150]
8840         regex: don't deref NULL upon heap allocation failure
8841         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8842         failure in one more place.
8843         To trigger the segfault, configure grep -with-included-regex,
8844         build it, and run these commands:
8845         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8847 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8849         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8851 2014-07-11  Richard Henderson  <rth@redhat.com>
8853         * sysdeps/aarch64/libm-test-ulps: Update.
8855 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8857         [BZ #17135]
8858         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8859         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8860         (__nptl_setxid): Initialize error member.  Call
8861         __nptl_setxid_error.
8862         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8863         * nptl/descr.h (struct xid_command): Add error member.
8864         * nptl/tst-setuid3.c: New file.
8865         * nptl/Makefile (tests): Add it.
8867 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8870         New define.
8871         (__lll_trylock): Use __lll_base_trylock.
8872         (__lll_cond_trylock): Likewise.
8874 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8876         * nptl/pthread_create.c (start_thread): Use atomic_or and
8877         lll_futex_wake directly rather than lll_robust_dead.
8878         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8879         (lll_robust_dead): Macro removed.
8880         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8881         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8882         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8883         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8885         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8886         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8887         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8888         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8890         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8891         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8892         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8893         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8896         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8897         Use atomic_compare_and_exchange_val_acq directly rather than
8898         lll_robust_trylock.
8899         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8900         (__lll_robust_trylock, lll_robust_trylock): Removed.
8901         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8902         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8903         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8904         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8905         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8906         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8907         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8908         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8909         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8910         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8911         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8912         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8913         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8916 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8918         * manual/locale.texi (Locale Names): New section documenting
8919         locale name syntax.  Adjust menu and node chaining accordingly.
8920         (Choosing Locale): Reference Locale Names, Locale Categories.
8921         Mention setting LC_ALL=C.  Reflect that name syntax is now
8922         documented.
8923         (Locale Categories): New section title.  Reference Locale Names.
8924         LC_ALL is an environment variable, but not a category.
8925         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8926         description, now in Locale Name.  Reference that section.  Locale
8927         name syntax is now documented.
8929 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8931         [BZ #17137]
8932         * locale/findlocale.c (name_present, valid_locale_name): New
8933         functions.
8934         (_nl_find_locale): Use the loc_name variable to store name
8935         candidates.  Call name_present and valid_locale_name to check and
8936         validate locale names.  Return an error if the locale is invalid.
8938 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8940         * locale/setlocale.c (setlocale): Use strdup for allocating
8941         composite name copy.
8943 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8945         Sync up with gnulib.
8946         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8947         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8948         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8949         and _GL_ARG_NONNULL.
8950         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8951         [!_LIBC]: Include code for Windows and Cygwin.
8952         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8953         Include prototype for int strerror_r.
8954         [!_LIBC] (is_open): New function.
8955         (flush_stdout): New function.
8956         (print_errno_message): Use it.
8957         (error): Likewise.
8958         (error_at_line): Likewise.
8959         (error_tail) Add function attribute macros.  Use
8960         __builtin_expect.
8962         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8964         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8966         * io/ftw.c: Include sys/param.h unconditionally.
8968         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8970         [BZ #17125]
8971         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8972         libc_freeres_ptr.
8973         (freecache): New function to free CACHE on exit.
8975         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8976         initialization.
8978 2014-07-09  David S. Miller  <davem@davemloft.net>
8980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8982         * sysdeps/sparc/nptl/internaltypes.h: Delete.
8983         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8984         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8985         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8986         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8987         * sysdeps/sparc/nptl/sem_init.c: Likewise.
8988         * sysdeps/sparc/nptl/sem_post.c: Likewise.
8989         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8990         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8991         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8992         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8993         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8994         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8996 2014-07-09  Andreas Schwab  <schwab@suse.de>
8998         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8999         output.
9000         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9001         (do_test): Likewise.
9003         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9005 2014-07-09  Will Newton  <will.newton@linaro.org>
9007         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9008         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9009         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9010         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9011         * sysdeps/hppa/start.S (_start): Likewise.
9013 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9015         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9017         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9018         defined.
9020 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9022         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9023         after checking that it is non-NULL.
9025         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9027 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9029         * sysdeps/powerpc/memmove.c: Remove file.
9030         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9031         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9032         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9033         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9034         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9035         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9037         string memmove instead of removed powerpc one.
9039         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9040         [weak_alias]: Fix compiler warning due trailing data.
9041         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9042         [weak_alias]: Likewise.
9043         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9044         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9047         (__libc_ifunc_impl_list): Add memmove functions.
9049 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9051         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9052         Remove code.
9053         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9054         Likewise
9055         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9056         Likewise
9057         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9058         Likewise
9059         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9060         Likewise
9061         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9062         Likewise
9063         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9064         Likewise
9065         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9066         Likewise
9067         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9068         Likewise
9069         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9070         Likewise
9071         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9072         Likewise
9073         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9074         Likewise
9075         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9076         Likewise
9077         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9078         Likewise
9079         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9080         Likewise
9081         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9082         Likewise
9083         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9084         Likewise
9086 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9088         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9089         to avoid alignment traps in non-cacheable memory.
9090         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9093         multiarch objects.
9094         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9095         file: multiarch power7 memmove.
9096         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9097         multiarch default memmove.
9098         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9099         multiarch memove for powerpc32/power4.
9101         * string/bcopy.c: Use full path to include memmove.c.
9102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9103         multiarch objects.
9104         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9105         bcopy for powerpc64.
9106         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9107         bcopy for powerpc64.
9108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9109         and memmove implementations.
9110         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9111         optimized multiarch memmove for POWER7/powerpc64.
9112         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9113         default multiarch memmove for powerpc64.
9114         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9115         multiarch for powerpc64.
9116         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9117         for POWER7/powerpc64.
9118         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9119         memmove for POWER7/powerpc64.
9121         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9122         glibc default one.
9124         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9125         __ELF_NATIVE_CLASS equal to 64.
9127 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9129         * sysdeps/nptl/lowlevellock.h: File removed.
9131         * NEWS: NPTL is no longer an add-on!
9132         * nptl/internaltypes.h: Moved ...
9133         * sysdeps/nptl/internaltypes.h: ... here.
9134         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9135         * sysdeps/nptl/fork.c: Likewise.
9136         * sysdeps/nptl/gai_misc.h: Likewise.
9137         * sysdeps/nptl/librt-cancellation.c: Likewise.
9138         * sysdeps/nptl/jmp-unwind.c: Likewise.
9139         * sysdeps/nptl/setxid.h: Likewise.
9140         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9141         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9142         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9143         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9144         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9145         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9146         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9147         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9148         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9149         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9150         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9151         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9152         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9153         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9154         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9155         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9156         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9157         * nptl/Makeconfig: Moved ...
9158         * sysdeps/nptl/Makeconfig: ... here.
9159         * nptl/configure: File removed.
9160         * nptl/ANNOUNCE: File removed.
9161         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9162         * sysdeps/unix/sysv/linux/configure: Regenerated.
9164         * nptl/Makefile (routines): Add libc_pthread_init,
9165         libc_multiple_threads, register-atfork and unregister-atfork.
9166         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9167         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9168         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9169         pthread-pi-defines.sym, structsem.sym.
9170         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9171         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9172         [$(subdir) = nptl] (tests): Add tst-setgetname.
9173         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9174         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9175         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9176         [!LIBC_SIGACTION]: Remove aliases.
9177         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9178         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9179         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9180         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9181         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9182         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9183         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9184         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9185         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9186         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9187         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9188         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9189         __libc_allocate_rtsig_private.
9190         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9191         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9192         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9193         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9194         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9195         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9196         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9197         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9198         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9199         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9200         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9201         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9202         * nptl/internaltypes.h: ... here.
9203         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9204         * sysdeps/nptl/jmp-unwind.c: ... here.
9205         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9206         * nptl/libc-lowlevellock.c: ... here.
9207         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9208         * nptl/libc_multiple_threads.c: ... here.
9209         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9210         * nptl/libc_pthread_init.c: ... here.
9211         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9212         * nptl/lowlevelbarrier.sym: ... here.
9213         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9214         * nptl/lowlevelcond.sym: ... here.
9215         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9216         * nptl/lowlevellock.c: ... here.
9217         * nptl/lowlevellock.h: Moved ...
9218         * sysdeps/nptl/lowlevellock.h: ... here.
9219         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9220         * nptl/lowlevelrobustlock.c: ... here.
9221         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9222         * nptl/lowlevelrobustlock.sym: ... here.
9223         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9224         * nptl/lowlevelrwlock.sym: ... here.
9225         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9226         * nptl/pt-fork.c: ... here.
9227         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9228         * nptl/pthread-pi-defines.sym: ... here.
9229         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9230         * nptl/pthread_attr_getaffinity.c: ... here.
9231         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9232         * nptl/pthread_attr_setaffinity.c: ... here.
9233         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9234         * nptl/pthread_mutex_cond_lock.c: ... here.
9235         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9236         Update #include.
9237         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9238         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9239         * nptl/pthread_once.c: ... here, replacing old file.
9240         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9241         * nptl/pthread_yield.c: ... here.
9242         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9243         * nptl/register-atfork.c: ... here.
9244         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9245         * nptl/sem_post.c: ... here.
9246         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9247         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9248         * nptl/sem_timedwait.c: ... here.
9249         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9250         * nptl/sem_trywait.c: ... here.
9251         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9252         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9253         * nptl/sem_wait.c: ... here.
9254         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9255         * nptl/structsem.sym: ... here.
9256         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9257         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9258         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9259         * nptl/unregister-atfork.c: ... here.
9260         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9261         * nptl/unwindbuf.sym: ... here.
9262         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9263         * sysdeps/nptl/fork.c: ... here.
9264         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9265         * sysdeps/nptl/fork.h: ... here.
9266         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9267         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9268         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9269         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9270         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9271         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9272         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9273         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9274         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9275         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9276         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9277         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9278         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9279         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9280         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9281         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9282         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9283         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9284         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9285         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9286         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9287         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9288         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9289         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9290         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9291         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9292         * sysdeps/unix/sysv/linux/raise.c: ... here.
9293         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9294         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9295         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9296         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9297         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9298         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9299         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9300         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9301         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9302         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9303         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9304         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9305         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9306         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9307         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9309 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9311         * sysdeps/generic/memcopy.h: Add comment for
9312         MEMCPY_OK_FOR_FWD_MEMMOVE.
9314 2014-07-04  Will Newton  <will.newton@linaro.org>
9316         * string/memchr.c: Merge from gnulib.
9317         [_LIBC]: Remove conditionals.
9318         (__ptr_t): Remove define.
9319         (LONG_MAX_32_BITS): Likewise.
9320         (LONG_MAX): Likewise.
9321         (MEMCHR): Use ANSI prototype and optimize algorithm.
9323         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9325 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9327         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9328         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9330         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9331         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9332         in a bare environment with no <stdlib.h> installed.
9333         * sysdeps/nptl/configure: Regenerated.
9335         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9337         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9338         AC_EGREP_CPP for kernel header checks, so they only succeed if
9339         including <linux/version.h> actually works right.
9340         * sysdeps/unix/sysv/linux/configure: Regenerated.
9342         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9343         value so it's not diagnosed as unused.
9345         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9346         thing) with "ifeq ($(subdir),rt)".
9348 2014-07-03  Richard Henderson  <rth@redhat.com>
9350         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9351         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9352         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9354         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9355         (math_force_eval): New.
9357         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9358         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9360         * sysdeps/alpha/fpu/s_round.c: Remove file.
9361         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9363         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9364         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9365         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9366         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9367         (_dl_start, print_statistics): Likewise.
9368         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9369         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9371         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9372         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9373         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9374         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9375         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9376         (HP_SMALL_TIMING_AVAIL): Define.
9377         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9378         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9379         (HP_SMALL_TIMING_AVAIL): Define.
9380         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9381         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9383         * sysdeps/aarch64/hp-timing.h: New file.
9385         * sysdeps/generic/hp-timing.h: Remove dead comment.
9386         * sysdeps/generic/hp-timing-common.h: New file.
9387         * sysdeps/alpha/hp-timing.h: Include it.
9388         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9389         * sysdeps/i386/i686/hp-timing.h: Likewise.
9390         * sysdeps/ia64/hp-timing.h: Likewise.
9391         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9392         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9393         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9394         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9395         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9396         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9397         (hp_timing_t): New.
9399         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9400         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9401         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9402         * elf/rtld.c (_dl_start_final): Likewise.
9403         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9404         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9405         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9406         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9407         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9408         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9409         (HP_TIMING_DIFF_INIT): Remove.
9410         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9411         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9412         (HP_TIMING_DIFF_INIT): Remove.
9413         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9414         * sysdeps/i386/i686/hp-timing.c: Remove file.
9415         * sysdeps/x86_64/hp-timing.c: Remove file.
9416         * sysdeps/ia64/hp-timing.c: Remove file.
9417         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9418         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9419         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9420         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9422         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9423         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9424         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9425         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9427         (HP_TIMING_ACCUM): Remove.
9428         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9429         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9430         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9432         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9433         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9434         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9435         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9436         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9437         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9438         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9439         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9441         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9443 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9445         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9447 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9449         Sync up with gettext.
9450         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9451         [_MSC_VER]: Include malloc.h
9452         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9453         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9454         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9455         TEMP_FAILURE_RETRY.  Cast return of alloca.
9456         [!_LIBC] Call gl_rwlock_init.
9457         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9459 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9461         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9462         before checking its value.
9464 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9466         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9468         * debug/memcpy_chk.c: Don't include pagecopy.h.
9469         * debug/mempcpy_chk.c: Likewise.
9470         * string/memcpy.c: Likewise.
9471         * string/memmove.c: Likewise.
9472         * sysdeps/powerpc/memmove.c: Likewise.
9473         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9474         definition of PAGE_COPY_FWD_MAYBE here...
9475         * sysdeps/generic/pagecopy.h: ... from here.
9476         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9478 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9479             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9481         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9483         optimizations.
9484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9485         (__libc_ifunc_impl_list): Likewise.
9486         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9487         multiarch strcat for PPC64.
9488         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9489         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9491 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9493         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9495 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9497         * intl/loadmsgcat.c: Remove declaration of
9498         get_sysdep_segment_value.
9499         (get_sysdep_segment_value): Use ISO C style.
9500         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9501         semicolon.  Fix typo and formatting in comment.
9502         (_nl_unload_domain): Use ISO C style.
9504         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9506 2014-07-02  Will Newton  <will.newton@linaro.org>
9508         * malloc/obstack.c: Merge from gnulib master.
9509         [HAVE_CONFIG_H]: Remove conditional code.
9510         [!_LIBC]: Include config.h.
9511         [!ELIDE_CODE]: Don't include inttypes.h, include
9512         stdint.h unconditionally.
9513         (print_and_abort): Mark as _Noreturn.
9514         (_obstack_allocated_p): Mark as __attribute_pure__.
9515         (obstack_free): Rename to __obstack_free.
9516         [!__attribute__]: Remove conditional code.
9517         * malloc/obstack.h: Merge from gnulib master.
9518         [__cplusplus]: Move conditional down.
9519         [!__attribute_pure__]: Define __attribute_pure__ here
9520         if it is not already defined.
9521         (_obstack_memory_used): Mark as __attribute_pure__.
9522         [!__obstack_free]: Define as obstack_free.
9523         [__GNUC__]: Remove check for ancient NeXT gcc.
9525 2014-07-02  Will Newton  <will.newton@linaro.org>
9526             Paul Eggert  <eggert@cs.ucla.edu>
9528         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9530 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9532         * resolv/gethnamaddr.c: Add comment warning that the file is
9533         not maintained.
9535 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9537         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9538         entries.
9540         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9541         entry for aio_cancel and aio_cancel64.
9542         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9543         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9544         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9545         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9546         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9547         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9549         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9550         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9551         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9552         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9553         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9554         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9556 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9558         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9559         * nptl/pthread_mutex_lock.c: Likewise.
9560         * nptl/pthread_mutex_timedlock.c: Likewise.
9561         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9563 2014-07-01  Richard henderson  <rth@redhat.com>
9565         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9566         (__isnan, __isnanl): Remove.
9567         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9569         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9571 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9573         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9575 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9577         * resolv/nss_dns/dns-host.c (getanswer_r)
9578         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9580 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9583         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9584         undefine.
9585         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9586         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9588 2014-07-01  Roland McGrath <roland@hack.frob.com>
9590         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9591         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9593         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9594         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9596         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9597         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9598         ... here.
9599         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9600         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9602         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9603         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9604         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9605         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9607         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9608         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9609         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9610         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9611         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9612         Moved ...
9613         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9614         ... here.
9615         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9616         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9617         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9618         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9619         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9620         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9621         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9622         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9623         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9624         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9625         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9626         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9627         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9628         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9629         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9630         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9631         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9632         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9633         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9634         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9635         ... here.
9636         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9637         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9638         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9639         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9641         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9642         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9643         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9645 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9647         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9648         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9649         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9650         Add sysdep.
9652 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9656 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9658         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9659         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9661         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9663         * sysdeps/arm/libm-test-ulps: Regenerated.
9665 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9666             Roland McGrath <roland@hack.frob.com>
9668         * test-skeleton.c (signal_handler): Kill the whole process group
9669         before killing the child individually.
9670         (main): Report any failure on `setpgid'.
9672 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9674         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9675         from _TLS_H to _ARM_NPTL_TLS_H.
9676         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9677         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9679 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9681         [BZ #16539]
9682         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9683         (__expm1l): Return argument unchanged when small but not
9684         subnormal.
9686         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9687         include macro name.
9688         (_FP_UNPACK_RAW_1_P): Likewise.
9689         (_FP_PACK_RAW_1): Likewise.
9690         (_FP_PACK_RAW_1_P): Likewise.
9691         (_FP_MUL_MEAT_1_wide): Likewise.
9692         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9693         (_FP_MUL_MEAT_1_hard): Likewise.
9694         (_FP_DIV_MEAT_1_imm): Likewise.
9695         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9696         (_FP_DIV_MEAT_1_udiv): Likewise.
9697         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9698         (_FP_UNPACK_RAW_2): Likewise.
9699         (_FP_UNPACK_RAW_2_P): Likewise.
9700         (_FP_PACK_RAW_2): Likewise.
9701         (_FP_PACK_RAW_2_P): Likewise.
9702         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9703         (_FP_MUL_MEAT_2_wide): Likewise.
9704         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9705         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9706         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9707         (_FP_MUL_MEAT_2_gmp): Likewise.
9708         (_FP_DIV_MEAT_2_udiv): Likewise.
9709         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9710         (_FP_FRAC_SRL_4): Likewise.
9711         (_FP_FRAC_SRST_4): Likewise.
9712         (_FP_FRAC_SRS_4): Likewise.
9713         (_FP_UNPACK_RAW_4): Likewise.
9714         (_FP_UNPACK_RAW_4_P): Likewise.
9715         (_FP_PACK_RAW_4): Likewise.
9716         (_FP_PACK_RAW_4_P): Likewise.
9717         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9718         (_FP_MUL_MEAT_4_wide): Likewise.
9719         (_FP_MUL_MEAT_4_gmp): Likewise.
9720         (umul_ppppmnnn): Likewise.
9721         (_FP_DIV_MEAT_4_udiv): Likewise.
9722         (__FP_FRAC_ADD_4): Likewise.
9723         (__FP_FRAC_SUB_3): Likewise.
9724         (__FP_FRAC_SUB_4): Likewise.
9725         (__FP_FRAC_DEC_3): Likewise.
9726         (__FP_FRAC_DEC_4): Likewise.
9727         (__FP_FRAC_ADDI_4): Likewise.
9728         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9729         (_FP_FRAC_SRL_8): Likewise.
9730         (_FP_FRAC_SRS_8): Likewise.
9732         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9733         include macro name.
9734         (FP_UNPACK_RAW_EP): Likewise.
9735         (FP_PACK_RAW_E): Likewise.
9736         (FP_PACK_RAW_EP): Likewise.
9737         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9738         (_FP_ISSIGNAN): Likewise.
9739         (_FP_ADD_INTERNAL): Likewise.
9740         (_FP_FMA): Likewise.
9741         (_FP_CMP): Likewise.
9742         (_FP_SQRT): Likewise.
9743         (_FP_TO_INT): Likewise.
9744         (_FP_FROM_INT): Likewise.
9745         (FP_EXTEND): Likewise.
9746         (_FP_DIV_MEAT_N_loop): Likewise.
9748 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9750         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9751         throughout.
9753 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9755         [BZ #17097]
9756         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9757         result with correct sign in case of exponents that produce
9758         overflow except for X very close to 1.
9760 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9762         mktime: merge #if/#ifdef usage from glibc
9763         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9764         as that works with both Glibc's and Gnulib's style.
9765         See thread starting at Siddhesh Poyarekar's bug report at:
9766         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9768 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9770         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9771         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9772         * sysdeps/tile/tilegx/memmove.c: Remove file.
9774 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9776         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9777         abi-name definition.
9778         * scripts/soversions.awk: Do not handle or generate ABI lines.
9779         * shlib-versions: Remove ABI entries.
9780         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9781         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9783 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9786         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9787         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9788         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9790         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9792         Moved ...
9793         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9794         ... here.
9795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9796         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9798         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9800         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9802         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9804         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9806         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9808         Moved ...
9809         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9813         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9815         Moved ...
9816         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9818         Moved ...
9819         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9823         Moved ...
9824         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9826         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9828         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9830         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9832         Moved ...
9833         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9835         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9836         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9837         Moved ...
9838         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9840         Moved ...
9841         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9842         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9843         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9844         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9845         Moved ...
9846         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9847         ... here.
9848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9849         Identical file removed.
9850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9851         Moved ...
9852         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9853         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9854         Identical file removed.
9855         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9856         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9857         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9858         Moved ...
9859         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9861         Identical file removed.
9862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9863         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9865         Identical file removed.
9866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9867         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9869         Identical file removed.
9870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9871         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9873         Identical file removed.
9874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9875         Moved ...
9876         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9877         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9878         Identical file removed.
9879         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9880         Moved ...
9881         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9883         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9885         Identical file removed.
9886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9887         Moved ...
9888         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9889         ... here.
9890         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9891         Identical file removed.
9892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9893         Moved ...
9894         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9896         Identical file removed.
9897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9898         Moved ...
9899         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9901         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9903         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9905         Moved ...
9906         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9907         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9908         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9910         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9911         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9912         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9913         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9914         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9916 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9918         [BZ #17092]
9919         * nscd/nscd.c (monitor_child): Return exit status of child
9920         instead of return value from wait syscall.
9922 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9924         * configure.ac (libc_commonpagesize): Remove variable.
9925         (libc_relro_required): Likewise.
9926         (libc_cv_z_relro): Remove configure test.
9927         * configure: Regenerated.
9928         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9929         variable.
9930         (libc_relro_required): Likewise.
9931         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9932         (libc_relro_required): Likewise.
9933         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9934         (libc_relro_required): Likewise.
9935         * sysdeps/arm/preconfigure: Regenerated.
9936         * sysdeps/ia64/preconfigure: Remove file.
9937         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9938         variable.
9939         (libc_relro_required): Likewise.
9941         [BZ #16561]
9942         [BZ #16562]
9943         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9944         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9945         recompute overflowing results in original rounding mode.
9946         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9947         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9948         recompute overflowing results in original rounding mode.
9949         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9950         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9951         recompute overflowing results in original rounding mode.
9952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9953         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9954         recompute overflowing results in original rounding mode.
9955         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9956         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9957         recompute overflowing results in original rounding mode.
9958         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9959         (libc_feholdsetround_ctx): New macro.
9960         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9961         * sysdeps/i386/fpu/libm-test-ulps: Update.
9962         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9964 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9966         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9967         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9968         corresponding .cpsetup call.
9970 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9972         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9973         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9974         * sysdeps/arm/Makefile [$(subdir) = csu]
9975         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9976         (static-only-routines): Add aeabi_read_tp here.
9977         (shared-only-routines): Add libc-aeabi_read_tp here.
9978         (CFLAGS-libc-start.c): Add -fexceptions here.
9979         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9980         (sysdep_routines, static-only-routines, shared-only-routines):
9981         Don't add to these here.
9982         (CFLAGS-libc-start.c): Likewise.
9984         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9985         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9986         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9987         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9988         * sysdeps/arm/Makefile [$(subdir) = rt]
9989         (librt-sysdep_routines, librt-shared-only-routines):
9990         Append rt-aeabi_unwind_cpp_pr1 here.
9991         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9992         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9993         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9994         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9995         Append nptl-aeabi_unwind_cpp_pr1 here.
9996         (tests): Filter out tst-cleanupx4 here.
9997         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9998         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9999         Don't do those here.
10001 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10003         * scripts/list-sources.sh: Do not handle ports specially.
10005 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10007         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10008         * sysdeps/arm/feupdateenv.c: Likewise.
10010         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10012 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10014         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10015         trailing whitespace removed.
10016         * scripts/config.guess: Update to version 2014-03-23.
10017         * scripts/config.sub: Update to version 2014-05-01
10018         * scripts/install-sh: Update to version 2013-12-25.23.
10019         * scripts/move-if-change: Update from gnulib.
10021 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10023         * debug/memmove_chk.c: Remove pagecopy.h include.
10025 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10027         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10028         identical to gnulib mktime.
10030 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10032         * configure.ac: Do not test for machine being rs6000.  Do not test
10033         for powerpc*-*soft.
10034         * configure: Regenerated.
10036         [BZ #11505]
10037         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10038         test.
10039         * configure: Regenerated.
10040         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10041         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10042         Remove configure test.
10043         * sysdeps/arm/configure: Regenerated.
10044         * sysdeps/nptl/configure.ac: Do not check
10045         libc_cv_asm_cfi_directives.
10046         * sysdeps/nptl/configure: Regenerated.
10047         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10048         * sysdeps/x86_64/nptl/configure: Remove generated file.
10049         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10050         unconditional.
10051         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10053 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10055         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10056         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10057         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10058         it is defined.
10060         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10061         instead of whether it is defined.
10062         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10063         * sysdeps/hppa/dl-machine.h: Likewise.
10064         * sysdeps/ia64/dl-machine.h: Likewise.
10065         * sysdeps/m68k/dl-machine.h: Likewise.
10066         * sysdeps/microblaze/dl-machine.h: Likewise.
10067         * sysdeps/mips/dl-machine.: Likewise.
10068         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10069         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10070         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10071         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10072         * sysdeps/sh/dl-machine.h: Likewise.
10073         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10074         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10075         * sysdeps/tile/dl-machine.h: Likewise.
10076         * sysdeps/x86_64/dl-machine.h: Likewise.
10078         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10079         code.
10080         (verify_persistent_db): Likewise.
10082 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10085         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10087         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10089         Moved ...
10090         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10091         ... here.
10092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10093         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10095         Identical file removed.
10096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10097         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10099         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10101         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10103         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10105         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10107         Moved ...
10108         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10110         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10112         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10114         Moved ...
10115         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10117         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10119         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10121         Identical file removed.
10122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10123         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10125         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10127         Moved ...
10128         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10129         ... here.
10130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10131         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10133         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10135         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10137         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10139         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10141         Moved ...
10142         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10144         Moved ...
10145         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10147         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10149         Moved ...
10150         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10152         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10154         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10155         folded into ...
10156         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10157         * sysdeps/unix/sysv/linux/s390/Versions
10158         (libpthread: GLIBC_2.19): New version set.
10159         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10160         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10161         (librt: GLIBC_2.3.3): New version set.
10162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10163         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10164         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10165         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10166         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10167         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10168         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10169         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10170         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10171         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10172         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10173         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10174         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10175         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10176         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10177         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10178         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10179         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10180         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10181         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10182         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10183         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10184         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10185         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10186         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10187         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10188         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10189         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10190         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10191         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10192         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10193         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10196         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10198         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10200         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10202         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10204         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10206         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10209         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10210         (__libc_vfork): Define the function under this name.
10211         [!NOT_IN_libc] (__vfork): Make this an alias.
10212         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10214         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10215         (__libc_vfork): Define the function under this name.
10216         [!NOT_IN_libc] (__vfork): Make this an alias.
10217         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10218         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10219         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10221         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10222         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10224         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10225         code that was previously under [RESET_PID].
10226         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10227         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10228         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10230         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10231         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10232         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10233         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10234         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10235         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10236         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10237         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10238         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10239         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10240         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10241         Moved ...
10242         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10243         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10244         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10245         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10246         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10247         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10248         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10249         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10250         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10251         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10252         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10253         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10254         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10255         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10256         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10257         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10258         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10259         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10260         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10261         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10262         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10263         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10264         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10265         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10266         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10267         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10268         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10269         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10270         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10272 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10274         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10275         that was previously under [RESET_PID].
10276         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10278 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10280         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10281         not undefine and redefine.
10282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10283         [O_CLOEXEC]: Make code unconditional.
10284         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10285         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10286         <kernel-features.h>.
10287         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10288         conditional variable definition.
10289         (shm_open) [O_CLOEXEC]: Make code unconditional.
10290         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10291         code.
10293         * configure.ac (USE_REGPARMS): Don't define here.
10294         * configure: Regenerated.
10295         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10296         * sysdeps/i386/configure: Regenerated.
10298         * nptl/createthread.c: Don't include kernel-features.h.
10299         * nptl/pthread_cancel.c: Likewise.
10300         * nptl/pthread_condattr_setclock.c: Likewise.
10301         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10302         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10303         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10304         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10305         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10306         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10307         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10310         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10311         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10312         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10313         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10314         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10315         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10316         * nscd/gai.c: Likewise.
10317         * nss/nss_db/db-open.c: Likewise.
10318         * sysdeps/generic/ldsodefs.h: Likewise.
10319         * sysdeps/sh/nptl/tls.h: Likewise.
10320         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10321         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10322         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10323         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10324         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10325         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10326         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10327         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10328         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10329         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10330         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10331         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10332         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10333         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10334         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10335         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10336         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10337         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10338         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10339         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10342         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10343         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10345         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10348         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10349         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10350         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10351         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10352         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10353         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10354         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10355         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10356         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10357         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10358         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10359         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10360         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10361         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10362         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10363         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10364         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10365         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10366         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10367         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10368         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10369         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10370         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10371         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10372         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10373         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10374         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10375         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10376         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10377         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10400         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10401         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10402         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10403         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10404         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10405         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10406         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10407         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10408         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10409         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10410         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10411         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10412         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10413         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10414         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10415         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10416         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10417         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10418         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10419         * sysdeps/unix/sysv/linux/system.c: Likewise.
10420         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10421         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10422         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10423         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10424         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10425         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10426         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10428         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10429         * configure: Regenerated.
10430         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10432         * configure.ac (base_machine): Do not set specially for particular
10433         machines here.
10434         * configure: Regenerated.
10435         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10436         settings from configure.ac.
10437         * sysdeps/i386/preconfigure: New file.
10438         * sysdeps/s390/preconfigure: Likewise.
10439         * sysdeps/sh/preconfigure: Likewise.
10440         * sysdeps/sparc/preconfigure: Likewise.
10442 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10444         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10445         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10446         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10447         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10448         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10449         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10450         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10451         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10452         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10453         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10454         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10455         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10456         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10457         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10458         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10459         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10460         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10461         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10462         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10464         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10465         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10466         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10467         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10468         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10469         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10470         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10471         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10472         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10473         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10474         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10475         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10476         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10477         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10478         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10479         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10480         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10481         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10482         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10483         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10484         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10485         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10487         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10489         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10491         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10492         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10493         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10494         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10495         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10496         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10497         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10498         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10499         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10500         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10501         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10504         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10506         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10508         Moved ...
10509         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10510         ... here.
10511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10512         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10514         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10516         Moved ...
10517         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10519         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10521         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10523         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10525         Moved ...
10526         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10528         Moved ...
10529         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10531         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10533         Moved ...
10534         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10536         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10538         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10540         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10542         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10544         Moved ...
10545         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10546         ... here.
10547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10548         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10550         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10552         Moved ...
10553         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10555         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10559         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10561         Moved ...
10562         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10564         Moved ...
10565         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10567         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10569         Moved ...
10570         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10572         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10574         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10576 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10578         * timezone/checktab.awk: Update from tzcode 2014e.
10579         * timezone/private.h: Likewise.
10580         * timezone/tzfile.h: Likewise.
10581         * timezone/zdump.c: Likewise.
10582         * timezone/zic.c: Likewise.
10584         * sysdeps/unix/sysv/linux/kernel-features.h
10585         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10586         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10587         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10588         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10589         Remove conditional code.
10591 2014-06-25  Will Newton  <will.newton@linaro.org>
10593         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10594         (_dl_arm_cap_flags): Add HWCAP2 values.
10595         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10596         (_DL_HWCAP_COUNT): Increase to 37.
10597         (_DL_HWCAP_LAST): New define.
10598         (_DL_HWCAP2_LAST): New define.
10599         (_dl_procinfo): Add support for printing
10600         AT_HWCAP2 entries.
10601         (_dl_string_hwcap): Use _dl_hwcap_string.
10603 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10607 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10609         * README: Do not mention ports directory.
10611         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10612         Remove macro.
10613         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10614         <kernel-features.h>.
10615         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10616         conditional variable definition.
10617         (__futimes): Update comment.
10618         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10619         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10621         [BZ #16560]
10622         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10623         arguments close to 0.
10624         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10625         Likewise.
10626         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10627         Likewise.
10628         * math/auto-libm-test-in: Add more tests of exp10.
10629         * math/auto-libm-test-out: Regenerated.
10630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10632         * sysdeps/unix/sysv/linux/kernel-features.h
10633         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10634         * sysdeps/unix/sysv/linux/readv.c: Do not include
10635         <kernel-features.h>.
10636         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10637         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10638         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10639         unconditional.
10640         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10641         conditional code.
10642         * sysdeps/unix/sysv/linux/writev.c: Do not include
10643         <kernel-features.h>.
10644         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10645         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10646         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10647         unconditional.
10648         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10649         conditional code.
10651 2014-06-25  Will Newton  <will.newton@linaro.org>
10653         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10654         comment changes throughout the file.  Remove checks
10655         for HAVE_*_H definitions that are not required.
10656         (__gen_tempname): Call abort if an unknown kind value is
10657         passed.
10659 2014-06-25  Andreas Schwab  <schwab@suse.de>
10661         [BZ #17086]
10662         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10663         scalbln, scalblnf, scalblnl in libc.
10665 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10667         [BZ #17086]
10668         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10669         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10670         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10672 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10674         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10675         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10676         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10677         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10678         Update #include.
10679         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10680         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10681         Update #include.
10682         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10683         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10684         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10685         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10686         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10687         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10688         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10689         * sysdeps/x86/bits/semaphore.h: ... here.
10690         * sysdeps/x86/nptl/elide.h: Moved ...
10691         * sysdeps/x86/elide.h: ... here.
10692         * sysdeps/x86_64/nptl/Implies: File removed.
10693         * sysdeps/i386/nptl/Implies: File removed.
10695 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10697         [BZ #16539]
10698         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10699         return the argument for normal arguments with exponent below -64.
10700         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10701         Likewise.
10702         * math/auto-libm-test-in: Add another test of expm1.
10703         * math/auto-libm-test-out: Regenerated.
10705         [BZ #16287]
10706         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10707         calling __erfcl for arguments at least 16.
10708         * math/auto-libm-test-in: Add more tests of erf.
10709         * math/auto-libm-test-out: Regenerated.
10711         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10712         individual architectures.
10713         * sysdeps/unix/sysv/linux/configure: Regenerated.
10714         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10715         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10716         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10717         (ldd_rewrite_script): Define variable.
10718         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10720         file.
10721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10722         generated file.
10723         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10724         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10725         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10726         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10727         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10728         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10729         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10730         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10732 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10734         [BZ #17084]
10735         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10736         Rename member __data.d to __data.__elision_data.
10738 2014-06-24  Wilco  <wdijkstr@arm.com>
10740         * NEWS: Add 16918 to fixed bug list.
10742 2014-06-24  Wilco  <wdijkstr@arm.com>
10744         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10746 2014-06-24  Wilco  <wdijkstr@arm.com>
10748         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10749         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10750         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10751         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10752         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10753         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10754         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10755         Use _FPU_MASK_RM.
10757 2014-06-24  Wilco  <wdijkstr@arm.com>
10759         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10761 2014-06-24  Wilco  <wdijkstr@arm.com>
10763         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10764         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10765         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10766         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10768 2014-06-24  Wilco  <wdijkstr@arm.com>
10770         [BZ #16918]
10771         * sysdeps/arm/feupdateenv.c (feupdateenv):
10772         Rewrite to reduce FPSCR accesses and fix return value.
10774 2014-06-24  Wilco  <wdijkstr@arm.com>
10776         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10777         Optimize to avoid unnecessary FPSCR writes.
10778         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10779         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10780         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10781         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10783 2014-06-24  Wilco  <wdijkstr@arm.com>
10785         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10786         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10787         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10788         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10789         Call libc_fetestexcept_vfp.
10790         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10791         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10792         __SOFTFP__ ifdef so that they can be built for softfp.
10794 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10796         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10797         argument type signed char.
10799         * Makerules (check-abi): Dump diff of symlist if the test
10800         fails.
10802 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10804         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10805         using abort.
10807         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10808         Remove unused variable ST.
10810 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10812         [BZ #16354]
10813         [BZ #17061]
10814         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10815         small arguments before calling __expm1.
10816         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10817         small arguments before calling __expm1f.
10818         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10819         small arguments before calling __expm1l.
10820         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10821         Likewise.
10822         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10823         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10824         spurious underflow for some cosh tests.
10825         * math/auto-libm-test-out: Regenerated.
10826         * sysdeps/i386/fpu/libm-test-ulps: Update.
10828         [BZ #17050]
10829         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10830         (__ieee754_y1): Set errno if return value overflows.
10831         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10832         (__ieee754_y1f): Set errno if return value overflows.
10833         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10834         (__ieee754_y1l): Set errno if return value overflows.
10835         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10836         (__ieee754_y1l): Set errno if return value overflows.
10837         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10838         * math/auto-libm-test-out: Regenerated.
10840         * math/gen-auto-libm-tests.c: Document use of
10841         ignore-zero-inf-sign.
10842         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10843         (input_flags): Add ignore-zero-inf-sign.
10844         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10845         * math/gen-libm-test.pl (generate_testfile): Handle
10846         ignore-zero-inf-sign.
10847         * math/auto-libm-test-in: Mark some cpow tests with
10848         ignore-zero-inf-sign and some with xfail-rounding.
10849         * math/auto-libm-test-out: Regenerated.
10850         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10851         * sysdeps/i386/fpu/libm-test-ulps: Update.
10852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10854         [BZ #16315]
10855         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10856         overflowing or underflowing operations take place with sign of
10857         result.
10858         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10859         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10860         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10861         (__ieee754_pow): Recompute overflowing and underflowing results in
10862         original rounding mode.
10863         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10864         (__powl_helper): Allow negative argument X and scale negated value
10865         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10866         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10867         overflowing or underflowing operations take place with sign of
10868         result.
10869         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10870         Include <math.h>.
10871         * math/auto-libm-test-in: Add more tests of pow.
10872         * math/auto-libm-test-out: Regenerated.
10873         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10874         (pow_tonearest_test_data): Remove.
10875         (pow_test_tonearest): Likewise.
10876         (pow_towardzero_test_data): Likewise.
10877         (pow_test_towardzero): Likewise.
10878         (pow_downward_test_data): Likewise.
10879         (pow_test_downward): Likewise.
10880         (pow_upward_test_data): Likewise.
10881         (pow_test_upward): Likewise.
10882         (main): Don't call removed functions.
10883         * sysdeps/i386/fpu/libm-test-ulps: Update.
10884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10886 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10889         Moved ...
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10892         Moved ...
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10895         Moved ...
10896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10898         Moved ...
10899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10901         File removed.
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10903         File removed.
10904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10905         File removed.
10906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10907         File removed.
10908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10909         File removed.
10910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10911         File removed.
10912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10913         File removed.
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10915         File removed.
10916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10917         File removed.
10918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10919         File removed.
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10921         File removed.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10923         File removed.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10925         Moved ...
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10928         Moved ...
10929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10930         ... here.
10931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10932         Moved ...
10933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10935         Moved ...
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10938         Moved ...
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10941         Moved ...
10942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10944         Moved ...
10945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10947         Moved ...
10948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10950         Moved ...
10951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10954         ... here.
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10956         Moved ...
10957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10959         Moved ...
10960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10961         ... here.
10962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10963         Moved ...
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10965         ... here.
10966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10967         Moved ...
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10969         ... here.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10971         Moved ...
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10974         Moved ...
10975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10979         Moved ...
10980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10981         ... here.
10982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10983         Moved ...
10984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10985         ... here.
10986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10987         Moved ...
10988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10990         Moved ...
10991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10993         Moved ...
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10996         Moved ...
10997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10999         Moved ...
11000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11001         ... here.
11002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11003         Moved ...
11004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11006         Moved ...
11007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11009         Moved ...
11010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11012         Moved ...
11013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11017         Moved ...
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11020         Moved ...
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11023         Moved ...
11024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11025         ... here.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11027         Moved ...
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11029         ... here.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11031         Moved ...
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11033         ... here.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11035         Moved ...
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11038         Moved ...
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11041         Moved ...
11042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11044         Moved ...
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11046         ... here.
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11048         Moved ...
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11050         ... here.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11052         Moved ...
11053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11054         ... here.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11056         Moved ...
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11059         Moved ...
11060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11062 2014-06-23  Will Newton  <will.newton@linaro.org>
11063             Wilco  <wdijkstr@arm.com>
11065         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11066         implementation.  Include get-rounding-mode.h.
11067         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11068         [!libc_feholdsetround_noex_ctx]: Define
11069         libc_feholdsetround_noex_ctx.
11070         [!libc_feholdsetround_noexf_ctx]: Define
11071         libc_feholdsetround_noexf_ctx.
11072         [!libc_feholdsetround_noexl_ctx]: Define
11073         libc_feholdsetround_noexl_ctx.
11074         (libc_feholdsetround_ctx): New function.
11075         (libc_feresetround_ctx): New function.
11076         (libc_feholdsetround_noex_ctx): New function.
11077         (libc_feresetround_noex_ctx): New function.
11079 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11081         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11082         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11083         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11084         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11085         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11086         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11088         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11089         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11090         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11091         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11092         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11093         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11095         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11096         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11097         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11099         Moved ...
11100         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11101         ... here.
11102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11103         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11104         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11105         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11107         Moved ...
11108         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11109         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11110         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11111         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11112         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11114         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11116         Moved ...
11117         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11119         Moved ...
11120         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11122         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11124         Moved ...
11125         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11127         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11128         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11129         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11130         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11131         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11132         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11133         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11135         Moved ...
11136         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11137         ... here.
11138         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11139         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11141         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11143         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11145         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11146         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11147         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11148         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11149         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11151         Moved ...
11152         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11154         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11156         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11158         Moved ...
11159         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11161         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11162         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11163         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11165         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11166         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11167         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11168         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11169         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11170         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11171         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11172         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11174         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11175         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11176         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11177         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11178         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11179         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11180         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11181         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11182         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11183         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11184         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11185         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11186         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11187         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11188         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11189         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11190         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11191         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11192         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11194 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11197         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11198         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11199         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11200         (IPV6_PMTUDISC_INTERFACE): Likewise.
11201         (IPV6_PMTUDISC_OMIT): Likewise.
11203 2014-06-23  Andreas Schwab  <schwab@suse.de>
11205         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11206         Remove unused errout label.
11208 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11210         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11211         macro: hardware supports Vector Crypto instructions.
11213 2014-06-23  Will Newton  <will.newton@linaro.org>
11215         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11216         rather than __builtin_expect.
11218         * elf/dl-lookup.c (undefined_msg): Remove variable.
11219         (_dl_lookup_symbol_x): Replace undefined_msg with string
11220         literal.
11222         * elf/dl-lookup.c (do_lookup_unique): New function.
11223         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11224         to a separate function.
11226 2014-06-23  Andreas Schwab  <schwab@suse.de>
11228         [BZ #17079]
11229         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11230         before reading the next line.
11232 2014-06-23  Will Newton  <will.newton@linaro.org>
11234         * test-skeleton.c (signal_handler): Use printf and %m
11235         rather than perror.  Use printf rather than fprintf to
11236         stderr.  Use puts rather than fputs to stderr.
11237         (main): Likewise.
11239 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11241         * nscd/nscd.c (thread_info_t): Remove typedef.
11242         (thread_info): Remove variable.
11244 2014-06-21  Allan McRae  <allan@archlinux.org>
11246         * NEWS: Mention CVE-2014-4043.
11248 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11250         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11251         * nptl/smp.h: ... here.
11253         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11255         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11256         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11257         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11258         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11260         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11261         * nptl/stack-aliasing.h: New file.
11262         * sysdeps/i386/i686/stack-aliasing.h: New file.
11263         * sysdeps/i386/i686/nptl/Makefile: File removed.
11264         * sysdeps/x86_64/stack-aliasing.h: New file.
11265         * sysdeps/x86_64/nptl/Makefile
11266         (CFLAGS-pthread_create.c): Variable removed.
11268         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11269         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11270         old file.
11271         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11272         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11273         old file.
11275 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11278         (__ASSUME_SIGFRAME_V2): Remove macro.
11279         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11280         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11281         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11282         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11283         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11284         Declare as function.  Remove conditional macro definitions.
11285         (__default_rt_sa_restorer): Likewise.
11286         (__default_sa_restorer_v1): Remove declaration.
11287         (__default_sa_restorer_v2): Likewise.
11288         (__default_rt_sa_restorer_v1): Likewise.
11289         (__default_rt_sa_restorer_v2): Likewise.
11290         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11291         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11292         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11294 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11296         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11297         (libpthread-routines): Add sysdep.
11298         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11299         * sysdeps/unix/sysv/linux/sparc/Versions
11300         (libpthread: GLIBC_2.3.3): New version set.
11301         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11302         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11303         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11304         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11305         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11307         Moved ...
11308         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11309         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11310         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11311         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11312         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11313         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11314         * sysdeps/sparc/nptl/sem_init.c: ... here.
11315         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11316         * sysdeps/sparc/nptl/sem_post.c: ... here.
11317         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11318         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11319         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11320         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11321         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11322         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11323         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11324         (libpthread-routines): Add cpu_relax.
11325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11326         File removed.
11327         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11328         (librt: GLIBC_2.3.3): New version set.
11329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11330         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11331         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11332         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11335         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11337         Moved ...
11338         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11340         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11342         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11344         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11346         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11348         Moved ...
11349         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11350         Update #include.
11351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11352         Moved ...
11353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11354         Update #include.
11355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11356         Moved ...
11357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11358         Update #include.
11359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11360         Moved ...
11361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11362         Update #include.
11363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11364         Moved ...
11365         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11366         Update #include.
11367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11368         Moved ...
11369         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11370         Update #include.
11371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11372         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11376         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11378         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11380         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11382         Moved ...
11383         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11385         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11387         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11389 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11391         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11392         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11393         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11394         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11395         * nscd/nscd.c: Likewise.
11396         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11397         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11398         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11399         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11401         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11402         <kernel-features.h>.
11403         (init_mq_netlink): Remove conditional have_sock_cloexec
11404         definitions.  Remove code conditional on have_sock_cloexec < 0.
11405         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11406         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11407         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11408         <kernel-features.h>.
11409         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11410         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11412 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11415         Add tests for memset_chk and memset.
11417         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11418         with AVX2_Usable.
11420 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11422         [BZ #16046]
11423         * elf/tst-dl-iter-static.c: New file.
11424         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11426         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11427         error.
11429 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11431         * sysdeps/unix/sysv/linux/kernel-features.h
11432         (__ASSUME_F_GETOWN_EX): Remove macro.
11433         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11434         <kernel-features.h>.
11435         (miss_F_GETOWN_EX): Remove variable or macro.
11436         (do_fcntl): Do not check miss_F_GETOWN_EX.
11437         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11439         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11440         Remove macro.
11441         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11442         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11443         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11445         * sysdeps/unix/sysv/linux/kernel-features.h
11446         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11447         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11448         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11449         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11451 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11453         [BZ #17075]
11454         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11455         Fix calculation of the symbol's value.
11456         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11457         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11458         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11459         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11460         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11461         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11462         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11463         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11464         (modules-names): Add `tst-armtlsdescmod',
11465         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11466         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11467         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11468         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11469         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11470         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11471         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11472         ($(objpfx)tst-armtlsdescloc): New dependency.
11473         ($(objpfx)tst-armtlsdescextnow): Likewise.
11474         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11475         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11476         TLS scheme support.
11477         * sysdeps/arm/configure: Regenerate.
11479 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11481         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11482         (__atfct_seterrno_2): Likewise.
11483         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11484         <kernel-features.h>.
11485         (__ASSUME_ATFCTS): Do not undefine and redefine.
11486         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11487         (__have_atfcts): Remove conditional definition.
11488         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11489         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11490         unreachable if [__ASSUME_ATFCTS].
11491         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11492         not undefine and redefine.
11493         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11494         <kernel-features.h>.
11495         (faccessat) [__NR_faccessat]: Make code unconditional.
11496         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11497         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11498         <kernel-features.h>.
11499         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11500         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11501         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11502         <kernel-features.h>.
11503         (fchownat) [__NR_fchownat]: Make code unconditional.
11504         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11505         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11506         <kernel-features.h>.
11507         (futimesat) [__NR_futimesat]: Make code unconditional.
11508         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11509         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11510         <kernel-features.h>.
11511         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11512         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11513         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11514         <kernel-features.h>.
11515         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11516         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11517         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11518         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11519         <kernel-features.h>.
11520         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11521         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11522         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11523         <kernel-features.h>.
11524         (linkat) [__NR_linkat]: Make code unconditional.
11525         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11526         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11527         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11528         <kernel-features.h>.
11529         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11530         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11531         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11532         <kernel-features.h>.
11533         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11534         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11535         * sysdeps/unix/sysv/linux/openat.c: Do not include
11536         <kernel-features.h>.
11537         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11538         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11539         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11540         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11541         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11542         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11543         <kernel-features.h>.
11544         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11545         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11546         result of INLINE_SYSCALL directly, not via int variable.
11547         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11548         <kernel-features.h>.
11549         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11550         (renameat) [__NR_renameat]: Make code unconditional.
11551         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11552         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11553         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11554         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11555         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11556         (__ASSUME_ATFCTS): Do not undefine and redefine.
11557         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11558         <kernel-features.h>.
11559         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11560         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11561         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11562         <kernel-features.h>.
11563         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11564         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11565         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11566         (__ASSUME_ATFCTS): Do not undefine and redefine.
11567         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11568         <kernel-features.h>.
11569         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11570         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11571         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11572         <kernel-features.h>.
11573         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11574         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11576 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11578         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11580 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11582         [BZ #17069]
11583         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11584         constructed tree before returning error.
11585         * posix/bug-regexp36.c: Expand test case.
11587 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11589         [BZ #6803]
11590         * math/libm-test.inc (scalbln_test_date):
11591         Add errno expectations.
11592         * math/w_scalblnf.c: New File.
11593         Add wrapper which checks for setting errno to ERANGE.
11594         Add weak_alias for corresponding scalbln function.
11595         * math/w_scalbln.c: Likewise.
11596         * math/w_scalblnl.c: Likewise.
11597         * math/Makefile (libm-calls): Add w_scalbln.
11598         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11599         Remove weak_alias for corresponding scalbln function.
11600         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11602         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11603         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11604         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11605         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11606         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11607         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11608         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11609         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11610         Remove long_double_symbol for scalblnl function in libm, libc.
11611         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11612         Add wrapper which checks for setting errno to ERANGE.
11613         Add long_double_symbol for scalblnl function in libm, libc.
11614         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11615         Remove long_double_symbol for scalblnl in libm.
11616         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11617         Add wrapper which checks for setting errno to ERANGE.
11618         Add long_double_symbol for scalblnl function in libm.
11619         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11620         Do not use wrapper because of own implementation.
11622 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11624         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11625         3 bytes for __pad1 for x32.
11626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11628 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11629             H.J. Lu  <hongjiu.lu@intel.com>
11631         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11632         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11633         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11634         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11635         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11637 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11639         [BZ #17069]
11640         * posix/regcomp.c (parse_expression): Deallocate partially
11641         constructed tree before returning error.
11642         * posix/Makefile.c (tests): Add bug-regex36.
11643         (generated): Add bug-regex36.mtrace.
11644         (tests-special): Add $(objpfx)bug-regex36-mem.out
11645         (bug-regex36-ENV): New variable.
11646         ($(objpfx)bug-regex36-mem.out): New rule.
11647         * posix/bug-regex36.c: New file.
11649 2014-06-19  Will Newton  <will.newton@linaro.org>
11651         * malloc/malloc.c (systrim): If extra is zero then return
11652         early.
11654 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11656         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11658 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11660         * sysdeps/aarch64/strchr.S: New file.
11662 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11664         [BZ #17022]
11665         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11666         from arguments -2 or below.
11667         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11668         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11670 2014-06-18  Andreas Schwab  <schwab@suse.de>
11672         [BZ #17062]
11673         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11674         of a bracket expr not to run off the end of the string.
11675         * posix/Makefile (tests): Add tst-fnmatch3.
11676         * posix/tst-fnmatch3.c: New file.
11678 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11680         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11681         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11682         [$(cross-compiling) = no]: Likewise.
11683         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11684         [$(cross-compiling) = no]: Likewise.
11686 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11688         [BZ #17031]
11689         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11690         double, adjusted for any remainder from the high double.
11691         * math/libm-test.inc (nearbyint): Add tests.
11692         (rint): Likewise.
11694 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11696         * nptl/sysdeps/powerpc/Makefile: Moved ...
11697         * sysdeps/powerpc/nptl/Makefile: ... here.
11698         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11699         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11700         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11701         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11702         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11703         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11704         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11705         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11706         * nptl/sysdeps/powerpc/tls.h: Moved ...
11707         * sysdeps/powerpc/nptl/tls.h: ... here.
11709 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11711         [BZ #16681]
11712         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11713         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11714         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11715         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11716         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11717         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11718         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11719         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11720         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11722 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11724         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11726 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11728         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11729         defined operator.
11731         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11732         $TIMEOUTFACTOR.
11734 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11736         [BZ #17058]
11737         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11738         non-executed part of the test.
11740 2014-06-16  Andreas Schwab  <schwab@suse.de>
11742         * string/bits/string2.h (strdup, strndup): Update feature guard.
11744 2014-06-14  David S. Miller  <davem@davemloft.net>
11746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11748 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11750         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11751         that was previously under [RESET_PID].
11752         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11754         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11755         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11756         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11757         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11758         (__libc_vfork): New strong alias.
11759         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11761 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11763         * sysdeps/generic/elide.h: New file.
11765 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11767         * Makefile (installed-headers): Adjust path of pthread.h header.
11769 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11771         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11772         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11773         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11774         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11776         * nptl/sysdeps/s390/Makefile: Moved ...
11777         * sysdeps/s390/nptl/Makefile: ... here.
11778         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11779         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11780         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11781         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11782         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11783         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11784         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11785         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11786         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11787         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11788         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11789         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11790         * nptl/sysdeps/s390/tls.h: Moved ...
11791         * sysdeps/s390/nptl/tls.h: ... here.
11793         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11794         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11796 2014-06-13  David S. Miller  <davem@davemloft.net>
11798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11801         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11805         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11806         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11807         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11808         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11809         Remove RESET_PID cpp guards.
11810         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11811         Remove RESET_PID cpp guards.
11812         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11814 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11816         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11817         __sp to uintptr_t.
11819 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11823         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11824         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11828         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11830         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11832         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11833         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11834         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11835         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11837         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11839         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11842         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11843         (pthread_rwlock_rdlock): Add elision.
11844         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11845         (pthread_rwlock_wrlock): Add elision.
11846         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11847         (pthread_rwlock_trywrlock): Add elision.
11848         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11849         (pthread_rwlock_tryrdlock): Add elision.
11850         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11851         (pthread_rwlock_tryrdlock): Add elision unlock.
11852         * nptl/sysdeps/pthread/pthread.h:
11853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11854         (PTHREAD_RWLOCK_INITIALIZER,
11855         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11856         Handle new elision field.
11857         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11858         * sysdeps/arm/nptl/bits/pthreadtypes.h
11859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11860         * sysdeps/sh/nptl/bits/pthreadtypes.h
11861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11862         * sysdeps/tile/nptl/bits/pthreadtypes.h
11863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11864         * sysdeps/a/nptl/bits/pthreadtypes.h
11865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11866         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11868         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11869         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11870         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11872         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11874         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11876         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11878         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11880         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11882         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11883         (elision_init): Set try_xbegin to zero when no RTM.
11884         * sysdeps/x86/nptl/bits/pthreadtypes.h
11885         (pthread_rwlock_t): Change __pad1 to __rwelision.
11886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11888 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11890         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11891         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11892         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11893         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11895 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11897         [BZ #16996]
11898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11899         that the cached result has been set before returning it.
11901 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11903         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11904         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11905         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11906         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11907         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11908         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11910         * nptl/sysdeps/sparc/Makefile: Moved ...
11911         * sysdeps/sparc/nptl/Makefile: ... here.
11912         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11913         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11914         * nptl/sysdeps/sparc/tls.h: Moved ...
11915         * sysdeps/sparc/nptl/tls.h: ... here.
11916         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11917         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11918         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11919         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11920         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11921         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11922         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11923         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11924         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11925         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11926         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11927         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11928         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11929         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11930         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11931         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11932         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11934         Update #include.
11935         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11937         Update #include.
11938         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11939         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11940         Update #include.
11941         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11943         Update #include.
11945         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11947         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11948         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11950         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11951         (struct list_links): Type removed.
11952         (struct thread_node, struct timer_node): Replace struct list_links
11953         with struct list_head.
11954         (list_unlink_ip): Likewise.
11955         * sysdeps/pthread/timer_routines.c
11956         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11957         (list_append, list_insbefore): Likewise.
11958         (list_init): Function removed.
11959         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11960         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11961         * sysdeps/pthread/Makefile: ... here, new file.
11963         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11964         * sysdeps/nptl/Implies: ... here.
11965         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11966         * nptl/sysdeps/pthread/list.h: Moved ...
11967         * include/list.h: ... here.
11968         * nptl/sysdeps/pthread/createthread.c: Moved ...
11969         * nptl/createthread.c: ... here.
11970         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11971         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11972         * nptl/pt-longjmp.c: ... here.
11973         * nptl/sysdeps/pthread/Makefile: Moved ...
11974         * sysdeps/nptl/Makefile: ... here.
11975         * nptl/sysdeps/pthread/Subdirs: Moved ...
11976         * sysdeps/nptl/Subdirs: ... here.
11977         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11978         * sysdeps/nptl/aio_misc.h: ... here.
11979         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11980         * sysdeps/nptl/bits/libc-lock.h: ... here.
11981         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11982         * sysdeps/nptl/bits/libc-lockP.h: ... here.
11983         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11984         * sysdeps/nptl/bits/stdio-lock.h: ... here.
11985         * nptl/sysdeps/pthread/configure: Moved ...
11986         * sysdeps/nptl/configure: ... here.
11987         * nptl/sysdeps/pthread/configure.ac: Moved ...
11988         * sysdeps/nptl/configure.ac: ... here.
11989         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11990         * sysdeps/nptl/gai_misc.h: ... here.
11991         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11992         * sysdeps/nptl/librt-cancellation.c: ... here.
11993         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11994         * sysdeps/nptl/malloc-machine.h: ... here.
11995         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11996         * sysdeps/nptl/pthread-functions.h: ... here.
11997         * nptl/sysdeps/pthread/pthread.h: Moved ...
11998         * sysdeps/nptl/pthread.h: ... here.
11999         * nptl/sysdeps/pthread/setxid.h: Moved ...
12000         * sysdeps/nptl/setxid.h: ... here.
12001         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12002         * sysdeps/nptl/sigfillset.c: ... here.
12003         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12004         * sysdeps/nptl/tcb-offsets.h: ... here.
12005         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12006         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12007         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12008         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12009         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12010         * sysdeps/pthread/allocalim.h: ... here.
12011         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12012         * sysdeps/pthread/bits/sigthread.h: ... here.
12013         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12014         * sysdeps/pthread/flockfile.c: ... here.
12015         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12016         * sysdeps/pthread/ftrylockfile.c: ... here.
12017         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12018         * sysdeps/pthread/funlockfile.c: ... here.
12019         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12020         * sysdeps/pthread/posix-timer.h: ... here.
12021         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12022         * sysdeps/pthread/timer_create.c: ... here.
12023         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12024         * sysdeps/pthread/timer_delete.c: ... here.
12025         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12026         * sysdeps/pthread/timer_getoverr.c: ... here.
12027         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12028         * sysdeps/pthread/timer_gettime.c: ... here.
12029         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12030         * sysdeps/pthread/timer_routines.c: ... here.
12031         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12032         * sysdeps/pthread/timer_settime.c: ... here.
12033         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12034         * sysdeps/pthread/tst-timer.c: ... here.
12035         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12036         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12038         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12039         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12041         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12042         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12043         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12044         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12045         Update #include target.
12046         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12047         * sysdeps/i386/i686/nptl/Makefile: ... here.
12048         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12049         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12050         Update #include target.
12051         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12052         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12053         * nptl/sysdeps/i386/Makefile: Moved ...
12054         * sysdeps/i386/nptl/Makefile: ... here.
12055         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12056         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12057         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12058         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12059         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12060         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12061         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12062         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12063         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12064         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12065         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12066         * nptl/sysdeps/i386/tls.h: Moved ...
12067         * sysdeps/i386/nptl/tls.h: ... here.
12069         * sysdeps/sh/Makefile [$(subdir) = csu]
12070         (gen-as-const-headers): Add tcb-offsets.sym.
12071         * nptl/sysdeps/sh/Makefile: File removed.
12072         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12073         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12074         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12075         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12076         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12077         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12078         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12079         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12080         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12081         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12082         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12083         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12084         * nptl/sysdeps/sh/tls.h: Moved ...
12085         * sysdeps/sh/nptl/tls.h: ... here.
12086         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12087         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12088         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12089         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12090         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12091         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12092         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12093         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12094         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12095         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12096         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12097         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12098         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12099         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12101         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12102         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12103         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12104         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12105         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12106         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12107         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12111         Moved ...
12112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12114         Moved ...
12115         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12116         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12117         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12118         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12119         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12120         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12121         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12122         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12123         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12124         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12125         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12126         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12127         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12128         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12129         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12130         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12131         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12132         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12133         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12135 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12137         * posix/spawn_faction_addopen.c: Include string.h.
12139 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12141         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12142         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12143         * nptl/sysdeps/x86_64/Makefile: Moved ...
12144         * sysdeps/x86_64/nptl/Makefile: ... here.
12145         * nptl/sysdeps/x86_64/configure: Moved ...
12146         * sysdeps/x86_64/nptl/configure: ... here.
12147         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12148         * sysdeps/x86_64/nptl/configure.ac: ... here.
12149         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12150         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12151         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12152         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12153         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12154         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12155         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12156         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12157         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12158         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12159         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12160         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12161         * nptl/sysdeps/x86_64/tls.h: Moved ...
12162         * sysdeps/x86_64/nptl/tls.h: ... here.
12163         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12164         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12165         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12166         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12168         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12170 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12174 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12176         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12177         type.
12178         [POSIX] (off_t): Likewise.
12179         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12180         [POSIX] (S_ISBLK): Require macro.
12181         [POSIX] (S_ISCHR): Likewise.
12182         [POSIX] (S_ISDIR): Likewise.
12183         [POSIX] (S_ISFIFO): Likewise.
12184         [POSIX] (S_ISREG): Likewise.
12185         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12186         optional-macro.
12187         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12188         type.
12189         [POSIX] (time_t): Likewise.
12190         [POSIX] (timer_t): Likewise.
12192 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12194         [BZ #17048]
12195         * posix/spawn_int.h (struct __spawn_action): Make the path string
12196         non-const to support deallocation.
12197         * posix/spawn_faction_addopen.c
12198         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12199         * posix/spawn_faction_destroy.c
12200         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12201         path in all spawn_do_open actions.
12202         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12203         posix_spawn_file_actions_addopen.
12205 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12207         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12208         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12209         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12210         conditional code always true.
12211         (__libc_vfork): New alias.
12213 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12215         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12216         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12218         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12220         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12221         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12223         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12224         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12226         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12227         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12229 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12231         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12232         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12233         multiarch strcmp for PPC64.
12234         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12235         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12237         multiarch optimizations.
12238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12239         (__libc_ifunc_impl_list): Likewise.
12241 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12243         * benchtests/scripts/validate_benchout.py: New script.
12244         * benchtests/Makefile (bench-func): Call it.
12245         * benchtests/scripts/benchout.schema.json: New file.
12247 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12249         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12250         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12251         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12252         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12253         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12254         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12255         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12256         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12257         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12258         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12259         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12260         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12261         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12262         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12263         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12264         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12266         Moved ...
12267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12268         ... here.
12269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12270         Moved ...
12271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12273         Moved ...
12274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12275         ... here.
12276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12277         Moved ...
12278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12279         ... here.
12280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12281         Moved ...
12282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12284         Moved ...
12285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12286         ... here.
12287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12288         Moved ...
12289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12290         ... here.
12291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12292         Moved ...
12293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12295         Moved ...
12296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12297         ... here.
12298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12299         Moved ...
12300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12301         ... here.
12302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12303         Moved ...
12304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12305         ... here.
12306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12307         Moved ...
12308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12310         Moved ...
12311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12312         ... here.
12313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12314         Moved ...
12315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12316         ... here.
12317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12318         Moved ...
12319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12320         ... here.
12321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12322         Moved ...
12323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12325         Moved ...
12326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12327         ... here.
12328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12329         Moved ...
12330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12331         ... here.
12332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12333         Moved ...
12334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12336         Moved ...
12337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12338         ... here.
12339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12340         Moved ...
12341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12343         Moved ...
12344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12346         Moved ...
12347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12348         ... here.
12349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12350         Moved ...
12351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12352         ... here.
12353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12354         Moved ...
12355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12356         ... here.
12357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12358         Moved ...
12359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12361         Moved ...
12362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12363         ... here.
12364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12365         Moved ...
12366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12367         ... here.
12368         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12369         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12371         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12373         Moved ...
12374         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12375         ... here.
12376         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12377         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12379         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12381         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12382         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12383         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12384         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12385         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12387         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12389         Moved ...
12390         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12392         Moved ...
12393         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12395         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12397         Moved ...
12398         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12400         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12401         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12402         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12403         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12404         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12406 2014-06-10  Wilco  <wdijkstr@arm.com>
12408         * math/test-fenv-return.c: New file.
12409         * math/Makefile: Add new test test-fenv-return.
12411 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12413         [BZ #17042]
12414         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12415         when x - 1 is zero.
12416         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12417         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12418         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12419         0.0L for an argument of 1.0L.
12420         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12421         Likewise.
12422         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12423         value when x - 1 is zero.
12424         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12425         * sysdeps/i386/fpu/libm-test-ulps: Update.
12426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12428 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12430         [BZ #15119]
12431         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12433 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12435         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12436         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12438 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12440         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12441         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12443         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12444         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12446         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12447         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12449         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12450         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12452         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12453         if not already defined.
12454         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12455         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12456         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12457         (TLS_INIT_TP): Use it.
12458         (TLS_DEFINE_INIT_TP): New macro.
12459         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12461 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12463         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12464         constant.
12465         [POSIX] (IXANY): Likewise.
12466         [POSIX] (OLCUC): Likewise.
12467         [POSIX || POSIX2008] (CBAUD): Do not allow.
12468         [POSIX || POSIX2008] (DEFECHO): Likewise.
12469         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12470         [POSIX || POSIX2008] (ECHOKE): Likewise.
12471         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12472         [POSIX || POSIX2008] (EXTA): Likewise.
12473         [POSIX || POSIX2008] (EXTB): Likewise.
12474         [POSIX || POSIX2008] (FLUSHO): Likewise.
12475         [POSIX || POSIX2008] (LOBLK): Likewise.
12476         [POSIX || POSIX2008] (PENDIN): Likewise.
12477         [POSIX || POSIX2008] (SWTCH): Likewise.
12478         [POSIX || POSIX2008] (VDISCARD): Likewise.
12479         [POSIX || POSIX2008] (VDSUSP): Likewise.
12480         [POSIX || POSIX2008] (VLNEXT): Likewise.
12481         [POSIX || POSIX2008] (VREPRINT): Likewise.
12482         [POSIX || POSIX2008] (VSTATUS): Likewise.
12483         [POSIX || POSIX2008] (VWERASE): Likewise.
12484         (B*): Change to B[0123456789]*.
12485         * conform/data/time.h-data [POSIX || UNIX98]
12486         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12487         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12488         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12489         [POSIX] (tm_*): Do not allow.
12491 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12493         * Makefile (install): Don't set LANGUAGE.
12494         * Makefile.in (install): Likewise.
12495         * assert/Makefile (test-assert-ENV): Remove variable.
12496         (test-assert-perr-ENV): Likewise.
12497         * elf/Makefile (neededtest4-ENV): Likewise.
12498         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12499         [$(cross-compiling) = no]: Don't set LANGUAGE.
12500         * io/ftwtest-sh (LANG): Remove variable.
12501         * libio/Makefile (tst-widetext-ENV): Likewise.
12502         * manual/install.texi (Running make install): Don't refer to
12503         environment settings for make install.
12504         * INSTALL: Regenerated.
12505         * nptl/tst-tls6.sh: Don't set LANG.
12506         * posix/globtest.sh (LANG): Remove variable.
12507         * string/Makefile (tester-ENV): Likewise.
12508         (inl-tester-ENV): Likewise.
12509         (noinl-tester-ENV): Likewise.
12510         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12511         [$(cross-compiling) = no]: Don't set LANGUAGE.
12512         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12513         without explicit environment settings.
12515 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12517         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12518         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12519         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12520         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12522 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12524         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12525         other files in the crypt directory.
12526         * crypt/crypt.c: Remove duplicate includes.
12527         * crypt/crypt-entry.c: Likewise.
12528         * crypt/crypt_util.c: Likewise.
12530 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12532         * Makeconfig (run-program-env): New variable.
12533         (run-program-prefix-before-env): Likewise.
12534         (run-program-prefix-after-env): Likewise.
12535         (run-program-prefix): Define in terms of new variables.
12536         (built-program-cmd-before-env): New variable.
12537         (built-program-cmd-after-env): Likewise.
12538         (built-program-cmd): Define in terms of new variables.
12539         (test-program-prefix-before-env): New variable.
12540         (test-program-prefix-after-env): Likewise.
12541         (test-program-prefix): Define in terms of new variables.
12542         (test-program-cmd-before-env): New variable.
12543         (test-program-cmd-after-env): Likewise.
12544         (test-program-cmd): Define in terms of new variables.
12545         * Rules (make-test-out): Use $(run-program-env).
12546         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12547         (help): Do not mention environment variables.  Mention
12548         --timeoutfactor option.
12549         (timeoutfactor): New variable.
12550         (blacklist_exports): Remove function.
12551         (exports): Remove variable.
12552         (command): Do not include ${exports}.
12553         * manual/install.texi (Configuring and compiling): Do not mention
12554         test wrappers preserving environment variables.  Mention that last
12555         assignment to a variable must take precedence.
12556         * INSTALL: Regenerated.
12557         * benchtests/Makefile (run-bench): Use $(run-program-env).
12558         * catgets/Makefile ($(objpfx)test1.cat): Use
12559         $(built-program-cmd-before-env), $(run-program-env) and
12560         $(built-program-cmd-after-env).
12561         ($(objpfx)test2.cat): Do not specify environment variables
12562         explicitly.
12563         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12564         $(run-program-env) and $(built-program-cmd-after-env).
12565         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12566         $(run-program-env) and $(test-program-cmd-after-env).
12567         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12568         explicitly.
12569         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12570         run_program_env and test_program_cmd_after_env arguments.
12571         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12572         * elf/tst-pathopt.sh: Use run_program_env argument.
12573         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12574         $(test-wrapper-env) and $(run-program-env).
12575         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12576         run_program_env arguments.
12577         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12578         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12579         $(test-program-prefix-before-env), $(run-program-env) and
12580         $(test-program-prefix-after-env).
12581         ($(objpfx)tst-gettext2.out): Likewise.
12582         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12583         run_program_env and test_program_prefix_after_env arguments.
12584         * intl/tst-gettext2.sh: Likewise.
12585         * intl/tst-gettext4.sh: Do not set environment variables
12586         explicitly.
12587         * intl/tst-gettext6.sh: Likewise.
12588         * intl/tst-translit.sh: Likewise.
12589         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12590         $(test-program-prefix-before-env), $(run-program-env) and
12591         $(test-program-prefix-after-env).
12592         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12593         run_program_env and test_program_prefix_after_env arguments.
12594         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12595         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12596         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12597         explicitly with each use of ${test_wrapper_env}.
12598         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12599         $(test-program-prefix-before-env), $(run-program-env) and
12600         $(test-program-prefix-after-env).
12601         * posix/tst-getconf.sh: Do not set environment variables
12602         explicitly.
12603         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12604         run_program_env and test_program_prefix_after_env arguments.
12605         * stdio-common/tst-printf.sh: Do not set environment variables
12606         explicitly.
12607         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12608         $(test-program-prefix-before-env), $(run-program-env) and
12609         $(test-program-prefix-after-env).
12610         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12611         run_program_env and test_program_prefix_after_env arguments.
12612         Split $test calls into $test_pre and $test.
12613         * timezone/Makefile (build-testdata): Use
12614         $(built-program-cmd-before-env), $(run-program-env) and
12615         $(built-program-cmd-after-env).
12617 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12619         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12620         strlen for non SHARED builds.
12622 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12624         * nptl/allocatestack.c (check_list): Inlined function...
12625         (__reclaim_stacks): ... here.
12627 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12629         [BZ #15698]
12630         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12631         memory overrun.
12633 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12635         * Rules (make-test-out): Include
12636         LOCPATH=$(common-objpfx)localedata in default environment.
12637         * debug/Makefile (tst-chk1-ENV): Remove variable.
12638         (tst-chk2-ENV): Likewise.
12639         (tst-chk3-ENV): Likewise.
12640         (tst-chk4-ENV): Likewise.
12641         (tst-chk5-ENV): Likewise.
12642         (tst-chk6-ENV): Likewise.
12643         (tst-lfschk1-ENV): Likewise.
12644         (tst-lfschk2-ENV): Likewise.
12645         (tst-lfschk3-ENV): Likewise.
12646         (tst-lfschk4-ENV): Likewise.
12647         (tst-lfschk5-ENV): Likewise.
12648         (tst-lfschk6-ENV): Likewise.
12649         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12650         (tst-iconv7-ENV): Likewise.
12651         * intl/Makefile (LOCPATH-ENV): Likewise.
12652         (tst-codeset-ENV): Likewise.
12653         (tst-gettext3-ENV): Likewise.
12654         (tst-gettext5-ENV): Likewise.
12655         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12656         (tst-fopenloc-ENV): Likewise.
12657         (tst-fgetws-ENV): Remove variable.
12658         (tst-ungetwc1-ENV): Likewise.
12659         (tst-ungetwc2-ENV): Likewise.
12660         (bug-ungetwc2-ENV): Likewise.
12661         (tst-swscanf-ENV): Likewise.
12662         (bug-ftell-ENV): Likewise.
12663         (tst-fgetwc-ENV): Likewise.
12664         (tst-fseek-ENV): Likewise.
12665         (tst-ftell-partial-wide-ENV): Likewise.
12666         (tst-ftell-active-handler-ENV): Likewise.
12667         (tst-ftell-append-ENV): Likewise.
12668         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12669         (tst-regexloc-ENV): Likewise.
12670         (bug-regex1-ENV): Likewise.
12671         (tst-regex-ENV): Likewise.
12672         (tst-regex2-ENV): Likewise.
12673         (bug-regex5-ENV): Likewise.
12674         (bug-regex6-ENV): Likewise.
12675         (bug-regex17-ENV): Likewise.
12676         (bug-regex18-ENV): Likewise.
12677         (bug-regex19-ENV): Likewise.
12678         (bug-regex20-ENV): Likewise.
12679         (bug-regex22-ENV): Likewise.
12680         (bug-regex23-ENV): Likewise.
12681         (bug-regex25-ENV): Likewise.
12682         (bug-regex26-ENV): Likewise.
12683         (bug-regex30-ENV): Likewise.
12684         (bug-regex32-ENV): Likewise.
12685         (bug-regex33-ENV): Likewise.
12686         (bug-regex34-ENV): Likewise.
12687         (bug-regex35-ENV): Likewise.
12688         (tst-rxspencer-ENV): Likewise.
12689         (tst-rxspencer-no-utf8-ENV): Likewise.
12690         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12691         (tst-sscanf-ENV): Likewise.
12692         (tst-swprintf-ENV): Likewise.
12693         (tst-swscanf-ENV): Likewise.
12694         (test-vfprintf-ENV): Likewise.
12695         (scanf13-ENV): Likewise.
12696         (bug14-ENV): Likewise.
12697         (tst-grouping-ENV): Likewise.
12698         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12699         (tst-strtod3-ENV): Likewise.
12700         (tst-strtod4-ENV): Likewise.
12701         (tst-strtod5-ENV): Likewise.
12702         (testmb2-ENV): Likewise./
12703         * string/Makefile (tst-strxfrm-ENV): Likewise.
12704         (tst-strxfrm2-ENV): Likewise.
12705         (bug-strcoll1-ENV): Likewise.
12706         (test-strcasecmp-ENV): Likewise.
12707         (test-strncasecmp-ENV): Likewise.
12708         * time/Makefile (tst-strptime-ENV): Likewise.
12709         (tst-ftime_l-ENV): Likewise.
12710         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12711         (tst-mbrtowc-ENV): Likewise.
12712         (tst-wcrtomb-ENV): Likewise.
12713         (tst-mbrtowc2-ENV): Likewise.
12714         (tst-c16c32-1-ENV): Likewise.
12715         (tst-mbsnrtowcs-ENV): Likewise.
12717 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12719         * manual/resource.texi (How to get information about the memory
12720         subsystem?): Fix typo.
12721         Reported by Peon de la Parra Ivan <peon@keba.com>
12723 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12725         [BZ #16882]
12726         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12727         (pthread_spin_lock): Branch out of spin loop to proper location.
12728         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12729         (pthread_spin_lock): Likewise.
12731         * nptl/tst-spin4.c: New test.
12732         * nptl/Makefile (tests): Add tst-spin4.
12734 2014-06-03  Andreas Schwab  <schwab@suse.de>
12736         [BZ #15946]
12737         * resolv/res_send.c (send_dg): Reload file descriptor after
12738         calling reopen.
12740 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12742         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12744 2014-06-03  Richard Henderson  <rth@redhat.com>
12746         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12747         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12748         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12749         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12750         in the SAVE_PID block.
12751         (__libc_vfork): New alias.
12752         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12754         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12755         child in registers, not on the stack.  Remove RESET_PID conditionals.
12756         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12758 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12760         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12762 2014-06-03  Wilco  <wdijkstr@arm.com>
12764         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12765         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12766         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12767         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12768         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12769         Likewise.
12771 2014-06-03  Wilco  <wdijkstr@arm.com>
12773         * sysdeps/aarch64/fpu/math_private.h
12774         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12775         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12776         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12777         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12778         Fix declarations.
12780 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12782         * crypt/crypt-private.h: Include ufc-crypt.h.
12783         (__b64_from_24bit): Declare extern.
12784         * crypt/crypt_util.c(__b64_from_24bit): New function.
12785         (b64t): New static const variable.
12786         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12787         (b64t): Remove variable.
12788         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12789         * crypt/sha256-crypt.c: Include crypt-private.h.
12790         (b64t): Remove variable.
12791         (__sha256_crypt_r): Remove b64_from_24bit and replace
12792         with __b64_from_24bit.
12793         * crypt/sha512-crypt.c: Likewise.
12795 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12797         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12798         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12799         Label the code __libc_vfork rather than __vfork.
12800         [!NOT_IN_libc] (vfork): Define as weak alias.
12801         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12802         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12803         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12805 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12807         * malloc/malloc.c (malloc_info): Fix format specifier for
12808         n_mmaps.
12810 2014-06-02  Wilco  <wdijkstr@arm.com>
12812         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12813         FPCR write.
12815 2014-06-02  Wilco  <wdijkstr@arm.com>
12817         [BZ #17009]
12818         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12819         Rewrite to reduce FPCR/FPSR accesses.
12821 2014-06-01  David S. Miller  <davem@davemloft.net>
12823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12825 2014-05-31  David S. Miller  <davem@davemloft.net>
12827         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12828         to occur in round to nearest mode when |x| >= 2.0
12830 2014-05-30  Richard Henderson  <rth@twiddle.net>
12832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12833         (PSEUDO_RET_NOERRNO): Remove.
12834         (ret): Don't redefine.
12835         (ret_NOERRNO): Define in terms of ret.
12836         (ret_ERRVAL): Likewise.
12838         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12839         use of PSEUDO_RET; perform the error check directly.
12841 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12843         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12844         with __int128_t.
12846 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12848         * malloc/malloc (malloc_info): Fix formatting.
12850 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12851             Roland McGrath  <roland@hack.frob.com>
12853         * malloc/malloc (malloc_info): Also print mmapped statistics.
12855 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12857         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12858         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12860 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12862         * malloc/malloc.c (malloc_info): Inline mi_arena.
12864 2014-05-29  Richard Henderson  <rth@twiddle.net>
12866         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12867         Remove comma before expanding ASM_ARGS_##nr.
12868         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12869         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12870         of ASM_ARGS_##nr.
12871         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12872         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12873         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12874         (ASM_ARGS_1): Add leading comma.
12876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12877         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12878         to __errno_location.
12879         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12880         Remove the expected plt for __errno_location.
12882         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12883         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12884         call to __read_tp.
12886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12887         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12888         it and break it down.
12889         (DOCARGS_0, DOCARGS_1): Do nothing.
12890         (DOCARGS_2): Update to store into the new stack frame.
12891         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12892         (UNDOCARGS_1): Update to restore from the new stack frame.
12893         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12894         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12896         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12897         (SINGLE_THREAD_P): New parameter for result regno.
12898         (PSEUDO): Update to match; use cbz instead of beq.
12900         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12901         Use ENTRY to define the _nocancel entry point.  Share the syscall
12902         and syscall error check paths with the cancel path.
12903         (PSEUDO_END): New.
12905         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12906         whitespace; tabs before and after asm mnemonics.
12908 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12910         [BZ #15132]
12911         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12912         Call fstat64 or stat64 internally, depending on arguments passed.
12913         Replace stat buffer argument with file descriptor argument.
12914         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12915         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12916         Pass fd to __internal_statvfs instead of calling fstat64.
12917         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12918         Pass fd to __internal_statvfs64 instead of calling fstat64.
12919         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12920         Pass -1 to __internal_statvfs instead of calling stat64.
12921         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12922         Pass -1 to __internal_statvfs64 instead of calling stat64.
12924 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12926         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12927         that was previously under [RESET_PID].
12928         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12930         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12931         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12933 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12935         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12937         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12938         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12940 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12942         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12944 2014-05-27  Andreas Schwab  <schwab@suse.de>
12946         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12947         TLS_INIT_TP macro.
12948         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12949         * elf/rtld.c (init_tls, dl_main): Likewise.
12950         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12951         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12952         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12953         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12954         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12955         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12956         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12957         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12958         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12959         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12960         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12961         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12962         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12963         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12964         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12965         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12966         * sysdeps/generic/tls.h: Update description.
12968 2014-05-27  Will Newton  <will.newton@linaro.org>
12970         [BZ #16990]
12971         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12972         and restore r2 rather than just restoring.
12974 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12976         [BZ #16724]
12977         * libio/tst-ftell-append.c: New test case.
12978         * libio/Makefile (tests): Add test case.
12979         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12980         append mode.
12981         * libio/wfileops.c (do_ftell_wide): Likewise.
12983 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12987         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12988         ...
12989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12991         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12992         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12993         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12994         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12995         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12996         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12998         Moved ...
12999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13001         Moved ...
13002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13003         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13004         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13005         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13006         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13007         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13008         ...
13009         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13010         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13011         Moved ...
13012         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13013         here.
13014         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13015         ...
13016         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13017         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13018         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13020         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13021         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13022         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13023         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13026         merge into ...
13027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13029         ...
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13032         ...
13033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13035         Moved ...
13036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13037         here.
13038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13039         Moved ...
13040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13042         Moved ...
13043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13046         conditional [RESET_PID].
13047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13049         removed.
13050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13051         removed.
13053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13054         <tcb-offsets.h>.
13055         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13056         (__libc_vfork): New strong alias.
13057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13058         removed.
13059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13060         Removed.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13063         <tcb-offsets.h>.
13064         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13065         (__libc_vfork): New strong alias.
13066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13067         removed.
13068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13069         removed.
13071 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13073         * malloc/malloc.c (mi_arena): New function.
13074         (malloc_info): Remove nested function mi_arena. Call non-nosted
13075         function mi_arena.
13077 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13079         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13080         by insrwi.
13081         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13082         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13083         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13084         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13085         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13086         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13087         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13089 2014-05-26  Andreas Schwab  <schwab@suse.de>
13091         [BZ #16984]
13092         * locale/programs/repertoire.c (repertoire_read): Add slash
13093         between I18NPATH element and file name.
13094         * locale/programs/locfile.c (locfile_read): Likewise.
13096 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13098         * nptl/pthread_mutexattr_settype.c
13099         (__pthread_mutexattr_settype):
13100         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13102 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13104         * nptl/tst-mutex5 (do_test):
13105         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13107 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13109         * benchtests/README: Document 'init' directive.
13110         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13111         BENCH_INIT.
13112         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13113         (parse_file): Recognize 'init' directive.
13115 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13117         [BZ #16796]
13118         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13119         alignment of struct pthread.
13121 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13123         [BZ #16878]
13124         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13125         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13126         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13127         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13129 2014-05-25  Richard Henderson  <rth@twiddle.net>
13131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13132         (SINGLE_THREAD_P_PIC): Remove.
13133         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13134         (SINGLE_THREAD_P_PIC): Remove.
13136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13137         branch to syscall error ...
13138         (PSEUDO): ... here.
13139         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13140         from __local_syscall_error to .Lsyscall_error.
13141         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13142         (SYSCALL_ERROR): Update label name.
13144         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13145         Do not use DOARGS/UNDOARGS.
13146         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13147         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13148         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13149         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13150         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13152         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13153         block comment.
13155         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13156         define if !NOT_IN_libc.
13157         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13158         define with non-default symbol versions.
13160 2014-05-23  Richard Henderson  <rth@twiddle.net>
13162         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13163         (vfork, __vfork): Define via compat_symbol.
13165         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13166         [!HAVE_IFUNC] (vfork_compat): Remove.
13167         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13169 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13171         [BZ #16978]
13172         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13173         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13174         variable.
13176 2014-05-23  Richard Henderson  <rth@twiddle.net>
13178         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13179         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13180         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13181         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13183         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13184         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13185         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13186         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13187         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13188         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13189         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13190         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13191         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13192         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13193         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13194         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13195         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13196         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13197         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13198         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13199         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13200         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13201         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13202         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13203         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13204         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13205         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13206         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13207         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13208         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13209         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13210         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13211         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13212         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13213         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13214         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13215         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13216         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13217         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13218         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13219         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13220         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13221         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13222         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13223         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13224         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13225         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13226         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13227         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13228         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13229         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13230         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13231         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13232         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13233         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13234         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13235         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13236         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13237         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13238         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13240         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13241         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13242         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13243         before exiting on error.
13244         (__libc_vfork): New strong alias.
13245         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13246         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13248         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13249         that was previously under [RESET_PID].
13250         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13252         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13254 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13256         [BZ #16977]
13257         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13258         value when x - 1 is zero.
13259         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13260         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13261         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13262         0.0L for an argument of 1.0L.
13263         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13264         Likewise.
13265         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13266         value when x - 1 is zero.
13267         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13268         * sysdeps/i386/fpu/libm-test-ulps: Update.
13269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13271 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13273         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13274         alphasort and versionsort.
13276 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13278         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13279         macro.
13280         [copysignf]: Likewise.
13282 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13284         * crypt/md5-crypt.c: Fix formatting.
13286 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13288         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13289         (b64_from_24bit): New function.
13291 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13293         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13294         libc_hidden_builtin_def to ifunc.
13295         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13296         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13298 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13300         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13301         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13303 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13305         * nscd/Depend (linuxthreads): Remove.
13306         (nptl): Add.
13307         * resolv/Depend (linuxthreads): Remove.
13308         * rt/Depend (linuxthreads): Remove.
13310         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13311         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13312         $(common-objpfx)elf/.
13313         (link-libc-before-gnulib): Likewise.
13314         (elfobjdir): Remove variable.
13315         * Makefile (install): Use $(elf-objpfx) instead of
13316         $(common-objpfx)elf/.
13317         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13318         $(elfobjdir)/.
13319         (link-libc-deps): Likewise.
13320         ($(common-objpfx)libc.so): Likewise.
13321         ($(common-objpfx)linkobj/libc.so): Likewise.
13322         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13323         instead of $(common-objpfx)elf/.
13324         (symbolic-link-list): Likewise.
13325         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13326         [$(cross-compiling) = no]: Likewise.
13327         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13328         $(elfobjdir)/.
13329         (static-gnulib-arch): Likewise.
13330         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13331         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13332         $(common-objpfx)elf/.
13334 2014-05-21  Richard Henderson  <rth@redhat.com>
13336         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13337         (SINGLE_THREAD_P): Use the correct width load.  Fold
13338         into the ldr offset.
13340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13341         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13343 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13345         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13346         (libgcc_s_resume): Use __attribute_used__.
13347         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13348         Likewise.
13350 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13352         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13353         optimization when used with float constants.
13355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13357 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13359         [BZ #16915]
13360         * locale/nl_langinfo_l.c: Make direct reference to every
13361         _nl_current_CATEGORY symbol.
13362         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13363         (tests-static): Add tst-langinfo-static.
13364         (tests-special): Add tst-langinfo-static.out.
13365         ($(objpfx)tst-langinfo.out): Redirect output.
13366         ($(objpfx)tst-langinfo-static.out): New.
13367         * localedata/tst-langinfo.sh: Send output to stdout.
13368         * localedata/tst-langinfo-static.c: New file.
13370         [BZ #16965]
13371         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13372         when the shift amount is modulo the limb size.
13374 2014-05-20  Richard Henderson  <rth@redhat.com>
13376         [BZ #16967]
13377         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13378         Change type of sa_flags from unsigned int to int.
13380         [BZ #16966]
13381         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13383         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13385 2014-05-20  Will Newton  <will.newton@linaro.org>
13387         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13388         Test the return value of the system call in the nocancel case.
13390 2014-05-20  Will Newton  <will.newton@linaro.org>
13391             Yvan Roux  <yvan.roux@linaro.org>
13393         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13394         #include of asm/ptrace.h.
13395         (PTRACE_GET_THREAD_AREA): Remove #undef.
13396         (PTRACE_GETHBPREGS): Likewise.
13397         (PTRACE_SETHBPREGS): Likewise.
13398         (struct user_regs_struct): New structure.
13399         (struct user_fpsimd_struct): New structure.
13400         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13401         #include of asm/ptrace.h and second #include of sys/user.h.
13402         (PTRACE_GET_THREAD_AREA): Remove #undef.
13403         (PTRACE_GETHBPREGS): Likewise.
13404         (PTRACE_SETHBPREGS): Likewise.
13405         (ELF_NGREG): Use new struct user_regs_struct.
13406         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13408 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13413 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13415         [BZ #16958]
13416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13417         membar to avoid block loads/stores to overlap previous stores.
13419 2014-05-17  Richard Henderson  <rth@redhat.com>
13421         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13422         Create the __##syscall_name##_nocancel entry point.
13423         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13424         Remove; let the sysdep-cancel.h code create it.
13426 2014-05-17  David S. Miller  <davem@davemloft.net>
13428         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13429         Protect with __USE_GNU.
13430         (TIOCSET_TEMPT): Likewise.
13431         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13432         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13433         these are already provided in bits/ioctl-types.h
13435 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13437         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13438         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13440         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13441         Use wait4 regardless of [__NR_waitpid].
13443 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13445         PR libgcc/60166
13446         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13447         (_FP_NANSIGN_Q): Set the quiet bit.
13449 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13451         * benchtests/Makefile
13452         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13453         not $(common-objpfx)math/libm.so.
13454         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13455         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13456         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13457         $(common-objpfx)dlfcn/libdl.so.
13458         ($(objpfx)tst-audit8): Depend on $(libm), not
13459         $(common-objpfx)math/libm.so.
13460         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13461         not $(common-objpfx)dlfcn/libdl.so.
13462         * math/Makefile
13463         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13464         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13465         [$(build-shared) = yes].
13466         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13467         $(common-objpfx)nptl/libpthread.so.
13468         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13469         $(common-objpfx)math/libm.so$(libm.so-version) or
13470         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13471         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13472         $(common-objpfx)dlfcn/libdl.so.
13473         * setjmp/Makefile (link-libm): Remove variable.
13474         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13475         * stdio-common/Makefile (link-libm): Remove variable.
13476         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13477         * stdlib/Makefile (link-libm): Remove variable.
13478         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13479         ($(objpfx)tst-strtod-round): Likewise.
13480         ($(objpfx)tst-tininess): Likewise.
13481         ($(objpfx)tst-strtod-underflow): Likewise.
13482         ($(objpfx)tst-strtod6): Likewise.
13483         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13484         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13485         $(common-objpfx)dlfcn/libdl.so.
13487 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13489         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13490         BSD terminal modes definitions.
13492 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13494         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13495         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13497         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13498         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13499         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13500         Don't do #include_next.
13501         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13502         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13503         Don't do #include_next.
13504         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13505         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13506         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13507         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13509 2014-05-16  Allan McRae  <allan@archlinux.org>
13511         * po/sv.po: Update Swedish translation from translation project.
13513         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13514         in sed expression.
13516 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13518         [BZ #16917]
13519         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13520         errno if the TIOCGPTN ioctl fails with an error different than
13521         EINVAL.
13522         * login/tst-ptsname.c: New file.
13523         * login/Makefile (tests): Add tst-ptsname.
13525         [BZ #16943]
13526         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13527         and prlimit64.
13529 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13531         [BZ #16849]
13532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13533         herrno to return EAI_AGAIN.
13535 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13537         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13538         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13539         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13540         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13541         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13542         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13543         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13544         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13545         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13546         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13547         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13548         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13549         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13550         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13551         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13552         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13553         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13554         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13555         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13556         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13557         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13558         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13559         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13560         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13561         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13562         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13563         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13564         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13565         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13566         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13568         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13570         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13572         Moved ...
13573         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13575         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13577         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13579         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13581         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13583         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13585         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13587         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13589         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13591         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13593         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13595         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13597         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13599         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13601         Moved ...
13602         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13604         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13606         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13608         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13610         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13612         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13614         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13616         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13618         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13620         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13622         Moved ...
13623         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13625         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13627         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13628         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13629         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13630         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13631         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13632         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13633         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13634         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13635         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13636         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13637         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13638         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13639         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13640         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13641         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13642         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13643         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13644         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13645         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13646         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13647         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13648         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13649         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13650         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13651         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13652         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13653         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13654         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13655         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13656         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13657         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13659         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13660         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13662         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13663         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13664         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13665         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13666         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13667         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13668         Moved ...
13669         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13671         Moved ...
13672         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13674         Moved ...
13675         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13677         Moved ...
13678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13679         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13680         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13681         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13682         Moved ...
13683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13684         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13685         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13686         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13687         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13688         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13689         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13691         Moved ...
13692         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13694         Moved ...
13695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13696         ... here.
13697         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13698         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13699         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13700         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13702         Moved ...
13703         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13704         ... here.
13705         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13706         Moved ...
13707         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13708         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13709         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13710         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13711         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13712         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13713         Moved ...
13714         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13716         Moved ...
13717         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13719         Moved ...
13720         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13722         Moved ...
13723         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13724         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13725         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13726         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13727         Moved ...
13728         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13730         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13731         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13732         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13733         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13734         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13736         Moved ...
13737         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13739         Moved ...
13740         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13741         ... here.
13742         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13743         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13744         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13745         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13747         Moved ...
13748         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13749         ... here.
13750         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13751         Moved ...
13752         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13753         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13754         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13755         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13756         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13757         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13758         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13759         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13760         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13761         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13762         Moved ...
13763         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13765         Moved ...
13766         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13767         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13768         Moved ...
13769         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13770         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13771         Moved ...
13772         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13773         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13774         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13775         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13776         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13777         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13778         Moved ...
13779         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13780         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13781         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13783         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13784         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13785         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13786         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13787         Moved ...
13788         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13789         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13790         Moved ...
13791         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13792         ... here.
13793         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13794         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13795         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13796         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13797         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13798         Moved ...
13799         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13800         ... here.
13801         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13802         Moved ...
13803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13804         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13805         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13806         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13807         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13808         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13809         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13810         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13811         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13812         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13813         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13815         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13816         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13818         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13819         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13821         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13822         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13823         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13824         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13825         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13826         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13827         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13828         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13829         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13830         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13831         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13832         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13833         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13834         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13835         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13836         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13837         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13839         Moved ...
13840         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13844         Moved ...
13845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13847         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13848         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13849         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13853         Moved ...
13854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13856         Moved ...
13857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13863         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13864         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13865         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13866         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13867         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13868         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13869         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13870         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13871         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13872         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13873         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13875         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13876         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13877         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13878         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13879         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13881         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13882         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13883         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13884         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13885         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13886         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13887         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13888         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13889         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13890         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13893         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13895         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13896         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13897         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13898         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13899         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13900         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13901         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13902         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13903         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13904         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13905         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13906         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13907         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13908         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13910         Update #include.
13911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13912         Likewise.
13913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13914         Likewise.
13915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13916         Likewise.
13917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13918         Likewise.
13919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13920         Likewise.
13921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13922         Likewise.
13923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13924         Likewise.
13925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13926         Likewise.
13927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13928         Likewise.
13929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13934         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13935         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13936         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13937         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13938         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13941         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13942         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13945         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13946         that was previously under [RESET_PID].
13947         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13948         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13949         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13951         * sysdeps/i386/nptl/Implies: New file.
13952         * sysdeps/x86_64/nptl/Implies: New file.
13953         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13954         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13955         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13956         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13958         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13959         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13960         (__libc_vfork): New strong alias.
13961         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13962         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13964         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13965         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13966         (__libc_vfork): New strong alias.
13967         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13968         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13970         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13971         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13972         (__libc_vfork): New strong alias.
13973         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13974         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13975         * nptl/pt-vfork.c: New file.
13976         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13977         (libpthread: GLIBC_2.20): New version set (empty).
13979 2014-05-14  Will Newton  <will.newton@linaro.org>
13981         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13982         rather than #if.
13984 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13986         [BZ #16564]
13987         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13988         arguments with exponent 65 or above.
13989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13990         arguments 0x1p113L or above.
13991         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13992         to arguments 0x1p107L or above.
13993         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13994         positive arguments with exponent 65 or above.
13995         * math/auto-libm-test-in: Add more tests of log1p.
13996         * math/auto-libm-test-out: Regenerated.
13998         [BZ #16928]
13999         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14000         non-finite arguments is +0.
14001         * math/s_cacosf.c (__cacosf): Likewise.
14002         * math/s_cacosl.c (__cacosl): Likewise.
14003         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14004         * sysdeps/i386/fpu/libm-test-ulps: Update.
14005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14007         [BZ #16927]
14008         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14009         value.
14010         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14011         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14012         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14013         for explicit high bit of mantissa when testing for argument equal
14014         to 1.
14015         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14016         * sysdeps/i386/fpu/libm-test-ulps: Update.
14017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14019         [BZ #16516]
14020         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14021         (__erf): Scale by 16 instead of 8 in potentially underflowing
14022         case.  Ensure exception if result actually underflows.
14023         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14024         (__erff): Scale by 16 instead of 8 in potentially underflowing
14025         case.  Ensure exception if result actually underflows.
14026         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14027         (efx8): Remove variable.
14028         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14029         case.  Ensure exception if result actually underflows.
14030         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14031         (efx8): Remove variable.
14032         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14033         case.  Ensure exception if result actually underflows.
14034         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14035         (efx8): Remove variable.
14036         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14037         case.  Ensure exception if result actually underflows.
14038         * math/auto-libm-test-in: Add more tests of erf.
14039         * math/auto-libm-test-out: Regenerated.
14041 2014-05-14  Andreas Schwab  <schwab@suse.de>
14043         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14044         Remove code conditionalized on USE___THREAD.
14046         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14047         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14048         not definedness.
14050 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14053         Define unconditionally.
14054         (__ASSUME_O_CLOEXEC): Likewise.
14055         (__ASSUME_SOCK_CLOEXEC): Likewise.
14056         (__ASSUME_IN_NONBLOCK): Likewise.
14057         (__ASSUME_PIPE2): Likewise.
14058         (__ASSUME_EVENTFD2): Likewise.
14059         (__ASSUME_SIGNALFD4): Likewise.
14060         (__ASSUME_DUP3): Likewise.
14061         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14062         (__ASSUME_DUP3): Do not define.
14063         (__ASSUME_EVENTFD2): Likewise.
14064         (__ASSUME_IN_NONBLOCK): Likewise.
14065         (__ASSUME_O_CLOEXEC): Likewise.
14066         (__ASSUME_PIPE2): Likewise.
14067         (__ASSUME_SIGNALFD4): Likewise.
14068         (__ASSUME_SOCK_CLOEXEC): Likewise.
14069         (__ASSUME_UTIMES): Undefine.
14070         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14071         (__ASSUME_UTIMES): Do not define.
14072         (__ASSUME_O_CLOEXEC): Likewise.
14073         (__ASSUME_SOCK_CLOEXEC): Likewise.
14074         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14075         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14076         0x020621].
14077         (__ASSUME_PIPE2): Likewise.
14078         (__ASSUME_EVENTFD2): Likewise.
14079         (__ASSUME_SIGNALFD4): Likewise.
14080         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14081         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14082         Do not define.
14083         (__ASSUME_EVENTFD2): Likewise.
14084         (__ASSUME_SIGNALFD4): Likewise.
14085         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14086         (__ASSUME_32BITUIDS): Likewise.
14087         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14088         (__ASSUME_IPC64): Likewise.
14089         (__ASSUME_ST_INO_64_BIT): Likewise.
14090         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14091         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14092         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14093         (__ASSUME_UTIMES): Do not define.
14094         (__ASSUME_PSELECT): Likewise.
14095         (__ASSUME_PPOLL): Likewise.
14096         (__ASSUME_O_CLOEXEC): Likewise.
14097         (__ASSUME_SOCK_CLOEXEC): Likewise.
14098         (__ASSUME_IN_NONBLOCK): Likewise.
14099         (__ASSUME_PIPE2): Likewise.
14100         (__ASSUME_EVENTFD2): Likewise.
14101         (__ASSUME_SIGNALFD4): Likewise.
14102         (__ASSUME_DUP3): Likewise.
14103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14104         (__ASSUME_UTIMES): Likewise.
14105         (__ASSUME_O_CLOEXEC): Likewise.
14106         (__ASSUME_SOCK_CLOEXEC): Likewise.
14107         (__ASSUME_IN_NONBLOCK): Likewise.
14108         (__ASSUME_PIPE2): Likewise.
14109         (__ASSUME_EVENTFD2): Likewise.
14110         (__ASSUME_SIGNALFD4): Likewise.
14111         (__ASSUME_DUP3): Likewise.
14112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14113         (__ASSUME_UTIMES): Likewise.
14114         (__ASSUME_O_CLOEXEC): Likewise.
14115         (__ASSUME_SOCK_CLOEXEC): Likewise.
14116         (__ASSUME_IN_NONBLOCK): Likewise.
14117         (__ASSUME_PIPE2): Likewise.
14118         (__ASSUME_EVENTFD2): Likewise.
14119         (__ASSUME_SIGNALFD4): Likewise.
14120         (__ASSUME_DUP3): Likewise.
14121         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14122         Likewise.
14123         (__ASSUME_UTIMES): Likewise.
14124         (__ASSUME_EVENTFD2): Likewise.
14125         (__ASSUME_SIGNALFD4): Likewise.
14126         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14127         (__ASSUME_O_CLOEXEC): Likewise.
14128         (__ASSUME_SOCK_CLOEXEC): Likewise.
14129         (__ASSUME_IN_NONBLOCK): Likewise.
14130         (__ASSUME_PIPE2): Likewise.
14131         (__ASSUME_EVENTFD2): Likewise.
14132         (__ASSUME_SIGNALFD4): Likewise.
14133         (__ASSUME_DUP3): Likewise.
14134         (__ASSUME_UTIMES): Undefine.
14136         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14137         feclearexcept.  Remove symbol versioning code.
14138         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14139         symbol versioning code.
14140         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14141         symbol versioning code.
14142         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14143         feupdateenv.  Remove symbol versioning code.
14144         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14145         fegetexceptflag.  Remove symbol versioning code.
14146         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14147         fesetexceptflag.  Remove symbol versioning code.
14148         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14149         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14150         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14151         (__posix_fadvise64_l32): Remove prototype.
14152         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14153         code.
14155 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14157         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14158         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14159         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14160         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14162 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14164         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14165         current working directory
14167 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14169         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14170         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14171         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14172         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14173         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14174         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14175         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14176         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14177         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14178         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14179         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14180         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14181         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14182         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14183         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14184         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14185         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14186         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14187         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14188         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14189         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14190         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14191         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14192         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14193         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14194         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14195         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14196         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14197         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14198         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14199         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14200         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14201         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14202         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14203         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14204         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14205         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14206         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14207         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14208         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14209         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14210         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14212         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14213         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14215         * sysdeps/unix/sysv/linux/arm/Makefile
14216         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14217         Add rt-aeabi_unwind_cpp_pr1.
14218         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14219         Add nptl-aeabi_unwind_cpp_pr1.
14220         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14221         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14222         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14223         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14224         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14225         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14227         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14228         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14229         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14230         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14232         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14233         Deconditionalize the code that was previously under [RESET_PID].
14234         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14236         * sysdeps/generic/exit-thread.h: New file.
14237         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14238         * include/unistd.h (__exit_thread): Remove declaration.
14239         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14240         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14241         * csu/libc-start.c: Include <exit-thread.h>.
14242         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14243         * nptl/pthread_create.c: Include <exit-thread.h>.
14244         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14245         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14246         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14247         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14248         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14249         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14250         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14251         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14252         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14253         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14254         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14255         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14256         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14257         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14258         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14259         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14260         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14262 2014-05-13  Andreas Schwab  <schwab@suse.de>
14264         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14266 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14268         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14269         (__ASSUME_UTIMES): Do not condition on kernel version.
14270         (__ASSUME_PSELECT): Define unconditionally.
14271         (__ASSUME_PPOLL): Likewise.
14272         (__ASSUME_ATFCTS): Likewise.
14273         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14274         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14275         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14276         (__ASSUME_UTIMENSAT): Define unconditionally.
14277         (__ASSUME_PRIVATE_FUTEX): Likewise.
14278         (__ASSUME_FALLOCATE): Likewise.
14279         (__ASSUME_O_CLOEXEC): Likewise.
14280         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14281         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14282         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14283         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14284         (__ASSUME_IN_NONBLOCK): Likewise.
14285         (__ASSUME_PIPE2): Likewise.
14286         (__ASSUME_EVENTFD2): Likewise.
14287         (__ASSUME_SIGNALFD4): Likewise.
14288         (__ASSUME_DUP3): Likewise.
14289         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14290         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14291         (__ASSUME_AT_RANDOM): Likewise.
14292         (__ASSUME_PREADV): Likewise.
14293         (__ASSUME_PWRITEV): Likewise.
14294         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14295         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14296         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14297         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14298         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14299         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14300         (__ASSUME_O_CLOEXEC): Define unconditionally.
14301         (__ASSUME_PSELECT): Do not undefine conditionally.
14302         (__ASSUME_PPOLL): Likewise.
14303         (__ASSUME_ATFCTS): Likewise.
14304         (__ASSUME_SET_ROBUST_LIST): Likewise.
14305         (__ASSUME_UTIMENSAT): Likewise.
14306         (__ASSUME_FDATASYNC): Define unconditionally.
14307         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14308         (__ASSUME_SIGFRAME_V2): Likewise.
14309         )__ASSUME_EVENTFD2): Likewise.
14310         (__ASSUME_SIGNALFD4): Likewise.
14311         (__ASSUME_PSELECT): Do not undefine conditionally.
14312         (__ASSUME_PPOLL): Likewise.
14313         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14314         (__ASSUME_PSELECT): Define unconditionally.
14315         (__ASSUME_PPOLL): Likewise.
14316         (__ASSUME_O_CLOEXEC): Likewise.
14317         (__ASSUME_SOCK_CLOEXEC): Likewise.
14318         (__ASSUME_IN_NONBLOCK): Likewise.
14319         (__ASSUME_PIPE2): Likewise.
14320         (__ASSUME_EVENTFD2): Likewise.
14321         (__ASSUME_SIGNALFD4): Likewise.
14322         (__ASSUME_DUP3): Likewise.
14323         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14324         (__ASSUME_O_CLOEXEC): Likewise.
14325         (__ASSUME_SOCK_CLOEXEC): Likewise.
14326         (__ASSUME_IN_NONBLOCK): Likewise.
14327         (__ASSUME_PIPE2): Likewise.
14328         (__ASSUME_EVENTFD2): Likewise.
14329         (__ASSUME_SIGNALFD4): Likewise.
14330         (__ASSUME_DUP3): Likewise.
14331         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14332         (__ASSUME_EVENTFD2): Likewise.
14333         (__ASSUME_SIGNALFD4): Likewise.
14334         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14336 2014-05-12  Andreas Schwab  <schwab@suse.de>
14338         [BZ #16932]
14339         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14340         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14341         than maximum RPC packet size.
14342         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14343         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14344         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14345         (_nss_nis_getservbyport_r): Likewise.
14347 2014-05-12  Will Newton  <will.newton@linaro.org>
14349         * malloc/Makefile (tests): Add tst-mallopt.
14350         * malloc/tst-mallopt.c: New file.
14352 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14354         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14355         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14357 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14359         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14360         (tst-tlsmod6.so): Likewise.
14362 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14364         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14366 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14368         [BZ #16064]
14369         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14370         and <dl-procinfo.h>.
14371         (__fegetenv): Save SSE state in envp->__eip if supported.
14372         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14373         envp->__eip if supported.
14374         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14375         and <dl-procinfo.h>.
14376         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14377         __data_offset and __data_selector in environment to 0.  Set SSE
14378         state if supported.
14379         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14380         test-fenv-sse.
14381         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14382         -mfpmath=sse.
14383         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14385 2014-05-09  Will Newton  <will.newton@linaro.org>
14387         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14388         and libc_relro_required for ARM.
14389         * sysdeps/arm/preconfigure: Regenerate.
14391 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14392             Stefan Liebler  <stli@linux.vnet.ibm.com>
14394         * config.make.in (enable-lock-elision): New Makefile variable.
14395         * configure.ac: Likewise.
14396         * configure: Regenerate.
14397         * sysdeps/s390/configure.ac:
14398         Add check for gcc transactions support.
14399         * sysdeps/s390/configure: Regenerate.
14400         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14401         Build elision files if enabled.
14402         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14403         Add lock elision support for s390.
14404         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14405         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14406         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14407         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14408         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14409         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14411         Likewise.
14412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14413         Likewise.
14414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14415         Likewise.
14416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14417         Likewise.
14418         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14419         (__lll_timedlock_elision, __lll_lock_elision)
14420         (__lll_unlock_elision, __lll_trylock_elision)
14421         (lll_timedlock_elision, lll_lock_elision)
14422         (lll_unlock_elision, lll_trylock_elision): Add.
14423         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14424         (pthread_mutex_t): Add lock elision support for s390.
14426 2014-05-14  Wilco  <wdijkstr@arm.com>
14428         * sysdeps/arm/fclrexcpt.c: Cleanup.
14429         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14430         * sysdeps/arm/feenablxcpt.c: Cleanup.
14431         * sysdeps/arm/fegetenv.c: Cleanup.
14432         * sysdeps/arm/fegetexcept.c: Cleanup.
14433         * sysdeps/arm/fegetround.c: Cleanup.
14434         * sysdeps/arm/feholdexcpt.c: Cleanup.
14435         * sysdeps/arm/fesetenv.c: Cleanup.
14436         * sysdeps/arm/fesetround.c: Cleanup.
14437         * sysdeps/arm/feupdateenv.c: Cleanup.
14438         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14439         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14440         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14441         * sysdeps/arm/ftestexcept.c: Cleanup.
14442         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14443         * sysdeps/arm/setfpucw.c: Cleanup.
14445 2014-05-09  Will Newton  <will.newton@linaro.org>
14447         * sysdeps/arm/armv7/strcmp.S: New file.
14448         * NEWS: Mention addition of ARMv7 optimized strcmp.
14450 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14452         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14453         look for %.ac rather than %.in.
14455         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14456         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14457         * sysdeps/mach/hurd/configure: Regenerated.
14458         * sysdeps/unix/sysv/linux/configure: Regenerated.
14460         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14462 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14464         [BZ# 16922]
14465         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14466         (LONG_SUB): Ditto.
14467         (PTR_SUB): Ditto.
14469 2014-05-07  Andreas Schwab  <schwab@suse.de>
14471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14472         when skipping over non-matching result from nscd.
14474 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14476         [BZ #16876]
14477         * nptl/sockperf.c (client): Check socket return value.
14479         [BZ #16877]
14480         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14481         nscd security class.
14483 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14485         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14486         * sysdeps/arm/unwind.h: ... here.
14488 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14490         [BZ# 16916]
14491         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14492         Define.
14494 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14496         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14497         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14498         multiarch strncpy for PPC64.
14499         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14500         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14502         multiarch optimizations.
14503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14504         (__libc_ifunc_impl_list): Likewise.
14505         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14506         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14507         multiarch stpncpy for PPC64.
14508         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14509         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14511 2014-05-06  Andreas Schwab  <schwab@suse.de>
14513         [BZ #16912]
14514         * gmon/mcount.c (_MCOUNT_DECL): Use
14515         atomic_compare_and_exchange_bool_acq instead of
14516         catomic_compare_and_exchange_bool_acq.
14518 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14520         * elf/Makefile (others, install-bin): Remove pldd.
14521         (pldd-modules): Variable removed.
14522         ($(objpfx)pldd): Target removed.
14523         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14524         (others, install-bin): Append pldd here.
14525         ($(objpfx)pldd): New target.
14527         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14528         to 0, so the first #if test emitted later doesn't see it undefined.
14529         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14530         * sysdeps/gnu/errlist.c: Regenerated.
14532 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14534         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14535         [libc_hidden_builtin_def]: Define to empty value.
14536         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14537         [libc_hidden_builtin_def]: Likewise.
14538         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14539         [libc_hidden_builtin_def]: Likewise.
14540         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14541         [libc_hidden_builtin_def]: Likewise.
14542         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14543         __redirect_memcpy and define ifunc as default hidden symbol.
14544         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14545         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14547 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14549         * locale/iso-4217.def: Reintroduce XDR currency.
14551 2014-05-04  Allan McRae  <allan@archlinux.org>
14553         * po/eo.po: Update Esperanto translation from translation project.
14555 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14557         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14558         and FEATURE_INDEX_MAX to 1.
14559         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14561 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14563         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14564         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14565         * iconvdata/big5.c (ONE_DIRECTION): Define.
14566         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14567         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14568         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14569         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14570         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14571         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14572         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14573         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14574         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14575         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14576         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14577         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14578         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14579         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14580         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14581         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14582         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14583         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14584         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14585         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14586         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14587         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14588         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14589         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14590         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14591         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14592         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14593         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14594         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14595         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14596         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14597         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14598         * iconvdata/johab.c (ONE_DIRECTION): Define.
14599         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14600         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14601         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14602         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14603         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14604         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14605         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14606         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14607         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14608         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14610 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14612         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14613         (_IO_JUMPS_OFFSET): Define to 0.
14615         * nptl/sysdeps/pthread/bits/libc-lock.h
14616         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14617         (__libc_lock_define_initialized_recursive): Always define using
14618         initializer.  Modern compilers treat uninitialized (implicit zero) and
14619         explicit zero initializers the same (i.e. put the datum in bss).
14621 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14623         * nscd/nscd-client.h: Include <string.h>.
14625 2014-05-01  David S. Miller  <davem@davemloft.net>
14627         [BZ #16885]
14628         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14629         multiple zero bytes exist at the end of a string.
14630         Reported by Aurelien Jarno <aurelien@aurel32.net>
14632         * string/test-strcmp.c (check): Add explicit test for situations where
14633         there are multiple zero bytes after the first.
14635 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14637         [BZ #16890]
14638         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14639         when compiling wprintf.
14640         * stdio-common/tstdiomisc.c (t3): New function.
14641         (main): Call it.
14643 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14645         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14646         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14647         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14648         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14650 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14652         * stdlib/longlong.h: Updated from GCC.
14654 2014-05-01  Will Newton  <will.newton@linaro.org>
14655             Bernard Ogden  <bernie.ogden@linaro.org>
14657         * NEWS: Update fixed bug list.
14659         [BZ #15119]
14660         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14662 2014-04-30  David S. Miller  <davem@davemloft.net>
14664         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14665         (libc_feholdexcept_setround_sparc_ctx): New function.
14666         (libc_fesetenv_sparc_ctx): Likewise.
14667         (libc_feupdateenv_sparc_ctx): Likewise.
14668         (libc_feholdsetround_sparc_ctx): Likewise.
14669         (libc_feholdexcept_setround_ctx): Define.
14670         (libc_feholdexcept_setroundf_ctx): Likewise.
14671         (libc_feholdexcept_setroundl_ctx): Likewise.
14672         (libc_fesetenv_ctx): Likewise.
14673         (libc_fesetenvf_ctx): Likewise.
14674         (libc_fesetenvl_ctx): Likewise.
14675         (libc_feupdateenv_ctx): Likewise.
14676         (libc_feupdateenvf_ctx): Likewise.
14677         (libc_feupdateenvl_ctx): Likewise.
14678         (libc_feresetround_ctx): Likewise.
14679         (libc_feresetroundf_ctx): Likewise.
14680         (libc_feresetroundl_ctx): Likewise.
14681         (libc_feholdsetround_ctx): Likewise.
14682         (libc_feholdsetroundf_ctx): Likewise.
14683         (libc_feholdsetroundl_ctx): Likewise.
14685         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14686         with __USE_GNU instead of XOPEN cpp guards.
14688         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14689         0.
14691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14692         with XOPEN cpp guards.
14694 2014-04-30  Julian Brown  <julian@codesourcery.com>
14696         [BZ #16888]
14697         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14698         handling.
14700 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14702         [BZ #9894]
14703         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14704         Change to 2.6.32.
14705         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14706         * sysdeps/unix/sysv/linux/configure: Regenerated.
14707         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14708         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14709         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14710         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14711         * README: Update reference to required Linux kernel version.
14712         * manual/install.texi (Linux): Update reference to required Linux
14713         kernel headers version.
14714         * INSTALL: Regenerated.
14716         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14717         header inclusion.
14718         [POSIX] (limits.h): Likewise.
14719         [POSIX] (math.h): Likewise.
14720         [POSIX] (sys/wait.h): Likewise.
14721         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14722         function.
14723         [POSIX] (stddef.h): Do not allow header inclusion.
14725 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14727         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14729 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14731         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14732         Return immediately after lll_futex_wake.
14734 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14736         [BZ #16791]
14737         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14738         structure.
14739         (datahead_init_pos): Call datahead_init_common early.
14740         (datahead_init_neg): Likewise.
14742         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14743         datahead_init_neg): New functions.
14744         * nscd/aicache.c (addhstaiX): Use them.
14745         * nscd/grpcache.c (cache_addgr): Likewise.
14746         * nscd/hstcache.c (cache_addhst): Likewise.
14747         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14748         * nscd/netgroupcache.c (do_notfound): Likewise.
14749         (addgetnetgrentX): Likewise.
14750         (addinnetgrX): Likewise.
14751         * nscd/pwdcache.c (cache_addpw): Likewise.
14752         * nscd/servicescache.c (cache_addserv): Likewise.
14754 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14755             Atsushi Onoe  <atsushi@onoe.org>
14757         [BZ #14308]
14758         [BZ #12994]
14759         [BZ #13651]
14760         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14761         one response is valid.
14762         * resolv/res_send.c (send_dg): Check for validity of other
14763         response if the current response is a referral.
14765 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14767         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14769 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14771         [BZ #16823]
14772         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14773         Always divide by positive zero when computing -Inf result.
14774         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14775         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14777 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14779         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14780         FPSCR if value do not change.
14781         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14782         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14783         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14784         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14785         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14786         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14787         function.
14789 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14791         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14792         * sysdeps/unix/sysv/linux/hppa: Move directory from
14793         ports/systeps/unix/sysv/linux/hppa.
14794         * README: Update listing for hppa-*-linux-gnu.
14796 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14798         [BZ #16754]
14799         * manual/stdio.texi (Hook functions): Fix types of stream hook
14800         functions.
14801         [BZ #16854]
14802         * socket/sys/socket.h: Fix typo in comment.
14804 2014-04-28  Wilco  <wdijkstr@arm.com>
14806         * sysdeps/arm/fenv_private.h: New file.
14807         * sysdeps/arm/math_private.h: New file.
14808         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14810 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14812         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14813         with __int128_t.
14814         (La_x86_64_retval): Likewise.
14816 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14818         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14819         fpsr if value didn't change.
14820         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14821         to fpcr if value didn't change.
14822         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14823         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14824         fpsr or fpcr if value didn't change.
14825         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14826         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14827         fpcr if value didn't change.
14828         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14829         to fpsr if value didn't change.
14831 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14833         * nptl/tst-sem3.c: Use test-skeleton.c
14834         (main): Rename to do_test.  Use return instead of
14835         exit.
14836         * nptl/tst-sem4.c: Use test-skeleton.c
14837         (main): Rename to do_test.
14839 2014-04-22  David S. Miller  <davem@davemloft.net>
14841         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14842         (struct sigaction): New struct member __glibc_reserved0, change
14843         type of sa_flags to int.
14845 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14847         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14848         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14850 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14852         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14853         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14855 2014-04-22  Will Newton  <will.newton@linaro.org>
14856             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14858         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14859         (__longjmp): Add longjmp and longjmp_target SystemTap
14860         probes.
14861         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14862         (__sigsetjmp): Add setjmp SystemTap probe.
14864 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14866         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14867         match manual order.
14869 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14871         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14873         * sysdeps/powerpc/fpu/fenv_private.h
14874         (libc_feholdexcept_setroundl_ctx): Define to
14875         libc_feholdexcept_setround_ppc_ctx.
14876         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14877         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14878         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14879         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14881 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14883         * sysdeps/aarch64/math-tests.h: New file.
14885 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14887         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14888         New.
14889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14890         Check and set bit_AVX2_Usable.
14891         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14892         macro.
14893         (bit_AVX2): Likewise.
14894         (index_AVX2_Usable): Likewise.
14895         (CPUID_AVX2): Likewise.
14896         (HAS_AVX2): Likewise.
14898 2014-04-17  Will Newton  <will.newton@linaro.org>
14900         * manual/setjmp.texi (System V contexts): Add note that
14901         calling setcontext on a context created by a call to a
14902         signal handler is undefined.  Update text to note that
14903         setcontext from a signal handler is possible but not
14904         recommended.
14906         [BZ #16629]
14907         * stdlib/tst-setcontext.c: Include signal.h.
14908         (main): Check that the signal stack before and
14909         after swapcontext is the same.
14911         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14912         Re-implement to restore registers in user code and avoid
14913         rt_sigreturn system call.
14915 2014-04-17  Wilco  <wdijkstr@arm.com>
14917         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14918         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14919         * math/test-fenv.c: Skip exception trap tests on targets which only
14920         support non-stop mode.
14922 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14923             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14925         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14926         (libc_feholdsetround_aarch64_ctx)
14927         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14928         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14929         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14930         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14931         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14932         (libc_feresetround_noexl_ctx): Define.
14934 2014-04-16  Richard Henderson  <rth@redhat.com>
14936         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14938         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14939         unwind tables.
14941         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14942         const from the non-libc, non-ldso copy.
14944         * sysdeps/alpha/libm-test-ulps: Regenerate.
14946 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14947             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14949         * sysdeps/aarch64/fpu/math_private.h: New file.
14951 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14953         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14955 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14957         [BZ #16275]
14958         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14959         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14961         Intel MPX bound registers before _dl_profile_fixup.
14962         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14963         registers after _dl_profile_fixup.  Save and restore bound
14964         registers bnd0/bnd1 when calling _dl_call_pltexit.
14965         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14966         (LR_BND_OFFSET): Likewise.
14967         (LRV_BND0_OFFSET): Likewise.
14968         (LRV_BND1_OFFSET): Likewise.
14970 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14972         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14973         to...
14974         * sysdeps/mach/hurd/i386/tls.h: ... here.
14975         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14976         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14977         fields.
14979 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14981         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14983 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14985         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14987 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14989         [BZ #14770]
14990         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14991         * sysdeps/s390/configure: Regenerate.
14993         [BZ #16824]
14994         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14995         Set round-to-nearest internally to reduce error accumulation.
14997 2014-04-16  Alan Modra  <amodra@gmail.com>
14999         [BZ #16740]
15000         [BZ #16619]
15001         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15002         * math/libm-test.inc (frexp_test_data): Add tests.
15003         * NEWS: Update fixed bug list.
15005 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15007         * benchtests/Makefile: Depend on libraries in build directory.
15008         (bench-math): Separate out math tests.
15009         (bench-pthread): Separate out pthread tests.
15010         (bench): Include math and pthread tests.
15012 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15014         [BZ #16831]
15015         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15016         _dl_debug_initialize.
15018         * configure.ac: Remove SELinux header check.
15019         * configure: Regenerate.
15020         * nscd/selinux.c (perms): Array of const char* to permission names.
15021         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15022         default policy. Call string_to_security_class and string_to_av_perm to
15023         translate strings. Enforce default policy and call avs_has_perm with
15024         results of translated strings.
15026 2014-04-13  David S. Miller  <davem@davemloft.net>
15028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15030 2014-04-12  Allan McRae  <allan@archlinux.org>
15032         [BZ #16838]
15033         * manual/string.texi (Collation Functions): Fix qsort argument
15034         order in example.
15035         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15037 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15039         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15040         Make the test a no-op if there are no exceptions defined.
15042 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15044         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15045         enable-hardcoded-path-in-tests
15047 2014-04-11  Will Newton  <will.newton@linaro.org>
15049         * benchtests/Makefile (extra-objs): Add json-lib.o.
15050         (bench-func): Tidy up JSON output.
15051         * benchtests/bench-skeleton.c: Include json-lib.h.
15052         (main): Use JSON library functions to do output of
15053         benchmark results.
15054         * benchtests/bench-timing-type.c (main): Output the
15055         timing type simply, leaving formatting to the user.
15056         * benchtests/json-lib.c: New file.
15057         * benchtests/json-lib.h: Likewise.
15059 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15061         [BZ #15215]
15062         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15063         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15064         memory barriers.  Add comments.
15065         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15066         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15067         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15068         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15069         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15070         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15072 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15074         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15075         * sysdeps/s390/s390-64/configure.ac: ... this ...
15076         * sysdeps/s390/configure.ac: ... to here.
15077         * sysdeps/s390/s390-32/configure: Delete file.
15078         * sysdeps/s390/s390-64/configure: Delete file.
15079         * sysdeps/s390/configure: Regenerate.
15081 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15083         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15085 2014-04-11  Will Newton  <will.newton@linaro.org>
15087         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15088         to zero if it is not defined elsewhere.  (mtrim): Test
15089         the value of MALLOC_DEBUG with #if rather than #ifdef.
15091 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15093         * benchtests/pthread_once-inputs: New file.
15094         * benchtests/pthread_once-source.c: New file.
15095         * benchtests/README: Update documentation.
15097 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15098             H.J. Lu  <hongjiu.lu@intel.com>
15100         [BZ #16275]
15101         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15102         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15103         * sysdeps/x86_64/configure: Regenerated.
15104         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15105         macro.
15106         (REGISTER_SAVE_RAX): Likewise.
15107         (REGISTER_SAVE_RCX): Likewise.
15108         (REGISTER_SAVE_RDX): Likewise.
15109         (REGISTER_SAVE_RSI): Likewise.
15110         (REGISTER_SAVE_RDI): Likewise.
15111         (REGISTER_SAVE_R8): Likewise.
15112         (REGISTER_SAVE_R9): Likewise.
15113         (REGISTER_SAVE_BND0): Likewise.
15114         (REGISTER_SAVE_BND1): Likewise.
15115         (REGISTER_SAVE_BND2): Likewise.
15116         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15117         bound registers when calling _dl_fixup.
15119 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15121         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15122         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15123         of its definition.
15124         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15125         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15126         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15127         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15128         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15129         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15130         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15132 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15134         [BZ #15514]
15135         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15136         pathconf(_PC_NAME_MAX).
15138 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15140         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15141         Remove macro usage.
15142         (__PTHREAD_SPINS): Move definition to ...
15143         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15144         (__PTHREAD_SPINS): ... here.
15145         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15146         (__PTHREAD_SPIN): Likewise.
15147         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15148         (__PTHREAD_SPIN): Likewise.
15149         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15150         (__PTHREAD_SPIN): Likewise.
15151         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15152         (__PTHREAD_SPIN): Likewise.
15153         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15154         (__PTHREAD_SPIN): Likewise.
15155         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15156         (__PTHREAD_SPIN): Likewise.
15157         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15158         (__PTHREAD_SPIN): Likewise.
15159         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15160         (__PTHREAD_SPIN): Likewise.
15161         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15162         (__PTHREAD_SPIN): Likewise.
15163         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15164         (__PTHREAD_SPIN): Likewise.
15165         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15166         (__PTHREAD_SPIN): Likewise.
15167         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15168         (__PTHREAD_SPIN): Likewise.
15170         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15171         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15172         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15173         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15174         imply folder.
15175         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15176         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15177         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15178         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15179         correct imply path.
15180         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15181         strlen symbol for non multi-arch builds.
15182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15183         missing hidden_def and weak_alias.
15185 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15187         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15189 2014-04-07  Will Newton  <will.newton@linaro.org>
15191         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15192         and contents.  [!_LIBC] Remove #ifndef and contents.
15193         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15194         * string/memccpy.c (__memccpy): Use ANSI prototype.
15195         * string/memfrob.c (memfrob): Likewise.
15196         * string/strcoll.c (STRCOLL): Likewise.
15197         * string/strlen.c (strlen): Likewise.
15198         * string/strtok.c (STRTOK): Likewise.
15199         * string/strcat.c: Remove unused #include of memcopy.h.
15200         (strcat): Use ANSI prototype.
15201         * string/strchr.c: Remove unused #include of memcopy.h.
15202         (strchr): Use ANSI prototype.
15203         * string/strcmp.c: Remove unused #include of memcopy.h.
15204         (strcmp): Use ANSI prototype.
15205         * string/strcpy.c: Remove unused #include of memcopy.h.
15206         (strcpy): Use ANSI prototype.
15208 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15210         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15211         * config.make.in (config-extra-cppflags): Set it from
15212         libc_extra_cppflags.
15213         * configure.ac (libc_extra_cflags): Make it accumulate over
15214         configure fragments.
15215         (libc_extra_cppflags): New flag.
15216         * configure. Regenerate.
15217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15218         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15219         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15222         [BZ #16815]
15223         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15224         result for FE_DOWNWARD rounding mode.
15225         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15226         Likewise.
15227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15229 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15231         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15232         in function argument name.
15234 2014-04-03  David Svoboda  <svoboda@cert.org>
15236         [BZ #5666]
15237         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15238         explicitly.
15240 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15242         * elf/dl-unmap-segments.h: New file.
15243         * sysdeps/generic/ldsodefs.h
15244         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15245         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15246         * elf/dl-fptr.c: Likewise.
15247         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15248         * sysdeps/aarch64/tlsdesc.c: Likewise.
15249         * sysdeps/arm/tlsdesc.c: Likewise.
15250         * sysdeps/i386/tlsdesc.c: Likewise.
15251         * sysdeps/tile/dl-runtime.c: Likewise.
15252         * sysdeps/x86_64/tlsdesc.c: Likewise.
15253         * elf/dl-load.h: New file.
15254         * elf/dl-load.c: Include it.
15255         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15256         Macros moved to dl-load.h.
15257         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15258         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15259         Use _dl_unmap_segments in place of __munmap.
15260         Break out segment-mapping loop into ...
15261         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15263 2014-04-03  Will Newton  <will.newton@linaro.org>
15265         * elf/dl-lookup.c (do_lookup_x): Remove comment
15266         referring to nested function and move variable
15267         declarations down to before first use.
15269 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15271         [BZ #16799]
15272         [BZ #16800]
15273         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15274         with 0 numerator.
15275         * math/s_catanf.c (__catanf): Likewise.
15276         * math/s_catanh.c (__catanh): Likewise.
15277         * math/s_catanhf.c (__catanhf): Likewise.
15278         * math/s_catanhl.c (__catanhl): Likewise.
15279         * math/s_catanl.c (__catanl): Likewise.
15280         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15281         by positive zero when computing -Inf result.
15282         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15283         (catanh_test): Likewise.
15284         * sysdeps/i386/fpu/libm-test-ulps: Update.
15285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15287         [BZ #16789]
15288         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15289         instead of using underflowing value in computing result.
15290         * math/s_clog10.c (__clog10): Likewise.
15291         * math/s_clog10f.c (__clog10f): Likewise.
15292         * math/s_clog10l.c (__clog10l): Likewise.
15293         * math/s_clogf.c (__clogf): Likewise.
15294         * math/s_clogl.c (__clogl): Likewise.
15295         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15296         (clog10_test): Likewise.
15297         * sysdeps/i386/fpu/libm-test-ulps: Update.
15298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15300 2014-04-02  Alan Modra  <amodra@gmail.com>
15302         [BZ #16739]
15303         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15304         output when value is near a power of two.  Use int64_t for lx and
15305         remove casts.  Use decimal rather than hex exponent constants.
15306         Don't use long double multiplication when double will suffice.
15307         * math/libm-test.inc (nextafter_test_data): Add tests.
15308         * NEWS: Add 16739 and 16786 to bug list.
15310         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15312         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15314 2014-04-01  Will Newton  <will.newton@linaro.org>
15316         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15317         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15319 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15321         [BZ #13347]
15322         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15323         * nptl/tst-setuid2.c: New file.
15324         * nptl/Makefile (xtests): Add tst-setuid2.
15326 2014-04-01  Alan Modra  <amodra@gmail.com>
15328         [BZ #16786]
15329         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15331 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15333         [BZ #6803]
15334         [BZ #6804]
15335         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15336         set errno as appropriate.
15337         * math/w_scalbf.c (__scalbf): Likewise.
15338         * math/w_scalbl.c (__scalbl): Likewise.
15339         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15340         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15341         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15342         Add more NaN tests.
15344         [BZ #16349]
15345         * math/w_atan2.c: Include <errno.h>.
15346         (__atan2): Set errno for result underflowing to zero.
15347         * math/w_atan2f.c: Include <errno.h>.
15348         (__atan2f): Set errno for result underflowing to zero.
15349         * math/w_atan2l.c: Include <errno.h>.
15350         (__atan2l): Set errno for result underflowing to zero.
15351         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15352         tests.
15353         * math/auto-libm-test-out: Regenerated.
15355 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15357         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15358         Encode instruction correctly in little endian.
15359         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15360         Likewise.
15361         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15362         Likewise.
15363         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15364         Likewise.
15365         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15366         Likewise.
15368 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #9894]
15371         * sysdeps/unix/sysv/linux/kernel-features.h
15372         [__sparc__ && !__arch64__ && !__sparc_v9__]
15373         (__ASSUME_SET_ROBUST_LIST): Do not define.
15374         [__sparc__ && !__arch64__ && !__sparc_v9__]
15375         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15376         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15377         Likewise.
15378         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15379         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15380         (__ASSUME_REQUEUE_PI): Likewise.
15381         (__ASSUME_SET_ROBUST_LIST): Likewise.
15382         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15383         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15384         Undefine.
15385         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15386         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15387         Likewise.
15388         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15389         Likewise.
15390         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15391         Likewise.
15392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15393         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15394         Undefine.
15395         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15396         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15397         Likewise.
15399         [BZ #16648]
15400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15401         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15402         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15404 2014-03-31  Will Newton  <will.newton@linaro.org>
15406         * benchtests/Makefile (bench): Add ffs and ffsll to list
15407         of tests.
15408         * benchtests/ffs-inputs: New file.
15409         * benchtests/ffsll-inputs: Likewise.
15411 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15413         [BZ #16770]
15414         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15415         too large before casting to int.
15416         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15417         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15418         * math/libm-test.inc (scalb_test_data): Add more tests.
15420 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15422         * benchtests/Makefile (DETAILED_OPT): New make option.
15423         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15424         set.
15425         * benchtests/bench-skeleton.c: Include stdbool.h.
15426         (main): Store and print timings per input.
15427         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15428         member to each argument value.
15429         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15430         (_print_arg_data): Initialize per-input timing to 0.
15432         * benchtests/Makefile (timing-type): New binary.
15433         (bench-clean): Also remove bench-timing-type.
15434         (bench): New target for timing-type.
15435         (bench-func): Print output in JSON format.
15436         * benchtests/bench-skeleton.c (main): Print output in JSON
15437         format.
15438         * benchtests/bench-timing-type.c: New file.
15439         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15440         (TIMING_PRINT_STATS): Remove.
15441         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15442         name separately.
15444         * benchtests/bench-modf.c: Remove.
15445         * benchtests/modf-inputs: New inputs file.
15447 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15449         [BZ #16362]
15450         * math/s_clog10.c (M_PI_LOG10E): New macro.
15451         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15452         imaginary parts are 0.
15453         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15454         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15455         imaginary parts are 0.
15456         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15457         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15458         imaginary parts are 0.
15459         * math/libm-test.inc (clog10_test_data): Update expected results
15460         for when real and imaginary parts are 0.
15462 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15464         * elf/dl-load.c: Finish conversion of __builtin_expect into
15465         __glibc_{un}likely.
15467 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15469         [BZ #16348]
15470         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15471         1+x for argument with exponent below -67.
15472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15473         Likewise.
15474         * math/auto-libm-test-in: Add more tests of exp.
15475         * math/auto-libm-test-out: Regenerated.
15477 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15479         [BZ #16759]
15480         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15481         (nscd_getnetgrent): Use it.
15483         [BZ #16760]
15484         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15485         of stpcpy.
15487 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15489         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15490         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15491         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15492         (lll_robust_unlock): Remove out of line section. Use cfi
15493         intrinsics.
15494         (LLL_STUB_UNWIND_INFO*): Remove.
15495         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15496         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15497         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15498         (lll_robust_unlock): Remove out of line section. Use cfi
15499         intrinsics.
15500         (LLL_STUB_UNWIND_INFO*): Remove.
15502 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15504         [BZ #16758]
15505         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15506         blank values.
15508 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15510         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15512 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15514         [BZ #16198]
15515         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15516         fnstenv.
15517         * math/test-fenv-preserve.c: New file.
15518         * math/Makefile (tests): Add test-fenv-preserve.
15520 2014-03-26  Will Newton <will.newton@linaro.org>
15522         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15524 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15526         * scripts/versionlist.awk: Partition the version sets and emit all
15527         GLIBC_* (sorted) before all others (sorted).
15529 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15531         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15532         GLIBC_2.2.5 version.
15534 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15536         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15537         calls.
15539         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15540         previous change.
15542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15544 2014-03-25  Andreas Schwab  <schwab@suse.de>
15546         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15547         label to be used after in6ailist is initialized.
15549 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15551         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15552         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15554 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15556         [BZ #16357]
15557         [BZ #16599]
15558         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15559         min_plus_half.
15560         (fp_formats): Update initializers.
15561         (init_fp_formats): Initialize new field.
15562         (output_for_one_input_case): Allow underflow for results up to
15563         min_plus_half.
15564         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15565         * math/auto-libm-test-in: Don't mark some underflows from asin and
15566         atanh as spurious.
15567         * math/auto-libm-test-out: Regenerated.
15568         * sysdeps/i386/fpu/libm-test-ulps: Update.
15569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15571 2014-03-25  Andreas Schwab  <schwab@suse.de>
15573         * libio/Makefile (tst-ftell-partial-wide-ENV)
15574         (tst-ftell-active-handler-ENV): Define.
15576 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15578         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15580 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15582         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15584 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15586         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15587         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15588         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15590 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15592         [BZ #16634]
15593         * elf/dl-load.c (open_verify): Add mode parameter.
15594         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15595         (open_path): Change from boolean 'secure' to complete flag 'mode'
15596         (_dl_map_object): Adjust.
15597         * elf/Makefile (tests): Add tst-dlopen-aout.
15598         * elf/tst-dlopen-aout.c: New test.
15600 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15602         [BZ #16714]
15603         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15604         (struct stat): Rename member pad0 to __glibc_reserved0.
15606         [BZ #16712]
15607         * sysdeps/s390/s390-32/bits/wordsize.h
15608         (__WORDSIZE32_SIZE_ULONG): New define.
15609         * sysdeps/s390/s390-64/bits/wordsize.h
15610         (__WORDSIZE32_SIZE_ULONG): Likewise.
15611         * sysdeps/generic/stdint.h (SIZE_MAX):
15612         Define as UL if __WORDSIZE32_SIZE_ULONG.
15614         [BZ #16713]
15615         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15616         (__glibc_reserved0): New variable.
15617         (sa_flags): Change type to int.
15619         * posix/Makefile (before-compile): Use += before-compile instead
15620         of a :=.
15622         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15623         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15625 2014-03-20  Andreas Schwab  <schwab@suse.de>
15627         [BZ #16743]
15628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15629         non-matching result from nscd.
15631 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15633         * scripts/bench.py: Moved to ...
15634         * benchtests/scripts/bench.py: ... here.
15635         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15637 2014-03-24  Andreas Schwab  <schwab@suse.de>
15639         [BZ #16002]
15640         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15641         alloca_account and account alloca use for struct in6ailist.
15643 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15645         [BZ #16284]
15646         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15647         rounding mode to recompute results that overflow to infinity or
15648         underflow to zero.
15649         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15650         bug 16284.
15651         * math/auto-libm-test-out: Regenerated.
15652         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15653         (ccosh_test): Likewise.
15654         (csin_test_data): Use plus_oflow.
15655         (csin_test): Use ALL_RM_TEST.
15656         (csinh_test_data): Use plus_oflow.
15657         (csinh_test): Use ALL_RM_TEST.
15658         * sysdeps/i386/fpu/libm-test-ulps: Update.
15659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15661 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15663         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15664         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15665         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15667         [BZ #16731]
15668         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15669         when x - 1 is zero.
15670         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15671         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15672         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15673         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15674         argument is 1.
15675         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15676         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15677         zero.
15678         * math/libm-test.inc (log_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  Siddhesh Poyarekar  <siddhesh@redhat.com>
15684         * scripts/bench.pl: Remove file.
15685         * scripts/bench.py: New benchmark script.
15686         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15687         * benchtests/README: Mention python dependency.
15688         * scripts/pylintrc: New file.
15689         * scripts/pylint: New file.
15691         * bits/mathdef.h: Use #ifdef instead of #if.
15692         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15693         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15694         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15695         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15696         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15697         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15699 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15700             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15702         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15704         and strpbrk-ppc64 objects.
15705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15706         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15707         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15708         multiarch strpbrk for POWER7.
15709         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15710         multiarch strpbrk for PPC64.
15711         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15712         ifunc selector.
15713         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15714         strpbrk for POWER7.
15716 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15718         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15719         (atan_test): Likewise.
15720         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15721         (atanh_test): Use ALL_RM_TEST.
15722         (atan2_test_data): Likewise.
15723         (cabs_test): Likewise.
15724         (cacosh_test): Likewise.
15725         (carg_test): Likewise.
15726         (casin_test): Likewise.
15727         (casinh_test): Likewise.
15728         (cbrt_test): Likewise.
15729         (csqrt_test): Likewise.
15730         (erf_test): Likewise.
15731         (erfc_test): Likewise.
15732         (pow10_test): Likewise.
15733         (exp2_test): Likewise.
15734         (hypot_test): Likewise.
15735         (j0_test): Likewise.
15736         (j1_test): Likewise.
15737         (lgamma_test): Likewise.
15738         (gamma_test): Likewise.
15739         (sincos_test): Likewise.
15740         (tanh_test): Likewise.
15741         (y0_test): Likewise.
15742         (y1_test): Likewise.
15743         * sysdeps/i386/fpu/libm-test-ulps: Update.
15744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15746 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15748         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15750         and strcspn-ppc64 objects.
15751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15752         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15753         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15754         multiarch strcspn for POWER7.
15755         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15756         multiarch strcspn for PPC64.
15757         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15758         ifunc selector.
15759         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15760         strcspn for POWER7.
15762 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15764         * math/gen-libm-test.pl (generate_testfile): Expect only function
15765         name as argument to AUTO_TESTS_* and pass results for all rounding
15766         modes to parse_args.
15767         (parse_auto_input): Separate inputs of automatic tests from
15768         outputs before storing in %auto_tests.
15769         * math/libm-test.inc (acos_test_data): Update call to
15770         AUTO_TESTS_f_f.
15771         (acos_test): Use ALL_RM_TEST.
15772         (acos_tonearest_test_data): Remove.
15773         (acos_test_tonearest): Likewise.
15774         (acos_towardzero_test_data): Likewise.
15775         (acos_test_towardzero): Likewise.
15776         (acos_downward_test_data): Likewise.
15777         (acos_test_downward): Likewise.
15778         (acos_upward_test_data): Likewise.
15779         (acos_test_upward): Likewise.
15780         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15781         (asin_test_data): Likewise.
15782         (asin_test): Use ALL_RM_TEST.
15783         (asin_tonearest_test_data): Remove.
15784         (asin_test_tonearest): Likewise.
15785         (asin_towardzero_test_data): Likewise.
15786         (asin_test_towardzero): Likewise.
15787         (asin_downward_test_data): Likewise.
15788         (asin_test_downward): Likewise.
15789         (asin_upward_test_data): Likewise.
15790         (asin_test_upward): Likewise.
15791         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15792         (atan_test_data): Likewise.
15793         (atanh_test_data): Likewise.
15794         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15795         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15796         (carg_test_data): Likewise.
15797         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15798         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15799         (ccosh_test_data): Likewise.
15800         (cexp_test_data): Likewise.
15801         (clog_test_data): Likewise.
15802         (clog10_test_data): Likewise.
15803         (cos_test_data): Update call to AUTO_TESTS_f_f.
15804         (cos_test): Use ALL_RM_TEST.
15805         (cos_tonearest_test_data): Remove.
15806         (cos_test_tonearest): Likewise.
15807         (cos_towardzero_test_data): Likewise.
15808         (cos_test_towardzero): Likewise.
15809         (cos_downward_test_data): Likewise.
15810         (cos_test_downward): Likewise.
15811         (cos_upward_test_data): Likewise.
15812         (cos_test_upward): Likewise.
15813         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15814         (cosh_test): Use ALL_RM_TEST.
15815         (cosh_tonearest_test_data): Remove.
15816         (cosh_test_tonearest): Likewise.
15817         (cosh_towardzero_test_data): Likewise.
15818         (cosh_test_towardzero): Likewise.
15819         (cosh_downward_test_data): Likewise.
15820         (cosh_test_downward): Likewise.
15821         (cosh_upward_test_data): Likewise.
15822         (cosh_test_upward): Likewise.
15823         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15824         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15825         (ctan_test_data): Likewise.
15826         (ctan_test): Use ALL_RM_TEST.
15827         (ctan_tonearest_test_data): Remove.
15828         (ctan_test_tonearest): Likewise.
15829         (ctan_towardzero_test_data): Likewise.
15830         (ctan_test_towardzero): Likewise.
15831         (ctan_downward_test_data): Likewise.
15832         (ctan_test_downward): Likewise.
15833         (ctan_upward_test_data): Likewise.
15834         (ctan_test_upward): Likewise.
15835         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15836         (ctanh_test): Use ALL_RM_TEST.
15837         (ctanh_tonearest_test_data): Remove.
15838         (ctanh_test_tonearest): Likewise.
15839         (ctanh_towardzero_test_data): Likewise.
15840         (ctanh_test_towardzero): Likewise.
15841         (ctanh_downward_test_data): Likewise.
15842         (ctanh_test_downward): Likewise.
15843         (ctanh_upward_test_data): Likewise.
15844         (ctanh_test_upward): Likewise.
15845         (erf_test_data): Update call to AUTO_TESTS_f_f.
15846         (erfc_test_data): Likewise.
15847         (exp_test_data): Likewise.
15848         (exp_test): Use ALL_RM_TEST.
15849         (exp_tonearest_test_data): Remove.
15850         (exp_test_tonearest): Likewise.
15851         (exp_towardzero_test_data): Likewise.
15852         (exp_test_towardzero): Likewise.
15853         (exp_downward_test_data): Likewise.
15854         (exp_test_downward): Likewise.
15855         (exp_upward_test_data): Likewise.
15856         (exp_test_upward): Likewise.
15857         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15858         (exp10_test): Use ALL_RM_TEST.
15859         (exp10_tonearest_test_data): Remove.
15860         (exp10_test_tonearest): Likewise.
15861         (exp10_towardzero_test_data): Likewise.
15862         (exp10_test_towardzero): Likewise.
15863         (exp10_downward_test_data): Likewise.
15864         (exp10_test_downward): Likewise.
15865         (exp10_upward_test_data): Likewise.
15866         (exp10_test_upward): Likewise.
15867         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15868         (expm1_test_data): Likewise.
15869         (expm1_test): Use ALL_RM_TEST.
15870         (expm1_tonearest_test_data): Remove.
15871         (expm1_test_tonearest): Likewise.
15872         (expm1_towardzero_test_data): Likewise.
15873         (expm1_test_towardzero): Likewise.
15874         (expm1_downward_test_data): Likewise.
15875         (expm1_test_downward): Likewise.
15876         (expm1_upward_test_data): Likewise.
15877         (expm1_test_upward): Likewise.
15878         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15879         (fma_test): Use ALL_RM_TEST.
15880         (fma_towardzero_test_data): Remove.
15881         (fma_test_towardzero): Likewise.
15882         (fma_downward_test_data): Likewise.
15883         (fma_test_downward): Likewise.
15884         (fma_upward_test_data): Likewise.
15885         (fma_test_upward): Likewise.
15886         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15887         (j0_test_data): Update call to AUTO_TESTS_f_f.
15888         (j1_test_data): Likewise.
15889         (jn_test_data): Update call to AUTO_TESTS_if_f.
15890         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15891         (log_test_data): Update call to AUTO_TESTS_f_f.
15892         (log10_test_data): Likewise.
15893         (log1p_test_data): Likewise.
15894         (log2_test_data): Likewise.
15895         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15896         (pow_tonearest_test_data): Likewise.
15897         (sin_test_data): Update call to AUTO_TESTS_f_f.
15898         (sin_test): Use ALL_RM_TEST.
15899         (sin_tonearest_test_data): Remove.
15900         (sin_test_tonearest): Likewise.
15901         (sin_towardzero_test_data): Likewise.
15902         (sin_test_towardzero): Likewise.
15903         (sin_downward_test_data): Likewise.
15904         (sin_test_downward): Likewise.
15905         (sin_upward_test_data): Likewise.
15906         (sin_test_upward): Likewise.
15907         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15908         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15909         (sinh_test): Use ALL_RM_TEST.
15910         (sinh_tonearest_test_data): Remove.
15911         (sinh_test_tonearest): Likewise.
15912         (sinh_towardzero_test_data): Likewise.
15913         (sinh_test_towardzero): Likewise.
15914         (sinh_downward_test_data): Likewise.
15915         (sinh_test_downward): Likewise.
15916         (sinh_upward_test_data): Likewise.
15917         (sinh_test_upward): Likewise.
15918         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15919         (sqrt_test): Use ALL_RM_TEST.
15920         (sqrt_tonearest_test_data): Remove.
15921         (sqrt_test_tonearest): Likewise.
15922         (sqrt_towardzero_test_data): Likewise.
15923         (sqrt_test_towardzero): Likewise.
15924         (sqrt_downward_test_data): Likewise.
15925         (sqrt_test_downward): Likewise.
15926         (sqrt_upward_test_data): Likewise.
15927         (sqrt_test_upward): Likewise.
15928         (tan_test_data): Update call to AUTO_TESTS_f_f.
15929         (tan_test): Use ALL_RM_TEST.
15930         (tan_tonearest_test_data): Remove.
15931         (tan_test_tonearest): Likewise.
15932         (tan_towardzero_test_data): Likewise.
15933         (tan_test_towardzero): Likewise.
15934         (tan_downward_test_data): Likewise.
15935         (tan_test_downward): Likewise.
15936         (tan_upward_test_data): Likewise.
15937         (tan_test_upward): Likewise.
15938         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15939         (tgamma_test_data): Likewise.
15940         (y0_test_data): Likewise.
15941         (y1_test_data): Likewise.
15942         (yn_test_data): Update call to AUTO_TESTS_if_f.
15943         (main): Do not call removed functions.
15945 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15947         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15948         (ldexp_test_data): Remove.
15949         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15950         scalbn_test_data.
15951         (scalb_test): Use ALL_RM_TEST.
15953 2014-03-19  Andreas Schwab  <schwab@suse.de>
15955         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15957 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15959         [BZ #16649]
15960         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15961         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15962         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15964         (__ASSUME_PREADV): Undefine.
15965         (__ASSUME_PWRITEV): Likewise.
15967 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15969         * bits/mman-linux.h: Add comment about non-Linux use.
15970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15971         bits/mman-linux.h resting place.
15973         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15974         * bits/mman-linux.h: ... here.
15976 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15978         * conform/conformtest.pl: Add standard definition when calling C
15979         preprocessor on data files.
15980         (checknamespace): Remove unused variable.
15982 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15984         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15985         minus_oflow, plus_uflow and minus_uflow in expected results.
15986         * math/libm-test.inc (scalbn_test_data): Add more tests of
15987         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
15988         minus_uflow.
15989         (scalbn_test): Use ALL_RM_TEST.
15990         (scalbln_test_data): Add more tests of negative arguments.  Use
15991         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15992         (scalbln_test): Use ALL_RM_TEST.
15994 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15996         * scripts/abilist.awk: Ignore symbols marked with .hidden.
15998 2014-03-18  Will Newton  <will.newton@linaro.org>
16000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16001         inaccurate comment.
16003 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16005         * Makerules [!subdir] (check-abi): Exit with error status if a
16006         test failed.
16008 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16010         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16011         for rint.  Include results for all rounding modes.
16012         (nearbyint_test): Use ALL_RM_TEST.
16013         (rint_test_data): Include all tests used for nearbyint.
16015 2014-03-17  Will Newton  <will.newton@linaro.org>
16017         * nptl/sysdeps/pthread/pthread.h: Revert previous
16018         change.
16020         * sysdeps/generic/ldsodefs.h: Revert previous
16021         change.
16023         * libio/genops.c: Revert previous change.
16024         * libio/libioP.h: Likewise.
16025         * stdio-common/vfprintf.c: Likewise.
16027         * sysdeps/generic/math_private.h: Revert previous
16028         change.
16030         * sysdeps/generic/math_private.h: Check whether
16031         HAVE_RM_CTX is defined with #ifdef rather
16032         than #if.
16034         * argp/argp-fmtstream.h: Check whether
16035         __STRICT_ANSI__ is defined with #ifdef rather
16036         than #if.
16037         * argp/argp.h: Likewise.
16039         * libio/genops.c: Check whether
16040         _IO_JUMPS_OFFSET is defined with #ifdef rather
16041         than #if.
16042         * libio/libioP.h: Likewise.
16043         * stdio-common/vfprintf.c: Likewise.
16045         * sysdeps/generic/ldsodefs.h: Check whether
16046         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16047         than #if.
16049         * nptl/sysdeps/pthread/pthread.h: Check
16050         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16051         its value.
16053 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16055         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16056         setting O_APPEND.
16057         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16058         test case.
16060         [BZ #16680]
16061         * libio/fileops.c (_IO_file_open): Seek to end of file but
16062         don't cache the offset.
16063         (get_file_offset): Remove function.
16064         (do_ftell): Use cached offset when available.
16065         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16066         don't cache the offset.
16067         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16068         case.
16069         (do_one_test): Call it.
16070         (do_ftell_test): Fix up expected old offset for a+ mode.
16071         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16072         available.
16074         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16075         up test status with function return status.
16076         (do_write_test): Likewise.
16077         (do_append_test): Likewise.
16079         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16080         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16081         Remove.
16083 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16085         * math/gen-libm-test.pl (parse_args): Handle results specified for
16086         each rounding mode separately.
16087         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16088         tests and results from lrint_tonearest_test_data,
16089         lrint_towardzero_test_data, lrint_downward_test_data and
16090         lrint_upward_test_data.
16091         (lrint_test): Use ALL_RM_TEST.
16092         (lrint_tonearest_test_data): Remove.
16093         (lrint_test_tonearest): Likewise.
16094         (lrint_towardzero_test_data): Likewise.
16095         (lrint_test_towardzero): Likewise.
16096         (lrint_downward_test_data): Likewise.
16097         (lrint_test_downward): Likewise.
16098         (lrint_upward_test_data): Likewise.
16099         (lrint_test_upward): Likewise.
16100         (llrint_test_data): Merge in per-rounding-mode tests and results
16101         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16102         llrint_downward_test_data and llrint_upward_test_data.
16103         (llrint_test): Use ALL_RM_TEST.
16104         (llrint_tonearest_test_data): Remove.
16105         (llrint_test_tonearest): Likewise.
16106         (llrint_towardzero_test_data): Likewise.
16107         (llrint_test_towardzero): Likewise.
16108         (llrint_downward_test_data): Likewise.
16109         (llrint_test_downward): Likewise.
16110         (llrint_upward_test_data): Likewise.
16111         (llrint_test_upward): Likewise.
16112         (rint_test_data): Merge in per-rounding-mode tests and results
16113         from rint_tonearest_test_data, rint_towardzero_test_data,
16114         rint_downward_test_data and rint_upward_test_data.  Add
16115         per-rounding-mode results for tests not in those arrays.
16116         (rint_test): Use ALL_RM_TEST.
16117         (rint_tonearest_test_data): Remove.
16118         (rint_test_tonearest): Likewise.
16119         (rint_towardzero_test_data): Likewise.
16120         (rint_test_towardzero): Likewise.
16121         (rint_downward_test_data): Likewise.
16122         (rint_test_downward): Likewise.
16123         (rint_upward_test_data): Likewise.
16124         (rint_test_upward): Likewise.
16125         (main): Don't call removed functions.
16127 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16129         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16130         "Compiled on ..." crapola.  It is anti-useful.
16132 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16134         * scripts/evaluate-test.sh: Handle fourth argument to determine
16135         whether test run should stop on failure.
16136         * Makeconfig (stop-on-test-failure): New variable.
16137         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16138         $(stop-on-test-failure).
16139         * Makefile (tests): Give a summary of results from testing and
16140         exit with failure status if they include an ERROR or FAIL.
16141         (xtests): Likewise.
16142         * manual/install.texi (Configuring and compiling): Mention
16143         stop-on-test-failure=y.
16144         * INSTALL: Regenerated.
16146 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16148         * scripts/versionlist.awk: New file.
16149         * Makerules [$(build-shared) = yes]
16150         (postclean-generated): Add Versions.def, not Versions.def.v and
16151         Versions.def.v.i.
16152         ($(common-objpfx)Versions.def.v.i): Target removed.
16153         ($(common-objpfx)Versions.def): New target.
16154         ($(common-objpfx)Versions.all): Depend on that rather that
16155         $(common-objpfx)Versions.def.v.
16156         * Versions.def: File removed.
16158         * Makeconfig (+gccwarn): Add -Wundef.
16159         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16160         a dl-sysdep.h breaking its contract.
16161         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16162         * include/stackinfo.h: New file.
16163         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16164         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16165         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16166         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16167         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16168         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16169         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16170         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16171         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16172         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16173         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16174         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16175         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16176         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16177         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16179 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16181         [BZ #16707]
16182         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16183         implementation.
16184         * math/libm-test.inc (round_test_data): Add more tests.
16186         [BZ #16706]
16187         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16188         implementation.
16189         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16191         [BZ #16701]
16192         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16193         implementation.
16194         * math/libm-test.inc (ceil_test_data): Add more tests.
16196         * math/libm-test.inc (trunc_test_data): Add more tests related to
16197         BZ#16414.
16199 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16201         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16202         with #if rather than #ifdef.
16203         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16205 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16207         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16208         first.  Disable AVX-512 GCC support if assembler doesn't support
16209         it.
16210         * sysdeps/x86_64/configure: Regenerated.
16212 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16214         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16215         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16216         (__old_pthread_attr_setstack): Likewise.
16217         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16218         [!_STACK_GROWS_DOWN]: Likewise.
16220 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16222         * config.make.in (have-bash2): Delete.
16223         * configure.ac (libc_cv_have_bash2): Delete.
16224         * configure: Regenerate.
16225         * elf/Makefile (common-ldd-rewrite): Rename to ...
16226         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16227         (sh-ldd-rewrite): Delete.
16228         (bash-ldd-rewrite): Delete.
16229         (have-bash2): Delete checks.
16230         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16231         ldd-rewrite.
16233         * config.make.in (have-ksh): Delete.
16234         (KSH): Delete.
16235         * configure.ac (libc_cv_have_ksh): Delete.
16236         * configure: Regenerate.
16238         * elf/Makefile: Delete $(have-ksh) check.
16239         ($(objpfx)sotruss): Change KSH to BASH.
16240         * elf/sotruss.ksh: Rename to ...
16241         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16242         function style to match POSIX.  Drop ksh vim mode setting.
16244         * manual/time.texi (Specifying the Time Zone with TZ): Change
16245         Tuesday to Thursday.
16247         * debug/tst-longjmp_chk2.c: Update header comment.
16248         (stackoverflow_handler): Add comment.  Call assert on pass value.
16250 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16252         [BZ #16194]
16253         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16254         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16255         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16256         (La_x86_64_vector): Add zmm.
16257         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16258         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16259         ($(objpfx)tst-audit10): New target.
16260         ($(objpfx)tst-audit10.out): Likewise.
16261         (tst-audit10-ENV): New.
16262         (AVX512-CFLAGS): Likewise.
16263         (CFLAGS-tst-audit10.c): Likewise.
16264         (CFLAGS-tst-auditmod10a.c): Likewise.
16265         (CFLAGS-tst-auditmod10b.c): Likewise.
16266         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16267         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16268         * sysdeps/x86_64/configure: Regenerated.
16269         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16270         AVX-512 zmm register support.
16271         (_dl_x86_64_save_sse): Likewise.
16272         (_dl_x86_64_restore_sse): Likewise.
16273         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16274         size vector registers.
16275         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16276         (ZMM_SIZE): Likewise.
16277         * sysdeps/x86_64/tst-audit10.c: New file.
16278         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16279         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16281 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16283         * configure.ac (HAVE_EHDR_START): New check.
16284         * configure: Regenerated.
16285         * config.h.in (HAVE_EHDR_START): New #undef.
16286         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16287         assuming the lowest-addressed segment maps the start of the file.
16289 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16291         * INSTALL: Regenerated.
16293 2014-03-13  Will Newton  <will.newton@linaro.org>
16295         * manual/setjmp.texi (System V contexts): Improve
16296         clarity and grammar of documentation.
16298 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16300         [BZ #16381]
16301         * elf/Makefile (tests): Add tst-pie2.
16302         (tests-pie): Add tst-pie2.
16303         * elf/tst-pie2.c: New file.
16304         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16305         for ET_EXEC.
16306         * elf/rtld.c (map_doit): Load executable as lt_executable.
16307         (dl_main): Likewise.
16309 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16311         [BZ #16642]
16312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16313         (__ASSUME_PSELECT): Undefine.
16315 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16317         [BZ #16689]
16318         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16319         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16320         static build.
16321         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16322         selector for static builds.
16324 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16326         [BZ #16695]
16327         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16328         key in the buffer.
16330 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16332         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16333         IFUNC selector for static builds.
16335 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16337         * sysdeps/mips/math_private.h [__mips_hard_float]
16338         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16339         libc_feresetround_mips_ctx.
16340         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16341         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16342         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16344         [BZ #16677]
16345         * math/s_nextafter.c (__nextafter): Do not return value from
16346         overflowing computation.
16347         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16348         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16349         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16350         Likewise.
16351         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16352         Likewise.
16353         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16354         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16356 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16358         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16359         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16360         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16361         the new mov targetting sp.
16363 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16365         [BZ #16683]
16366         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16367         Define it for static builds as well.
16368         (NO_BZERO_IMPL): Likewise.
16370 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16372         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16373         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16374         multiarch strspn for PPC64.
16375         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16376         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16378         (__libc_ifunc_impl_list): Likewise.
16379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16380         multiarch optimizations
16381         * string/strspn.c (strspn): Using macro to redefine symbol name.
16383 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16384             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16386         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16387         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16388         multiarch strncat for PPC64.
16389         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16390         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16392         (__libc_ifunc_impl_list): Likewise.
16393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16394         multiarch optimizations
16396 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16398         [BZ #16639]
16399         * nscd/nscd.service: Make service type forking.
16401 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16403         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16404         sign in non default rounding modes.
16405         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16407 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16409         * math/libm-test.inc (ALL_RM_TEST): New macro.
16410         (ceil_test): Use ALL_RM_TEST.
16411         (cimag_test): Likewise.
16412         (conj_test): Likewise.
16413         (copysign_test): Likewise.
16414         (cproj_test): Likewise.
16415         (creal_test): Likewise.
16416         (fabs_test): Likewise.
16417         (floor_test): Likewise.
16418         (fmax_test): Likewise.
16419         (fmin_test): Likewise.
16420         (fmod_test): Likewise.
16421         (fpclassify_test): Likewise.
16422         (frexp_test): Likewise.
16423         (ilogb_test): Likewise.
16424         (isfinite_test): Likewise.
16425         (finite_test): Likewise.
16426         (isgreater_test): Likewise.
16427         (isgreaterequal_test): Likewise.
16428         (isinf_test): Likewise.
16429         (isless_test): Likewise.
16430         (islessequal_test): Likewise.
16431         (islessgreater_test): Likewise.
16432         (isnan_test): Likewise.
16433         (isnormal_test): Likewise.
16434         (issignaling_test): Likewise.
16435         (isunordered_test): Likewise.
16436         (logb_test): Likewise.
16437         (logb_downward_test_data): Remove.
16438         (logb_test_downward): Likewise.
16439         (lround_test): Use ALL_RM_TEST.
16440         (llround_test): Likewise.
16441         (modf_test): Likewise.
16442         (nexttoward_test): Likewise.
16443         (remainder_test): Likewise.
16444         (drem_test): Likewise.
16445         (remainder_tonearest_test_data): Likewise.
16446         (remainder_test_tonearest): Likewise.
16447         (drem_test_tonearest): Likewise.
16448         (remainder_towardzero_test_data): Likewise.
16449         (remainder_test_towardzero): Likewise.
16450         (drem_test_towardzero): Likewise.
16451         (remainder_downward_test_data): Likewise.
16452         (remainder_test_downward): Likewise.
16453         (drem_test_downward): Likewise.
16454         (remainder_upward_test_data): Likewise.
16455         (remainder_test_upward): Likewise.
16456         (drem_test_upward): Likewise.
16457         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16458         (round_test): Use ALL_RM_TEST.
16459         (signbit_test): Likewise.
16460         (trunc_test): Likewise.
16461         (significand_test): Likewise.
16462         (main): Don't call removed functions.
16464 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16466         [BZ #16674]
16467         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16468         || __USE_XOPEN2K8].
16469         (ILL_ILLOPN): Likewise.
16470         (ILL_ILLADR): Likewise.
16471         (ILL_ILLTRP): Likewise.
16472         (ILL_PRVOPC): Likewise.
16473         (ILL_PRVREG): Likewise.
16474         (ILL_COPROC): Likewise.
16475         (ILL_BADSTK): Likewise.
16476         (FPE_INTDIV): Likewise.
16477         (FPE_INTOVF): Likewise.
16478         (FPE_FLTDIV): Likewise.
16479         (FPE_FLTOVF): Likewise.
16480         (FPE_FLTUND): Likewise.
16481         (FPE_FLTRES): Likewise.
16482         (FPE_FLTINV): Likewise.
16483         (FPE_FLTSUB): Likewise.
16484         (SEGV_MAPERR): Likewise.
16485         (SEGV_ACCERR): Likewise.
16486         (BUS_ADRALN): Likewise.
16487         (BUS_ADRERR): Likewise.
16488         (BUS_OBJERR): Likewise.
16489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16490         (TRAP_TRACE): Likewise.
16491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16492         __USE_XOPEN2K8].
16493         (CLD_KILLED): Likewise.
16494         (CLD_DUMPED): Likewise.
16495         (CLD_TRAPPED): Likewise.
16496         (CLD_STOPPED): Likewise.
16497         (CLD_CONTINUED): Likewise.
16498         (POLL_IN): Likewise.
16499         (POLL_OUT): Likewise.
16500         (POLL_MSG): Likewise.
16501         (POLL_ERR): Likewise.
16502         (POLL_PRI): Likewise.
16503         (POLL_HUP): Likewise.
16504         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16505         Likewise.
16506         (ILL_ILLOPN): Likewise.
16507         (ILL_ILLADR): Likewise.
16508         (ILL_ILLTRP): Likewise.
16509         (ILL_PRVOPC): Likewise.
16510         (ILL_PRVREG): Likewise.
16511         (ILL_COPROC): Likewise.
16512         (ILL_BADSTK): Likewise.
16513         (FPE_INTDIV): Likewise.
16514         (FPE_INTOVF): Likewise.
16515         (FPE_FLTDIV): Likewise.
16516         (FPE_FLTOVF): Likewise.
16517         (FPE_FLTUND): Likewise.
16518         (FPE_FLTRES): Likewise.
16519         (FPE_FLTINV): Likewise.
16520         (FPE_FLTSUB): Likewise.
16521         (SEGV_MAPERR): Likewise.
16522         (SEGV_ACCERR): Likewise.
16523         (BUS_ADRALN): Likewise.
16524         (BUS_ADRERR): Likewise.
16525         (BUS_OBJERR): Likewise.
16526         (BUS_MCEERR_AR): Likewise.
16527         (BUS_MCEERR_AO): Likewise.
16528         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16529         (TRAP_TRACE): Likewise.
16530         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16531         __USE_XOPEN2K8].
16532         (CLD_KILLED): Likewise.
16533         (CLD_DUMPED): Likewise.
16534         (CLD_TRAPPED): Likewise.
16535         (CLD_STOPPED): Likewise.
16536         (CLD_CONTINUED): Likewise.
16537         (POLL_IN): Likewise.
16538         (POLL_OUT): Likewise.
16539         (POLL_MSG): Likewise.
16540         (POLL_ERR): Likewise.
16541         (POLL_PRI): Likewise.
16542         (POLL_HUP): Likewise.
16543         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16544         (ILL_ILLOPN): Likewise.
16545         (ILL_ILLADR): Likewise.
16546         (ILL_ILLTRP): Likewise.
16547         (ILL_PRVOPC): Likewise.
16548         (ILL_PRVREG): Likewise.
16549         (ILL_COPROC): Likewise.
16550         (ILL_BADSTK): Likewise.
16551         (FPE_INTDIV): Likewise.
16552         (FPE_INTOVF): Likewise.
16553         (FPE_FLTDIV): Likewise.
16554         (FPE_FLTOVF): Likewise.
16555         (FPE_FLTUND): Likewise.
16556         (FPE_FLTRES): Likewise.
16557         (FPE_FLTINV): Likewise.
16558         (FPE_FLTSUB): Likewise.
16559         (SEGV_MAPERR): Likewise.
16560         (SEGV_ACCERR): Likewise.
16561         (BUS_ADRALN): Likewise.
16562         (BUS_ADRERR): Likewise.
16563         (BUS_OBJERR): Likewise.
16564         (BUS_MCEERR_AR): Likewise.
16565         (BUS_MCEERR_AO): Likewise.
16566         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16567         (TRAP_TRACE): Likewise.
16568         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16569         __USE_XOPEN2K8].
16570         (CLD_KILLED): Likewise.
16571         (CLD_DUMPED): Likewise.
16572         (CLD_TRAPPED): Likewise.
16573         (CLD_STOPPED): Likewise.
16574         (CLD_CONTINUED): Likewise.
16575         (POLL_IN): Likewise.
16576         (POLL_OUT): Likewise.
16577         (POLL_MSG): Likewise.
16578         (POLL_ERR): Likewise.
16579         (POLL_PRI): Likewise.
16580         (POLL_HUP): Likewise.
16581         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16582         Likewise.
16583         (ILL_ILLOPN): Likewise.
16584         (ILL_ILLADR): Likewise.
16585         (ILL_ILLTRP): Likewise.
16586         (ILL_PRVOPC): Likewise.
16587         (ILL_PRVREG): Likewise.
16588         (ILL_COPROC): Likewise.
16589         (ILL_BADSTK): Likewise.
16590         (ILL_BADIADDR): Likewise.
16591         (ILL_BREAK): Likewise.
16592         (FPE_INTDIV): Likewise.
16593         (FPE_INTOVF): Likewise.
16594         (FPE_FLTDIV): Likewise.
16595         (FPE_FLTOVF): Likewise.
16596         (FPE_FLTUND): Likewise.
16597         (FPE_FLTRES): Likewise.
16598         (FPE_FLTINV): Likewise.
16599         (FPE_FLTSUB): Likewise.
16600         (FPE_DECOVF): Likewise.
16601         (FPE_DECDIV): Likewise.
16602         (FPE_DECERR): Likewise.
16603         (FPE_INVASC): Likewise.
16604         (FPE_INVDEC): Likewise.
16605         (SEGV_MAPERR): Likewise.
16606         (SEGV_ACCERR): Likewise.
16607         (SEGV_PSTKOVF): Likewise.
16608         (BUS_ADRALN): Likewise.
16609         (BUS_ADRERR): Likewise.
16610         (BUS_OBJERR): Likewise.
16611         (BUS_MCEERR_AR): Likewise.
16612         (BUS_MCEERR_AO): Likewise.
16613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16614         (TRAP_TRACE): Likewise.
16615         (TRAP_BRANCH): Likewise.
16616         (TRAP_HWBKPT): Likewise.
16617         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16618         __USE_XOPEN2K8].
16619         (CLD_KILLED): Likewise.
16620         (CLD_DUMPED): Likewise.
16621         (CLD_TRAPPED): Likewise.
16622         (CLD_STOPPED): Likewise.
16623         (CLD_CONTINUED): Likewise.
16624         (POLL_IN): Likewise.
16625         (POLL_OUT): Likewise.
16626         (POLL_MSG): Likewise.
16627         (POLL_ERR): Likewise.
16628         (POLL_PRI): Likewise.
16629         (POLL_HUP): Likewise.
16630         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16631         (ILL_ILLOPN): Likewise.
16632         (ILL_ILLADR): Likewise.
16633         (ILL_ILLTRP): Likewise.
16634         (ILL_PRVOPC): Likewise.
16635         (ILL_PRVREG): Likewise.
16636         (ILL_COPROC): Likewise.
16637         (ILL_BADSTK): Likewise.
16638         (FPE_INTDIV): Likewise.
16639         (FPE_INTOVF): Likewise.
16640         (FPE_FLTDIV): Likewise.
16641         (FPE_FLTOVF): Likewise.
16642         (FPE_FLTUND): Likewise.
16643         (FPE_FLTRES): Likewise.
16644         (FPE_FLTINV): Likewise.
16645         (FPE_FLTSUB): Likewise.
16646         (SEGV_MAPERR): Likewise.
16647         (SEGV_ACCERR): Likewise.
16648         (BUS_ADRALN): Likewise.
16649         (BUS_ADRERR): Likewise.
16650         (BUS_OBJERR): Likewise.
16651         (BUS_MCEERR_AR): Likewise.
16652         (BUS_MCEERR_AO): Likewise.
16653         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16654         (TRAP_TRACE): Likewise.
16655         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16656         __USE_XOPEN2K8].
16657         (CLD_KILLED): Likewise.
16658         (CLD_DUMPED): Likewise.
16659         (CLD_TRAPPED): Likewise.
16660         (CLD_STOPPED): Likewise.
16661         (CLD_CONTINUED): Likewise.
16662         (POLL_IN): Likewise.
16663         (POLL_OUT): Likewise.
16664         (POLL_MSG): Likewise.
16665         (POLL_ERR): Likewise.
16666         (POLL_PRI): Likewise.
16667         (POLL_HUP): Likewise.
16668         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16669         (ILL_ILLOPN): Likewise.
16670         (ILL_ILLADR): Likewise.
16671         (ILL_ILLTRP): Likewise.
16672         (ILL_PRVOPC): Likewise.
16673         (ILL_PRVREG): Likewise.
16674         (ILL_COPROC): Likewise.
16675         (ILL_BADSTK): Likewise.
16676         (FPE_INTDIV): Likewise.
16677         (FPE_INTOVF): Likewise.
16678         (FPE_FLTDIV): Likewise.
16679         (FPE_FLTOVF): Likewise.
16680         (FPE_FLTUND): Likewise.
16681         (FPE_FLTRES): Likewise.
16682         (FPE_FLTINV): Likewise.
16683         (FPE_FLTSUB): Likewise.
16684         (SEGV_MAPERR): Likewise.
16685         (SEGV_ACCERR): Likewise.
16686         (BUS_ADRALN): Likewise.
16687         (BUS_ADRERR): Likewise.
16688         (BUS_OBJERR): Likewise.
16689         (BUS_MCEERR_AR): Likewise.
16690         (BUS_MCEERR_AO): Likewise.
16691         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16692         (TRAP_TRACE): Likewise.
16693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16694         __USE_XOPEN2K8].
16695         (CLD_KILLED): Likewise.
16696         (CLD_DUMPED): Likewise.
16697         (CLD_TRAPPED): Likewise.
16698         (CLD_STOPPED): Likewise.
16699         (CLD_CONTINUED): Likewise.
16700         (POLL_IN): Likewise.
16701         (POLL_OUT): Likewise.
16702         (POLL_MSG): Likewise.
16703         (POLL_ERR): Likewise.
16704         (POLL_PRI): Likewise.
16705         (POLL_HUP): Likewise.
16706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16707         (ILL_ILLOPN): Likewise.
16708         (ILL_ILLADR): Likewise.
16709         (ILL_ILLTRP): Likewise.
16710         (ILL_PRVOPC): Likewise.
16711         (ILL_PRVREG): Likewise.
16712         (ILL_COPROC): Likewise.
16713         (ILL_BADSTK): Likewise.
16714         (FPE_INTDIV): Likewise.
16715         (FPE_INTOVF): Likewise.
16716         (FPE_FLTDIV): Likewise.
16717         (FPE_FLTOVF): Likewise.
16718         (FPE_FLTUND): Likewise.
16719         (FPE_FLTRES): Likewise.
16720         (FPE_FLTINV): Likewise.
16721         (FPE_FLTSUB): Likewise.
16722         (SEGV_MAPERR): Likewise.
16723         (SEGV_ACCERR): Likewise.
16724         (BUS_ADRALN): Likewise.
16725         (BUS_ADRERR): Likewise.
16726         (BUS_OBJERR): Likewise.
16727         (BUS_MCEERR_AR): Likewise.
16728         (BUS_MCEERR_AO): Likewise.
16729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16730         (TRAP_TRACE): Likewise.
16731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16732         __USE_XOPEN2K8].
16733         (CLD_KILLED): Likewise.
16734         (CLD_DUMPED): Likewise.
16735         (CLD_TRAPPED): Likewise.
16736         (CLD_STOPPED): Likewise.
16737         (CLD_CONTINUED): Likewise.
16738         (POLL_IN): Likewise.
16739         (POLL_OUT): Likewise.
16740         (POLL_MSG): Likewise.
16741         (POLL_ERR): Likewise.
16742         (POLL_PRI): Likewise.
16743         (POLL_HUP): Likewise.
16744         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16745         (ILL_ILLOPN): Likewise.
16746         (ILL_ILLADR): Likewise.
16747         (ILL_ILLTRP): Likewise.
16748         (ILL_PRVOPC): Likewise.
16749         (ILL_PRVREG): Likewise.
16750         (ILL_COPROC): Likewise.
16751         (ILL_BADSTK): Likewise.
16752         (ILL_DBLFLT): Likewise.
16753         (ILL_HARDWALL): Likewise.
16754         (FPE_INTDIV): Likewise.
16755         (FPE_INTOVF): Likewise.
16756         (FPE_FLTDIV): Likewise.
16757         (FPE_FLTOVF): Likewise.
16758         (FPE_FLTUND): Likewise.
16759         (FPE_FLTRES): Likewise.
16760         (FPE_FLTINV): Likewise.
16761         (FPE_FLTSUB): Likewise.
16762         (SEGV_MAPERR): Likewise.
16763         (SEGV_ACCERR): Likewise.
16764         (BUS_ADRALN): Likewise.
16765         (BUS_ADRERR): Likewise.
16766         (BUS_OBJERR): Likewise.
16767         (BUS_MCEERR_AR): Likewise.
16768         (BUS_MCEERR_AO): Likewise.
16769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16770         (TRAP_TRACE): Likewise.
16771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16772         __USE_XOPEN2K8].
16773         (CLD_KILLED): Likewise.
16774         (CLD_DUMPED): Likewise.
16775         (CLD_TRAPPED): Likewise.
16776         (CLD_STOPPED): Likewise.
16777         (CLD_CONTINUED): Likewise.
16778         (POLL_IN): Likewise.
16779         (POLL_OUT): Likewise.
16780         (POLL_MSG): Likewise.
16781         (POLL_ERR): Likewise.
16782         (POLL_PRI): Likewise.
16783         (POLL_HUP): Likewise.
16784         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16785         (ILL_ILLOPN): Likewise.
16786         (ILL_ILLADR): Likewise.
16787         (ILL_ILLTRP): Likewise.
16788         (ILL_PRVOPC): Likewise.
16789         (ILL_PRVREG): Likewise.
16790         (ILL_COPROC): Likewise.
16791         (ILL_BADSTK): Likewise.
16792         (FPE_INTDIV): Likewise.
16793         (FPE_INTOVF): Likewise.
16794         (FPE_FLTDIV): Likewise.
16795         (FPE_FLTOVF): Likewise.
16796         (FPE_FLTUND): Likewise.
16797         (FPE_FLTRES): Likewise.
16798         (FPE_FLTINV): Likewise.
16799         (FPE_FLTSUB): Likewise.
16800         (SEGV_MAPERR): Likewise.
16801         (SEGV_ACCERR): Likewise.
16802         (BUS_ADRALN): Likewise.
16803         (BUS_ADRERR): Likewise.
16804         (BUS_OBJERR): Likewise.
16805         (BUS_MCEERR_AR): Likewise.
16806         (BUS_MCEERR_AO): Likewise.
16807         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16808         (TRAP_TRACE): Likewise.
16809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16810         __USE_XOPEN2K8].
16811         (CLD_KILLED): Likewise.
16812         (CLD_DUMPED): Likewise.
16813         (CLD_TRAPPED): Likewise.
16814         (CLD_STOPPED): Likewise.
16815         (CLD_CONTINUED): Likewise.
16816         (POLL_IN): Likewise.
16817         (POLL_OUT): Likewise.
16818         (POLL_MSG): Likewise.
16819         (POLL_ERR): Likewise.
16820         (POLL_PRI): Likewise.
16821         (POLL_HUP): Likewise.
16822         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16823         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16825         [BZ #16670]
16826         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16827         before #include of <time.h>.
16828         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16829         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16830         (test-xfail-UNIX98/sched.h/conform): Likewise.
16832 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16834         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16835         error absence of trapping exception support.
16836         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16838 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16840         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16841         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16842         * timezone/Makefile (testdata): Move definition above include of
16843         Rules.
16844         (test-zones): New variable.
16845         (tests-special): Add zone files.
16846         (build-testdata): Use $(evaluate-test).
16848         * elf/Makefile (tests-special): Rename tests to end with .out.
16849         ($(objpfx)noload-mem): Likewise.
16850         ($(objpfx)tst-leaks1-mem): Likewise.
16851         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16852         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16853         $(objpfx)test-iconvconfig.out.
16854         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16855         set -e inside subshell and redirect output to file.
16856         * iconvdata/Makefile (generated): Rename tests to end with .out.
16857         Correct type.
16858         (tests-special): Rename tests to end with .out.
16859         ($(objpfx)mtrace-tst-loading): Likewise.
16860         * intl/Makefile (generated): Likewise.
16861         (tests-special): Likewise.
16862         ($(objpfx)mtrace-tst-gettext): Likewise.
16863         * misc/Makefile (generated): Likewise.
16864         (tests-special): Likewise.
16865         ($(objpfx)tst-error1-mem): Likewise.
16866         * nptl/Makefile (tests-special): Likewise.
16867         ($(objpfx)tst-stack3-mem): Likewise.
16868         (generated): Likewise.
16869         * posix/Makefile (generated): Likewise.
16870         (tests-special): Likewise.
16871         (xtests-special): Likewise.
16872         ($(objpfx)tst-fnmatch-mem): Likewise.
16873         ($(objpfx)bug-regex2-mem): Likewise.
16874         ($(objpfx)bug-regex14-mem): Likewise.
16875         ($(objpfx)bug-regex21-mem): Likewise.
16876         ($(objpfx)bug-regex31-mem): Likewise.
16877         ($(objpfx)tst-vfork3-mem): Likewise.
16878         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16879         ($(objpfx)tst-pcre-mem): Likewise.
16880         ($(objpfx)tst-boost-mem): Likewise.
16881         ($(objpfx)bug-ga2-mem): Likewise.
16882         ($(objpfx)bug-glob2-mem): Likewise.
16883         * resolv/Makefile (generate): Likewise.
16884         (tests-special): Likewise.
16885         (xtests-special): Likewise.
16886         (generated): Likewise.
16887         ($(objpfx)mtrace-tst-leaks): Likewise.
16888         ($(objpfx)mtrace-tst-leaks2): Likewise.
16890         * scripts/merge-test-results.sh: New file.
16891         * Makefile (tests-special-notdir): New variable.
16892         (tests): Run merge-test-results.sh.
16893         (xtests): Likewise.
16894         * Rules (tests-special-notdir): New variable.
16895         (xtests-special-notdir): Likewise.
16896         (tests): Run merge-test-results.sh
16897         (xtests): Likewise.
16899         * Makeconfig (test-xfail-name): New variable.
16900         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16901         compute variable name for expected failures.
16902         * conform/Makefile (conformtest-headers-data): New variable.
16903         (conformtest-standards): Likewise.
16904         (conformtest-headers-ISO): Likewise.
16905         (conformtest-headers-ISO99): Likewise.
16906         (conformtest-headers-ISO11): Likewise.
16907         (conformtest-headers-POSIX): Likewise.
16908         (conformtest-headers-XPG3): Likewise.
16909         (conformtest-headers-XPG4): Likewise.
16910         (conformtest-headers-UNIX98): Likewise.
16911         (conformtest-headers-XOPEN2K): Likewise.
16912         (conformtest-headers-POSIX2008): Likewise.
16913         (conformtest-headers-XOPEN2K8): Likewise.
16914         (conformtest-header-list-base): Likewise.
16915         (conformtest-header-list-tests): Likewise.
16916         (conformtest-header-base): Likewise.
16917         (conformtest-header-tests): Likewise.
16918         (tests-special): Add $(conformtest-header-list-tests).  If
16919         [$(fast-check) && !$(cross-compiling)], add
16920         $(conformtest-header-tests) instead of
16921         $(objpfx)run-conformtest.out.
16922         (generated): Add $(conformtest-header-list-base).  If
16923         [$(fast-check) && !$(cross-compiling)], add
16924         $(conformtest-header-base).  Remove previous setting.
16925         ($(conformtest-header-list-tests)): New target.
16926         (test-xfail-run-conformtest): Remove variable.
16927         ($(objpfx)run-conformtest.out): Remove target.
16928         (test-xfail-ISO11/complex.h/conform): New variable.
16929         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16930         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16931         (test-xfail-XPG3/varargs.h/conform): Likewise.
16932         (test-xfail-XPG4/varargs.h/conform): Likewise.
16933         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16934         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16935         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16936         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16937         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16938         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16939         (test-xfail-XPG3/ftw.h/conform): Likewise.
16940         (test-xfail-XPG3/grp.h/conform): Likewise.
16941         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16942         (test-xfail-XPG3/limits.h/conform): Likewise.
16943         (test-xfail-XPG3/pwd.h/conform): Likewise.
16944         (test-xfail-XPG3/search.h/conform): Likewise.
16945         (test-xfail-XPG3/signal.h/conform): Likewise.
16946         (test-xfail-XPG3/stdio.h/conform): Likewise.
16947         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16948         (test-xfail-XPG3/string.h/conform): Likewise.
16949         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16950         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16951         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16952         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16953         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16954         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16955         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16956         (test-xfail-XPG3/termios.h/conform): Likewise.
16957         (test-xfail-XPG3/time.h/conform): Likewise.
16958         (test-xfail-XPG3/unistd.h/conform): Likewise.
16959         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16960         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16961         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16962         (test-xfail-XPG4/netdb.h/conform): Likewise.
16963         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16964         (test-xfail-XPG4/signal.h/conform): Likewise.
16965         (test-xfail-XPG4/stdio.h/conform): Likewise.
16966         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16967         (test-xfail-XPG4/stropts.h/conform): Likewise.
16968         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16969         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16970         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16971         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16972         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16973         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16974         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16975         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16976         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16977         (test-xfail-XPG4/termios.h/conform): Likewise.
16978         (test-xfail-XPG4/ucontext.h/conform): Likewise.
16979         (test-xfail-XPG4/unistd.h/conform): Likewise.
16980         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16981         (test-xfail-POSIX/sched.h/conform): Likewise.
16982         (test-xfail-POSIX/signal.h/conform): Likewise.
16983         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16984         (test-xfail-POSIX/tar.h/conform): Likewise.
16985         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16986         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16987         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16988         (test-xfail-UNIX98/netdb.h/conform): Likewise.
16989         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16990         (test-xfail-UNIX98/sched.h/conform): Likewise.
16991         (test-xfail-UNIX98/signal.h/conform): Likewise.
16992         (test-xfail-UNIX98/stdio.h/conform): Likewise.
16993         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16994         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16995         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16996         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16997         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16998         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16999         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17000         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17001         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17002         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17003         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17004         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17005         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17006         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17007         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17008         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17009         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17010         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17011         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17012         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17013         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17014         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17015         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17016         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17017         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17018         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17019         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17020         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17021         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17022         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17023         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17024         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17025         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17026         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17027         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17028         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17029         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17030         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17031         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17032         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17033         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17034         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17035         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17036         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17037         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17038         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17039         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17040         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17041         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17042         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17043         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17044         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17045         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17046         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17047         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17048         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17049         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17050         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17051         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17052         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17053         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17054         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17055         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17056         (conformtest-cc-flags): Likewise.
17057         ($(conformtest-header-tests): New target.
17058         * conform/check-header-lists.sh: New file.
17059         * conform/run-conformtest.sh: Remove.
17061         * conform/conformtest.pl: Allow ' and \ in values given for
17062         constants.
17063         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17064         inclusion.
17065         [POSIX] (sys/types.h): Likewise.
17066         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17067         inclusion.
17068         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17069         inclusion.
17070         * conform/data/signal.h-data (SIGIO): Remove expectation.
17071         [XPG3] (SIGBUS): Do not expect.
17072         [POSIX || XPG3] (SIGPOLL): Likewise.
17073         [POSIX || XPG3] (SIGPROF): Likewise.
17074         [POSIX || XPG3] (SIGSYS): Likewise.
17075         [XPG3] (SIGTRAP): Likewise.
17076         [POSIX || XPG3] (SIGURG): Likewise.
17077         [POSIX || XPG3] (SIGVTALRM): Likewise.
17078         [POSIX || XPG3] (SIGXCPU): Likewise.
17079         [POSIX || XPG3] (SIGXFSZ): Likewise.
17080         [POSIX] (SA_SIGINFO): Expect.
17081         [XPG3] (siginfo_t): Do not expect type or contents.
17082         [POSIX] (si_pid): Do not expect element.
17083         [POSIX] (si_uid): Likewise.
17084         [POSIX] (si_addr): Likewise.
17085         [POSIX] (si_status): Likewise.
17086         [POSIX] (si_band): Likewise.
17087         [XPG4] (si_value): Likewise.
17088         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17089         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17090         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17091         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17092         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17093         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17094         [POSIX || XPG3] (ILL_COPROC): Likewise.
17095         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17096         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17097         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17098         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17099         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17100         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17101         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17102         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17103         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17104         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17105         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17106         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17107         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17108         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17109         [POSIX || XPG3] (CLD_EXITED): Likewise.
17110         [POSIX || XPG3] (CLD_KILLED): Likewise.
17111         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17112         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17113         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17114         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17115         [POSIX || XPG3] (POLL_IN): Likewise.
17116         [POSIX || XPG3] (POLL_OUT): Likewise.
17117         [POSIX || XPG3] (POLL_MSG): Likewise.
17118         [POSIX || XPG3] (POLL_ERR): Likewise.
17119         [POSIX || XPG3] (POLL_PRI): Likewise.
17120         [POSIX || XPG3] (POLL_HUP): Likewise.
17121         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17122         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17123         (SIG*): Do not allow.
17124         [XPG3] (si_*): Likewise.
17125         [XPG3] (SI_*): Likewise.
17126         [XPG3 || XPG4] (sigev_*): Likewise.
17127         [XPG3 || XPG4] (SIGEV_*): Likewise.
17128         [XPG3 || XPG4] (sival_*): Likewise.
17129         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17130         [POSIX || XPG3] (BUS_*): Likewise.
17131         [POSIX || XPG3] (CLD_*): Likewise.
17132         [POSIX || XPG3] (FPE_*): Likewise.
17133         [POSIX || XPG3] (ILL_*): Likewise.
17134         [POSIX || XPG3] (POLL_*): Likewise.
17135         [POSIX || XPG3] (SEGV_*): Likewise.
17136         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17137         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17138         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17139         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17140         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17141         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17142         Specify type and value.
17143         (TVERSLEN): Likewise.
17144         (REGTYPE): Likewise.
17145         (AREGTYPE): Likewise.
17146         (LNKTYPE): Likewise.
17147         (SYMTYPE): Likewise.
17148         (CHRTYPE): Likewise.
17149         (BLKTYPE): Likewise.
17150         (DIRTYPE): Likewise.
17151         (FIFOTYPE): Likewise.
17152         (CONTTYPE): Likewise.
17153         (TSUID): Likewise.
17154         (TSGID): Likewise.
17155         (TSVTX): Likewise.
17156         (TUREAD): Likewise.
17157         (TUWRITE): Likewise.
17158         (TUEXEC): Likewise.
17159         (TGREAD): Likewise.
17160         (TGWRITE): Likewise.
17161         (TGEXEC): Likewise.
17162         (TOREAD): Likewise.
17163         (TOWRITE): Likewise.
17164         (TOEXEC): Likewise.
17165         [POSIX] (TSVTX): Expect constant.
17167 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17169         * Makefile (tests): Change dependencies to ....
17170         (tests-special): ... additions to this variable.
17171         (tests): Depend on $(tests-special).
17172         * Makerules (check-abi-list): New variable.
17173         (check-abi): Depend on $(check-abi-list).
17174         [$(subdir) = elf] (tests-special): Add
17175         $(objpfx)check-abi-libc.out.
17176         [$(build-shared) = yes && subdir] (tests-special): Add
17177         $(check-abi-list).
17178         [$(build-shared) = yes && subdir] (tests): Do not depend on
17179         check-abi.
17180         * Rules (tests): Depend on $(tests-special).
17181         (xtests): Depend on $(xtests-special).
17182         * catgets/Makefile (tests): Change dependencies to ....
17183         (tests-special): ... additions to this variable.
17184         * conform/Makefile (tests): Change dependencies to ....
17185         (tests-special): ... additions to this variable.
17186         * elf/Makefile (tests): Change dependencies to ....
17187         (tests-special): ... additions to this variable.
17188         * grp/Makefile (tests): Change dependencies to ....
17189         (tests-special): ... additions to this variable.
17190         * iconv/Makefile (xtests): Change dependencies to ....
17191         (xtests-special): ... additions to this variable.
17192         * iconvdata/Makefile (tests): Change dependencies to ....
17193         (tests-special): ... additions to this variable.
17194         * intl/Makefile (tests): Change dependencies to ....
17195         (tests-special): ... additions to this variable.  Also add
17196         $(objpfx)tst-gettext.out.
17197         * io/Makefile (tests): Change dependencies to ....
17198         (tests-special): ... additions to this variable.
17199         * libio/Makefile (tests): Change dependencies to ....
17200         (tests-special): ... additions to this variable.
17201         * malloc/Makefile (tests): Change dependencies to ....
17202         (tests-special): ... additions to this variable.
17203         * misc/Makefile (tests): Change dependencies to ....
17204         (tests-special): ... additions to this variable.
17205         * nptl/Makefile (tests): Change dependencies to ....
17206         (tests-special): ... additions to this variable.
17207         * nptl_db/Makefile (tests): Change dependencies to ....
17208         (tests-special): ... additions to this variable.
17209         * posix/Makefile (tests): Change dependencies to ....
17210         (tests-special): ... additions to this variable.
17211         (xtests): Change dependencies to ....
17212         (xtests-special): ... additions to this variable.
17213         * resolv/Makefile (tests): Change dependencies to ....
17214         (tests-special): ... additions to this variable.
17215         (xtests): Change dependencies to ....
17216         (xtests-special): ... additions to this variable.
17217         * stdio-common/Makefile (tests): Change dependencies to ....
17218         (tests-special): ... additions to this variable.
17219         (do-tst-unbputc): Remove target.
17220         (do-tst-printf): Likewise.
17221         * stdlib/Makefile (tests): Change dependencies to ....
17222         (tests-special): ... additions to this variable.
17223         * string/Makefile (tests): Change dependencies to ....
17224         (tests-special): ... additions to this variable.
17225         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17226         (tests-special): ... additions to this variable.
17228         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17229         whole file.
17230         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17231         whole file.
17232         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17233         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17235         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17236         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17237         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17238         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17239         * conform/data/libgen.h-data [XPG3]: Likewise.
17240         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17241         * conform/data/ndbm.h-data [XPG3]: Likewise.
17242         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17243         * conform/data/netdb.h-data [XPG3]: Likewise.
17244         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17245         * conform/data/poll.h-data [XPG3]: Likewise.
17246         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17247         * conform/data/strings.h-data [XPG3]: Likewise.
17248         * conform/data/stropts.h-data [XPG3]: Likewise.
17249         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17250         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17251         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17252         Likewise.
17253         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17254         * conform/data/sys/time.h-data [XPG3]: Likewise.
17255         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17256         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17257         * conform/data/sys/un.h-data [XPG3]: Likewise.
17258         * conform/data/syslog.h-data [XPG3]: Likewise.
17259         * conform/data/ucontext.h-data [XPG3]: Likewise.
17260         * conform/data/utmpx.h-data [XPG3]: Likewise.
17261         * conform/data/varargs.h-data [UNIX98]: Enable file.
17263         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17265         * math/libm-test.inc (struct test_f_f_data): Move expected results
17266         into structure for each rounding mode.
17267         (struct test_ff_f_data): Likewise.
17268         (struct test_ff_f_data_nexttoward): Likewise.
17269         (struct test_fi_f_data): Likewise.
17270         (struct test_fl_f_data): Likewise.
17271         (struct test_if_f_data): Likewise.
17272         (struct test_fff_f_data): Likewise.
17273         (struct test_c_f_data): Likewise.
17274         (struct test_f_f1_data): Likewise.
17275         (struct test_fF_f1_data): Likewise.
17276         (struct test_ffI_f1_data): Likewise.
17277         (struct test_c_c_data): Likewise.
17278         (struct test_cc_c_data): Likewise.
17279         (struct test_f_i_data): Likewise.
17280         (struct test_ff_i_data): Likewise.
17281         (struct test_f_l_data): Likewise.
17282         (struct test_f_L_data): Likewise.
17283         (struct test_fFF_11_data): Likewise.
17284         (RM_): New macro.
17285         (RM_FE_DOWNWARD): Likewise.
17286         (RM_FE_TONEAREST): Likewise.
17287         (RM_FE_TOWARDZERO): Likewise.
17288         (RM_FE_UPWARD): Likewise.
17289         (RUN_TEST_LOOP_f_f): Update references to expected results.
17290         (RUN_TEST_LOOP_2_f): Likewise.
17291         (RUN_TEST_LOOP_fff_f): Likewise.
17292         (RUN_TEST_LOOP_c_f): Likewise.
17293         (RUN_TEST_LOOP_f_f1): Likewise.
17294         (RUN_TEST_LOOP_fF_f1): Likewise.
17295         (RUN_TEST_LOOP_fI_f1): Likewise.
17296         (RUN_TEST_LOOP_ffI_f1): Likewise.
17297         (RUN_TEST_LOOP_c_c): Likewise.
17298         (RUN_TEST_LOOP_cc_c): Likewise.
17299         (RUN_TEST_LOOP_f_i): Likewise.
17300         (RUN_TEST_LOOP_f_i_tg): Likewise.
17301         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17302         (RUN_TEST_LOOP_f_b): Likewise.
17303         (RUN_TEST_LOOP_f_b_tg): Likewise.
17304         (RUN_TEST_LOOP_f_l): Likewise.
17305         (RUN_TEST_LOOP_f_L): Likewise.
17306         (RUN_TEST_LOOP_fFF_11): Likewise.
17307         * math/gen-libm-test.pl (parse_args): Output four copies of
17308         expected results for each test.
17310         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17311         (__ASSUME_UTIMES): Remove.
17312         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17313         (__ASSUME_UTIMES): Likewise.
17315         * math/gen-auto-libm-tests.c: Update comment on output format.
17316         (output_for_one_input_case): Generate before-rounding and
17317         after-rounding information as conditions on output flags not
17318         floating-point format.
17319         * math/auto-libm-test-out: Regenerated.
17320         * math/gen-libm-test.pl (cond_value): New function.
17321         (or_cond_value): Use cond_value.
17322         (generate_testfile): Handle conditional exceptions.
17324 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17326         * math/libm-test.inc (max_valid_error): New variable.
17327         (init_max_error): Take new argument specifying whether function
17328         results are exactly determined.  Set max_valid_error and bound
17329         other variables for errors based on this argument.
17330         (set_max_error): Do not record results above max_valid_error.
17331         (check_float_internal): Only accept errors of up to 0.5ulps if
17332         also at most max_valid_error.
17333         (START): Take new argument EXACT and pass it to init_max_error.
17334         (acos_test): Update call to START.
17335         (acos_test_tonearest): Likewise.
17336         (acos_test_towardzero): Likewise.
17337         (acos_test_downward): Likewise.
17338         (acos_test_upward): Likewise.
17339         (acosh_test): Likewise.
17340         (asin_test): Likewise.
17341         (asin_test_tonearest): Likewise.
17342         (asin_test_towardzero): Likewise.
17343         (asin_test_downward): Likewise.
17344         (asin_test_upward): Likewise.
17345         (asinh_test): Likewise.
17346         (atan_test): Likewise.
17347         (atanh_test): Likewise.
17348         (atan2_test): Likewise.
17349         (cabs_test): Likewise.
17350         (cacos_test): Likewise.
17351         (cacosh_test): Likewise.
17352         (carg_test): Likewise.
17353         (casin_test): Likewise.
17354         (casinh_test): Likewise.
17355         (catan_test): Likewise.
17356         (catanh_test): Likewise.
17357         (cbrt_test): Likewise.
17358         (ccos_test): Likewise.
17359         (ccosh_test): Likewise.
17360         (ceil_test): Likewise.
17361         (cexp_test): Likewise.
17362         (cimag_test): Likewise.
17363         (clog_test): Likewise.
17364         (clog10_test): Likewise.
17365         (conj_test): Likewise.
17366         (copysign_test): Likewise.
17367         (cos_test): Likewise.
17368         (cos_test_tonearest): Likewise.
17369         (cos_test_towardzero): Likewise.
17370         (cos_test_downward): Likewise.
17371         (cos_test_upward): Likewise.
17372         (cosh_test): Likewise.
17373         (cosh_test_tonearest): Likewise.
17374         (cosh_test_towardzero): Likewise.
17375         (cosh_test_downward): Likewise.
17376         (cosh_test_upward): Likewise.
17377         (cpow_test): Likewise.
17378         (cproj_test): Likewise.
17379         (creal_test): Likewise.
17380         (csin_test): Likewise.
17381         (csinh_test): Likewise.
17382         (csqrt_test): Likewise.
17383         (ctan_test): Likewise.
17384         (ctan_test_tonearest): Likewise.
17385         (ctan_test_towardzero): Likewise.
17386         (ctan_test_downward): Likewise.
17387         (ctan_test_upward): Likewise.
17388         (ctanh_test): Likewise.
17389         (ctanh_test_tonearest): Likewise.
17390         (ctanh_test_towardzero): Likewise.
17391         (ctanh_test_downward): Likewise.
17392         (ctanh_test_upward): Likewise.
17393         (erf_test): Likewise.
17394         (erfc_test): Likewise.
17395         (exp_test): Likewise.
17396         (exp_test_tonearest): Likewise.
17397         (exp_test_towardzero): Likewise.
17398         (exp_test_downward): Likewise.
17399         (exp_test_upward): Likewise.
17400         (exp10_test): Likewise.
17401         (exp10_test_tonearest): Likewise.
17402         (exp10_test_towardzero): Likewise.
17403         (exp10_test_downward): Likewise.
17404         (exp10_test_upward): Likewise.
17405         (pow10_test): Likewise.
17406         (exp2_test): Likewise.
17407         (expm1_test): Likewise.
17408         (expm1_test_tonearest): Likewise.
17409         (expm1_test_towardzero): Likewise.
17410         (expm1_test_downward): Likewise.
17411         (expm1_test_upward): Likewise.
17412         (fabs_test): Likewise.
17413         (fdim_test): Likewise.
17414         (floor_test): Likewise.
17415         (fma_test): Likewise.
17416         (fma_test_towardzero): Likewise.
17417         (fma_test_downward): Likewise.
17418         (fma_test_upward): Likewise.
17419         (fmax_test): Likewise.
17420         (fmin_test): Likewise.
17421         (fmod_test): Likewise.
17422         (fpclassify_test): Likewise.
17423         (frexp_test): Likewise.
17424         (hypot_test): Likewise.
17425         (ilogb_test): Likewise.
17426         (isfinite_test): Likewise.
17427         (finite_test): Likewise.
17428         (isgreater_test): Likewise.
17429         (isgreaterequal_test): Likewise.
17430         (isinf_test): Likewise.
17431         (isless_test): Likewise.
17432         (islessequal_test): Likewise.
17433         (islessgreater_test): Likewise.
17434         (isnan_test): Likewise.
17435         (isnormal_test): Likewise.
17436         (issignaling_test): Likewise.
17437         (isunordered_test): Likewise.
17438         (j0_test): Likewise.
17439         (j1_test): Likewise.
17440         (jn_test): Likewise.
17441         (ldexp_test): Likewise.
17442         (lgamma_test): Likewise.
17443         (gamma_test): Likewise.
17444         (lrint_test): Likewise.
17445         (lrint_test_tonearest): Likewise.
17446         (lrint_test_towardzero): Likewise.
17447         (lrint_test_downward): Likewise.
17448         (lrint_test_upward): Likewise.
17449         (llrint_test): Likewise.
17450         (llrint_test_tonearest): Likewise.
17451         (llrint_test_towardzero): Likewise.
17452         (llrint_test_downward): Likewise.
17453         (llrint_test_upward): Likewise.
17454         (log_test): Likewise.
17455         (log10_test): Likewise.
17456         (log1p_test): Likewise.
17457         (log2_test): Likewise.
17458         (logb_test): Likewise.
17459         (logb_test_downward): Likewise.
17460         (lround_test): Likewise.
17461         (llround_test): Likewise.
17462         (modf_test): Likewise.
17463         (nearbyint_test): Likewise.
17464         (nextafter_test): Likewise.
17465         (nexttoward_test): Likewise.
17466         (pow_test): Likewise.
17467         (pow_test_tonearest): Likewise.
17468         (pow_test_towardzero): Likewise.
17469         (pow_test_downward): Likewise.
17470         (pow_test_upward): Likewise.
17471         (remainder_test): Likewise.
17472         (drem_test): Likewise.
17473         (remainder_test_tonearest): Likewise.
17474         (drem_test_tonearest): Likewise.
17475         (remainder_test_towardzero): Likewise.
17476         (drem_test_towardzero): Likewise.
17477         (remainder_test_downward): Likewise.
17478         (drem_test_downward): Likewise.
17479         (remainder_test_upward): Likewise.
17480         (drem_test_upward): Likewise.
17481         (remquo_test): Likewise.
17482         (rint_test): Likewise.
17483         (rint_test_tonearest): Likewise.
17484         (rint_test_towardzero): Likewise.
17485         (rint_test_downward): Likewise.
17486         (rint_test_upward): Likewise.
17487         (round_test): Likewise.
17488         (scalb_test): Likewise.
17489         (scalbn_test): Likewise.
17490         (scalbln_test): Likewise.
17491         (signbit_test): Likewise.
17492         (sin_test): Likewise.
17493         (sin_test_tonearest): Likewise.
17494         (sin_test_towardzero): Likewise.
17495         (sin_test_downward): Likewise.
17496         (sin_test_upward): Likewise.
17497         (sincos_test): Likewise.
17498         (sinh_test): Likewise.
17499         (sinh_test_tonearest): Likewise.
17500         (sinh_test_towardzero): Likewise.
17501         (sinh_test_downward): Likewise.
17502         (sinh_test_upward): Likewise.
17503         (sqrt_test): Likewise.
17504         (sqrt_test_tonearest): Likewise.
17505         (sqrt_test_towardzero): Likewise.
17506         (sqrt_test_downward): Likewise.
17507         (sqrt_test_upward): Likewise.
17508         (tan_test): Likewise.
17509         (tan_test_tonearest): Likewise.
17510         (tan_test_towardzero): Likewise.
17511         (tan_test_downward): Likewise.
17512         (tan_test_upward): Likewise.
17513         (tanh_test): Likewise.
17514         (tgamma_test): Likewise.
17515         (trunc_test): Likewise.
17516         (y0_test): Likewise.
17517         (y1_test): Likewise.
17518         (yn_test): Likewise.
17519         (significand_test): Likewise.
17521         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17522         individual tests in comment.
17523         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17524         (prev_max_error): New variable.
17525         (prev_real_max_error): Likewise.
17526         (prev_imag_max_error): Likewise.
17527         (compare_ulp_data): Don't refer to test names in comment.
17528         (find_test_ulps): Remove function.
17529         (find_function_ulps): Likewise.
17530         (find_complex_function_ulps): Likewise.
17531         (init_max_error): Take function name as argument.  Look up ulps
17532         for that function.
17533         (print_ulps): Remove function.
17534         (print_max_error): Use prev_max_error instead of calling
17535         find_function_ulps.
17536         (print_complex_max_error): Use prev_real_max_error and
17537         prev_imag_max_error instead of calling find_complex_function_ulps.
17538         (check_float_internal): Take max_ulp parameter instead of calling
17539         find_test_ulps.  Don't call print_ulps.
17540         (check_float): Update call to check_float_internal.
17541         (check_complex): Update calls to check_float_internal.
17542         (START): Pass argument to init_max_error.
17543         * math/gen-libm-test.pl (%results): Don't include "kind"
17544         information.
17545         (parse_ulps): Don't handle ulps of individual tests.
17546         (print_ulps_file): Likewise.
17547         (output_ulps): Likewise.
17548         * math/README.libm-test: Update.
17549         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17550         individual tests.
17551         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17552         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17553         * sysdeps/arm/libm-test-ulps: Likewise.
17554         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17555         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17556         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17557         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17558         * sysdeps/microblaze/libm-test-ulps: Likewise.
17559         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17560         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17561         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17562         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17563         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17564         * sysdeps/sh/libm-test-ulps: Likewise.
17565         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17566         * sysdeps/tile/libm-test-ulps: Likewise.
17567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17569 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17571         * math/libm-test.inc (print_complex_max_error): Check separately
17572         whether real and imaginary errors are within allowed range and
17573         pass 0 to print_complex_function_ulps instead of value within
17574         allowed range.
17576 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17578         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17579         formatting.
17580         (get_handles_fopen): Likewise.
17581         (do_write_test): Likewise.
17583         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17585         * libio/fileops.c (do_ftell): Use cached offset when
17586         available.
17587         * libio/iofwide.c (do_ftell_wide): Likewise.
17588         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17589         _IO_file_attach.
17590         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17592         [BZ #16532]
17593         * libio/libioP.h (get_file_offset): New function.
17594         * libio/fileops.c (get_file_offset): Likewise.
17595         (do_ftell): Likewise.
17596         (_IO_new_file_seekoff): Split out ftell logic.
17597         * libio/wfileops.c (do_ftell_wide): Likewise.
17598         (_IO_wfile_seekoff): Split out ftell logic.
17599         * libio/tst-ftell-active-handler.c: New test case.
17600         * libio/Makefile (tests): Add it.
17602 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17604         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17605         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17607 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17609         [BZ #16639]
17610         * nscd/connections.c (nscd_init): Call do_exit.
17611         (start_threads): Call do_exit and notify_parent.
17612         (begin_drop_privileges): Call do_exit.
17613         (finish_drop_privileges): Likewise.
17614         * nscd/selinux.c (preserve_capabilities): Likewise.
17615         (install_real_capabilities): Likewise.
17616         (nscd_selinux_enabled): Likewise.
17617         (avc_create_thread): Likewise.
17618         (avc_alloc_lock): Likewise.
17619         (nscd_avc_init): Likewise.
17620         * nscd/nscd.c (parent_fd): New static variable.
17621         (main): Create a pipe between parent and child processes.
17622         Skip closing parent_fd.
17623         (monitor_child): New function.
17624         (do_exit): Likewise.
17625         (notify_parent): Likewise.
17626         * nscd/nscd.h (notify_parent): Likewise.
17627         (do_exit): Likewise.
17629 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17631         * malloc/malloc.c (__libc_calloc): Revert last change.
17633 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17637 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17639         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17641         implementation.
17642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17643         (__libc_ifunc_impl_list): Likewise.
17644         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17645         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17646         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17647         * string/strrchr.c: Define STRRCHR.
17649 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17651         * benchtest/bench-strtok.c (simple_strtok): Delete.
17652         (strtok_string): Use as benchmark.
17653         * string/strtok (STRTOK): New macro.
17655 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17657         * manual/threads.texi: Add header and standard comments to all
17658         functions.
17660         * elf/dl-lookup.c (check_match): New function.
17661         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17662         (do_lookup_x): Remove nested function check_match. Use non-nested
17663         function check_match.
17665 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17667         * csu/Makefile (generated, before-compile): Use += rather than =.
17668         * catgets/Makefile (generated, generated-dirs): Likewise.
17669         * debug/Makefile (generated): Likewise.
17670         * dlfcn/Makefile (generated): Likewise.
17671         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17672         * iconvdata/Makefile (before-compile, generated): Likewise.
17673         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17674         * libio/Makefile (generated): Likewise.
17675         * malloc/Makefile (generated): Likewise.
17676         * manual/Makefile (generated, generated-dirs): Likewise.
17677         * misc/Makefile (generated): Likewise.
17678         * posix/Makefile (generated): Likewise.
17679         * resolv/Makefile (generated): Likewise.
17680         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17681         * timezone/Makefile (generated, generated-dirs): Likewise.
17683         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17685 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17687         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17688         power8 implementation.
17689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17690         file: POWER8 llround ifunc implementation.
17691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17692         (__lllround): Add POWER8 implementation.
17693         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17694         POWER8 llround implementation.
17696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17697         power8 implementation.
17698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17699         file: POWER8 llrint ifunc implementation.
17700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17701         Add POWER8 implementation.
17702         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17703         POWER8 llrint implementation.
17705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17706         power8 implementation.
17707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17708         file: POWER8 finite ifunc implementation.
17709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17710         Add POWER8 implementation.
17711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17712         Likewise.
17713         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17714         POWER8 finite implementation.
17715         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17718         power8 implementation.
17719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17720         file: POWER8 isinf ifunc implementation.
17721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17722         POWER8 implementation.
17723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17724         Likewise.
17725         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17726         isinf implementation.
17727         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17729         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17730         (INIT_ARCH): Add hwcap2 initialization.
17731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17732         power8 implementation.
17733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17734         file: POWER8 isnan ifunc implementation.
17735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17736         POWER8 implementation.
17737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17738         Likewise.
17739         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17740         isnan implementation.
17741         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17743 2014-02-27  Joey Ye  <joey.ye@arm.com>
17745         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17746         (_FP_NANFRAC_Q): Set to zero.
17748 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17750         [BZ #16623]
17751         * math/auto-libm-test-in: New test inputs.
17752         * math/auto-libm-test-out: Regenerate.
17753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17754         and DA.
17755         (__cos): Likewise.
17756         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17758 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17760         * scripts/evaluate-test.sh: Take new argument indicating whether
17761         failure is expected.
17762         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17763         indicating whether failure is expected.
17764         * conform/Makefile (test-xfail-run-conformtest): New variable.
17765         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17766         level.
17767         * posix/Makefile (test-xfail-annexc): New variable.
17768         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17770 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17772         * argp/Makefile: Include Makeconfig immediately after defining
17773         subdir.
17774         * assert/Makefile: Likewise.
17775         * benchtests/Makefile: Likewise.
17776         * catgets/Makefile: Likewise.
17777         * conform/Makefile: Likewise.
17778         * crypt/Makefile: Likewise.
17779         * csu/Makefile: Likewise.
17780         (all): Remove target.
17781         * ctype/Makefile: Include Makeconfig immediately after defining
17782         subdir.
17783         * debug/Makefile: Likewise.
17784         * dirent/Makefile: Likewise.
17785         * dlfcn/Makefile: Likewise.
17786         * gmon/Makefile: Likewise.
17787         * gnulib/Makefile: Likewise.
17788         * grp/Makefile: Likewise.
17789         * gshadow/Makefile: Likewise.
17790         * hesiod/Makefile: Likewise.
17791         * hurd/Makefile: Likewise.
17792         (all): Remove target.
17793         * iconvdata/Makefile: Include Makeconfig immediately after
17794         defining subdir.
17795         * inet/Makefile: Likewise.
17796         * intl/Makefile: Likewise.
17797         * io/Makefile: Likewise.
17798         * libio/Makefile: Likewise.
17799         (all): Remove target.
17800         * locale/Makefile: Include Makeconfig immediately after defining
17801         subdir.
17802         * login/Makefile: Likewise.
17803         * mach/Makefile: Likewise.
17804         (all): Remove target.
17805         * malloc/Makefile: Include Makeconfig immediately after defining
17806         subdir.
17807         (all): Remove target.
17808         * manual/Makefile: Include Makeconfig immediately after defining
17809         subdir.
17810         * math/Makefile: Likewise.
17811         * misc/Makefile: Likewise.
17812         * nis/Makefile: Likewise.
17813         * nss/Makefile: Likewise.
17814         * po/Makefile: Likewise.
17815         (all): Remove target.
17816         * posix/Makefile: Include Makeconfig immediately after defining
17817         subdir.
17818         * pwd/Makefile: Likewise.
17819         * resolv/Makefile: Likewise.
17820         * resource/Makefile: Likewise.
17821         * rt/Makefile: Likewise.
17822         * setjmp/Makefile: Likewise.
17823         * shadow/Makefile: Likewise.
17824         * signal/Makefile: Likewise.
17825         * socket/Makefile: Likewise.
17826         * soft-fp/Makefile: Likewise.
17827         * stdio-common/Makefile: Likewise.
17828         * stdlib/Makefile: Likewise.
17829         * streams/Makefile: Likewise.
17830         * string/Makefile: Likewise.
17831         * sunrpc/Makefile: Likewise.
17832         (all): Remove target.
17833         * sysvipc/Makefile: Include Makeconfig immediately after defining
17834         subdir.
17835         * termios/Makefile: Likewise.
17836         * time/Makefile: Likewise.
17837         * timezone/Makefile: Likewise.
17838         (all): Remove target.
17839         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17840         subdir.
17841         * wctype/Makefile: Likewise.
17843 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17845         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17846         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17847         (libc_feholdexcept_setround_mips): Ditto.
17848         (libc_feholdsetround): New.
17849         (libc_feholdsetroundf): New.
17850         (libc_feholdsetroundl): New.
17851         (libc_feupdateenv_test_mips): New.
17852         (libc_feupdateenv_test): New.
17853         (libc_feupdateenv_testf): New.
17854         (libc_feupdateenv_testl): New.
17855         (libc_feresetround): New.
17856         (libc_feresetroundf): New.
17857         (libc_feresetroundl): New.
17858         (libc_fetestexcept_mips): New.
17859         (libc_fetestexcept): New.
17860         (libc_fetestexceptf): New.
17861         (libc_fetestexceptl): New.
17862         (HAVE_RM_CTX): New.
17863         (libc_feholdexcept_setround_mips_ctx): New.
17864         (libc_feholdexcept_setround_ctx): New.
17865         (libc_feholdexcept_setroundf_ctx): New.
17866         (libc_feholdexcept_setroundl_ctx): New.
17867         (libc_fesetenv_mips_ctx): New.
17868         (libc_fesetenv_ctx): New.
17869         (libc_fesetenv_ctxf): New.
17870         (libc_fesetenv_ctxl): New.
17871         (libc_feupdateenv_mips_ctx): New.
17872         (libc_feupdateenv_ctx): New.
17873         (libc_feupdateenvf_ctx): New.
17874         (libc_feupdateenvl_ctx): New.
17875         (libc_feholdsetround_mips_ctx): New.
17876         (libc_feholdsetround_ctx): New.
17877         (libc_feholdsetroundf_ctx): New.
17878         (libc_feholdsetroundl_ctx): New.
17879         (libc_feresetround_mips_ctx): New.
17880         (libc_feresetround_ctx): New.
17881         (libc_feresetroundf_ctx): New.
17882         (libc_feresetroundl_ctx): New.
17884 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17886         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17888         * manual/ipc.texi: New file.
17889         * manual/Makefile (chapters): Add ipc.
17890         * manual/job.texi: Add "Inter-Process Communication" to next.
17891         * manual/process.texi: Add "Inter-Process Communication" to prev.
17893 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17897 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17899         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17901         * manual/arith.texi: Fix spaces after sentences.
17902         * manual/charset.texi: Likewise.
17903         * manual/errno.texi: Likewise.
17904         * manual/install.texi: Likewise.
17905         * manual/llio.texi: Likewise.
17906         * manual/locale.texi: Likewise.
17907         * manual/maint.texi: Likewise.
17908         * manual/math.texi: Likewise.
17909         * manual/memory.texi: Likewise.
17910         * manual/message.texi: Likewise.
17911         * manual/probes.texi: Likewise.
17912         * manual/resource.texi: Likewise.
17913         * manual/signal.texi: Likewise.
17914         * manual/socket.texi: Likewise.
17915         * manual/stdio.texi: Likewise.
17916         * manual/string.texi: Likewise.
17917         * manual/time.texi: Likewise.
17918         * manual/users.texi: Likewise.
17920 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17922         [BZ #16632]
17923         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17924         _DEFAULT_SOURCE is defined.
17926 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17927             Carlos O'Donell  <carlos@redhat.com>
17929         [BZ #16613]
17930         * elf/dl-tls.c (_dl_count_modids): New function.
17931         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17932         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17933         audit library and increment generation counter.
17934         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17935         * elf/tst-audit9.c: New file.
17936         * elf/tst-auditmod9a.c: New file.
17937         * elf/tst-auditmod9b.c: New file.
17938         * elf/Makefile: Add rules to build and run tst-audit9.
17940 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17942         [BZ #15347]
17943         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17945 2014-02-25  Will Newton  <will.newton@linaro.org>
17947         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17948         (__longjmp): Restore sp and lr before restoring callee
17949         saved registers.  Add longjmp and longjmp_target
17950         SystemTap probe point.
17951         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17952         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17953         Define to zero to match jmpbuf layout.
17954         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17955         (__sigsetjmp): Save sp and lr before saving callee
17956         saved registers.  Add setjmp SystemTap probe point.
17958 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17960         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17962 2014-02-24  Andreas Schwab  <schwab@suse.de>
17964         [BZ #15804]
17965         * elf/pldd.c (wait_for_ptrace_stop): New function.
17966         (main): Call it after attaching.
17968 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17970         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17971         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17972         Versions files is now verboten.
17973         * hurd/Versions (libc: GLIBC_2.0):
17974         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17975         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17976         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17977         * mach/Versions: Likewise.
17979         * csu/Versions: Remove unused %include.
17980         * resolv/Versions: Likewise.
17982 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
17984         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17985         ($(objpfx)check-local-headers.out): Likewise.
17986         ($(objpfx)begin-end-check.out): Likewise.
17987         * Makerules (check-abi-%.out): Likewise.
17988         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17989         ($(objpfx)test2.cat): Likewise.
17990         ($(objpfx)de/libc.cat): Likewise.
17991         ($(objpfx)test-gencat.out): Likewise.
17992         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17993         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17994         ($(objpfx)noload-mem): Likewise.
17995         ($(objpfx)tst-pathopt.out): Likewise.
17996         ($(objpfx)tst-rtld-load-self.out): Likewise.
17997         ($(objpfx)tst-array1-cmp.out): Likewise.
17998         ($(objpfx)tst-array1-static-cmp.out): Likewise.
17999         ($(objpfx)tst-array2-cmp.out): Likewise.
18000         ($(objpfx)tst-array3-cmp.out): Likewise.
18001         ($(objpfx)tst-array4-cmp.out): Likewise.
18002         ($(objpfx)tst-array5-cmp.out): Likewise.
18003         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18004         ($(objpfx)check-textrel.out): Likewise.
18005         ($(objpfx)check-execstack.out): Likewise.
18006         ($(objpfx)check-localplt.out): Likewise.
18007         ($(objpfx)order2-cmp.out): Likewise.
18008         ($(objpfx)tst-leaks1-mem): Likewise.
18009         ($(objpfx)tst-leaks1-static-mem): Likewise.
18010         ($(objpfx)tst-initorder-cmp.out): Likewise.
18011         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18012         ($(objpfx)tst-unused-dep.out): Likewise.
18013         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18014         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18015         * iconv/Makefile (test-iconvconfig): Likewise.
18016         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18017         ($(objpfx)iconv-test.out): Likewise.
18018         ($(objpfx)tst-tables.out): Likewise.
18019         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18020         ($(objpfx)tst-gettext.out): Likewise.
18021         ($(objpfx)tst-translit.out): Likewise.
18022         ($(objpfx)tst-gettext2.out): Likewise.
18023         ($(objpfx)tst-gettext4.out): Likewise.
18024         ($(objpfx)tst-gettext6.out): Likewise.
18025         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18026         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18027         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18028         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18029         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18030         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18031         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18032         ($(objpfx)wordexp-tst.out): Likewise.
18033         ($(objpfx)annexc.out): Likewise.
18034         ($(objpfx)tst-fnmatch-mem): Likewise.
18035         ($(objpfx)bug-regex2-mem): Likewise.
18036         ($(objpfx)bug-regex14-mem): Likewise.
18037         ($(objpfx)bug-regex21-mem): Likewise.
18038         ($(objpfx)bug-regex31-mem): Likewise.
18039         ($(objpfx)tst-vfork3-mem): Likewise.
18040         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18041         ($(objpfx)tst-pcre-mem): Likewise.
18042         ($(objpfx)tst-boost-mem): Likewise.
18043         ($(objpfx)tst-getconf.out): Likewise.
18044         ($(objpfx)bug-ga2-mem): Likewise.
18045         ($(objpfx)bug-glob2-mem): Likewise.
18046         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18047         ($(objpfx)mtrace-tst-leaks2): Likewise.
18048         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18049         ($(objpfx)tst-printf.out): Likewise.
18050         ($(objpfx)tst-setvbuf1.out): Likewise.
18051         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18052         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18053         ($(objpfx)tst-fmtmsg.out): Likewise.
18054         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18055         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18057         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18058         * bits/sigaction.h [__USE_MISC]: Likewise.
18059         * bits/waitstatus.h: Update #endif comments.
18060         * ctype/ctype.h: Likewise.
18061         * dirent/dirent.h: Likewise.
18062         [__USE_MISC]: Remove redundant conditionals.
18063         * grp/grp.h: Update #endif comments.
18064         [__USE_GNU]: Remove redundant conditionals.
18065         [__USE_MISC]: Likewise.
18066         * inet/netinet/in.h [__USE_GNU]: Likewise.
18067         * io/sys/stat.h [__USE_MISC]: Likewise.
18068         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18069         * libio/bits/stdio.h: Update #endif comments.
18070         [__USE_MISC]: Remove redundant conditionals.
18071         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18072         * libio/stdio.h: Update #endif comments.
18073         [__USE_MISC]: Remove redundant conditionals.
18074         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18075         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18076         * math/math.h: Update #else and #endif comments.
18077         [__USE_MISC]: Remove redundant conditionals.
18078         * misc/sys/uio.h: Update #endif comments.
18079         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18080         * posix/glob.h [__USE_MISC]: Likewise.
18081         * posix/sys/types.h: Update #endif comments.
18082         [__USE_MISC]: Remove redundant conditionals.
18083         * posix/sys/wait.h: Update #endif comments.
18084         [__USE_MISC]: Remove redundant conditionals.
18085         * posix/unistd.h: Update #endif comments.
18086         [__USE_MISC]: Remove redundant conditionals.
18087         * pwd/pwd.h [__USE_GNU]: Likewise.
18088         [__USE_MISC]: Likewise.
18089         * resolv/netdb.h [__USE_GNU]: Likewise.
18090         * signal/signal.h: Update #endif comments.
18091         [__USE_MISC]: Remove redundant conditionals.
18092         * stdlib/stdlib.h: Update #else and #endif comments.
18093         [__USE_MISC]: Remove redundant conditionals.
18094         [__USE_GNU]: Likewise.
18095         * string/bits/string2.h [__USE_MISC]: Likewise.
18096         * string/string.h: Update #endif comments.
18097         [__USE_MISC]: Remove redundant conditionals.
18098         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18099         Likewise.
18100         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18101         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18102         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18103         Likewise.
18104         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18105         Likewise.
18106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18107         comments.
18108         [__USE_MISC]: Remove redundant conditionals.
18109         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18110         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18111         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18112         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18113         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18114         Likewise.
18115         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18116         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18117         Likewise.
18118         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18119         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18120         Likewise.
18121         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18122         Likewise.
18123         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18124         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18125         Likewise.
18126         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18127         Likewise.
18128         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18129         * sysdeps/x86/bits/string.h: Update #endif comments.
18130         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18131         conditionals.
18132         * time/sys/time.h: Update #endif comments.
18133         * time/time.h: Likewise.
18134         [__USE_MISC]: Remove redundant conditionals.
18136 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18138         [BZ #16600]
18139         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18141 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18143         * Versions.def (librt): Add GLIBC_2.17.
18145 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18147         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18148         synonym for _SYS_AUXV_H to allow direct inclusion.
18149         * sysdeps/sparc/bits/hwcap.h: Likewise.
18150         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18151         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18152         * sysdeps/sparc/sysdep.h: Likewise.
18154 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18156         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18158 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18160         * benchtests/bench-strrchr.c: Print length instead of position.
18162 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18164         [BZ #16611]
18165         * sysdeps/unix/sysv/linux/kernel-features.h
18166         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18167         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18168         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18169         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18170         Likewise.
18171         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18172         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18173         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18174         (__ASSUME_SENDMMSG): Define instead of using previous
18175         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18176         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18177         (__ASSUME_SENDMMSG_SYSCALL): Define.
18178         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18179         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18180         Likewise.
18181         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18182         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18183         Likewise.
18184         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18185         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18186         Likewise.
18187         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18188         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18189         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18190         [__ASSUME_SENDMMSG]: Change conditionals to
18191         [__ASSUME_SENDMMSG_SOCKETCALL].
18192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18193         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18194         Define.
18195         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18196         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18197         Likewise.
18198         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18199         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18200         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18201         [!__ASSUME_SENDMMSG]: Change conditional to
18202         [!__ASSUME_SENDMMSG_SOCKETCALL].
18203         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18204         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18205         Define.
18207         [BZ #16610]
18208         * sysdeps/unix/sysv/linux/kernel-features.h
18209         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18210         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18211         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18212         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18213         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18214         [__i386__ || __sparc__]
18215         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18216         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18217         (__ASSUME_RECVMMSG): Define instead of using previous
18218         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18219         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18220         (__ASSUME_RECVMMSG_SYSCALL): Define.
18221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18222         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18223         Likewise.
18224         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18225         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18226         Likewise.
18227         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18228         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18229         Likewise.
18230         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18231         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18232         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18233         [__ASSUME_RECVMMSG]: Change condition to
18234         [__ASSUME_RECVMMSG_SOCKETCALL].
18235         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18236         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18237         Define.
18238         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18239         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18240         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18241         Likewise.
18242         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18243         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18244         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18245         [!__ASSUME_RECVMMSG]: Change condition to
18246         [!__ASSUME_RECVMMSG_SOCKETCALL].
18247         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18248         (__ASSUME_RECVMMSG_SYSCALL): Define.
18250         [BZ #16609]
18251         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18252         __powerpc__ || __s390__ || __sh__ || __sparc__]
18253         (__ASSUME_SOCKETCALL): Define.
18254         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18255         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18256         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18257         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18258         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18259         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18260         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18261         (__ASSUME_ACCEPT4): Define instead of using previous
18262         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18263         __powerpc__ || __sparc__ || __s390__)] condition.
18264         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18265         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18266         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18267         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18268         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18269         [!__ASSUME_ACCEPT4]: Change condition to
18270         [!__ASSUME_ACCEPT4_SOCKETCALL].
18271         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18272         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18273         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18274         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18275         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18276         __ASSUME_ACCEPT4_SYSCALL.
18277         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18278         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18279         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18280         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18281         __ASSUME_ACCEPT4_SYSCALL.
18282         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18283         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18284         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18285         [__ASSUME_ACCEPT4]: Change condition to
18286         [__ASSUME_ACCEPT4_SOCKETCALL].
18287         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18288         (__ASSUME_SOCKETCALL): Define.
18289         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18291         (__ASSUME_SOCKETCALL): Define.
18292         (__ASSUME_ACCEPT4): Remove.
18293         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18294         Define.
18295         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18296         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18297         Likewise.
18298         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18299         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18301         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18302         macro.
18303         (HWCAP_ARM_LPAE): Likewise.
18304         (HWCAP_ARM_EVTSTRM): Likewise.
18305         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18306         Add vpfd32, lpae and evtstrm.
18307         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18308         Increase to 22.
18310 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18312         * math/auto-libm-test-in: Add tests of clog10.
18313         * math/auto-libm-test-out: Regenerated.
18314         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18315         * sysdeps/i386/fpu/libm-test-ulps: Update.
18316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18318 2014-02-18  Andreas Schwab  <schwab@suse.de>
18320         [BZ #16574]
18321         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18322         Store non-zero if the second buffer was newly allocated.
18323         (send_dg): Likewise.
18324         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18325         to send_vc and send_dg.
18326         (res_nsend): Pass NULL for ansp2_malloced.
18327         * resolv/res_query.c (__libc_res_nquery): Add parameter
18328         answerp2_malloced and pass it down to __libc_res_nsend.
18329         (res_nquery): Pass additional NULL to __libc_res_nquery.
18330         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18331         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18332         second answer buffer if answerp2_malloced was set.
18333         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18334         (__libc_res_nquerydomain): Add parameter
18335         answerp2_malloced and pass it down to __libc_res_nquery.
18336         (res_nquerydomain): Pass additional NULL to
18337         __libc_res_nquerydomain.
18338         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18339         additional NULL to __libc_res_nsend and __libc_res_nquery.
18340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18341         additional NULL to __libc_res_nsearch.
18342         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18343         parameter of __libc_res_nsearch to check for separately allocated
18344         second buffer.
18345         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18346         __libc_res_nquery.
18347         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18348         additional NULL to __libc_res_nquery.
18349         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18350         __libc_res_nsearch.
18351         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18352         * include/resolv.h: Update prototypes of __libc_res_nquery,
18353         __libc_res_nsearch, __libc_res_nsend.
18355 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18357         * math/auto-libm-test-in: Add tests of fma.
18358         * math/auto-libm-test-out: Regenerated.
18359         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18360         (fma_towardzero_test_data): Likewise.
18361         (fma_downward_test_data): Likewise.
18362         (fma_upward_test_data): Likewise.
18363         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18364         mpc_mode.
18365         (rounding_modes): Add values for new field.
18366         (func_calc_method): Add value mpfr_fff_f.
18367         (func_calc_desc): Add mpfr_fff_f union field.
18368         (test_function): Add field exact_args.
18369         (FUNC): Add macro argument EXACT_ARGS.
18370         (FUNC_mpfr_f_f): Update call to FUNC.
18371         (FUNC_mpfr_f_f): Likewise.
18372         (FUNC_mpfr_ff_f): Likewise.
18373         (FUNC_mpfr_if_f): Likewise.
18374         (FUNC_mpc_c_f): Likewise.
18375         (FUNC_mpc_c_c): Likewise.
18376         (test_functions): Add fma.  Update calls to FUNC.
18377         (handle_input_arg): Add argument exact_args.
18378         (add_test): Update call to handle_input_arg.
18379         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18380         (output_for_one_input_case): Update call to calc_generic_results.
18381         Recalculate exact zero results in each rounding mode.
18383         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18384         non-negative before setting low bit.
18385         * math/auto-libm-test-in: Mark one asin test possibly having
18386         spurious underflow.
18387         * math/auto-libm-test-out: Regenerated.
18388         * sysdeps/i386/fpu/libm-test-ulps: Update.
18389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18391 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18393         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18394         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18395         ports/sysdeps/unix/sysv/linux/microblaze.
18396         * README: Add missing listing for microblaze*-*-linux-gnu.
18398 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18400         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18401         duplicate code
18403 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18405         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18406         * sysdeps/unix/sysv/linux/ia64: Move directory from
18407         ports/sysdeps/unix/sysv/linux/ia64.
18408         * README: Update listing for ia64-*-linux-gnu.
18410 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18411             Joseph Myers  <joseph@codesourcery.com>
18413         * Makeconfig (test-name): New variable.
18414         (evaluate-test): Likewise.
18415         * Makerules (do-test-clean): Remove .test-result files.
18416         (common-mostlyclean): Likewise.
18417         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18418         * scripts/evaluate-test.sh: New file.
18420 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18422         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18423         separate $(objpfx)tst-fopenloc-cmp.out and
18424         $(objpfx)tst-fopenloc-mem.out targets.
18425         (tests): Update dependencies.
18426         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18427         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18428         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18429         (tst-rxspencer-no-utf8-ARGS): New variable.
18430         (tst-rxspencer-no-utf8-ENV): Likewise.
18431         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18432         instead of $(objpfx)tst-rxspencer-mem.
18433         ($(objpfx)tst-rxspencer-mem): Change target to
18434         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18435         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18436         * posix/tst-rxspencer-no-utf8.c: New file.
18438         * elf/Makefile ($(objpfx)order.out): Remove rule.
18439         [$(run-built-tests) = yes] (tests): Depend on
18440         $(objpfx)order-cmp.out.
18441         ($(objpfx)order-cmp.out): New rule.
18442         [$(run-built-tests) = yes] (tests): Depend on
18443         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18444         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18445         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18446         $(objpfx)tst-array5-static-cmp.out.
18447         ($(objpfx)tst-array1.out): Remove rule.
18448         ($(objpfx)tst-array1-cmp.out): New rule.
18449         ($(objpfx)tst-array1-static.out): Remove rule.
18450         ($(objpfx)tst-array1-static-cmp.out): New rule.
18451         ($(objpfx)tst-array2.out): Remove rule.
18452         ($(objpfx)tst-array2-cmp.out): New rule.
18453         ($(objpfx)tst-array3.out): Remove rule.
18454         ($(objpfx)tst-array3-cmp.out): New rule.
18455         ($(objpfx)tst-array4.out): Remove rule.
18456         ($(objpfx)tst-array4-cmp.out): New rule.
18457         ($(objpfx)tst-array5.out): Remove rule.
18458         ($(objpfx)tst-array5-cmp.out): New rule.
18459         ($(objpfx)tst-array5-static.out): Remove rule.
18460         ($(objpfx)tst-array5-static-cmp.out): New rule.
18461         [$(run-built-tests) = yes] (tests): Depend on
18462         $(objpfx)order2-cmp.out.
18463         ($(objpfx)order2.out): Remove rule.
18464         ($(objpfx)order2-cmp.out): New rule.
18465         ($(objpfx)tst-initorder.out): Remove rule.
18466         [$(run-built-tests) = yes] (tests): Depend on
18467         $(objpfx)tst-initorder-cmp.out.
18468         ($(objpfx)tst-initorder-cmp.out): New rule.
18469         ($(objpfx)tst-initorder2.out): Remove rule.
18470         [$(run-built-tests) = yes] (tests): Depend on
18471         $(objpfx)tst-initorder2-cmp.out.
18472         ($(objpfx)tst-initorder2-cmp.out): New rule.
18473         [$(run-built-tests) = yes] (tests): Depend on
18474         $(objpfx)tst-unused-dep-cmp.out.
18475         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18476         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18477         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18478         on $(objpfx)tst-setvbuf1-cmp.out.
18479         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18480         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18481         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18482         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18483         ($(objpfx)tst-svc.out): Remove rule.
18484         ($(objpfx)tst-svc-cmp.out): New rule.
18486 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18488         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18489         * ctype/ctype.h [__USE_MISC]: Likewise.
18490         * dirent/dirent.h [__USE_MISC]: Likewise.
18491         * grp/grp.h [__USE_MISC]: Likewise.
18492         * io/fcntl.h [__USE_MISC]: Likewise.
18493         * io/sys/stat.h [__USE_MISC]: Likewise.
18494         * libio/stdio.h [__USE_MISC]: Likewise.
18495         * posix/unistd.h [__USE_MISC]: Likewise.
18496         * pwd/pwd.h [__USE_MISC]: Likewise.
18497         * stdlib.h [__USE_MISC]: Likewise.
18498         * string/bits/string2.h [__USE_MISC]: Likewise.
18499         * string/string.h [__USE_MISC]: Likewise.
18500         * time/time.h [__USE_MISC]: Likewise.
18502 2014-02-13  Andreas Schwab  <schwab@suse.de>
18504         [BZ #16574]
18505         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18506         second answer buffer if it was separately allocated.
18508 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18510         * sysdeps/mips/math-tests.h: Include <features.h>.
18511         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18512         (ROUNDING_TESTS_long_double): Do not define.
18513         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18514         (EXCEPTION_TESTS_long_double): Likewise.
18515         * sysdeps/mips/mips64/libm-test-ulps: Update.
18517         * include/features.h (__USE_BSD): Remove macro definitions.
18518         (__USE_SVID): Likewise.
18519         (_BSD_SOURCE): Likewise.
18520         (_SVID_SOURCE): Likewise.
18521         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18522         from definition of _DEFAULT_SOURCE.
18523         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18524         [_DEFAULT_SOURCE].
18525         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18526         * bits/mman.h [__USE_BSD]: Likewise.
18527         * bits/termios.h [__USE_BSD]: Likewise.
18528         * bits/waitstatus.h [__USE_BSD]: Likewise.
18529         * ctype/ctype.h [__USE_SVID]: Likewise.
18530         * dirent/dirent.h [__USE_BSD]: Likewise.
18531         * grp/grp.h [__USE_SVID]: Likewise.
18532         [__USE_BSD]: Likewise.
18533         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18534         * io/fcntl.h [__USE_BSD]: Likewise.
18535         * io/ftw.h [__USE_BSD]: Likewise.
18536         * io/sys/stat.h [__USE_BSD]: Likewise.
18537         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18538         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18539         * libio/stdio.h [__USE_SVID]: Likewise.
18540         [__USE_BSD]: Likewise.
18541         * math/math.h [__USE_SVID]: Likewise.
18542         [__USE_BSD]: Likewise.
18543         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18544         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18545         * misc/search.h [__USE_SVID]: Likewise.
18546         * misc/sys/mman.h [__USE_BSD]: Likewise.
18547         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18548         * misc/sys/uio.h [__USE_BSD]: Likewise.
18549         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18550         * posix/glob.h [__USE_BSD]: Likewise.
18551         * posix/regex.h [__USE_BSD]: Likewise.
18552         * posix/sys/types.h [__USE_BSD]: Likewise.
18553         [__USE_SVID]: Likewise.
18554         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18555         * posix/sys/wait.h [__USE_BSD]: Likewise.
18556         [__USE_SVID]: Likewise.
18557         * posix/unistd.h [__USE_BSD]: Likewise.
18558         [__USE_SVID]: Likewise.
18559         * pwd/pwd.h [__USE_SVID]: Likewise.
18560         * resolv/netdb.h [__USE_BSD]: Likewise.
18561         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18562         * signal/signal.h [__USE_BSD]: Likewise.
18563         [__USE_SVID]: Likewise.
18564         * socket/sys/socket.h [__USE_BSD]: Likewise.
18565         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18566         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18567         [__USE_SVID]: Likewise.
18568         * string/bits/string2.h [__USE_BSD]: Likewise.
18569         [__USE_SVID]: Likewise.
18570         * string/bits/string3.h [__USE_BSD]: Likewise.
18571         * string/endian.h [__USE_BSD]: Likewise.
18572         * string/string.h [__USE_SVID]: Likewise.
18573         [__USE_BSD]: Likewise.
18574         * string/strings.h [__USE_BSD]: Likewise.
18575         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18576         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18577         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18578         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18579         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18580         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18581         Likewise.
18582         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18583         Likewise.
18584         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18585         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18586         Likewise.
18587         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18588         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18589         Likewise.
18590         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18591         Likewise.
18592         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18593         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18594         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18595         Likewise.
18596         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18597         Likewise.
18598         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18599         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18600         * termios/termios.h [__USE_BSD]: Likewise.
18601         * time/sys/time.h [__USE_BSD]: Likewise.
18602         * time/time.h [__USE_BSD]: Likewise.
18603         [__USE_SVID]: Likewise.
18605         * Makefile (subdir_targets): Remove subdir_lint.out.
18607         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18608         (do-tst-printf): Likewise.
18609         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18610         $(objpfx)tst-printf.out.
18612         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18614         * Makerules (check-abi-%): Change target to
18615         $(objpfx)check-abi-%.out.
18616         (check-abi target): Update dependencies.
18617         (check-abi-pattern variable): Redirect output of diff to $@.
18618         (check-abi variable): Likewise.
18619         * elf/Makefile (check-abi): Update dependencies.
18621         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18622         unused.
18623         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18624         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18625         subnormal range.
18626         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18627         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18628         value has largest subnormal exponent.
18629         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18630         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18631         * sysdeps/aarch64/soft-fp/sfp-machine.h
18632         (_FP_TININESS_AFTER_ROUNDING): New macro.
18633         * sysdeps/alpha/soft-fp/sfp-machine.h
18634         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18635         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18636         Likewise.
18637         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18638         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18639         * sysdeps/mips/soft-fp/sfp-machine.h
18640         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18641         * sysdeps/powerpc/soft-fp/sfp-machine.h
18642         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18643         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18644         Likewise.
18645         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18646         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18647         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18648         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18649         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18650         Likewise.
18652 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18654         [BZ #16545]
18655         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18656         model 1.
18658 2014-02-12  Richard Henderson  <rth@redhat.com>
18660         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18661         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18662         * sysdeps/unix/sysv/linux/alpha: Move directory from
18663         ports/sysdeps/unix/sysv/linux/alpha.
18664         * README: Update listing for alpha-*-linux-gnu.
18666 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18668         * include/features.h: Update comment documenting feature test
18669         macros.
18670         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18671         _DEFAULT_SOURCE.
18672         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18673         (_SVID_SOURCE): Likewise.
18674         (_DEFAULT_SOURCE): Update description of default features.
18675         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18676         with _GNU_SOURCE.
18677         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18678         (S_ISVTX): Likewise.
18679         * manual/math.texi (Mathematical Constants): Likewise.
18680         * manual/signal.texi (Interrupted Primitives): Likewise.
18681         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18682         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18683         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18684         Don't refer to _SVID_SOURCE in warning text.
18686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18688         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18689         already defined.
18690         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18691         * sysdeps/mips/dl-lookup.c: Remove.
18692         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18694 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18696         [BZ #16447]
18697         * math/auto-libm-test-in: Add testcase for expl.
18698         * math/auto-libm-test-out: Regenerate.
18699         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18700         calculation of unsafe.
18701         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18703 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18705         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18706         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18707         ports/sysdeps/unix/sysv/linux/aarch64.
18708         * README: Update listing for aarch64*-*-linux-gnu.
18710 2014-02-11  Will Newton  <will.newton@linaro.org>
18712         * manual/probes.texi (Mathematical Function Probes): Use
18713         "triggered" instead of "hit".
18715         * manual/probes.texi (Internal Probes): Add documentation
18716         of setjmp, longjmp and longjmp_target probes.
18718         * include/stap-probe.h: Add comment about probe argument
18719         format.
18721         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18722         definition.  (tr_where, tr_freehook, tr_mallochook,
18723         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18725 2014-02-11  David S. Miller  <davem@davemloft.net>
18727         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18728         processing int_tests.
18730 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18732         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18733         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18734         * sysdeps/unix/sysv/linux/mips: Move directory from
18735         ports/sysdeps/unix/sysv/linux/mips.
18736         * README: Update listing for mips-*-linux-gnu and
18737         mips64-*-linux-gnu.
18739 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18741         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18742         * sysdeps/unix/sysv/linux/m68k: Move directory from
18743         ports/sysdeps/unix/sysv/linux/m68k.
18744         * README: Update listing for m68k-*-linux-gnu.
18746 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18748         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18749         * sysdeps/unix/sysv/linux/generic: Move directory from
18750         ports/sysdeps/unix/sysv/linux/generic.
18751         * sysdeps/unix/sysv/linux/tile: Move directory from
18752         ports/sysdeps/unix/sysv/linux/tile.
18753         * README: Update listing for tile*-*-linux-gnu.
18755 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18757         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18758         __builtin_expect.
18759         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18760         * catgets/open_catalog.c (__open_catalog): Likewise.
18761         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18762         * debug/confstr_chk.c: Likewise.
18763         * debug/fread_chk.c (__fread_chk): Likewise.
18764         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18765         * debug/getgroups_chk.c: Likewise.
18766         * debug/mbsnrtowcs_chk.c: Likewise.
18767         * debug/mbsrtowcs_chk.c: Likewise.
18768         * debug/mbstowcs_chk.c: Likewise.
18769         * debug/memcpy_chk.c: Likewise.
18770         * debug/memmove_chk.c: Likewise.
18771         * debug/mempcpy_chk.c: Likewise.
18772         * debug/memset_chk.c: Likewise.
18773         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18774         * debug/strcat_chk.c (__strcat_chk): Likewise.
18775         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18776         * debug/strncat_chk.c (__strncat_chk): Likewise.
18777         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18778         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18779         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18780         * debug/wcpncpy_chk.c: Likewise.
18781         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18782         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18783         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18784         * debug/wcsncpy_chk.c: Likewise.
18785         * debug/wcsnrtombs_chk.c: Likewise.
18786         * debug/wcsrtombs_chk.c: Likewise.
18787         * debug/wcstombs_chk.c: Likewise.
18788         * debug/wmemcpy_chk.c: Likewise.
18789         * debug/wmemmove_chk.c: Likewise.
18790         * debug/wmempcpy_chk.c: Likewise.
18791         * debug/wmemset_chk.c: Likewise.
18792         * dirent/scandirat.c (SCANDIRAT): Likewise.
18793         * dlfcn/dladdr1.c (dladdr1): Likewise.
18794         * dlfcn/dladdr.c (dladdr): Likewise.
18795         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18796         * dlfcn/dlerror.c (__dlerror): Likewise.
18797         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18798         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18799         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18800         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18801         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18802         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18803         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18804         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18805         Likewise.
18806         * elf/dl-conflict.c: Likewise.
18807         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18808         * elf/dl-dst.h: Likewise.
18809         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18810         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18811         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18812         * elf/dl-init.c (call_init, _dl_init): Likewise.
18813         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18814         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18815         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18816         Likewise.
18817         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18818         Likewise.
18819         * elf/dl-minimal.c (__libc_memalign): Likewise.
18820         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18821         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18822         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18823         * elf/dl-sym.c (do_sym): Likewise.
18824         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18825         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18826         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18827         * elf/dl-writev.h (_dl_writev): Likewise.
18828         * elf/ldconfig.c (search_dir): Likewise.
18829         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18830         (dl_main): Likewise.
18831         * elf/setup-vdso.h (setup_vdso): Likewise.
18832         * grp/compat-initgroups.c (compat_call): Likewise.
18833         * grp/fgetgrent.c (fgetgrent): Likewise.
18834         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18835         * grp/putgrent.c (putgrent): Likewise.
18836         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18837         Likewise.
18838         * hurd/hurdinit.c: Likewise.
18839         * iconvdata/8bit-gap.c (struct): Likewise.
18840         * iconvdata/ansi_x3.110.c : Likewise.
18841         * iconvdata/big5.c : Likewise.
18842         * iconvdata/big5hkscs.c : Likewise.
18843         * iconvdata/cp1255.c: Likewise.
18844         * iconvdata/cp1258.c : Likewise.
18845         * iconvdata/cp932.c : Likewise.
18846         * iconvdata/euc-cn.c: Likewise.
18847         * iconvdata/euc-jisx0213.c : Likewise.
18848         * iconvdata/euc-jp.c: Likewise.
18849         * iconvdata/euc-jp-ms.c : Likewise.
18850         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18851         * iconvdata/gb18030.c : Likewise.
18852         * iconvdata/gbbig5.c (const): Likewise.
18853         * iconvdata/gbgbk.c: Likewise.
18854         * iconvdata/gbk.c : Likewise.
18855         * iconvdata/ibm1364.c : Likewise.
18856         * iconvdata/ibm930.c : Likewise.
18857         * iconvdata/ibm932.c: Likewise.
18858         * iconvdata/ibm933.c : Likewise.
18859         * iconvdata/ibm935.c : Likewise.
18860         * iconvdata/ibm937.c : Likewise.
18861         * iconvdata/ibm939.c : Likewise.
18862         * iconvdata/ibm943.c: Likewise.
18863         * iconvdata/iso_11548-1.c: Likewise.
18864         * iconvdata/iso-2022-cn.c : Likewise.
18865         * iconvdata/iso-2022-cn-ext.c : Likewise.
18866         * iconvdata/iso-2022-jp-3.c: Likewise.
18867         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18868         * iconvdata/iso-2022-kr.c : Likewise.
18869         * iconvdata/iso646.c (gconv_end): Likewise.
18870         * iconvdata/iso_6937-2.c : Likewise.
18871         * iconvdata/iso_6937.c : Likewise.
18872         * iconvdata/iso8859-1.c: Likewise.
18873         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18874         * iconvdata/shift_jisx0213.c : Likewise.
18875         * iconvdata/sjis.c : Likewise.
18876         * iconvdata/t.61.c : Likewise.
18877         * iconvdata/tcvn5712-1.c : Likewise.
18878         * iconvdata/tscii.c: Likewise.
18879         * iconvdata/uhc.c : Likewise.
18880         * iconvdata/unicode.c (gconv_end): Likewise.
18881         * iconvdata/utf-16.c (gconv_end): Likewise.
18882         * iconvdata/utf-32.c (gconv_end): Likewise.
18883         * iconvdata/utf-7.c (base64): Likewise.
18884         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18885         * iconv/gconv_close.c (__gconv_close): Likewise.
18886         * iconv/gconv_open.c (__gconv_open): Likewise.
18887         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18888         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18889         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18890         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18891         (ucs4le_internal_loop_single): Likewise.
18892         * iconv/iconv.c (iconv): Likewise.
18893         * iconv/iconv_close.c: Likewise.
18894         * iconv/loop.c (SINGLE): Likewise.
18895         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18896         * include/atomic.h: Likewise.
18897         * inet/inet6_option.c (option_alloc): Likewise.
18898         * intl/bindtextdom.c (set_binding_values): Likewise.
18899         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18900         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18901         * intl/localealias.c (read_alias_file): Likewise.
18902         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18903         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18904         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18905         * libio/fmemopen.c (fmemopen): Likewise.
18906         * libio/iofgets.c (_IO_fgets): Likewise.
18907         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18908         * libio/iofgetws.c (fgetws): Likewise.
18909         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18910         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18911         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18912         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18913         * locale/findlocale.c (_nl_find_locale): Likewise.
18914         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18915         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18916         Likewise.
18917         * locale/setlocale.c (setlocale): Likewise.
18918         * login/programs/pt_chown.c (main): Likewise.
18919         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18920         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18921         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18922         (mmap, mmap64, mremap, munmap): Likewise.
18923         * math/e_exp2l.c: Likewise.
18924         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18925         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18926         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18927         * math/s_catan.c (__catan): Likewise.
18928         * math/s_catanf.c (__catanf): Likewise.
18929         * math/s_catanh.c (__catanh): Likewise.
18930         * math/s_catanhf.c (__catanhf): Likewise.
18931         * math/s_catanhl.c (__catanhl): Likewise.
18932         * math/s_catanl.c (__catanl): Likewise.
18933         * math/s_ccosh.c (__ccosh): Likewise.
18934         * math/s_ccoshf.c (__ccoshf): Likewise.
18935         * math/s_ccoshl.c (__ccoshl): Likewise.
18936         * math/s_cexp.c (__cexp): Likewise.
18937         * math/s_cexpf.c (__cexpf): Likewise.
18938         * math/s_cexpl.c (__cexpl): Likewise.
18939         * math/s_clog10.c (__clog10): Likewise.
18940         * math/s_clog10f.c (__clog10f): Likewise.
18941         * math/s_clog10l.c (__clog10l): Likewise.
18942         * math/s_clog.c (__clog): Likewise.
18943         * math/s_clogf.c (__clogf): Likewise.
18944         * math/s_clogl.c (__clogl): Likewise.
18945         * math/s_csin.c (__csin): Likewise.
18946         * math/s_csinf.c (__csinf): Likewise.
18947         * math/s_csinh.c (__csinh): Likewise.
18948         * math/s_csinhf.c (__csinhf): Likewise.
18949         * math/s_csinhl.c (__csinhl): Likewise.
18950         * math/s_csinl.c (__csinl): Likewise.
18951         * math/s_csqrt.c (__csqrt): Likewise.
18952         * math/s_csqrtf.c (__csqrtf): Likewise.
18953         * math/s_csqrtl.c (__csqrtl): Likewise.
18954         * math/s_ctan.c (__ctan): Likewise.
18955         * math/s_ctanf.c (__ctanf): Likewise.
18956         * math/s_ctanh.c (__ctanh): Likewise.
18957         * math/s_ctanhf.c (__ctanhf): Likewise.
18958         * math/s_ctanhl.c (__ctanhl): Likewise.
18959         * math/s_ctanl.c (__ctanl): Likewise.
18960         * math/w_pow.c: Likewise.
18961         * math/w_powf.c: Likewise.
18962         * math/w_powl.c: Likewise.
18963         * math/w_scalb.c (sysv_scalb): Likewise.
18964         * math/w_scalbf.c (sysv_scalbf): Likewise.
18965         * math/w_scalbl.c (sysv_scalbl): Likewise.
18966         * misc/error.c (error_tail): Likewise.
18967         * misc/pselect.c (__pselect): Likewise.
18968         * nis/nis_callback.c (__nis_create_callback): Likewise.
18969         * nis/nis_call.c (__nisfind_server): Likewise.
18970         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18971         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18972         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18973         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18974         * nis/nis_lookup.c (nis_lookup): Likewise.
18975         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18976         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18977         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18978         * nis/nis_xdr.c (xdr_endpoint): Likewise.
18979         * nis/nss_compat/compat-grp.c (getgrent_next_file)
18980         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18981         * nis/nss_compat/compat-initgroups.c (add_group)
18982         (internal_getgrent_r): Likewise.
18983         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18984         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18985         * nis/nss_compat/compat-spwd.c (getspent_next_file)
18986         (internal_getspnam_r): Likewise.
18987         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18988         (_nss_nis_getaliasbyname_r): Likewise.
18989         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18990         (_nss_nis_getntohost_r): Likewise.
18991         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18992         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18993         (_nss_nis_getgrgid_r): Likewise.
18994         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18995         (internal_nis_gethostent_r, internal_gethostbyname2_r)
18996         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18997         (_nss_nis_gethostbyname4_r): Likewise.
18998         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18999         (initgroups_netid): Likewise.
19000         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19001         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19002         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19003         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19004         (_nss_nis_getprotobynumber_r): Likewise.
19005         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19006         (_nss_nis_getsecretkey): Likewise.
19007         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19008         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19009         (_nss_nis_getpwuid_r): Likewise.
19010         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19011         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19012         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19013         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19014         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19015         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19016         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19017         Likewise.
19018         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19019         (_nss_nisplus_getntohost_r): Likewise.
19020         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19021         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19022         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19023         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19024         Likewise.
19025         * nis/nss_nisplus/nisplus-initgroups.c
19026         (_nss_nisplus_initgroups_dyn): Likewise.
19027         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19028         (_nss_nisplus_getnetbyaddr_r): Likewise.
19029         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19030         (_nss_nisplus_getprotobynumber_r): Likewise.
19031         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19032         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19033         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19034         Likewise.
19035         * nis/nss_nisplus/nisplus-service.c
19036         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19037         (_nss_nisplus_getservbyport_r): Likewise.
19038         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19039         (_nss_nisplus_getspnam_r): Likewise.
19040         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19041         Likewise.
19042         * nscd/aicache.c (addhstaiX): Likewise.
19043         * nscd/cache.c (cache_search, prune_cache): Likewise.
19044         * nscd/connections.c (register_traced_file, send_ro_fd)
19045         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19046         (main_loop_epoll): Likewise.
19047         * nscd/grpcache.c (addgrbyX): Likewise.
19048         * nscd/hstcache.c (addhstbyX): Likewise.
19049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19050         * nscd/mem.c (gc, mempool_alloc): Likewise.
19051         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19052         (addinnetgrX): Likewise.
19053         * nscd/nscd-client.h (__nscd_acquire_maplock)
19054         (__nscd_drop_map_ref): Likewise.
19055         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19056         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19057         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19058         Likewise.
19059         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19060         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19061         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19062         (__nscd_get_map_ref): Likewise.
19063         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19064         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19065         Likewise.
19066         * nscd/pwdcache.c (addpwbyX): Likewise.
19067         * nscd/selinux.c (preserve_capabilities): Likewise.
19068         * nscd/servicescache.c (addservbyX): Likewise.
19069         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19070         * posix/fnmatch.c (fnmatch): Likewise.
19071         * posix/getopt.c (_getopt_internal_r): Likewise.
19072         * posix/glob.c (glob, glob_in_dir): Likewise.
19073         * posix/wordexp.c (exec_comm_child): Likewise.
19074         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19075         (getanswer_r, gaih_getanswer_slice): Likewise.
19076         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19077         * resolv/res_init.c: Likewise.
19078         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19079         * resolv/res_query.c (__libc_res_nquery): Likewise.
19080         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19081         Likewise.
19082         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19083         * stdio-common/perror.c (perror): Likewise.
19084         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19085         * stdio-common/tmpnam.c (tmpnam): Likewise.
19086         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19087         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19088         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19089         Likewise.
19090         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19091         * stdlib/putenv.c (putenv): Likewise.
19092         * stdlib/setenv.c (__add_to_environ): Likewise.
19093         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19094         * stdlib/strtol_l.c (INTERNAL): Likewise.
19095         * string/memmem.c (memmem): Likewise.
19096         * string/strerror.c (strerror): Likewise.
19097         * string/strnlen.c (__strnlen): Likewise.
19098         * string/test-memmem.c (simple_memmem): Likewise.
19099         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19100         * sunrpc/pm_getport.c (__get_socket): Likewise.
19101         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19102         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19103         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19104         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19105         Likewise.
19106         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19107         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19108         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19109         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19110         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19111         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19112         Likewise.
19113         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19114         Likewise.
19115         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19116         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19117         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19118         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19119         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19121         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19122         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19123         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19124         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19125         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19126         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19127         Likewise.
19128         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19129         Likewise.
19130         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19131         Likewise.
19132         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19133         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19134         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19135         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19136         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19137         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19138         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19139         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19140         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19141         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19142         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19143         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19144         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19145         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19147         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19148         Likewise.
19149         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19150         Likewise.
19151         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19152         Likewise.
19153         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19154         Likewise.
19155         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19157         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19158         Likewise.
19159         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19160         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19161         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19162         * sysdeps/posix/sleep.c: Likewise.
19163         * sysdeps/posix/tempname.c: Likewise.
19164         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19165         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19166         Likewise.
19167         * sysdeps/powerpc/powerpc32/dl-machine.h
19168         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19169         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19170         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19171         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19172         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19173         Likewise.
19174         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19176         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19177         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19178         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19179         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19180         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19181         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19182         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19183         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19184         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19185         (elf_machine_lazy_rel): Likewise.
19186         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19188         (elf_machine_lazy_rel): Likewise.
19189         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19190         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19191         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19192         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19193         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19194         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19195         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19196         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19197         Likewise.
19198         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19199         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19200         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19201         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19202         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19203         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19204         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19205         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19206         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19207         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19208         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19209         Likewise.
19210         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19211         (__posix_fallocate64_l64): Likewise.
19212         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19213         (posix_fallocate): Likewise.
19214         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19215         Likewise.
19216         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19217         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19218         (getifaddrs_internal): Likewise.
19219         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19220         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19221         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19222         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19223         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19224         (__posix_fallocate64_l64): Likewise.
19225         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19226         Likewise.
19227         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19228         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19229         (__get_clockfreq): Likewise.
19230         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19231         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19232         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19235         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19236         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19237         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19238         Likewise.
19239         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19240         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19241         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19242         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19243         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19244         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19245         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19246         Likewise.
19247         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19248         (posix_fallocate): Likewise.
19249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19250         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19251         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19252         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19253         (elf_machine_rela, elf_machine_rela_relative)
19254         (elf_machine_lazy_rel): Likewise.
19255         * time/asctime.c (asctime_internal): Likewise.
19256         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19257         * time/tzset.c (__tzset_parse_tz): Likewise.
19258         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19259         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19260         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19261         * wcsmbs/wcsmbsload.h: Likewise.
19263         [BZ #15894]
19264         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19266         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19267         (arena_get2): Remove THREAD_STATS conditionals.
19268         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19269         (__malloc_stats, int): Likewise.
19271 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19273         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19274         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19276         * manual/setjmp.texi: Fix typos/grammar errors.
19278         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19279         Only return early when n is <= 0.  Delete unused return statement.
19281         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19282         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19283         * debug/tst-longjmp_chk3.c: New file.
19285         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19286         (test_main): Replace code with set_fortify_handler call.
19287         * debug/test-strcpy_chk.c: Likewise.
19288         * debug/tst-chk1.c: Likewise.
19289         * debug/tst-longjmp_chk.c: Likewise.
19290         * test-skeleton.c: Include fcntl.h & paths.h
19291         (set_fortify_handler): Define.
19293         * debug/tst-longjmp_chk.c: Add header comment and include
19294         ../test-skeleton.c.
19295         (do_test): Mark static.
19296         (TEST_FUNCTION): Define.
19298         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19299         (IP_PMTUDISC_INTERFACE): Likewise.
19300         (IP_MULTICAST_IF): Likewise.
19301         (IP_MULTICAST_TTL): Likewise.
19302         (IP_MULTICAST_LOOP): Likewise.
19303         (IP_ADD_MEMBERSHIP): Likewise.
19304         (IP_DROP_MEMBERSHIP): Likewise.
19305         (IP_UNBLOCK_SOURCE): Likewise.
19306         (IP_BLOCK_SOURCE): Likewise.
19307         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19308         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19309         (IP_MSFILTER): Likewise.
19310         (MCAST_JOIN_GROUP): Likewise.
19311         (MCAST_BLOCK_SOURCE): Likewise.
19312         (MCAST_UNBLOCK_SOURCE): Likewise.
19313         (MCAST_LEAVE_GROUP): Likewise.
19314         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19315         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19316         (MCAST_MSFILTER): Likewise.
19317         (IP_MULTICAST_ALL): Likewise.
19318         (IP_UNICAST_IF): Likewise.
19320         * timezone/Makefile: Delete $(have-ksh) check.
19321         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19322         * timezone/tzselect.ksh: Add +x mode bits.
19324         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19325         (ANON_INODE_FS_MAGIC): Likewise.
19326         (BDEVFS_MAGIC): Likewise.
19327         (BINFMTFS_MAGIC): Likewise.
19328         (BTRFS_TEST_MAGIC): Likewise.
19329         (CRAMFS_MAGIC_WEND): Likewise.
19330         (DEBUGFS_MAGIC): Likewise.
19331         (ECRYPTFS_SUPER_MAGIC): Likewise.
19332         (EXT3_SUPER_MAGIC): Likewise.
19333         (EXT4_SUPER_MAGIC): Likewise.
19334         (FUTEXFS_SUPER_MAGIC): Likewise.
19335         (HOSTFS_SUPER_MAGIC): Likewise.
19336         (HUGETLBFS_MAGIC): Likewise.
19337         (MINIX3_SUPER_MAGIC): Likewise.
19338         (MTD_INODE_FS_MAGIC): Likewise.
19339         (NILFS_SUPER_MAGIC): Likewise.
19340         (OPENPROM_SUPER_MAGIC): Likewise.
19341         (PIPEFS_MAGIC): Likewise.
19342         (PSTOREFS_MAGIC): Likewise.
19343         (QNX6_SUPER_MAGIC): Likewise.
19344         (RAMFS_MAGIC): Likewise.
19345         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19346         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19347         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19348         (SECURITYFS_MAGIC): Likewise.
19349         (SELINUX_MAGIC): Likewise.
19350         (SMACK_MAGIC): Likewise.
19351         (SOCKFS_MAGIC): Likewise.
19352         (SQUASHFS_MAGIC): Likewise.
19353         (STACK_END_MAGIC): Likewise.
19354         (TMPFS_MAGIC): Likewise.
19355         (USBDEVICE_SUPER_MAGIC): Likewise.
19356         (V9FS_MAGIC): Likewise.
19357         (XENFS_SUPER_MAGIC): Likewise.
19358         (CRAMFS_MAGIC): Fix typo in comment.
19359         (EXT2_SUPER_MAGIC): Update comment.
19360         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19362 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19364         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19365         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19366         * sysdeps/unix/sysv/linux/arm: Move directory from
19367         ports/sysdeps/unix/sysv/linux/arm.
19368         * README: Update listing for arm-*-linux-gnueabi.
19370         * README: Remove mention of am33.
19372 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19374         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19375         than the comma operator, to avoid "rhs of comma has no effect"
19376         compiler warnings.
19377         (__sigfillset, __sigandset, __sigorset): Likewise.
19378         * include/signal.h (__sigemptyset): Likewise.
19379         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19381 2014-02-07  Allan McRae  <allan@archlinux.org>
19383         * version.h (RELEASE): Set to "development".
19384         (VERSION): Set to "2.19.90"
19385         * NEWS: Add 2.20 section.
19387 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19389         [BZ #16529]
19390         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19392 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19394         * manual/contrib.texi: Update entry for Carlos O'Donell,
19395         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19397 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19399         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19401         * sysdeps/unix/sysv/linux/kernel-features.h
19402         [__LINUX_KERNEL_VERSION >= 0x020621]
19403         (__ASSUME_PROC_PID_TASK_COMM): Define.
19405 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19407         [BZ #16398]
19408         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19409         conversion when destination buffer does not have enough space.
19410         * libio/tst-ftell-partial-wide.c: New test case.
19411         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19413         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19414         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19415         Leonard and Allan McRae.
19417 2014-02-04  David S. Miller  <davem@davemloft.net>
19419         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19420         32-bit.
19422 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19425         New file
19426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19427         New file
19428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19429         New file.
19430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19431         New file.
19432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19433         New file.
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19435         New file.
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19437         New file.
19438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19439         New file.
19440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19441         New file.
19442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19443         New file.
19444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19445         New file.
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19447         New file.
19448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19449         New file.
19451 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19453         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19454         * shlib-versions: Likewise.
19456 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19457             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19459         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19460         (abilist-pattern): New variable, set to %-le.abilist.
19462         * Makerules (abilist-pattern): New variable.
19463         (vpath): Use $(abilist-pattern) in place of %.abilist.
19464         (check-abi-% pattern rule): Likewise.
19465         (check-abi, update-abi): Likewise.
19467 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19471 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19473         * manual/startup.texi: Add next, previous, and top entries for
19474         the `Program Arguments' and `Environment Variables' nodes.
19476 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19478         * manual/macros.texi: Add comments before MTASC-safety macros.
19480         * manual/users.texi: Document MTASC-safety properties.
19482         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19483         (pthread_getspecific, pthread_setspecific): Format with
19484         @deftypefun, and add @safety note.
19485         * manual/signal.texi: Move comments that analyze the above
19486         functions to their home place.
19488 2014-02-03  Allan McRae  <allan@archlinux.org>
19490         * po/sl.po: Update Slovenian translation from translation project.
19492 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19494         * manual/time.texi (timegm): Add missing blank after @c.
19495         Reported by Joseph Myers <joseph@codesourcery.com>.
19497 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19499         * manual/check-safety.sh: New.
19500         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19502         * manual/terminal.texi: Document MTASC-safety properties.
19504         * manual/filesys.texi: Document MTASC-safety properties.
19506         * manual/errno.texi: Document MTASC-safety properties.
19508         * manual/intro.texi: Document safety identifiers and
19509         conditionals.
19511         * manual/string.texi (wcstok): Fix prototype.
19512         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19514         * manual/time.texi: Document MTASC-safety properties.
19516         * manual/string.texi: Document MTASC-safety properties.
19518         * manual/threads.texi: Document MTASC-safety properties.
19520         * manual/stdio.texi: Document MTASC-safety properties.
19522         * manual/syslog.texi: Document MTASC-safety properties.
19524         * manual/sysinfo.texi: Document MTASC-safety properties.
19526         * manual/startup.texi: Document MTASC-safety properties.
19528         * manual/socket.texi: Document MTASC-safety properties.
19530         * manual/signal.texi: Document MTASC-safety properties.
19532 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19534         * manual/setjmp.texi: Document MTASC-safety properties.
19536         * manual/search.texi: Document MTASC-safety properties.
19538         * manual/resource.texi: Document MTASC-safety properties.
19540         * manual/process.texi: Document MTASC-safety properties.
19542         * manual/platform.texi: Document MTASC-safety properties.
19544         * manual/pipe.texi: Document MTASC-safety properties.
19546         * manual/pattern.texi: Document MTASC-safety properties.
19548         * manual/message.texi: Document MTASC-safety properties.
19550         [BZ #12751]
19551         * manual/memory.texi: Document MTASC-safety properties.
19553         * manual/math.texi: Document MTASC-safety properties.
19555         * manual/locale.texi: Document MTASC-safety properties.
19557         * manual/llio.texi: Document MTASC-safety properties.
19559         * manual/libdl.texi: New.
19561         * manual/lang.texi: Document MTASC-safety properties.
19563         * manual/job.texi: Document MTASC-safety properties.
19565         * manual/getopt.texi: Document MTASC-safety properties.
19567         * manual/ctype.texi: Document MTASC-safety properties.
19569 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19571         [BZ #16046]
19572         * csu/libc-tls.c (static_map): Remove variable.
19573         (__libc_setup_tls): Use main executable's link map for TLS data.
19574         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19575         casing for LM_ID_BASE and GL(dl_nns).
19576         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19577         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19578         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19579         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19580         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19581         member.
19582         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19583         l_phnum members.
19585 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19587         * manual/debug.texi: Document MTASC-safety properties.
19589 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19591         [BZ #16510]
19592         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19593         of __x86_64__ when disabling x87 inline functions.
19595 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19597         * manual/charset.texi: Document MTASC-safety properties.
19599         * manual/crypt.texi: Document MTASC-safety properties.
19601         * manual/conf.texi: Document MTASC-safety properties.
19603         * manual/arith.texi: Document MTASC-safety properties.
19605         * manual/argp.texi: Document MTASC-safety properties.
19607         * manual/macros.texi: Introduce macros to document multi
19608         thread, asynchronous signal and asynchronous cancellation
19609         safety properties.
19610         * manual/intro.texi: Introduce the properties themselves.
19612 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19614         * sysdeps/sh/sh4/Makefile: New file.
19616 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19618         * math/gen-libm-test.pl ($srcdir): New variable.
19619         ($auto_input): Use it.
19621 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19623         [BZ #16506]
19624         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19625         access beyond array bounds when parsing netgroups file.
19627         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19628         the old buffer before realloc.
19630 2014-01-27  Allan McRae  <allan@archlinux.org>
19632         * po/fr.po: Update French translation from translation project.
19634 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19636         * sysdeps/sh/libm-test-ulps: Regenerate.
19638 2014-01-24  David S. Miller  <davem@davemloft.net>
19640         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19642 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19644         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19645         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19647 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19649         [BZ #16474]
19650         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19651         string pointers after reallocation.
19653 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19655         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19656         __SH4A__ instead of __SH_FPU_ANY__.
19658 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19660         * sysdeps/sh/fpu_control.h: New file.
19661         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19662         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19663         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19664         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19665         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19666         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19667         * sysdeps/sh/sys/ucontext.h: Remove.
19668         * sysdeps/sh/sys: Remove directory.
19670 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19672         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19673         s390/sys/ucontext.h.
19674         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19675         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19677 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19679         [BZ #15605]
19680         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19682 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19684         [BZ#16431]
19685         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19686         Adjust the vDSO correctly for internal calls.
19687         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19689 2014-01-20  Allan McRae  <allan@archlinux.org>
19691         * po/ca.po: Update Catalan translation from translation project.
19693 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19695         * sysdeps/s390/sotruss-lib.c: New file.
19697 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19699         [BZ#16430]
19700         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19701         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19702         local calls issues by not having a PLT stub required for IFUNC calls.
19703         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19705 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19707         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19708         * math/test-fpucw-static.c: Likewise.
19710 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19712         [BZ #16453]
19713         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19715 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19717         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19718         implementation for powerpc.
19720 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19722         [BZ #14782]
19723         * sysdeps/posix/system.c (__libc_system): Do not enable
19724         asynchronous cancellation.
19726 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19728         [BZ #16427]
19729         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19730         handling only for numbers special also in the IEEE case.
19732 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19734         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19736 2014-01-11  Allan McRae  <allan@archlinux.org>
19738         * po/bg.po: Update Bulgarian translation from translation project.
19740         * po/de.po: Update German translation from translation project.
19742 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19744         * sysdeps/generic/gcc-compat.h: New file.
19746 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19748         * benchtests/asin-inputs: Correct slow inputs.
19749         * benchtests/acos-inputs: Likewise.
19751 2014-01-10  Allan McRae  <allan@archlinux.org>
19753         * po:sv.po: Update Swedish translation from translation project.
19755         * po/vi.po: Update Vietnamese translation from translation project.
19757         * po/eo.po: Update Esperanto translation from translation project.
19759         * po/cs.po: Update Czech translation from translation project.
19761         * po/nl.po: Update Dutch translation from translation project.
19763         * po/pl.po: Update Polish translation from translation project.
19765         * po/ru.po: Update Russian translation from translation project.
19767         * po/uk.po: Update Ukrainian translation from translation project.
19769 2014-01-08  Brooks Moses  <bmoses@google.com>
19771         * elf/dl-load.c: Fix comment typo.
19773 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19775         * po/header.pot: Rename to...
19776         * po/pot.header: ... this.
19777         * po/Makefile: Use pot.header.
19779 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19780             Maxim Kuvyrkov  <maxim@kugelworks.com>
19782         [BZ #16394]
19783         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19784         SRC and DEST against LEN.
19786 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19788         [BZ #16414]
19789         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19790         implementation.
19791         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19793 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19797 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19799         [BZ #16408]
19800         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19801         for large positive arguments.
19803 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19805         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19807         * math/auto-libm-test-in: Mark various tests with
19808         xfail-rounding:ldbl-128ibm.
19809         * math/auto-libm-test-out: Regenerated.
19811         [BZ #16407]
19812         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19813         Increase overflow threshold.
19815 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19817         [BZ #14286]
19818         * stdio-common/vfprintf.c: Check for integer overflow.
19820 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19822         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19823         the first argument and return value of __tls_get_addr_internal.
19825 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19827         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19828         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19830 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19832         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19833         * sysdeps/s390/rtld-global-offsets.sym: New file.
19834         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19835         GLIBC_2.19 symbol.
19836         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19837         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19838         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19839         ... this.
19840         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19841         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19842         ... this.
19843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19844         Regenerate.
19845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19846         Regenerate.
19847         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19848         halfs of GPRs for high_gprs contexts.
19849         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19850         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19851         field.
19852         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19853         uc_flags field.
19854         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19855         64 bit versions:
19856         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19857         for high GPRs (uc_high_gprs) and for future extensions
19858         (__reserved).
19859         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19860         for future extensions (__reserved).
19861         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19862         64 bit versions:
19863         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19864         SC_HIGHGPRS offset definition.
19865         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19866         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19868         * Versions.def: Add GLIBC_2.19 for libpthread.
19869         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19870         siglongjmp for libpthread with GLIBC_2.19 symver.
19871         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19872         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19873         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19874         * sysdeps/s390/__longjmp.c: New file.
19875         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19876         * sysdeps/s390/longjmp.c: New file.
19877         * sysdeps/s390/setjmp.S: New file.
19878         * sysdeps/s390/sigjmp.S: New file.
19879         * sysdeps/s390/v1-longjmp.c: New file.
19880         * sysdeps/s390/v1-setjmp.h: New file.
19881         * sysdeps/s390/v1-sigjmp.c: New file.
19882         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19883         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19884         GLIBC_2.19 version.
19885         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19886         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19887         versioned symbols for ____longjmp_chk.
19888         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19889         Likewise.
19890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19891         Regenerate.
19892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19893         Regenerate.
19894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19895         Regenerate.
19896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19897         Regenerate.
19898         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19899         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19900         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19901         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19902         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19903         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19904         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19905         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19906         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19907         * sysdeps/s390/rtld-__longjmp.c: New file.
19908         * sysdeps/s390/rtld-setjmp.S: New file.
19910 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19912         [BZ #16400]
19913         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19914         Return -__logl (x) for small positive arguments without evaluating
19915         a polynomial.
19917 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19919         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19920         Rename to ...
19921         (__ptrace_peeksiginfo_args): ... this.
19922         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19923         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19924         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19926 2014-01-06  Allan McRae  <allan@archlinux.org>
19928         * inet/netinet/in.h: Fix typo in comment.
19930 2014-01-05  Andreas Jaeger  <aj@suse.de>
19932         * sysdeps/i386/fpu/libm-test-ulps: Update.
19934 2014-01-05  Allan McRae  <allan@archlinux.org>
19936         * po/libc.pot: Regenerated.
19938         * malloc/memusagestat.c: Fix gettext call formatting.
19940 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19942         * nscd/nscd.c: Improve usage() output.
19944 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19946         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19947         * sysdeps/unix/sysv/linux/configure: Regenerated.
19948         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19949         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19951 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19953         [BZ #16390]
19954         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19955         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19957 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19959         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19960         extra tokens at end of #undef directive.
19961         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19962         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19965 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19967         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19969         * math/auto-libm-test-in: Mark various tests with
19970         xfail-rounding:ldbl-128ibm.
19971         * math/auto-libm-test-out: Regenerated.
19973 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19975         [BZ #16386]
19976         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19977         numbers with subnormal high part when calculating exponent.
19979         [BZ #16385]
19980         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19981         fabs.
19983         [BZ #16384]
19984         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19985         M_LN2l.
19986         (__ieee754_acoshl): Use __log1pl not __log1p.
19988 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
19990         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19991         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19992         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19993         (grow_heap, heap_trim, _int_new_arena, get_free_list)
19994         (reused_arena, arena_get2): Convert to GNU style.
19995         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19996         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19997         (memalign_check, __malloc_set_state): Likewise.
19998         * malloc/mallocbug.c (main): Likewise.
19999         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20000         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20001         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20002         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20003         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20004         (__posix_memalign, malloc_info): Likewise.
20005         * malloc/malloc.h: Likewise.
20006         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20007         (mallochook, memalignhook, reallochook, mabort): Likewise.
20008         * malloc/mcheck.h: Likewise.
20009         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20010         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20011         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20012         * malloc/morecore.c (__default_morecore): Likewise.
20013         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20014         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20015         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20016         (print_and_abort): Likewise.
20017         * malloc/obstack.h: Likewise.
20018         * malloc/set-freeres.c (__libc_freeres): Likewise.
20019         * malloc/tst-mallocstate.c (main): Likewise.
20020         * malloc/tst-mtrace.c (main): Likewise.
20021         * malloc/tst-realloc.c (do_test): Likewise.
20023 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20025         [BZ #16366]
20026         * nscd/netgroupcache.c (do_notfound): New function.
20027         (addgetnetgrentX): Use it.
20029         [BZ # 16365]
20030         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20031         NSS_STATUS_NOTFOUND.
20033 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20035         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20038 2014-01-01  Allan McRae  <allan@archlinux.org>
20040         * scripts/update-copyrights: Update configure input file suffix.
20042         * NEWS: Update copyright year.
20043         * catgets/gencat.c: Likewise.
20044         * csu/version.c: Likewise.
20045         * debug/catchsegv.sh: Likewise.
20046         * debug/pcprofiledump.c: Likewise.
20047         * debug/xtrace.sh: Likewise.
20048         * elf/ldconfig.c: Likewise.
20049         * elf/ldd.bash.in: Likewise.
20050         * elf/pldd.c: Likewise.
20051         * elf/sotruss.ksh: Likewise.
20052         * elf/sprof.c: Likewise.
20053         * iconv/iconv_prog.c: Likewise.
20054         * iconv/iconvconfig.c: Likewise.
20055         * locale/programs/locale.c: Likewise.
20056         * locale/programs/localedef.c: Likewise.
20057         * login/programs/pt_chown.c: Likewise.
20058         * malloc/memusage.sh: Likewise.
20059         * malloc/memusagestat.c: Likewise.
20060         * malloc/mtrace.pl: Likewise.
20061         * manual/libc.texinfo: Likewise.
20062         * nscd/nscd.c: Likewise.
20063         * nss/getent.c: Likewise.
20064         * nss/makedb.c: Likewise.
20065         * posix/getconf.c: Likewise.
20066         * scripts/test-installation.pl: Likewise.
20068         * All files with FSF copyright notices: Update copyright dates
20069         using scripts/update-copyrights.
20070         * intl/plural.c: Regenerated.
20071         * locale/programs/charmap-kw.h: Likewise.
20072         * locale/programs/locfile-kw.h: Likewise.
20074 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20076         * sysdeps/unix/sysv/linux/configure: Regenerated.
20077         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20078         the linux/fanotify.h header.
20079         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20080         HAVE_LINUX_FANOTIFY_H is defined.
20082 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20084         * benchtests/cos-inputs: New inputs.
20085         * benchtests/sin-inputs: Likewise.
20087         * benchtests/atan-inputs: New inputs. Fix name of multiple
20088         precision fallback inputs.
20090         * benchtests/atanh-inputs: New inputs.
20091         * benchtests/tanh-inputs: Likewise.
20093         * benchtests/acosh-inputs: New inputs.
20094         * benchtests/asinh-inputs: Likewise.
20096         * benchtests/cosh-inputs: New inputs.
20097         * benchtests/sinh-inputs: Likewise.
20099         * benchtests/acos-inputs: Add more inputs.
20100         * benchtests/asin-inputs: Likewise.
20102 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20104         [BZ #16375]
20105         * manual/arith.texi: Fix spelling.
20106         * manual/charset.texi: Likewise.
20107         * manual/errno.texi: Likewise.
20108         * manual/filesys.texi: Likewise.
20109         * manual/lang.texi: Likewise.
20110         * manual/llio.texi: Likewise.
20111         * manual/locale.texi: Likewise.
20112         * manual/message.texi: Likewise.
20113         * manual/resource.texi: Likewise.
20114         * manual/search.texi: Likewise.
20115         * manual/setjmp.texi: Likewise.
20116         * manual/stdio.texi: Likewise.
20117         * manual/string.texi: Likewise.
20118         * manual/sysinfo.texi: Likewise.
20119         * manual/time.texi: Likewise.
20121 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20123         * po/sl.po: New file.
20125 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20127         * .gitignore: Add core/.gdbinit/.gdb_history.
20129 2013-12-27  Allan McRae  <allan@archlinux.org>
20131         [BZ #16369]
20132         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20133         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20135 2013-12-24  Brooks Moses  <bmoses@google.com>
20137         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20138         all compilers that claim C++98 compliance, not just GCC.
20139         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20140         Likewise.
20142 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20144         * NEWS: Restore accidentally deleted bug-fix entries.
20146 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20147             Ondřej Bílka  <neleai@seznam.cz>
20149         [BZ #15073]
20150         * malloc/malloc.c (_int_free): Perform sanity check only if we
20151         have_lock.
20153 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20155         [BZ #12986]
20156         * manual/stdio.texi (String Input Conversions): Clarify that character
20157         classes are not supported.
20159 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20163 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20165         [BZ #16337]
20166         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20167         Calculate results for small negative arguments directly rather
20168         than using reflection formula with special underflow handling.
20170         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20171         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20172         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20173         (fchflags): Likewise.
20174         (revoke): Likewise.
20175         (setlogin): Likewise.
20176         (sigaltstack): Likewise.
20177         (wait4): Likewise.
20178         (sigblock): Remove.
20179         (sigsetmask): Likewise.
20180         (wait3): Likewise.
20181         (waitpid): Likewise.
20182         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20183         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20184         file.
20185         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20186         * sysdeps/unix/bsd/Makefile: ... here.
20187         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20188         * sysdeps/unix/bsd/Versions: ... here.
20189         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20190         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20191         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20192         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20193         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20194         * sysdeps/unix/bsd/sigblock.c: ... here.
20195         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20196         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20197         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20198         * sysdeps/unix/bsd/sigvec.c: ... here.
20199         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20200         * sysdeps/unix/bsd/tcdrain.c: ... here.
20201         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20202         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20203         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20204         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20205         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20206         * sysdeps/unix/bsd/wait.c: ... here.
20207         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20208         * sysdeps/unix/bsd/wait3.c: ... here.
20209         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20210         * sysdeps/unix/bsd/waitpid.c: ... here.
20212 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20214         [BZ #16356]
20215         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20216         round-to-nearest for [!USE_AS_EXPM1L].
20217         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20218         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20219         more tests of exp and exp10.  Expect some exp10 tests to miss
20220         exceptions or fail in directed rounding modes.
20221         * math/auto-libm-test-out: Regenerated.
20222         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20223         (exp10_test_tonearest): New function.
20224         (exp10_towardzero_test_data): New array.
20225         (exp10_test_towardzero): New function.
20226         (exp10_downward_test_data): New array.
20227         (exp10_test_downward): New function.
20228         (exp10_upward_test_data): New array.
20229         (exp10_test_upward): New function.
20230         (main): Call the new functions.
20231         * sysdeps/i386/fpu/libm-test-ulps: Update.
20232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20234 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20236         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20237         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20238         * math/auto-libm-test-out: Regenerated.
20239         * math/libm-test.inc (acosh_test_data): Add more tests.
20240         (atanh_test_data): Likewise.
20241         (ceil_test_data): Likewise.
20242         (copysign_test_data): Likewise.
20243         * sysdeps/i386/fpu/libm-test-ulps: Update.
20244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20246         * timezone/checktab.awk: Update from tzcode 2013i.
20247         * timezone/private.h: Likewise.
20248         * timezone/scheck.c: Likewise.
20249         * timezone/tzfile.h: Likewise.
20250         * timezone/tzselect.ksh: Likewise.
20251         * timezone/zdump.c: Likewise.
20252         * timezone/zic.c: Likewise.
20254         * math/auto-libm-test-in: Add tests of cpow.
20255         * math/auto-libm-test-out: Regenerated.
20256         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20257         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20258         mpc_cc_c.
20259         (func_calc_desc): Add mpc_cc_c union field.
20260         (test_functions): Add cpow.
20261         (special_fill_2pi): New function.
20262         (special_real_inputs): Add 2pi.
20263         (calc_generic_results): Handle mpc_cc_c.
20264         * sysdeps/i386/fpu/libm-test-ulps: Update.
20265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20267         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20268         csqrt, ctan and ctanh.
20269         * math/auto-libm-test-out: Regenerated.
20270         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20271         (TEST_COND_x86): Likewise.
20272         (ccos_test_data): Use AUTO_TESTS_c_c.
20273         (ccosh_test_data): Likewise.
20274         (cexp_test_data): Likewise.
20275         (clog_test_data): Likewise.
20276         (csqrt_test_data): Likewise.
20277         (ctan_test_data): Likewise.
20278         (ctan_tonearest_test_data): Likewise.
20279         (ctan_towardzero_test_data): Likewise.
20280         (ctan_downward_test_data): Likewise.
20281         (ctan_upward_test_data): Likewise.
20282         (ctanh_test_data): Likewise.
20283         (ctanh_tonearest_test_data): Likewise.
20284         (ctanh_towardzero_test_data): Likewise.
20285         (ctanh_downward_test_data): Likewise.
20286         (ctanh_upward_test_data): Likewise.
20287         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20288         mpc_c_c.
20289         (func_calc_desc): Add mpc_c_c union field.
20290         (FUNC_mpc_c_c): New macro.
20291         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20292         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20293         ctanh.
20294         (special_fill_min_subnorm_p120): New function.
20295         (special_real_inputs): Add min_subnorm_p120.
20296         (calc_generic_results): Handle mpc_c_c.
20297         * sysdeps/i386/fpu/libm-test-ulps: Update.
20298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20300 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20302         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20303         (do_sin_slow): New functions.
20304         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20305         (cslow2, csloww1, csloww2): Use the new functions.
20307         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20308         Use M to change sign of result instead of X.  Assume X is
20309         positive.
20310         (csloww1): Likewise.
20311         (__sin): Adjust.
20312         (__cos): Adjust.
20314         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20315         arguments A and DA.
20316         (__sin): Adjust.
20317         (__cos): Likewise.
20319         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20320         (__cos): Likewise.
20321         (sloww1): Don't adjust sign of DX.
20322         (csloww1): Likewise.
20323         (sloww2): Use X directly and don't adjust sign of DX.
20324         (csloww2): Likewise.
20326 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20328         * math/auto-libm-test-in: Add tests of cabs and carg.
20329         * math/auto-libm-test-out: Regenerated.
20330         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20331         (carg_test_data): Likewise.
20332         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20333         mpc_c_f.
20334         (func_calc_desc): Add mpc_c_f union field.
20335         (test_functions): Add cabs and carg.
20336         (calc_generic_results): Handle mpc_c_f.
20338         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20339         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20340         as a macro and a compat symbol.
20341         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20342         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20343         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20344         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20345         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20346         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20347         not use .hidden.
20348         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20349         Likewise.
20350         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20351         Likewise.
20352         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20353         Likewise.
20354         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20355         Likewise.
20356         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20357         Likewise.
20358         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20359         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20360         from GLIBC_2.3.2.
20362 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20366 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20368         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20369         trailing whitespace removed.
20370         * scripts/config.guess: Update to version 2013-11-29.
20371         * scripts/config.sub: Update to version 2013-10-01.
20373         * math/auto-libm-test-in: Add tests of sincos.
20374         * math/auto-libm-test-out: Regenerated.
20375         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20377         mpfr_f_11.
20378         (func_calc_desc): Add mpfr_f_11 union field.
20379         (test_functions): Add sincos.
20380         (calc_generic_results): Handle mpfr_f_11.
20381         * sysdeps/i386/fpu/libm-test-ulps: Update.
20382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20384 2013-12-19  Andreas Schwab  <schwab@suse.de>
20386         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20387         CALL_MCOUNT.
20388         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20389         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20390         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20392 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20394         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20395         * sysdeps/i386/fpu/libm-test-ulps: Update.
20396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20398         [BZ #16293]
20399         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20400         round-to-nearest mode when using frndint.
20401         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20402         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20403         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20404         Likewise.
20405         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20406         sinh test to fail.
20407         * math/auto-libm-test-out: Regenerated.
20408         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20409         (TEST_COND_x86): Likewise.
20410         (expm1_tonearest_test_data): New array.
20411         (expm1_test_tonearest): New function.
20412         (expm1_towardzero_test_data): New array.
20413         (expm1_test_towardzero): New function.
20414         (expm1_downward_test_data): New array.
20415         (expm1_test_downward): New function.
20416         (expm1_upward_test_data): New array.
20417         (expm1_test_upward): New function.
20418         (main): Run the new test functions.
20419         * sysdeps/i386/fpu/libm-test-ulps: Update.
20420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422         * include/features.h: Update comment documenting feature test
20423         macros.  Mention _DEFAULT_SOURCE in comment.
20424         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20425         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20426         _BSD_SOURCE and _SVID_SOURCE.
20427         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20428         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20429         !_SVID_SOURCE]: Likewise.
20430         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20431         (__USE_POSIX_IMPLICITLY): Define.
20432         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20433         (_POSIX_SOURCE): Undefine and redefine.
20434         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20435         (_POSIX_C_SOURCE): Likewise.
20436         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20437         (Feature Test Macros): Update documentation of default features.
20439 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20441         * benchtests/Makefile: Add bench-strtok.
20442         * benchtests/bench-strtok.c: New file: strtok benchtest.
20444 2013-12-19  Allan McRae  <allan@archlinux.org>
20446         * manual/install.texi: Suppress menu for plain text output.
20447         * INSTALL: Regenerated.
20449 2013-12-18  Brooks Moses  <bmoses@google.com>
20451         [BZ #15846]
20452         * misc/getauxval.c: Include errno.h.
20453         (__getauxval): Set errno to ENOENT if the requested type is not
20454         found.
20455         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20456         don't declare with __attribute_const__.
20457         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20458         * manual/startup.texi: Document that getauxval sets errno.
20460 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20462         * math/auto-libm-test-in: Add tests of jn and yn.
20463         * math/auto-libm-test-out: Regenerated.
20464         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20465         (yn_test_data): Likewise.
20466         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20467         mpfr_if_f.
20468         (func_calc_desc): Add mpfr_if_f union field.
20469         (FUNC_mpfr_if_f): New macro.
20470         (test_functions): Add jn and yn.
20471         (calc_generic_results): Assert type of second input for
20472         mpfr_ff_f.  Handle mpfr_if_f.
20473         (output_for_one_input_case): Disable all checking for arguments
20474         fitting floating-point types in case of an integer argument.
20475         * sysdeps/i386/fpu/libm-test-ulps: Update.
20476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20479         Don't expect fegetround reference in libm.so.
20481 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20483         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20484         $(config-cflags-nofma).
20486 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20488         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20489         * math/auto-libm-test-out: Regenerated.
20491         [BZ #16338]
20492         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20493         to determine exponent and adjust argument to have exponent of -1.
20494         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20495         log2.
20496         * math/auto-libm-test-out: Regenerated.
20497         * sysdeps/i386/fpu/libm-test-ulps: Update.
20498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20500 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20502         * manual/probes.texi: Remove cases when per-thread arenas are
20503         disabled.
20505 2013-12-18  Andreas Schwab  <schwab@suse.de>
20507         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20508         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20509         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20510         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20511         * sysdeps/i386/i686/multiarch/Makefile: Update.
20512         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20514 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20516         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20517         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20519 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20521         [BZ #15968]
20522         Support TZ transition times < 00:00:00.
20523         This is needed for version-3 tz-format files; it supports time
20524         stamps past 2037 for America/Godthab (the only entry in the tz
20525         database for which this change is relevant).
20526         * manual/time.texi (TZ Variable): Document transition times
20527         from -167:59:59 through -00:00:01.
20528         * time/tzset.c (tz_rule): Time of day is now signed.
20529         (__tzset_parse_tz): Parse negative time of day.
20531         Document TZ transition times >= 25:00:00.
20532         * manual/time.texi (TZ Variable): Document transition times from
20533         25:00:00 through 167:59:59.  These are already supported, and this
20534         support will help with version-3 tz-format files.
20536         * manual/time.texi (TZ Variable): Modernize North America example
20537         to reflect current (i.e., 2007-and-later) daylight saving rules.
20539         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20541 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20543         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20544         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20547         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20548         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20549         * sysdeps/unix/bsd/clock.c: Likewise.
20550         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20551         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20552         * sysdeps/unix/bsd/init-posix.c: Likewise.
20553         * sysdeps/unix/bsd/poll.c: Likewise.
20554         * sysdeps/unix/bsd/ptsname.c: Likewise.
20555         * sysdeps/unix/bsd/seekdir.c: Likewise.
20556         * sysdeps/unix/bsd/setegid.c: Likewise.
20557         * sysdeps/unix/bsd/seteuid.c: Likewise.
20558         * sysdeps/unix/bsd/setgid.c: Likewise.
20559         * sysdeps/unix/bsd/setrgid.c: Likewise.
20560         * sysdeps/unix/bsd/setruid.c: Likewise.
20561         * sysdeps/unix/bsd/setsid.c: Likewise.
20562         * sysdeps/unix/bsd/setuid.c: Likewise.
20563         * sysdeps/unix/bsd/sigaction.c: Likewise.
20564         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20565         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20566         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20567         * sysdeps/unix/bsd/telldir.c: Likewise.
20568         * sysdeps/unix/bsd/times.c: Likewise.
20569         * sysdeps/unix/bsd/usleep.c: Likewise.
20571         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20572         ($(objpfx)libbsd-compat.a): Remove rule.
20574         * include/features.h (__FAVOR_BSD): Do not define.
20575         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20576         features conflicting with POSIX.
20577         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20578         (_BSD_SOURCE): Remove description of not being a subset of other
20579         feature test macros.
20580         * manual/job.texi (getpgrp): Do not document BSD version.
20581         (getpgid): Do not document by reference to BSD getpgrp.
20582         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20583         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20584         * signal/signal.h [__FAVOR_BSD]: Likewise.
20585         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20586         instead of making contents conditional on [__FAVOR_BSD].
20587         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20589 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20593 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20595         [BZ #16314]
20596         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20597         values below 2**-450, not 2**-500.
20598         * math/auto-libm-test-in: Don't allow spurious underflow from
20599         hypot.
20600         * math/auto-libm-test-out: Regenerated.
20602         [BZ #16316]
20603         [BZ #16330]
20604         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20605         values of ha and hb and sort them after adjusting subnormal
20606         arguments.
20607         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20608         Likewise.
20609         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20610         values of ea and eb and sort them after adjusting subnormal
20611         arguments.
20612         * math/auto-libm-test-in: Do not expect some hypot tests of
20613         subnormals to fail.  Add more hypot tests.
20614         * math/auto-libm-test-out: Regenerated.
20616 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20618         [BZ #13304]
20619         * sysdeps/sh/s_fma.c: New file.
20620         * sysdeps/sh/s_fmaf.c: New file.
20621         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20622         version.
20623         * sysdeps/sh/Implies: Add sh/soft-fp.
20625 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20627         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20628         level of indirection to members `objname', `errstring', `malloced'.
20629         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20630         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20631         it as the __longjmp argument (just pass 1 instead).
20632         (_dl_catch_error): Initialize C with argument pointers and address of
20633         volatile local ERRCODE rather than copying values out of C at return.
20635 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20637         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20638         * math/auto-libm-test-out: Regenerated.
20639         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20640         (hypot_test_data): Likewise.
20641         (pow_test_data): Likewise.
20642         (pow_tonearest_test_data): Likewise.
20643         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20644         mpfr_ff_f.
20645         (func_calc_desc): Add mpfr_ff_f union field.
20646         (FUNC_mpfr_ff_f): New macro.
20647         (test_functions): Add atan2, hypot and pow.
20648         (special_fill_min): New function.
20649         (special_fill_minus_min): Likewise.
20650         (special_fill_min_subnorm): Likewise.
20651         (special_fill_minus_min_subnorm): Likewise.
20652         (special_real_inputs): Add min, -min, min_subnorm and
20653         -min_subnorm.
20654         (calc_generic_results): Handle mpfr_ff_f.
20655         * sysdeps/i386/fpu/libm-test-ulps: Update.
20656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20658 2013-12-16  Will Newton  <will.newton@linaro.org>
20660         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20661         (Aligned Memory Blocks): Add documentation for aligned_alloc
20662         and suggest it as an alternative to posix_memalign.
20663         (Hooks for Malloc): Document __memalign_hook is also called
20664         for aligned_alloc.  (Summary of Malloc): Add summary for
20665         aligned alloc.  Document __memalign_hook is also called
20666         for aligned_alloc.
20668 2013-12-16  Will Newton  <will.newton@linaro.org>
20670         * manual/memory.texi (Malloc Examples): Clarify default
20671         alignment documentation.  Suggest posix_memalign rather
20672         than memalign or valloc.
20673         (Aligned Memory Blocks): Remove suggestion to use memalign
20674         or valloc.  Remove obsolete comment about BSD.
20675         Document memalign errno values and mark the function obsolete.
20676         Document posix_memalign returned error codes.  Mark valloc
20677         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20678         called for posix_memalign and valloc.
20679         (Summary of Malloc): Add posix_memalign to function summary.
20680         __memalign_hook is also called for posix_memalign and valloc.
20682 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20684         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20685         TAYLOR_SIN.
20686         (__sin): Adjust.
20687         (__cos): Likewise.
20688         (sloww): Use mynumber union.  Expand ternary operator into
20689         if-else statements.
20690         (cslow): use mynumber union.
20692 2013-12-16  Allan McRae  <allan@archlinux.org>
20694         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20695         * configure: Regenerated.
20697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20699         [BZ #14120]
20700         * configure.ac: Added --enable-maintainer-mode. Check for
20701         autoconf when enabled.
20702         * configure: Regenerated.
20704         * nscd/nscd.service: New file.
20705         * nscd/nscd.tmpfiles: New file.
20707 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20709         [BZ #12100]
20710         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20711         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20712         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20713         (strstr): Add __strstr_sse2_unaligned ifunc.
20714         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20715         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20716         (strcasestr): Remove __strcasestr_sse42 ifunc.
20717         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20721 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20723         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20724         * sysdeps/sh/bits/fenv.h: ... here.
20725         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20727 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20729         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20732         hypotf multiarch implementations.
20733         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20735         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20736         multiarch hypot for PPC64.
20737         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20738         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20739         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20740         multiarch hypotf for PPC64.
20742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20743         modff multiarch implementations.
20744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20747         multiarch modf for PPC64.
20748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20751         multiarch modff for PPC64.
20753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20754         and logl multiarch implementations.
20755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20758         multiarch logb for PPC64.
20759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20762         multiarch logb for PPC64.
20763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20766         multiarch logb for PPC64.
20768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20769         isinff multiarch implementation.
20770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20771         file.
20772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20774         multiarch isinf for PPC64.
20775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20776         file.
20777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20778         multiarch isinff for PPC64.
20780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20781         finitef multiarch implementation.
20782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20783         file.
20784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20786         multiarch finite for PPC64.
20787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20788         file.
20789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20790         multiarch finitef for PPC64.
20792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20793         lrint multiarch implementation.
20794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20795         file.
20796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20798         multiarch llrint for PPC64.
20799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20800         multiarch lrint for PPC64.
20802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20803         copysignf multiarch implementation.
20804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20805         file.
20806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20807         file.
20808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20809         multiarch copysign for PPC64.
20810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20811         multiarch copysignf for PPC64.
20813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20814         multiarch implementation.
20815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20816         file.
20817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20818         file.
20819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20820         file.
20821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20822         file.
20823         multiarch llround for PPC64.
20824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20825         multiarch trunc for PPC64.
20826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20827         multiarch truncf for PPC64.
20829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20830         multiarch implementation.
20831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20832         file.
20833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20834         file.
20835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20836         file.
20837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20838         file.
20839         multiarch llround for PPC64.
20840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20841         multiarch round for PPC64.
20842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20843         multiarch roundf for PPC64.
20845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20846         multiarch implementation.
20847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20848         file.
20849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20850         file.
20851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20852         file.
20853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20854         file.
20855         multiarch llround for PPC64.
20856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20857         multiarch floor for PPC64.
20858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20859         multiarch floorf for PPC64.
20861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20862         multiarch implementation.
20863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20864         file.
20865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20866         file.
20867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20868         file.
20869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20870         file.
20871         multiarch llround for PPC64.
20872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20873         multiarch ceil for PPC64.
20874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20875         multiarch ceilf for PPC64.
20877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20878         multiarch implementation.
20879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20880         file.
20881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20882         file.
20883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20884         file.
20885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20886         multiarch llround for PPC64.
20887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20888         multiarch lround for PPC64.
20890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20891         multiarch implementation.
20892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20895         file.
20896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20899         multiarch isnan for PPC64.
20900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20901         multiarch isnanf for PPC64.
20903         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20904         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20905         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20906         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20907         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20910         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20911         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20912         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20913         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20916         multiarch implementations.
20917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20918         (__libc_ifunc_impl_list): Likewise.
20919         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20920         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20922         multiarch stpcpy for PPC64.
20924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20925         multiarch implementations.
20926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20927         (__libc_ifunc_impl_list): Likewise.
20928         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20929         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20930         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20931         multiarch strcpy for PPC64.
20933         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20934         redefine function name.
20935         (_wordcopy_fwd_dest_aligned): Likewise.
20936         (_wordcopy_bwd_aligned): Likewise.
20937         (_wordcopy_bwd_dest_aligned): Likewise.
20938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20939         multiarch implementations.
20940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20941         (__libc_ifunc_impl_list): Likewise.
20942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20943         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20944         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20945         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20946         multiarch wcscpy for PPC64.
20948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20949         multiarch implementations.
20950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20951         (__libc_ifunc_impl_list): Likewise.
20952         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20953         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20954         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20955         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20956         multiarch wcscpy for PPC64.
20958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20959         multiarch implementations.
20960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20961         (__libc_ifunc_impl_list): Likewise.
20962         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20963         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20964         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20965         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20966         multiarch wcsrchr for PPC64.
20968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20969         multiarch implementations.
20970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20971         (__libc_ifunc_impl_list): Likewise.
20972         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20973         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20974         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20975         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20976         multiarch wcschr for PPC64.
20978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20979         multiarch implementations.
20980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20981         (__libc_ifunc_impl_list): Likewise.
20982         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20983         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20984         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20985         multiarch strchrnul for PPC64.
20987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20988         implementations.
20989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20990         (__libc_ifunc_impl_list): Likewise.
20991         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20992         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20993         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20994         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20995         strchr for PPC64.
20997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20998         implementations.
20999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21000         (__libc_ifunc_impl_list): Likewise.
21001         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21002         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21003         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21004         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21005         strncmp for PPC64.
21007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21008         multiarch implementations.
21009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21010         (__libc_ifunc_impl_list): Likewise.
21011         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21012         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21013         strncasecmp for PPC64.
21014         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21015         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21016         multiarch strncasecmp_l for PPC64.
21018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21019         multiarch implementations.
21020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21021         (__libc_ifunc_impl_list): Likewise.
21022         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21024         multiarch strcasecmp for PPC64.
21025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21026         file.
21027         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21028         multiarch strcasecmp_l for PPC64.
21030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21031         implementations.
21032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21033         (__libc_ifunc_impl_list): Likewise.
21034         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21035         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21036         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21037         strnlen for PPC64.
21039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21040         implementations.
21041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21042         (__libc_ifunc_impl_list): Likewise.
21043         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21044         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21045         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21046         strlen for PPC64.
21048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21049         implementations.
21050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21051         (__libc_ifunc_impl_list): Likewise.
21052         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21053         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21054         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21055         rawmemrchr for PPC64.
21057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21058         implementation.
21059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21060         (__libc_ifunc_impl_list): Likewise.
21061         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21062         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21063         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21064         memrchr for PPC64.
21066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21067         implementation.
21068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21069         (__libc_ifunc_impl_list): Likewise.
21070         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21071         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21072         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21073         memchr for PPC64.
21075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21076         implementation.
21077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21078         (__libc_ifunc_impl_list): Likewise.
21079         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21080         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21081         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21082         mempcpy for PPC64.
21084         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21085         avoid cretion of __bzero symbol.
21086         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21087         Likewise.
21088         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21089         Likewise.
21090         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21091         Likewise.
21092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21093         multiarch implementations.
21094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21095         (__libc_ifunc_impl_list): Likewise.
21096         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21097         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21098         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21099         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21100         bzero for PPC32.
21101         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21102         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21103         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21104         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21105         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21106         memset for PPC64.
21107         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21109         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21111         implementations.
21112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21113         (__libc_ifunc_impl_list): Likewise.
21114         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21115         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21116         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21117         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21118         memcmp for PPC64.
21120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21121         multiarch for POWER/PPC64.
21122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21123         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21124         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21125         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21126         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21127         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21128         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21130         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21131         memcpy for PPC64.
21133         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21134         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21135         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21136         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21137         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21138         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21139         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21140         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21141         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21142         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21143         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21144         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21145         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21146         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21147         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21156 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21158         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21160 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21162         * benchtests/Makefile (bench): Add exp2 and log2.
21163         (LDLIBS-bench-exp2): Add -lm.
21164         (LDLIBS-bench-log2): Likewise.
21165         * benchtests/exp2-inputs: New inputs file.
21166         * benchtests/log2-inputs: New inputs file.
21167         * benchtests/log-inputs: Add new inputs.
21168         * benchtests/tan-inputs: Likewise.
21170 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21172         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21173         definition...
21174         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21175         (csloww2): ... from here.
21177         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21178         instead of structures.
21179         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21180         (POLYNOMIAL): Likewise.
21181         (TAYLOR_SLOW): Likewise.
21182         (__sin): Likewise.
21183         (__cos): Likewise.
21184         (slow1): Likewise.
21185         (slow2): Likewise.
21186         (sloww): Likewise.
21187         (sloww1); Likewise.
21188         (sloww2): Likewise.
21189         (bsloww1): Likewise.
21190         (bsloww2): Likewise.
21191         (cslow2): Likewise.
21192         (csloww): Likewise.
21193         (csloww1): Likewise.
21194         (csloww2): Likewise.
21196 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21198         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21199         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21200         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21201         * malloc/hooks.c (realloc_check): Likewise.
21203         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21204         * malloc/arena.c: Remove PER_THREAD conditional.
21205         [!PER_THREAD]: Remove code.
21206         (ptmalloc_unlock_all2): Likewise.
21207         (ptmalloc_init): Likewise.
21208         (_int_new_arena): Likewise.
21209         (arena_get2): Likewise.
21210         * malloc/hooks.c (__malloc_get_state): Likewise.
21211         (__malloc_set_state): Likewise.
21212         * malloc/malloc.c: Likewise.
21213         (struct malloc_state): Likewise.
21214         (struct malloc_par): Likewise.
21215         (__libc_realloc): Likewise.
21216         (__libc_mallopt): Likewise.
21218 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21220         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21222 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21224         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21225         macro to a function.  Check for zero perturb_byte.
21226         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21228         * malloc/malloc.c: (force_reg): Remove.
21229         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21230         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21231         force_reg by atomic_forced_read.
21232         * malloc/arena.c (ptmalloc_init): Likewise.
21233         * malloc/hooks.c (top_check): Likewise.
21235 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21239 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21243 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21245         * math/auto-libm-test-in: Add tests of lgamma.
21246         * math/auto-libm-test-out: Regenerated.
21247         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21248         (M_LOG_2_SQRT_PIl): Likewise.
21249         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21250         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21251         mpfr_f_f1.
21252         (func_calc_desc): Add mpfr_f_f1 union field.
21253         (ARGS1): New macro.
21254         (ARGS2): Likewise.
21255         (ARGS3): Likewise.
21256         (ARGS4): Likewise.
21257         (RET1): Likewise.
21258         (RET2): Likewise.
21259         (CALC): Likewise.
21260         (FUNC): Likewise.
21261         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21262         (test_functions): Add lgamma.
21263         (calc_generic_results): Handle mpfr_f_f1.
21264         * sysdeps/i386/fpu/libm-test-ulps: Update.
21265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21267 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21269         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21270         __mpn_add_n for PowerPC64/POWER7.
21271         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21272         __mpn_sub_n for PowerPC64/POWER7.
21274         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21275         __mpn_addmul_1 for PowerPC64.
21276         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21277         __mpn_submul_1 for PowerPC64.
21278         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21279         for PowerPC64.
21280         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21281         for PowerPC64.
21283 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21285         [BZ #15089]
21286         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21290         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21292         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21293         add multiarch folders.
21294         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21295         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21296         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21297         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21298         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21299         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21300         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21301         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21302         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21303         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21304         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21313         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21315         New file.
21316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21317         New file.
21318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21319         multiarch __ieee754_hypot for PowerPC32.
21320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21321         New file.
21322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21323         New file.
21324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21325         multiarch __ieee754_hypotf for PowerPC32.
21327         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21328         long_double_symbol only if __logbl is defined.
21329         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21330         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21331         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21332         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21334         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21335         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21336         path for implementation.
21337         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21338         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21340         logb, and logbl multiarch implementations for PowerPC32.
21341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21342         file.
21343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21344         file.
21345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21346         multiarch logb for PowerPC32.
21347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21348         file.
21349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21350         file.
21351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21352         multiarch logbf for PowerPC32.
21353         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21355         file.
21356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21357         multiarch logbl implementation for PowerPC32.
21359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21360         and modff multiarch implementations.
21361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21362         New file.
21363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21364         New file.
21365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21366         multiarch modf for PowerPC32.
21367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21368         New file.
21369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21370         New file.
21371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21372         multiarch modff for PowerPC32.
21374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21375         and lrintf multiarch implementations.
21376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21377         New file.
21378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21379         New file.
21380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21381         multiarch lrint for PowerPC32.
21382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21383         file: multiarch lrintf for PowerPC32.
21385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21386         and lroundf multiarch implementations.
21387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21388         New file.
21389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21390         New file.
21391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21392         New file.
21393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21394         multiarch lround for PowerPC32.
21395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21396         file: multiarch lroundf for PowerPC32.
21398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21399         copysign and copysignf multiarch implementations.
21400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21401         New file.
21402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21403         New file.
21404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21405         file: multiarch copysign for PowerPC32.
21406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21407         file: multiarch copysignf for PowerPC32.
21409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21410         and truncf multiarch implementations.
21411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21412         New file.
21413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21414         file.
21415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21416         multiarch trunc for PowerPC32.
21417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21418         New file.
21419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21420         New file.
21421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21422         multiarch truncf for PowerPC32.
21424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21425         and roundf multiarch implementations.
21426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21427         New file.
21428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21429         file.
21430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21431         multiarch round for PowerPC32.
21432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21433         New file.
21434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21435         New file.
21436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21437         multiarch roundf for PowerPC32.
21439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21440         and floorf multiarch implementations.
21441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21442         New file.
21443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21444         file.
21445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21446         multiarch floor for PowerPC32.
21447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21448         New file.
21449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21450         New file.
21451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21452         multiarch floorf for PowerPC32.
21454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21455         and ceilf multiarch implementations.
21456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21457         New file.
21458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21459         file.
21460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21461         multiarch ceil for PowerPC32.
21462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21463         New file.
21464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21465         file.
21466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21467         multiarch ceilf for PowerPC32.
21469         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21470         is defined.
21471         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21472         FINITEF is defined.
21473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21474         and finitef multiarch implementations.
21475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21476         New file.
21477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21478         file.
21479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21480         multiarch finite for PowerPC32.
21481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21482         New file.
21483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21484         file: multiarch finitef for PowerPC32.
21486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21487         and isinff multiarch implementations.
21488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21489         file.
21490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21491         file.
21492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21493         multiarch isinf for PowerPC32.
21494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21495         New file.
21496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21497         multiarch isinff for PowerPC32.
21499         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21500         alias when __isnan is defined.
21501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21502         and isnanf multiarch implementations.
21503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21504         file.
21505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21506         file.
21507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21508         file.
21509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21510         file.
21511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21512         multiarch isnan for PowerPC32.
21513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21514         New file.
21515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21516         New file.
21517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21518         multiarch isnanf for PowerPC32.
21520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21521         and sqrtf multiarch implementations.
21522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21523         file.
21524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21525         file.
21526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21527         multiarch sqrt for PowerPC32.
21528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21529         file.
21530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21531         file.
21532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21533         multiarch sqrtf for PowerPC32.
21535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21536         and llroundf multiarch implementations.
21537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21538         New file.
21539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21540         New file.
21541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21542         New file.
21543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21544         file: multiarch llround for PowerPC32.
21545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21546         file: multiarch llroundf for PowerPC32.
21548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21549         multiarch PowerPC32 fpu implementations.
21550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21551         New file.
21552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21553         New file.
21554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21555         multiarch llrint for PowerPC32.
21556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21557         New file.
21558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21559         New file.
21560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21561         file.
21563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21565         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21566         file.
21567         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21568         file.
21569         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21570         file.
21571         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21572         multiarch wordcopy for PPC32.
21573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21574         wordcopy objects.
21575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21576         (__libc_ifunc_impl_list): Likewise.
21577         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21578         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21579         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21580         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21581         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21582         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21584         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21586         file.
21587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21588         file.
21589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21590         file.
21591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21592         multiarch wcscpy for PPC32.
21593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21594         multiarch objects.
21595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21596         (__libc_ifunc_impl_list): Likewise.
21597         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21598         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21599         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21600         sysdeps/powerpc/power6/wcscpy.c.
21602         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21604         file.
21605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21606         file.
21607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21608         file.
21609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21610         multiarch wcsrchr for PPC32.
21611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21612         multiarch objects.
21613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21614         (__libc_ifunc_impl_list): Likewise.
21615         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21616         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21617         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21618         sysdeps/powerpc/power6/wcsrchr.c.
21620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21621         file.
21622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21623         file.
21624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21626         multiarch wcschr for PPc32.
21627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21628         multiarch objects.
21629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21630         (__libc_ifunc_impl_list): Likewise.
21631         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21632         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21633         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21634         sysdeps/powerpc/power6/wcschr.c.
21636         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21637         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21638         file.
21639         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21640         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21641         file: multiarch strchr for PPC32.
21642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21643         multiarch objects.
21644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21645         (__libc_ifunc_impl_list): Likewise.
21647         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21648         name.
21649         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21650         file.
21651         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21652         file.
21653         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21654         multiarch strchrnul for PPC32.
21655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21656         multiarch objects.
21657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21658         (__libc_ifunc_impl_list): Likewise.
21660         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21661         file.
21662         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21663         multiarch strncasecmp for PPC32.
21664         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21665         file.
21666         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21667         multiarch strncasecmp_l for PPC32.
21668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21669         strncasecmp multiarch objects.
21670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21671         (__libc_ifunc_impl_list): Likewise.
21673         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21674         file.
21675         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21676         multiarch strncasecmp for PPC32.
21677         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21678         New file.
21679         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21680         multiarch strcasecmp_l for PPC32.
21681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21682         multiarch objects.
21683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21684         (__libc_ifunc_impl_list): Likewise.
21686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21687         file.
21688         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21689         file.
21690         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21691         multiarch strncmp for PPC32.
21692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21693         multiarch objects.
21694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21695         (__libc_ifunc_impl_list): Likewise.
21697         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21698         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21699         file.
21700         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21701         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21703         multiarch objects.
21704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21705         (__libc_ifunc_impl_list): Likewise.
21707         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21708         file.
21709         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21710         file.
21711         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21713         multiarch objects.
21714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21715         (__libc_ifunc_impl_list): Likewise.
21717         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21718         file.
21719         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21720         file.
21721         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21722         multiarch rawmemchr for PPC32.
21723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21724         multiarch objects.
21725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21726         (__libc_ifunc_impl_list): Likewise.
21728         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21729         file.
21730         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21731         file.
21732         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21733         file: memrchr multiarch for PPC32.
21734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21735         multiarch objects.
21736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21737         (__libc_ifunc_impl_list): Likewise.
21739         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21740         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21741         file.
21742         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21743         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21744         multiarch memchr for PPC32.
21745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21746         multiarch objects.
21747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21748         (__libc_ifunc_impl_list): Likewise.
21750         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21751         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21752         file.
21753         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21754         file.
21755         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21756         file: multiarch mempcpy for PPC32.
21757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21758         multiarch objects.
21759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21760         (__libc_ifunc_impl_list): Likewise.
21762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21763         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21764         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21765         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21766         multiarch bzero for PPC32.
21767         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21768         file.
21769         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21770         file.
21771         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21772         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21773         file: multiarch memset for PPC32.
21774         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21776         memset multiarch objects.
21777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21778         (__libc_ifunc_impl_list): Likewise.
21780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21781         file.
21782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21784         memcmp for PPC32.
21785         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21787         multiarch objects.
21788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21789         (__libc_ifunc_impl_list): Likewise.
21791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21793         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21794         file.
21795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21796         file.
21797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21798         file.
21799         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21800         multiarch memcpy for PPC32.
21801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21802         multiarch objects.
21803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21804         (__libc_ifunc_impl_list): Likewise.
21806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21807         support multiarch for POWER/PPC32.
21808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21809         Likewise.
21810         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21812         Implies file to make multiarch folder appers before the fpu and
21813         default folder for power4 configuration.
21815 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21817         * scripts/bench.pl: Append volatile keyword to type.
21819 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21821         * sysdeps/sh/sotruss-lib.c: New file.
21822         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21824 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21828 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21830         [BZ #6810]
21831         * math/w_tgamma.c: Include <errno.h>.
21832         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21833         * math/w_tgammaf.c: Include <errno.h>.
21834         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21835         * math/w_tgammal.c: Include <errno.h>.
21836         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21837         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21838         underflow.  Add more tgamma tests.
21839         * math/auto-libm-test-out: Regenerated.
21840         * sysdeps/i386/fpu/libm-test-ulps: Update.
21841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21843         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21844         sin, sinh, tan, tanh, tgamma, y0 and y1.
21845         * math/auto-libm-test-out: Regenerated.
21846         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21847         (TEST_COND_x86): Likewise.
21848         (M_E2l): Remove macro.
21849         (M_E3l): Likewise.
21850         (M_2_SQRT_PIl): Likewise.
21851         (M_SQRT_PIl): Likewise.
21852         (M_1_DIV_El): Likewise.
21853         (log_test_data): Use AUTO_TESTS_f_f.
21854         (log10_test_data): Likewise.
21855         (log1p_test_data): Likewise.
21856         (log2_test_data): Likewise.
21857         (sin_test_data): Likewise.
21858         (sin_tonearest_test_data): Likewise.
21859         (sin_towardzero_test_data): Likewise.
21860         (sin_downward_test_data): Likewise.
21861         (sin_upward_test_data): Likewise.
21862         (sinh_test_data): Likewise.
21863         (sinh_tonearest_test_data): Likewise.
21864         (sinh_towardzero_test_data): Likewise.
21865         (sinh_downward_test_data): Likewise.
21866         (sinh_upward_test_data): Likewise.
21867         (tan_test_data): Likewise.
21868         (tan_tonearest_test_data): Likewise.
21869         (tan_towardzero_test_data): Likewise.
21870         (tan_downward_test_data): Likewise.
21871         (tan_upward_test_data): Likewise.
21872         (tanh_test_data): Likewise.
21873         (tgamma_test_data): Likewise.
21874         (y0_test_data): Likewise.
21875         (y1_test_data): Likewise.
21876         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21877         (special_real_inputs): Add pi/4.
21878         * sysdeps/i386/fpu/libm-test-ulps: Update.
21879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21881 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21883         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21884         "longjmp_target" static probes.
21885         (__longjmp): Rename to __longjmp_symbol.
21886         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21887         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21888         on which longjmp to generate.
21889         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21890         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21891         probe.
21892         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21893         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21894         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21895         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21896         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21897         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21899         __longjmp_symbol based on which __longjmp to generate.
21900         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21901         probe.
21902         (setjmp): Rename to setjmp_symbol.
21903         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21904         (_setjmp): Rename to _setjmp_symbol.
21905         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21906         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21907         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21908         which setjmp to generate.
21909         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21910         "longjmp_target" static probes.
21912 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21914         * benchtests/README: Add note about output arguments.
21915         * benchtests/bench-sincos.c: Remove file.
21916         * benchtests/sincos-inputs: New file.
21917         * scripts/bench.pl: Identify output arguments and define
21918         static variables for them.
21920         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21922         [BZ #15941]
21923         * Makefile (INSTALL): Add install-plain.texi as the primary
21924         dependency.
21925         * manual/install-plain.texi: New file.
21926         * manual/install.texi: Include node directive only for
21927         non-plaintext output.
21929 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21931         * stdlib/longlong.h: Update from GCC.
21933         [BZ #6807]
21934         [BZ #15901]
21935         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21936         * math/w_j0f.c (y0f): Likewise.
21937         * math/w_j0l.c (__y0l): Likewise.
21938         * math/w_j1.c (y1): Likewise.
21939         * math/w_j1f.c (y1f): Likewise.
21940         * math/w_j1l.c (__y1l): Likewise
21941         * math/w_jn.c (yn): Likewise.
21942         * math/w_jnf.c (ynf): Likewise.
21943         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21944         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21945         value for Bessel function domain errors outside _SVID_ mode.
21946         Adjust sign of return value for yn (negative integer, 0).
21947         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21948         by zero in return for negative x and set sign appropriately for
21949         negative n.
21950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21951         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21952         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21953         expectations in error cases.
21954         (y1_test_data): Likewise.
21955         (yn_test_data): Likewise.
21956         * sysdeps/i386/fpu/libm-test-ulps: Update.
21957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21959 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21961         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21962         "64" to "64-v1".  Add "64-v2".
21963         (abi-64-options): Rename to ...
21964         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21965         (abi-64-condition): Rename to ...
21966         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21967         (abi-64-ld-soname): Rename to ...
21968         (abi-64-v1-ld-soname): ... this.
21969         (abi-64-v2-options): Define.
21970         (abi-64-v2-condition): Likewise.
21971         (abi-64-v2-ld-soname): Likewise.
21972         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21973         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21978 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21979             Alan Modra  <amodra@gmail.com>
21981         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21982         New versions for use with the ELFv2 ABI.
21983         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21984         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21985         declaration.
21986         (struct La_ppc64v2_retval): Likewise.
21987         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21988         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21989         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21990         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21991         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21992         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21993         Do not save or restore CR.
21994         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21995         (_dl_profile_resolve): Do no save or restore CR.  Support extended
21996         return values for ELFv2 ABI.  Fix location of FPR return registers.
21997         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21998         updated values for _CALL_ELF == 2.
21999         (La_regs, La_retval, int_retval): Likewise.
22001 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22003         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22004         (FRAME_MIN_SIZE_PARM): Likewise.
22005         (FRAME_BACKCHAIN): Likewise.
22006         (FRAME_CR_SAVE): Likewise.
22007         (FRAME_LR_SAVE): Likewise.
22008         (FRAME_TOC_SAVE): Likewise.
22009         (FRAME_PARM_SAVE): Likewise.
22010         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22011         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22012         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22013         (call_mcount_parm_offset): New macro.
22014         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22015         (PROF): Use symbolic stack frame offsets.
22016         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22017         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22018         Redefine in terms of FRAME_MIN_SIZE.
22019         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22020         (_dl_profile_resolve): Likewise.  Update comment.
22021         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22022         symbols stack frame offsets.
22023         (__sigsetjmp): Likewise.
22024         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22025         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22026         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22027         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22030         (FRAME_BACKCHAIN): Remove.
22031         (FRAME_CR_SAVE): Likewise.
22032         (FRAME_LR_SAVE): Likewise.
22033         (FRAME_COMPILER_DW): Likewise.
22034         (FRAME_LINKER_DW): Likewise.
22035         (FRAME_TOC_SAVE): Likewise.
22036         (FRAME_PARM_SAVE): Likewise.
22037         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22038         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22039         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22041         (CHECK_SP): Use symbolic stack frame offsets.
22042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22043         zone" instead of caller's parameter save area for temp storage.
22044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22045         Likewise.  Also, use symbolic stack frame offsets.
22046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22047         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22048         our own stack frame instead of the caller's.
22049         (__socket): Use symbolic stack frame offsets.
22051 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22052             Alan Modra  <amodra@gmail.com>
22054         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22055         Define.
22056         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22057         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22058         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22059         New function.
22060         (elf_machine_fixup_plt): Call it.
22061         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22062         reloc arguments.
22063         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22064         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22065         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22066         r2 before calling target.
22068 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22069             Alan Modra  <amodra@gmail.com>
22071         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22072         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22073         versions of macros to support ELFv2 ABI.
22074         (LOCALENTRY): New macro.
22075         (ENTRY, EALIGN): Use it.
22076         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22077         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22078         fall through into ENTRY entry point.
22079         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22080         Only define if _CALL_ELF != 2.
22082         (elf_machine_matches_host): Verify ABI version matches.
22083         (RTLD_START): Use LOCALENTRY.
22084         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22085         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22086         (PLT_ENTRY_WORDS): New macro.
22087         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22088         (elf_machine_runtime_setup): Support ELFv2 ABI.
22089         (elf_machine_fixup_plt): Likewise.
22090         (elf_machine_plt_conflict): Likewise.
22091         (resolve_ifunc): Likewise.
22092         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22093         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22094         Likewise.
22095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22096         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22098         (makecontext): Support ELFv2 ABI.
22099         * elf/elf.h (EF_PPC64_ABI): Define.
22101 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22103         * sysdeps/powerpc/powerpc64/sysdep.h
22104         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22105         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22106         (ENTRY) [ASSEMBLER]: ... but instead here ...
22107         (EALIGN) [ASSEMBLER]: ... and here.
22108         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22109         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22110         (ENTRY_2) [!ASSEMBLER]: Use it.
22111         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22112         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22113         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22114         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22115         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22117         Use PPC64_LOAD_FUNCPTR.
22119         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22121 2013-12-04  Alan Modra  <amodra@gmail.com>
22123         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22124         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22125         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22126         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22128         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22129         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22130         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22131         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22132         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22133         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22135 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22138         (__makecontext): Fix incorrect CFI when backtracing out of
22139         context created via makecontext.
22140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22141         (__setcontext): Fix incorrect CFI during switch to new context.
22142         (__novec_setcontext): Likewise.
22144 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22146         [BZ #4772]
22147         * time/strptime_l.c (__strptime_internal): Allow modifiers
22148         in strptime.
22149         * time/tst-strptime.c (day_tests): Add testcase.
22151 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22153         * scripts/bench.pl: Skip over blank lines.
22155 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22157         [BZ #926]
22158         * manual/time.texi (Calendar Time): Clarify what timezone functions
22159         use.
22161 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22165 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22167         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22168         implementation.
22169         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22170         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22171         * debug/memset_chk.c (__memset_chk): Likewise.
22172         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22173         * debug/strncpy_chk.c: Likewise.
22175 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22177         [BZ #15268]
22178         [BZ #15425]
22179         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22180         (__ieee754_exp): For possibly underflowing results, check size of
22181         result and force underflow exception if required.
22182         * math/auto-libm-test-in: Add more tests of exp.
22183         * math/auto-libm-test-out: Regenerated.
22184         * sysdeps/i386/fpu/libm-test-ulps: Update.
22185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22187         [BZ #16283]
22188         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22189         * math/w_exp2f.c (__exp2f): Likewise.
22190         * math/w_exp2l.c (__exp2l): Likewise.
22191         * math/auto-libm-test-in: Do not allow missing errno on exp2
22192         underflow.
22193         * math/auto-libm-test-out: Regenerated.
22195 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22197         [BZ #16274]
22198         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22199         handle filename validation.
22200         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22201         (do_open): Delete.
22203 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22205         [BZ #6786]
22206         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22207         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22208         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22209         <float.h>.
22210         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22212         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22214         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22215         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22216         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22217         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22218         Add more erfc tests.
22219         * math/auto-libm-test-out: Regenerated.
22220         * sysdeps/i386/fpu/libm-test-ulps: Update.
22221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22224         exp2, expm1, j0 and j1.
22225         * math/auto-libm-test-out: Regenerated.
22226         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22227         (erfc_test_data): Likewise.
22228         (exp_test_data): Likewise.
22229         (exp_tonearest_test_data): Likewise.
22230         (exp_towardzero_test_data): Likewise.
22231         (exp_downward_test_data): Likewise.
22232         (exp_upward_test_data): Likewise.
22233         (exp10_test_data): Likewise.
22234         (exp2_test_data): Likewise.
22235         (expm1_test_data): Likewise.
22236         (j0_test_data): Likewise.
22237         (j1_test_data): Likewise.
22238         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22239         (input_flag_type): Add flag_xfail_rounding.
22240         (input_flags): Add xfail-rounding.
22241         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22242         (output_for_one_input_case): Handle flag_xfail_rounding.
22243         * sysdeps/i386/fpu/libm-test-ulps: Update.
22244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22246 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22248         [BZ #16289]
22249         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22250         division by 0.
22252 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22254         [BZ #16195]
22255         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22256         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22257         (STAP_PROBE0): New macro.
22258         (STAP_PROBE1): Likewise.
22259         (STAP_PROBE2): Likewise.
22260         (STAP_PROBE3): Likewise.
22261         (STAP_PROBE4): Likewise.
22263 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22265         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22267 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22269         * benchtests/Makefile (bench): Add sqrt.
22270         (LDLIBS-bench-sqrt): New.
22271         * benchtests/sqrt-input: New.
22273 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22275         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22276         (GAIH_EAI): Likewise.
22277         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22278         (gaih_inet): Likewise.
22279         (getaddrinfo): Don't use GAIH_EAI.
22281         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22282         (struct gaih): Remove definition.
22284 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22287         Use HERRNOP directly.
22289 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22293 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22295         * math/gen-auto-libm-tests.c (test_functions): Add more
22296         single-argument functions.
22297         (special_fill_pi_2): New function.
22298         (special_fill_minus_pi_2): Likewise.
22299         (special_fill_pi_6): Likewise.
22300         (special_fill_minus_pi_6): Likewise.
22301         (special_fill_pi_3): Likewise.
22302         (special_fill_2pi_3): Likewise.
22303         (special_fill_e): Likewise.
22304         (special_fill_1_e): Likewise.
22305         (special_fill_e_minus_1): Likewise.
22306         (special_real_inputs): Add more special inputs.
22307         (output_for_one_input_case): Do not require ERANGE on underflow to
22308         zero if round-to-nearest result does not underflow to zero, unless
22309         exact results required.
22310         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22311         atan, atanh, cbrt, cos and cosh.
22312         * math/auto-libm-test-out: Regenerated.
22313         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22314         (acos_tonearest_test_data): Likewise.
22315         (acos_towardzero_test_data): Likewise.
22316         (acos_downward_test_data): Likewise.
22317         (acos_upward_test_data): Likewise.
22318         (acosh_test_data): Likewise.
22319         (asin_test_data): Likewise.
22320         (asin_tonearest_test_data): Likewise.
22321         (asin_towardzero_test_data): Likewise.
22322         (asin_upward_test_data): Likewise.
22323         (asinh_test_data): Likewise.
22324         (atan_test_data): Likewise.
22325         (atanh_test_data): Likewise.
22326         (cbrt_test_data): Likewise.
22327         (cos_test_data): Likewise.
22328         (cos_tonearest_test_data): Likewise.
22329         (cos_towardzero_test_data): Likewise.
22330         (cos_downward_test_data): Likewise.
22331         (cos_upward_test_data): Likewise.
22332         (cosh_test_data): Likewise.
22333         (cosh_tonearest_test_data): Likewise.
22334         (cosh_towardzero_test_data): Likewise.
22335         (cosh_downward_test_data): Likewise.
22336         (cosh_upward_test_data): Likewise.
22337         * sysdeps/i386/fpu/libm-test-ulps: Update.
22338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22340 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22342         [BZ #6787]
22343         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22344         * math/w_exp10f.c (__exp10f): Likewise.
22345         * math/w_exp10l.c (__exp10l): Likewise.
22346         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22347         errno settings in existing tests.
22349         [BZ #14032]
22350         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22351         precision control set to double precision.
22352         * sysdeps/i386/fpu/w_sqrt.c: New file.
22353         * math/auto-libm-test-in: Add more tests.
22354         * math/auto-libm-test-out: Update.
22356         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22357         (sqrt_test_tonearest): New function.
22358         (sqrt_towardzero_test_data): New variable.
22359         (sqrt_test_towardzero): New function.
22360         (sqrt_downward_test_data): New variable.
22361         (sqrt_test_downward): New function.
22362         (sqrt_upward_test_data): New variable.
22363         (sqrt_test_upward): New function.
22364         (main): Call the new functions.
22366         * math/gen-auto-libm-tests.c: New file.
22367         * math/auto-libm-test-in: Likewise.
22368         * math/auto-libm-test-out: New generated file.
22369         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22370         variables.
22371         (%beautify): Add generated representations of zero.
22372         (top level): Set $auto_input and call parse_auto_input.
22373         (beautify): Remove trailing "f" from hex float constants.
22374         (parse_args): Handle XFAIL_TEST.
22375         (convert_condition): New function.
22376         (or_value): Likewise.
22377         (or_cond_value): Likewise.
22378         (generate_testfile): Handle AUTO_TESTS_* lines.
22379         (parse_auto_input): New function.
22380         * math/libm-test.inc (XFAIL_TEST): New macro.
22381         (ERRNO_UNCHANGED): Update value.
22382         (ERRNO_EDOM): Likewise.
22383         (ERRNO_ERANGE): Likewise.
22384         (IGNORE_RESULT): Likewise.
22385         (TEST_COND_flt_32): New macro.
22386         (TEST_COND_dbl_64): Likewise.
22387         (TEST_COND_ldbl_96_intel): Likewise.
22388         (TEST_COND_ldbl_96_m68k): Likewise.
22389         (TEST_COND_ldbl_128): Likewise.
22390         (TEST_COND_ldbl_128ibm): Likewise.
22391         (TEST_COND_long32): Likewise.
22392         (TEST_COND_long64): Likewise.
22393         (TEST_COND_before_rounding): Likewise.
22394         (TEST_COND_after_rounding): Likewise.
22395         (enable_test): Handle XFAIL_TEST flag.
22396         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22397         with finite results.
22398         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22399         auto-libm-test-out.
22401 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22402             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22404         [BZ #16214]
22405         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22406         __tls_get_addr_internal instead of __tls_get_offset in order to
22407         avoid GOT pointer dependency.  Make rtld export
22408         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22409         __tls_get_addr since we are a __tls_get_offset platform.
22410         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22411         GOT pointer being set up before.
22412         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22414 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22416         * manual/math.texi (Errors in Math Functions): Document accuracy
22417         goals.
22419         [BZ #15004]
22420         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22421         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22422         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22423         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22424         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22425         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22426         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22427         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22428         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22429         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22430         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22431         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22432         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22433         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22434         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22435         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22437         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22438         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22439         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22440         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22441         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22442         Likewise.
22443         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22444         Likewise.
22445         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22446         Likewise.
22447         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22448         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22449         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22450         atomic-feupdateenv and flt-rounds.
22451         * sysdeps/powerpc/nofpu/Versions (libc): Add
22452         __atomic_feholdexcept, __atomic_feclearexcept,
22453         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22454         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22455         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22456         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22457         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22458         here.
22459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22460         Update.
22462         * manual/arith.texi (FP Exceptions): Document that exceptions may
22463         not be raised when matherr is used.
22464         (Math Error Reporting): Document overflow in directed rounding
22465         modes.  Document that errno may not be set when finite values are
22466         returned on overflow.  Document intent to set errno on underflow
22467         only for underflow to zero.
22469         [BZ #16271]
22470         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22471         round-to-nearest then adjust result for other rounding modes.
22472         * include/fenv.h (fegetround): Use libm_hidden_proto.
22473         * math/fegetround.c (fegetround): Use libm_hidden_def.
22474         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22475         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22476         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22478         Likewise.
22479         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22480         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22481         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22482         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22484 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22486         [BZ #16077]
22487         * nss/Versions (libnss_files): Add
22488         _nss_files_gethostbyname3_r.
22489         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22490         New function.
22491         (HOST_DB_LOOKUP): Remove macro.
22492         (_nss_files_gethostbyname_r): Implement function without the
22493         HOST_DB_LOOKUP macro.
22494         (_nss_files_gethostbyname2_r): Likewise.
22496 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22498         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22500 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22502         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22503         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22504         warning.
22506 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22508         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22509         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22510         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22511         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22512         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22513         __fe_nomask_env_priv and attribute_hidden.
22514         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22515         (libc_feupdateenv_test_ppc): Likewise.
22516         (libc_feresetround_ppc): Likewise.
22517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22518         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22519         compat_symbol macro.
22520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22521         (__fe_nomask_env): Likewise.
22522         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22524 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22526         * string/Makefile: Remove ifunc tests.
22527         * string/test-string.h: Define TEST_IFUNC.
22528         * string/test-bcopy-ifunc.c: Remove.
22529         * string/test-bzero-ifunc.c: Likewise.
22530         * string/test-memccpy-ifunc.c: Likewise.
22531         * string/test-memchr-ifunc.c: Likewise.
22532         * string/test-memcmp-ifunc.c: Likewise.
22533         * string/test-memcpy-ifunc.c: Likewise.
22534         * string/test-memmem-ifunc.c: Likewise.
22535         * string/test-memmove-ifunc.c: Likewise.
22536         * string/test-mempcpy-ifunc.c: Likewise.
22537         * string/test-memrchr-ifunc.c: Likewise.
22538         * string/test-memset-ifunc.c: Likewise.
22539         * string/test-rawmemchr-ifunc.c: Likewise.
22540         * string/test-stpcpy-ifunc.c: Likewise.
22541         * string/test-stpncpy-ifunc.c: Likewise.
22542         * string/test-strcasecmp-ifunc.c: Likewise.
22543         * string/test-strcasestr-ifunc.c: Likewise.
22544         * string/test-strcat-ifunc.c: Likewise.
22545         * string/test-strchr-ifunc.c: Likewise.
22546         * string/test-strchrnul-ifunc.c: Likewise.
22547         * string/test-strcmp-ifunc.c: Likewise.
22548         * string/test-strcpy-ifunc.c: Likewise.
22549         * string/test-strcspn-ifunc.c: Likewise.
22550         * string/test-strlen-ifunc.c: Likewise.
22551         * string/test-strncasecmp-ifunc.c: Likewise.
22552         * string/test-strncat-ifunc.c: Likewise.
22553         * string/test-strncmp-ifunc.c: Likewise.
22554         * string/test-strncpy-ifunc.c: Likewise.
22555         * string/test-strnlen-ifunc.c: Likewise.
22556         * string/test-strpbrk-ifunc.c: Likewise.
22557         * string/test-strrchr-ifunc.c: Likewise.
22558         * string/test-strspn-ifunc.c: Likewise.
22559         * string/test-strstr-ifunc.c: Likewise.
22561 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22563         * benchtests/Makefile: Remove ifunc tests.
22564         * benchtests/bench-string.h: Define TEST_IFUNC.
22565         * benchtests/bench-bcopy-ifunc.c: Remove.
22566         * benchtests/bench-bzero-ifunc.c: Likewise.
22567         * benchtests/bench-memccpy-ifunc.c: Likewise.
22568         * benchtests/bench-memchr-ifunc.c: Likewise.
22569         * benchtests/bench-memcmp-ifunc.c: Likewise.
22570         * benchtests/bench-memcpy-ifunc.c: Likewise.
22571         * benchtests/bench-memmem-ifunc.c: Likewise.
22572         * benchtests/bench-memmove-ifunc.c: Likewise.
22573         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22574         * benchtests/bench-memrchr-ifunc.c: Likewise.
22575         * benchtests/bench-memset-ifunc.c: Likewise.
22576         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22577         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22578         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22579         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22580         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22581         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22582         * benchtests/bench-strcat-ifunc.c: Likewise.
22583         * benchtests/bench-strchr-ifunc.c: Likewise.
22584         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22585         * benchtests/bench-strcmp-ifunc.c: Likewise.
22586         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22587         * benchtests/bench-strcpy-ifunc.c: Likewise.
22588         * benchtests/bench-strcspn-ifunc.c: Likewise.
22589         * benchtests/bench-strlen-ifunc.c: Likewise.
22590         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22591         * benchtests/bench-strncat-ifunc.c: Likewise.
22592         * benchtests/bench-strncmp-ifunc.c: Likewise.
22593         * benchtests/bench-strncpy-ifunc.c: Likewise.
22594         * benchtests/bench-strnlen-ifunc.c: Likewise.
22595         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22596         * benchtests/bench-strrchr-ifunc.c: Likewise.
22597         * benchtests/bench-strsep-ifunc.c: Likewise.
22598         * benchtests/bench-strspn-ifunc.c: Likewise.
22599         * benchtests/bench-strstr-ifunc.c: Likewise.
22601 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22603         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22605 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22607         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22608         * rt/aio.h: Likewise.
22609         * sysdeps/gnu/bits/utmp.h: Likewise.
22610         * sysdeps/gnu/bits/utmpx.h: Likewise.
22611         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22612         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22613         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22614         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22615         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22616         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22617         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22618         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22619         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22620         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22621         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22622         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22623         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22625         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22626         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22627         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22628         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22629         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22630         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22631         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22632         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22633         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22634         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22635         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22637         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22638         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22639         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22640         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22641         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22642         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22643         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22644         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22645         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22646         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22647         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22648         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22649         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22650         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22651         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22652         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22654 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22656         [BZ #16245]
22657         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22658         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22660 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22662         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22663         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22664         Likewise.
22666 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22668         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22669         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22670         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22671         (__fesetround): Remove define.
22672         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22673         rounding and exceptions handling.
22674         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22675         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22676         (__fe_nomask_env): Likewise.
22677         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22678         __fegetround instead of fegetround.
22679         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22680         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22682 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22684         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22685         it's there.
22687         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22689 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22691         [BZ #11157]
22692         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22693         (encrypt_r): Likewise.
22694         * malloc/obstack.h (obstack_free): Likewise.
22695         * posix/unistd.h (encrypt): Likewise.
22697 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22699         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22700         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22701         DL_CALL_DT_FINI() that call the functions directly.
22702         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22703         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22704         * elf/dl-fini.c: Likewise.
22706 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22708         * malloc/hooks.c (memalign_check): Add alignment rounding.
22709         * malloc/malloc.c (_mid_memalign): New function.
22710         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22711         Implement by calling _mid_memalign.
22712         * manual/probes.texi (Memory Allocation Probes): Remove
22713         memory_valloc_retry and memory_pvalloc_retry.
22715 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22717         * locale/programs/locarchive.c (open_archive): Add const
22718         qualifier to ARCHIVEFNAME and copy default fname to
22719         DEFAULT_FNAME.
22721         [BZ #15601]
22722         * libio/tst-widetext.input: Rename Oriya to Odia.
22723         * locale/iso-639.def: Likewise.
22725         * manual/probes.texi (Mathematical Function Probes): Add
22726         documentation for sin, cos, asin and acos probes.
22727         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22728         (__sin32): Add slowasin probe.
22729         (__cos32): Add slowacos probe.
22730         (__mpsin): Add slowsin probe.
22731         (__mpcos): Add slowcos probe.
22733 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22735         [BZ #15483]
22736         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22737         thread-local __sim_exceptions_thread and global
22738         __sim_exceptions_global.
22739         (__sim_disabled_exceptions): Change to thread-local
22740         __sim_disabled_exceptions_thread and global
22741         __sim_disabled_exceptions_global.
22742         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22743         and global __sim_round_mode_global.
22744         (__simulate_exceptions): Use thread-local floating-point state and
22745         set global state from it as needed.
22746         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22747         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22748         __sim_round_mode_thread.
22749         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22750         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22751         and global __sim_exceptions_global.
22752         (__sim_disabled_exceptions): Change to thread-local
22753         __sim_disabled_exceptions_thread and global
22754         __sim_disabled_exceptions_global.
22755         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22756         and global __sim_round_mode_global.
22757         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22758         (SIM_SET_GLOBAL): Likewise.
22759         * sysdeps/powerpc/soft-fp/sfp-machine.h
22760         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22761         __sim_round_mode_thread.
22762         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22763         __sim_disabled_exceptions_thread.
22764         (__sim_exceptions): Change to __sim_exceptions_thread.
22765         (__sim_disabled_exceptions): Change to
22766         __sim_disabled_exceptions_thread.
22767         (__sim_round_mode): Change to __sim_round_mode_thread.
22768         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22769         thread-local floating-point state and set global state from it as
22770         needed.
22771         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22772         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22773         (__sim_disabled_exceptions): Remove extern declaration.
22774         (feenableexcept): Use thread-local floating-point state and set
22775         global state from it as needed.
22776         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22777         extern declaration.
22778         (__sim_disabled_exceptions): Likewise.
22779         (__sim_round_mode): Likewise.
22780         (__fegetenv): Use thread-local floating-point state.
22781         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22782         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22783         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22784         floating-point state and set global state from it as needed.
22785         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22786         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22787         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22788         Likewise.
22789         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22790         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22791         Likewise.
22792         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22793         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22794         Use __sim_round_mode_thread.
22795         * math/test-fenv-tls.c: New file.
22796         * math/Makefile (tests): Add test-fenv-tls.
22797         ($(objpfx)test-fenv-tls): Depend on
22798         $(common-objpfx)nptl/libpthread.so.
22800 2013-11-19  Andreas Schwab  <schwab@suse.de>
22802         * locale/programs/locale.c (show_info): Decode wordarray elements.
22803         * locale/categories.def (LC_MONETARY): Add element for
22804         _NL_MONETARY_CRNCYSTR.
22805         * locale/C-monetary.c (conversion_rate): New variable.
22806         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22807         element.
22809 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22811         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22812         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22814 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22816         * elf/Makefile (tst-auxv): New test.
22817         * elf/tst-auxv.c: New
22818         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22820 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22822         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22823         (hidden_proto): Caller changed.
22824         (hidden_tls_proto): New macro.
22825         (libc_hidden_tls_proto): Likewise.
22826         (rtld_hidden_tls_proto): Likewise.
22827         (libm_hidden_tls_proto): Likewise.
22828         (libresolv_hidden_tls_proto): Likewise.
22829         (librt_hidden_tls_proto): Likewise.
22830         (libdl_hidden_tls_proto): Likewise.
22831         (libnss_files_hidden_tls_proto): Likewise.
22832         (libnsl_hidden_tls_proto): Likewise.
22833         (libnss_nisplus_hidden_tls_proto): Likewise.
22834         (libutil_hidden_tls_proto): Likewise.
22836 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22838         [BZ #10253]
22839         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22840         (decompose_rpath): Defer expansion to fillin_rpath.
22841         (_dl_init_paths): Pass linkmap to fillin_rpath.
22843 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22845         * benchtests/Makefile: Add strsep.
22846         * benchtests/bench-strsep.c: New file: strsep benchtest.
22847         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22849 2013-11-18  Andreas Schwab  <schwab@suse.de>
22851         * locale/programs/locale.c (show_info) [case byte]: Check for
22852         '\377' instead of '\177'.
22853         * locale/C-monetary.c (not_available): Always use "\377".
22854         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22855         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22856         detect unavailable sign_posn locale elements.
22857         * locale/localeconv.c (__localeconv): For grouping and
22858         mon_grouping handle "\177" and "\377" like no grouping.
22859         (INT_ELEM): New macro.  Use it to set all numeric members.
22860         * locale/programs/ld-monetary.c (monetary_read)
22861         <tok_mon_grouping>: Normalize single -1 to the empty string.
22862         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22863         Likewise.
22865 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22867         [BZ #16055]
22868         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22869         when we match (nil).
22870         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22872 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22874         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22875         (NO_TEST_INLINE): Update value.
22876         (ERRNO_UNCHANGED): Likewise.
22877         (ERRNO_EDOM): Likewise.
22878         (ERRNO_ERANGE): Likewise.
22879         (IGNORE_RESULT): Likewise.
22880         (check_float_internal): Check signs of NaN results if
22881         TEST_NAN_SIGN used.
22882         (check_complex): Pass TEST_NAN_SIGN flag through to second
22883         check_float_internal call.
22884         (copysign_test_data): Add tests with quiet NaNs as second
22885         argument.  Use TEST_NAN_SIGN.
22886         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22887         TEST_NAN_SIGN.
22888         (signbit_test_data): Add tests of quiet NaN argument.
22889         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22891         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22892         $ignore_result.
22893         (parse_args): Handle function results specified as IGNORE.
22894         * math/libm-test.inc (IGNORE_RESULT): New macro.
22895         (check_float_internal): Do not check numerical result if flag
22896         IGNORE_RESULT set.
22897         (check_complex): Pass through IGNORE_RESULT to second
22898         check_float_internal call.
22899         (check_int): Do not check numerical result if flag IGNORE_RESULT
22900         set.
22901         (check_long): Likewise.
22902         (check_bool): Likewise.
22903         (check_longlong): Likewise.
22904         (lrint_test_data): Add tests of infinite and NaN arguments.
22905         (lrint_tonearest_test_data): Likewise.
22906         (lrint_towardzero_test_data): Likewise.
22907         (lrint_downward_test_data): Likewise.
22908         (lrint_upward_test_data): Likewise.
22909         (llrint_test_data): Likewise.
22910         (llrint_tonearest_test_data): Likewise.
22911         (llrint_towardzero_test_data): Likewise.
22912         (llrint_downward_test_data): Likewise.
22913         (llrint_upward_test_data): Likewise.
22914         (lround_test_data): Likewise.
22915         (llround_test_data): Likewise.
22917         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22918         (ERRNO_UNCHANGED): Update value.
22919         (ERRNO_EDOM): Likewise.
22920         (ERRNO_ERANGE): Likewise.
22921         (NO_TEST_INLINE_FLOAT): New macro.
22922         (NO_TEST_INLINE_DOUBLE): Likewise.
22923         (enable_test): New function.
22924         (RUN_TEST_f_f): Check enable_test before running test.
22925         (RUN_TEST_2_f): Likewise.
22926         (RUN_TEST_fff_f): Likewise.
22927         (RUN_TEST_c_f): Likewise.
22928         (RUN_TEST_f_f1): Likewise.
22929         (RUN_TEST_fF_f1): Likewise.
22930         (RUN_TEST_fI_f1): Likewise.
22931         (RUN_TEST_ffI_f1): Likewise.
22932         (RUN_TEST_c_c): Likewise.
22933         (RUN_TEST_cc_c): Likewise.
22934         (RUN_TEST_f_i): Likewise.
22935         (RUN_TEST_f_i_tg): Likewise.
22936         (RUN_TEST_ff_i_tg): Likewise.
22937         (RUN_TEST_f_b): Likewise.
22938         (RUN_TEST_f_b_tg): Likewise.
22939         (RUN_TEST_f_l): Likewise.
22940         (RUN_TEST_f_L): Likewise.
22941         (RUN_TEST_fFF_11): Likewise.
22942         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22943         conditionals.
22944         (cosh_test_data): Likewise.
22945         (exp_test_data): Likewise.
22946         (expm1_test_data): Likewise.
22947         (hypot_test_data): Likewise.
22948         (pow_test_data): Likewise.
22949         (sinh_test_data): Likewise.
22950         (tanh_test_data): Likewise.
22951         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22952         flags argument.
22954         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22955         tests with quiet NaN input and output.
22956         (acosh_test_data): Likewise.
22957         (asin_test_data): Likewise.
22958         (asinh_test_data): Likewise.
22959         (atan_test_data): Likewise.
22960         (atanh_test_data): Likewise.
22961         (atan2_test_data): Likewise.
22962         (cbrt_test_data): Likewise.
22963         (cos_test_data): Likewise.
22964         (cosh_test_data): Likewise.
22965         (erf_test_data): Likewise.
22966         (erfc_test_data): Likewise.
22967         (exp_test_data): Likewise.
22968         (exp10_test_data): Likewise.
22969         (exp2_test_data): Likewise.
22970         (expm1_test_data): Likewise.
22971         (hypot_test_data): Likewise.
22972         (j0_test_data): Likewise.
22973         (j1_test_data): Likewise.
22974         (jn_test_data): Likewise.
22975         (lgamma_test_data): Likewise.
22976         (log_test_data): Likewise.
22977         (log10_test_data): Likewise.
22978         (log1p_test_data): Likewise.
22979         (log2_test_data): Likewise.
22980         (pow_test_data): Likewise.
22981         (scalb_test_data): Likewise.
22982         (sin_test_data): Likewise.
22983         (sincos_test_data): Likewise.
22984         (sinh_test_data): Likewise.
22985         (tan_test_data): Likewise.
22986         (tanh_test_data): Likewise.
22987         (tgamma_test_data): Likewise.
22988         (y0_test_data): Likewise.
22989         (y1_test_data): Likewise.
22990         (yn_test_data): Likewise.
22992         [BZ #16167]
22993         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22994         argument being NaN and avoid computations with second argument in
22995         that case.
22996         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22997         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22998         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23000 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23002         * locale/iso-639.def: Add Chitwani Tharu (the).
23004 2013-11-14  Andreas Schwab  <schwab@suse.de>
23006         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23007         word instead of empty string.
23009 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23012         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23014         (__fe_nomask_env): Likewise.
23016 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23018         * benchtests/bench-timing.h: Include time.h.
23020 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23022         [BZ #15997]
23023         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23024         to 3.4.0 for x32.
23025         * sysdeps/unix/sysv/linux/configure: Regenerated.
23027 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23029         [BZ #16151]
23030         * stdlib/strtod_l.c (round_and_return): Do not consider
23031         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23032         exponent one less than half the least subnormal exponent.
23033         * stdlib/test-strtod-round-data: Add more tests.
23034         * stdlib/tst-strtod-round.c (tests): Regenerated.
23036 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23038         [BZ #14143]
23039         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23040         (__fe_mask_env): Likewise.
23041         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23042         libm_hidden_proto and add function prototype.
23043         (__fe_mask_env): Add function prototype.
23044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23045         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23047         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23049         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23051 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23053         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23054         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23056 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23058         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23059         of htab_find_slot().
23061 2013-11-11  David S. Miller  <davem@davemloft.net>
23063         [BZ #16150]
23064         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23065         symbol in the non-vis3 case in static builds.
23066         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23067         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23068         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23069         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23071 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23073         [BZ #387]
23074         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23075         it is empty.
23077 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23079         * benchtests/Makefile: Add bench-strtod.
23080         * benchtests/bench-strtod.c: New file: strtod benchtest
23082 2013-11-11  Andreas Schwab  <schwab@suse.de>
23084         [BZ #16153]
23085         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23086         terminating NUL in key length.
23088 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23091         Add artificial ODP entry for vDSO symbol for PPC64.
23092         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23093         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23095 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23097         [BZ #15374]
23098         * nss/getent.c (services_keys): Recognize services starting with digit.
23100 2013-11-06  David S. Miller  <davem@davemloft.net>
23102         [BZ #15985]
23103         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23104         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23106 2013-11-06  Will Newton  <will.newton@linaro.org>
23108         * manual/memory.texi (Malloc Examples): Remove register
23109         keyword from examples.
23111 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23113         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23115 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23117         [BZ #6981]
23118         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23119         depending on [__GCC_IEC_559 > 0].
23120         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23121         depending on [__GCC_IEC_559_COMPLEX > 0].
23123 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23125         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23126         to iso-639.def.
23128 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23130         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23132 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23134         [BZ #16112]
23135         * malloc/malloc (malloc_info): Do not handle first bin as
23136         special case.
23138 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23140         * locale/iso-639.def: Add Central Nahuatl (nhn).
23142 2013-11-01  Bruno Haible  <bruno@clisp.org>
23144         [BZ #7003]
23145         * manual/math.texi (BSD Random): Specify range upper bound as
23146         in POSIX.
23148 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23150         * locale/iso-639.def: Add Meadow Mari (mhr).
23152 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23154         [BZ #14752], [BZ #15763]
23155         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23156         Validate name.
23157         * rt/tst_shm.c: Add test for escaping directory.
23159 2013-10-31  Andreas Schwab  <schwab@suse.de>
23161         [BZ #15917]
23162         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23163         followed by 'x' as part of digit sequence.
23164         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23166 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23168         [BZ #16037]
23169         * configure.ac: allow GNU Make 4.0 and greater.
23170         * configure: Regenerated.
23172 2013-10-30  Will Newton  <will.newton@linaro.org>
23174         [BZ #16038]
23175         * malloc/hooks.c (memalign_check): Limit alignment to the
23176         maximum representable power of two.
23177         * malloc/malloc.c (__libc_memalign): Likewise.
23178         * malloc/tst-memalign.c (do_test): Add test for very
23179         large alignment values.
23180         * malloc/tst-posix_memalign.c (do_test): Likewise.
23182 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23184         [BZ #11087]
23185         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23186         (munmap_chunk): Likewise.
23187         (mremap_chunk): Likewise.
23189 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23191         [BZ #15799]
23192         * stdlib/div.c (div): Remove obsolete code.
23193         * stdlib/ldiv.c (ldiv): Likewise.
23194         * stdlib/lldiv.c (lldiv): Likewise.
23196 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23198         [BZ #16071]
23199         * nss/nss_files/files-XXX.c (get_contents_ret): New
23200         enumerator.
23201         (get_contents): New function.
23202         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23204 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23206         * configure.in: Moved to ...
23207         * configure.ac: ... here. Change reference to configure.in
23208         to configure.ac.
23209         * sysdeps/arm/preconfigure.ac: ... here.
23210         configure.in to configure.ac.
23211         * sysdeps/gnu/configure.in: Moved to ...
23212         * sysdeps/gnu/configure.ac: ... here.
23213         * sysdeps/i386/configure.in: Moved to ...
23214         * sysdeps/i386/configure.ac: ... here.
23215         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23216         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23217         * sysdeps/mach/configure.in: Moved to ...
23218         * sysdeps/mach/configure.ac: ... here.
23219         * sysdeps/mach/hurd/configure.in: Moved to ...
23220         * sysdeps/mach/hurd/configure.ac: ... here.
23221         * sysdeps/powerpc/configure.in: Moved to ...
23222         * sysdeps/powerpc/configure.ac: ... here.
23223         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23224         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23225         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23226         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23227         * sysdeps/s390/s390-32/configure.in: Moved to ...
23228         * sysdeps/s390/s390-32/configure.ac: ... here.
23229         * sysdeps/s390/s390-64/configure.in: Moved to ...
23230         * sysdeps/s390/s390-64/configure.ac: ... here.
23231         * sysdeps/sh/configure.in: Moved to ...
23232         * sysdeps/sh/configure.ac: ... here.
23233         * sysdeps/sparc/configure.in: Moved to ...
23234         * sysdeps/sparc/configure.ac: ... here.
23235         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23236         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23237         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23238         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23239         * sysdeps/x86_64/configure.in: Moved to ...
23240         * sysdeps/x86_64/configure.ac: ... here.
23241         * sysdeps/x86_64/preconfigure.in: Moved to ...
23242         * sysdeps/x86_64/preconfigure.ac: ... here.
23243         * aclocal.m4: Change reference to configure.in to configure.ac.
23244         * config.h.in: Likewise.
23245         * manual/install.texi: Likewise.
23246         * manual/maint.texi: Likewise.
23247         * Makefile: Likewise.
23248         * malloc/Makefile: Likewise.
23249         * nscd/Makefile: Likewise.
23250         * Makeconfig: Change reference to configure.in and
23251         preconfigure.in to configure.ac and preconfigure.ac
23252         respectively.
23253         * INSTALL: Regenerated.
23254         * configure: Likewise.
23255         * sysdeps/gnu/configure: Likewise.
23256         * sysdeps/i386/configure: Likewise.
23257         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23258         * sysdeps/mach/configure: Likewise.
23259         * sysdeps/mach/hurd/configure: Likewise.
23260         * sysdeps/powerpc/configure: Likewise.
23261         * sysdeps/powerpc/powerpc32/configure: Likewise.
23262         * sysdeps/powerpc/powerpc64/configure: Likewise.
23263         * sysdeps/s390/s390-32/configure: Likewise.
23264         * sysdeps/s390/s390-64/configure: Likewise.
23265         * sysdeps/sh/configure: Likewise.
23266         * sysdeps/sparc/configure: Likewise.
23267         * sysdeps/unix/sysv/linux/configure: Likewise.
23268         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23269         * sysdeps/x86_64/configure: Likewise.
23270         * sysdeps/x86_64/preconfigure: Likewise.
23272 2013-10-29  Andreas Schwab  <schwab@suse.de>
23274         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23276 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23278         * benchtests/pow-inputs: Add new inputs.
23280         * benchtests/exp-inputs: Add new inputs.
23282         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23283         conditional check for return value.
23284         (__cos32): Likewise.
23286 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23288         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23289         to provide a boost for large inputs with word alignment.
23290         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23291         implementation based on optimized PPC64 strcpy.
23292         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23293         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23294         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23295         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23297 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23299         [BZ #2801]
23300         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23302 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23304         [BZ #14876]
23305         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23306         * time/tst-strptime.c (day_tests): Add testcase.
23308 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23310         [BZ #14029]
23311         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23313 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23315         [BZ #16074]
23316         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23317         MAP_FAILED on error.
23319 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23321         [BZ #16072]
23322         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23323         heap for large requests.
23325 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23327         [BZ #9954]
23328         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23329         result if the result has no associated interface.
23330         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23331         interface for all 127.X.Y.Z addresses.
23333 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23335         * locale/iso-639.def: Add Ligurian (lij)
23337 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23339         [BZ #15825]
23340         * sunrpc/rpc_main.c: Document rpcgen -5.
23342 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23344         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23346 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23348         [BZ #10278]
23349         * posix/glob.c: Match only directories when trailing slash is present.
23350         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23351         (main): Add testcase.
23353 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23355         [BZ #15670]
23356         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23358 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23360         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23361         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23362         AUTH_DES and cindex for FIPS 140-2.
23363         (DES Encryption): Add cindex FIPS 46-3.
23365         * locale/locarchive.h (struct locarhandle): Add fname.
23366         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23367         if an optional argument was specified to --list-archive,
23368         otherwise NULL.
23369         * locale/programs/locarchive.c (show_archive_content): Take new
23370         argument fname and pass it via ah.fname to open_archive.
23371         * locale/programs/localedef.h: Update decl.
23372         (open_archive): If AH->fname is non-null, open that file
23373         rather than the default file name, and don't ignore ENOENT.
23374         (create_archive): Set AH.fname to NULL.
23375         (delete_locales_from_archive): Likewise.
23376         (add_locales_to_archive): Likewise.
23377         * locale/programs/locfile.c (write_all_categories): Likewise.
23379 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23380             Aldy Hernandez  <aldyh@redhat.com>
23382         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23383         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23384         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23385         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23386         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23387         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23388         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23389         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23390         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23391         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23392         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23393         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23394         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23395         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23396         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23397         Likewise.
23398         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23399         Likewise.
23400         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23401         Likewise.
23402         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23403         Likewise.
23404         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23405         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23406         Likewise.
23407         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23408         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23409         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23410         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23411         Likewise.
23412         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23413         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23414         * sysdeps/powerpc/preconfigure: Likewise.
23415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23416         Likewise.
23417         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23418         Replace contents of file by #include of <fenv_libc.h>.
23419         * sysdeps/powerpc/soft-fp/sfp-machine.h
23420         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23421         and <sys/prctl.h>.
23422         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23423         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23424         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23425         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23426         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23427         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23430         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23431         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23432         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23433         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23435         Allow copysignl PLT reference to be missing.
23437 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23438             Joseph Myers  <joseph@codesourcery.com
23440         [BZ #15948]
23441         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23442         single character.
23443         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23445 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23447         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23448         * elf/tst-tls1.c: Likewise.
23449         * elf/tst-tls10.h: Likewise.
23450         * elf/tst-tls14.c: Likewise.
23451         * elf/tst-tls2.c: Likewise.
23452         * elf/tst-tls3.c: Likewise.
23453         * elf/tst-tls4.c: Likewise.
23454         * elf/tst-tls5.c: Likewise.
23455         * elf/tst-tls6.c: Likewise.
23456         * elf/tst-tls7.c: Likewise.
23457         * elf/tst-tls8.c: Likewise.
23458         * elf/tst-tls9.c: Likewise.
23459         * elf/tst-tlsmod1.c: Likewise.
23460         * elf/tst-tlsmod13.c: Likewise.
23461         * elf/tst-tlsmod13a.c: Likewise.
23462         * elf/tst-tlsmod14a.c: Likewise.
23463         * elf/tst-tlsmod16a.c: Likewise.
23464         * elf/tst-tlsmod16b.c: Likewise.
23465         * elf/tst-tlsmod2.c: Likewise.
23466         * elf/tst-tlsmod3.c: Likewise.
23467         * elf/tst-tlsmod4.c: Likewise.
23468         * elf/tst-tlsmod5.c: Likewise.
23469         * elf/tst-tlsmod6.c: Likewise.
23471 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23473         [BZ #12486]
23474         * malloc/malloc.c: remove checks for statistics.
23476 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23478         [BZ #15277]
23479         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23480         * inet/tst-network.c: Add testcase.
23482 2013-10-17  Andreas Schwab  <schwab@suse.de>
23484         [BZ #15218]
23485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23486         to determine canonical name.
23488 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23490         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23491         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23492         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23493         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23494         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23495         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23496         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23497         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23498         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23499         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23500         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23501         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23502         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23503         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23504         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23505         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23507         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23508         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23509         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23510         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23511         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23512         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23513         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23514         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23515         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23516         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23517         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23518         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23519         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23520         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23521         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23522         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23523         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23524         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23525         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23526         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23527         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23528         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23529         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23530         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23531         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23532         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23533         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23534         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23535         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23536         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23537         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23538         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23539         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23540         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23541         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23542         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23543         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23544         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23545         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23546         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23547         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23549 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23551         [BZ #16041]
23552         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23553         make result into a quiet NaN.
23555 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23557         * soft-fp/adddf3.c: Fix horizontal whitespace.
23558         * soft-fp/addsf3.c: Likewise.
23559         * soft-fp/addtf3.c: Likewise.
23560         * soft-fp/divdf3.c: Likewise.
23561         * soft-fp/divsf3.c: Likewise.
23562         * soft-fp/divtf3.c: Likewise.
23563         * soft-fp/double.h: Likewise.
23564         * soft-fp/eqdf2.c: Likewise.
23565         * soft-fp/eqsf2.c: Likewise.
23566         * soft-fp/eqtf2.c: Likewise.
23567         * soft-fp/extenddftf2.c: Likewise.
23568         * soft-fp/extended.h: Likewise.
23569         * soft-fp/extendsfdf2.c: Likewise.
23570         * soft-fp/extendsftf2.c: Likewise.
23571         * soft-fp/extendxftf2.c: Likewise.
23572         * soft-fp/fixdfdi.c: Likewise.
23573         * soft-fp/fixdfsi.c: Likewise.
23574         * soft-fp/fixdfti.c: Likewise.
23575         * soft-fp/fixsfdi.c: Likewise.
23576         * soft-fp/fixsfsi.c: Likewise.
23577         * soft-fp/fixsfti.c: Likewise.
23578         * soft-fp/fixtfdi.c: Likewise.
23579         * soft-fp/fixtfsi.c: Likewise.
23580         * soft-fp/fixtfti.c: Likewise.
23581         * soft-fp/fixunsdfdi.c: Likewise.
23582         * soft-fp/fixunsdfsi.c: Likewise.
23583         * soft-fp/fixunsdfti.c: Likewise.
23584         * soft-fp/fixunssfdi.c: Likewise.
23585         * soft-fp/fixunssfsi.c: Likewise.
23586         * soft-fp/fixunssfti.c: Likewise.
23587         * soft-fp/fixunstfdi.c: Likewise.
23588         * soft-fp/fixunstfsi.c: Likewise.
23589         * soft-fp/fixunstfti.c: Likewise.
23590         * soft-fp/floatdidf.c: Likewise.
23591         * soft-fp/floatdisf.c: Likewise.
23592         * soft-fp/floatditf.c: Likewise.
23593         * soft-fp/floatsidf.c: Likewise.
23594         * soft-fp/floatsisf.c: Likewise.
23595         * soft-fp/floatsitf.c: Likewise.
23596         * soft-fp/floattidf.c: Likewise.
23597         * soft-fp/floattisf.c: Likewise.
23598         * soft-fp/floattitf.c: Likewise.
23599         * soft-fp/floatundidf.c: Likewise.
23600         * soft-fp/floatundisf.c: Likewise.
23601         * soft-fp/floatunditf.c: Likewise.
23602         * soft-fp/floatunsidf.c: Likewise.
23603         * soft-fp/floatunsisf.c: Likewise.
23604         * soft-fp/floatunsitf.c: Likewise.
23605         * soft-fp/floatuntidf.c: Likewise.
23606         * soft-fp/floatuntisf.c: Likewise.
23607         * soft-fp/floatuntitf.c: Likewise.
23608         * soft-fp/fmadf4.c: Likewise.
23609         * soft-fp/fmasf4.c: Likewise.
23610         * soft-fp/fmatf4.c: Likewise.
23611         * soft-fp/gedf2.c: Likewise.
23612         * soft-fp/gesf2.c: Likewise.
23613         * soft-fp/getf2.c: Likewise.
23614         * soft-fp/ledf2.c: Likewise.
23615         * soft-fp/lesf2.c: Likewise.
23616         * soft-fp/letf2.c: Likewise.
23617         * soft-fp/muldf3.c: Likewise.
23618         * soft-fp/mulsf3.c: Likewise.
23619         * soft-fp/multf3.c: Likewise.
23620         * soft-fp/negdf2.c: Likewise.
23621         * soft-fp/negsf2.c: Likewise.
23622         * soft-fp/negtf2.c: Likewise.
23623         * soft-fp/op-1.h: Likewise.
23624         * soft-fp/op-2.h: Likewise.
23625         * soft-fp/op-4.h: Likewise.
23626         * soft-fp/op-8.h: Likewise.
23627         * soft-fp/op-common.h: Likewise.
23628         * soft-fp/quad.h: Likewise.
23629         * soft-fp/single.h: Likewise.
23630         * soft-fp/soft-fp.h: Likewise.
23631         * soft-fp/sqrtdf2.c: Likewise.
23632         * soft-fp/sqrtsf2.c: Likewise.
23633         * soft-fp/sqrttf2.c: Likewise.
23634         * soft-fp/subdf3.c: Likewise.
23635         * soft-fp/subsf3.c: Likewise.
23636         * soft-fp/subtf3.c: Likewise.
23637         * soft-fp/truncdfsf2.c: Likewise.
23638         * soft-fp/trunctfdf2.c: Likewise.
23639         * soft-fp/trunctfsf2.c: Likewise.
23640         * soft-fp/trunctfxf2.c: Likewise.
23641         * soft-fp/unorddf2.c: Likewise.
23642         * soft-fp/unordsf2.c: Likewise.
23643         * soft-fp/unordtf2.c: Likewise.
23645 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23647         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23648         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23650 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23652         * elf/dl-libc.c: Clear initfini list after freeing.
23654 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23656         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23657         * soft-fp/addsf3.c: Likewise.
23658         * soft-fp/addtf3.c: Likewise.
23659         * soft-fp/divdf3.c: Likewise.
23660         * soft-fp/divsf3.c: Likewise.
23661         * soft-fp/divtf3.c: Likewise.
23662         * soft-fp/double.h: Likewise.
23663         * soft-fp/eqdf2.c: Likewise.
23664         * soft-fp/eqsf2.c: Likewise.
23665         * soft-fp/eqtf2.c: Likewise.
23666         * soft-fp/extenddftf2.c: Likewise.
23667         * soft-fp/extended.h: Likewise.
23668         * soft-fp/extendsfdf2.c: Likewise.
23669         * soft-fp/extendsftf2.c: Likewise.
23670         * soft-fp/extendxftf2.c: Likewise.
23671         * soft-fp/fixdfdi.c: Likewise.
23672         * soft-fp/fixdfsi.c: Likewise.
23673         * soft-fp/fixdfti.c: Likewise.
23674         * soft-fp/fixsfdi.c: Likewise.
23675         * soft-fp/fixsfsi.c: Likewise.
23676         * soft-fp/fixsfti.c: Likewise.
23677         * soft-fp/fixtfdi.c: Likewise.
23678         * soft-fp/fixtfsi.c: Likewise.
23679         * soft-fp/fixtfti.c: Likewise.
23680         * soft-fp/fixunsdfdi.c: Likewise.
23681         * soft-fp/fixunsdfsi.c: Likewise.
23682         * soft-fp/fixunsdfti.c: Likewise.
23683         * soft-fp/fixunssfdi.c: Likewise.
23684         * soft-fp/fixunssfsi.c: Likewise.
23685         * soft-fp/fixunssfti.c: Likewise.
23686         * soft-fp/fixunstfdi.c: Likewise.
23687         * soft-fp/fixunstfsi.c: Likewise.
23688         * soft-fp/fixunstfti.c: Likewise.
23689         * soft-fp/floatdidf.c: Likewise.
23690         * soft-fp/floatdisf.c: Likewise.
23691         * soft-fp/floatditf.c: Likewise.
23692         * soft-fp/floatsidf.c: Likewise.
23693         * soft-fp/floatsisf.c: Likewise.
23694         * soft-fp/floatsitf.c: Likewise.
23695         * soft-fp/floattidf.c: Likewise.
23696         * soft-fp/floattisf.c: Likewise.
23697         * soft-fp/floattitf.c: Likewise.
23698         * soft-fp/floatundidf.c: Likewise.
23699         * soft-fp/floatundisf.c: Likewise.
23700         * soft-fp/floatunsidf.c: Likewise.
23701         * soft-fp/floatunsisf.c: Likewise.
23702         * soft-fp/floatuntidf.c: Likewise.
23703         * soft-fp/floatuntisf.c: Likewise.
23704         * soft-fp/floatuntitf.c: Likewise.
23705         * soft-fp/fmadf4.c: Likewise.
23706         * soft-fp/fmasf4.c: Likewise.
23707         * soft-fp/fmatf4.c: Likewise.
23708         * soft-fp/gedf2.c: Likewise.
23709         * soft-fp/gesf2.c: Likewise.
23710         * soft-fp/getf2.c: Likewise.
23711         * soft-fp/ledf2.c: Likewise.
23712         * soft-fp/lesf2.c: Likewise.
23713         * soft-fp/letf2.c: Likewise.
23714         * soft-fp/muldf3.c: Likewise.
23715         * soft-fp/mulsf3.c: Likewise.
23716         * soft-fp/multf3.c: Likewise.
23717         * soft-fp/negdf2.c: Likewise.
23718         * soft-fp/negsf2.c: Likewise.
23719         * soft-fp/negtf2.c: Likewise.
23720         * soft-fp/op-1.h: Likewise.
23721         * soft-fp/op-2.h: Likewise.
23722         * soft-fp/op-4.h: Likewise.
23723         * soft-fp/op-8.h: Likewise.
23724         * soft-fp/op-common.h: Likewise.
23725         * soft-fp/quad.h: Likewise.
23726         * soft-fp/single.h: Likewise.
23727         * soft-fp/soft-fp.h: Likewise.
23728         * soft-fp/sqrtdf2.c: Likewise.
23729         * soft-fp/sqrtsf2.c: Likewise.
23730         * soft-fp/sqrttf2.c: Likewise.
23731         * soft-fp/subdf3.c: Likewise.
23732         * soft-fp/subsf3.c: Likewise.
23733         * soft-fp/subtf3.c: Likewise.
23734         * soft-fp/truncdfsf2.c: Likewise.
23735         * soft-fp/trunctfdf2.c: Likewise.
23736         * soft-fp/trunctfsf2.c: Likewise.
23737         * soft-fp/trunctfxf2.c: Likewise.
23738         * soft-fp/unorddf2.c: Likewise.
23739         * soft-fp/unordsf2.c: Likewise.
23740         * soft-fp/unordtf2.c: Likewise.
23742 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23744         [BZ #15672]
23745         * misc/error.c (error_tail): Fix possible buffer overflow.
23747 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23749         [BZ #13028]
23750         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23751         address.
23753 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23755         [BZ #832]
23756         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23757         testing pipefail option.
23759 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23761         * soft-fp/double.h: Indent preprocessor directives inside #if.
23762         * soft-fp/extended.h: Likewise.
23763         * soft-fp/op-2.h: Likewise.
23764         * soft-fp/op-4.h: Likewise.
23765         * soft-fp/op-common.h: Likewise.
23766         * soft-fp/quad.h: Likewise.
23767         * soft-fp/single.h: Likewise.
23768         * soft-fp/soft-fp.h: Likewise.
23770 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23772         * iconv/iconv_prog.c: Fix typos.
23773         * stdio-common/psiginfo-data.h: Likewise.
23775 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23777         [BZ #15764]
23778         * locale/setlocale.c: Fix typo.
23780 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23782         [BZ #16036]
23783         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23784         signaling NaN arguments.
23785         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23786         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23788         [BZ #14910]
23789         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23790         unordered operands.
23791         * soft-fp/gesf2.c (__gesf2): Likewise.
23792         * soft-fp/getf2.c (__getf2): Likewise.
23793         * soft-fp/ledf2.c (__ledf2): Likewise.
23794         * soft-fp/lesf2.c (__lesf2): Likewise.
23795         * soft-fp/letf2.c (__letf2): Likewise.
23797         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23798         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23799         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23800         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23801         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23802         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23803         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23804         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23805         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23806         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23807         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23808         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23809         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23810         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23811         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23812         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23813         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23814         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23815         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23816         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23817         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23818         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23819         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23820         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23821         * soft-fp/floattidf.c (__floattidf): Likewise.
23822         * soft-fp/floattisf.c (__floattisf): Likewise.
23823         * soft-fp/floattitf.c (__floattitf): Likewise.
23824         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23825         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23826         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23827         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23828         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23829         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23830         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23831         * soft-fp/gesf2.c (__gesf2): Likewise.
23832         * soft-fp/getf2.c (__getf2): Likewise.
23833         * soft-fp/ledf2.c (__ledf2): Likewise.
23834         * soft-fp/lesf2.c (__lesf2): Likewise.
23835         * soft-fp/letf2.c (__letf2): Likewise.
23837         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23838         Undefine and redefine.
23839         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23840         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23841         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23842         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23843         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23844         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23845         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23846         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23847         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23848         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23849         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23850         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23851         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23852         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23853         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23855         [BZ #16032]
23856         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23857         without decrementing exponent if mantissa >= that for the
23858         denominator, not >.
23859         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23860         denominator, not >.  Decrement exponent in < case instead of
23861         incrementing in >= case.
23862         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23863         without decrementing exponent if mantissa >= that for the
23864         denominator, not >.
23866         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23867         computing saturated result for unsigned overflow.
23869 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23870             Jeff Law  <law@redhat.com>
23872         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23873         (atan2Mp): Add systemtap probe marker.
23874         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23875         (__ieee754_log): Add systemtap probe marker.
23876         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23877         (atanMp): Add systemtap probe marker.
23878         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23879         (tanMp): Add systemtap probe marker.
23880         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23881         (__slowexp): Add systemtap probe marker.
23882         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23883         (__slowpow): Add systemtap probe marker.
23884         * manual/probes.texi: Document probes.
23886 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23888         [BZ #15362]
23889         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23890         written.
23891         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23892         written.
23893         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23894         written to buffer but not flushed.
23895         * libio/iofwrite_u.c:  Likewise.
23896         * libio/iopadn.c:  Return bytes returned even if EOF was
23897         encountered.
23898         * libio/iowpadn.c:  Likewise.
23899         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23900         if _IO_padn does not write the whole buffer.
23901         [!COMPILE_WPRINTF] (PAD): Likewise.
23903 2013-10-10  David S. Miller  <davem@davemloft.net>
23905         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23906         directory block.
23908 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23910         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23911         instead of FSF address.
23912         * soft-fp/fixdfti.c: Likewise.
23913         * soft-fp/fixsfti.c: Likewise.
23914         * soft-fp/fixtfti.c: Likewise.
23915         * soft-fp/fixunsdfti.c: Likewise.
23916         * soft-fp/fixunssfti.c: Likewise.
23917         * soft-fp/fixunstfti.c: Likewise.
23918         * soft-fp/floattidf.c: Likewise.
23919         * soft-fp/floattisf.c: Likewise.
23920         * soft-fp/floattitf.c: Likewise.
23921         * soft-fp/floatuntidf.c: Likewise.
23922         * soft-fp/floatuntisf.c: Likewise.
23923         * soft-fp/floatuntitf.c: Likewise.
23924         * soft-fp/trunctfxf2.c: Likewise.
23926         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23927         * soft-fp/fixdfti.c: Likewise.
23928         * soft-fp/fixsfti.c: Likewise.
23929         * soft-fp/fixtfti.c: Likewise.
23930         * soft-fp/fixunsdfti.c: Likewise.
23931         * soft-fp/fixunssfti.c: Likewise.
23932         * soft-fp/fixunstfti.c: Likewise.
23933         * soft-fp/floattidf.c: Likewise.
23934         * soft-fp/floattisf.c: Likewise.
23935         * soft-fp/floattitf.c: Likewise.
23936         * soft-fp/floatuntidf.c: Likewise.
23937         * soft-fp/floatuntisf.c: Likewise.
23938         * soft-fp/floatuntitf.c: Likewise.
23939         * soft-fp/trunctfxf2.c: Likewise.
23941 2013-10-10  David S. Miller  <davem@davemloft.net>
23943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23945 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23947         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23948         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23949         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23950         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23951         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23952         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23953         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23955         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23956         for NaNs before doing comparisons on argument.
23957         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23958         Likewise.
23960 2013-10-10  Will Newton  <will.newton@linaro.org>
23962         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23963         passed to _int_memalign does not overflow.
23965 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23967         * scripts/bench.pl: Add include-sources directive.
23968         * benchtests/README: Update documentation.
23970 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23972         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23973         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23974         instead of FP_INIT_ROUNDMODE.
23975         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23976         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23978         [BZ #16034]
23979         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
23980         copy class of input value.
23981         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
23982         not handle exceptions.
23983         * soft-fp/negsf2.c (__negsf2): Likewise.
23984         * soft-fp/negtf2.c (__negtf2): Likewise.
23985         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23987 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
23989         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23990         semicolon.  From Linux kernel.
23992 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
23994         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23996 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
23998         [BZ #156]
23999         * manual/socket.texi: Added statement about buffer
24000         for gethostbyname2_r.
24002 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24004         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24005         Use .p2align directive instead, throughout.
24006         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24007         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24008         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24011         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24012         * sysdeps/x86_64/strchr.S: Likewise.
24013         * sysdeps/x86_64/strrchr.S: Likewise.
24015 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24017         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24019         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24021         * sysdeps/generic/math_private.h (__mpsin1): Remove
24022         declaration.
24023         (__mpcos1): Likewise.
24024         (__mpsin): New argument __range_reduce.
24025         (__mpcos): Likewise.
24026         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24027         (slow): Use __mpsin and __mpcos.
24028         (slow1): Likewise.
24029         (slow2): Likewise.
24030         (sloww): Likewise.
24031         (sloww1): Likewise.
24032         (sloww2): Likewise.
24033         (bsloww): Likewise.
24034         (bsloww1): Likewise.
24035         (bsloww2): Likewise.
24036         (cslow2): Likewise.
24037         (csloww): Likewise.
24038         (csloww1): Likewise.
24039         (csloww2): Likewise.
24040         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24041         range_reduce.  Merge in __mpsin1.
24042         (__mpcos): Likewise.
24043         (__mpsin1): Remove.
24044         (__mpcos1): Likewise.
24046 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24048         * locale/loadlocale.c (_nl_intern_locale_data): Use
24049         LOCFILE_ALIGNED_P.
24050         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24051         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24052         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24053         obstack data is appropriately aligned.
24054         (obstack_int32_grow_fast): Likewise.
24055         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24056         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24057         (add_locale_uint32_array): Likewise.
24059 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24061         * benchtests/Makefile: Remove ARGLIST and RET variables.
24062         ($(objpfx)bench-%.c): Pass only function name to the script.
24063         * benchtests/README: Update documentation.
24064         * benchtests/acos-inputs: Add new directives.
24065         * benchtests/acosh-inputs: Likewise.
24066         * benchtests/asin-inputs: Likewise.
24067         * benchtests/asinh-inputs: Likewise.
24068         * benchtests/atan-inputs: Likewise.
24069         * benchtests/atanh-inputs: Likewise.
24070         * benchtests/cos-inputs: Likewise.
24071         * benchtests/cosh-inputs: Likewise.
24072         * benchtests/exp-inputs: Likewise.
24073         * benchtests/log-inputs: Likewise.
24074         * benchtests/pow-inputs: Likewise.
24075         * benchtests/rint-inputs: Likewise.
24076         * benchtests/sin-inputs: Likewise.
24077         * benchtests/sinh-inputs: Likewise.
24078         * benchtests/tan-inputs: Likewise.
24079         * benchtests/tanh-inputs: Likewise.
24080         * scripts/bench.pl: Add support for new directives.
24082 2013-10-07  Alan Modra  <amodra@gmail.com>
24084         * README: Fix careless merge.
24086 2013-10-05  Alan Modra  <amodra@gmail.com>
24088         * NEWS: Mention powerpc64le support and bugs fixed.
24089         * README: Both big-endian and little-endian powerpc64 supported.
24091 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24093         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24094         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24095         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24096         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24098 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24100         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24101         match prototype.
24103 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24105         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24106         Move -mhard-float appending from
24107         ports/sysdeps/powerpc/powerpc32/Makefile.
24108         [$(with-fp) = yes] (ASFLAGS): Likewise.
24109         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24110         * sysdeps/powerpc/nofpu: Move directory from
24111         ports/sysdeps/powerpc/nofpu.
24112         * sysdeps/powerpc/soft-fp: Move directory from
24113         ports/sysdeps/powerpc/soft-fp.
24114         * sysdeps/powerpc/powerpc32/405: Move directory from
24115         ports/sysdeps/powerpc/powerpc32/405.
24116         * sysdeps/powerpc/powerpc32/440: Move directory from
24117         ports/sysdeps/powerpc/powerpc32/440.
24118         * sysdeps/powerpc/powerpc32/464: Move directory from
24119         ports/sysdeps/powerpc/powerpc32/464.
24120         * sysdeps/powerpc/powerpc32/476: Move directory from
24121         ports/sysdeps/powerpc/powerpc32/476.
24122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24123         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24125         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24127         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24129         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24131         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24132         * README: Update for powerpc-*-linux-gnu software floating point
24133         support in libc.
24135         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24136         case to powerpc/powerpc32*.
24137         * sysdeps/unix/sysv/linux/configure: Regenerated.
24139         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24140         (_FPU_MASK_OM): Define as 0x04.
24141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24143         0x00c10080.
24144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24145         0x0000003c.
24146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24149         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24150         getcontext_e500.
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24152         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24153         setcontext_e500.
24154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24155         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24156         and setcontext_e500.
24158 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24160         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24162 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24164         * manual/threads.texi (Default Thread Attributes): Fix typo.
24166 2013-10-04  Will Newton  <will.newton@linaro.org>
24168         * malloc/Makefile: Add tst-memalign.
24169         * malloc/tst-memalign.c: New file.
24171         * malloc/tst-posix_memalign.c: Add comments.
24172         (do_test): Add comments and call free on all potentially
24173         allocated pointers. Add space after cast.
24175         * malloc/tst-pvalloc.c: Add comments.
24176         (do_test): Add comments and call free on all potentially
24177         allocated pointers. Remove duplicate check for NULL pointer.
24178         Add space after cast.
24180         * malloc/tst-valloc.c: Add comments.
24181         (do_test): Add comments and call free on all potentially
24182         allocated pointers. Remove duplicate check for NULL pointer.
24183         Add space after cast.
24185 2013-10-04  Alan Modra  <amodra@gmail.com>
24187         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24188         Use stdint types in rather than __attribute__((mode())).
24189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24191 2013-10-04  Alan Modra  <amodra@gmail.com>
24193         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24194         Correct handling of unaligned relocs for little-endian.
24195         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24197 2013-10-04  Alan Modra  <amodra@gmail.com>
24199         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24200         * configure: Regenerate.
24201         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24202         * shlib-versions: Likewise.
24204 2013-10-04  Alan Modra  <amodra@gmail.com>
24206         * string/tester.c (test_memrchr): Increment reported test cycle.
24208 2013-10-04  Alan Modra  <amodra@gmail.com>
24210         * string/test-memcpy.c (do_one_test): When reporting errors, print
24211         string address and don't overrun end of string.
24213 2013-10-04  Alan Modra  <amodra@gmail.com>
24215         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24216         insrdi.  Make better use of reg selection to speed exit slightly.
24217         Schedule entry path a little better.  Remove useless "are we done"
24218         checks on entry to main loop.  Handle wrapping around zero address.
24219         Correct main loop count.  Handle single left-over word from main
24220         loop inline rather than by using loop_small.  Remove extra word
24221         case in loop_small caused by wrong loop count.  Add little-endian
24222         support.
24223         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24224         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24225         cache hint.
24226         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24227         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24228         support.  Avoid rlwimi.
24229         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24231 2013-10-04  Alan Modra  <amodra@gmail.com>
24233         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24234         insrdi.  Formatting.
24235         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24236         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24237         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24238         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24239         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24240         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24242 2013-10-04  Alan Modra  <amodra@gmail.com>
24244         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24245         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24246         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24247         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24248         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24249         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24252         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24253         use of regs.  Use power7 mtocrf.  Tidy function tails.
24255 2013-10-04  Alan Modra  <amodra@gmail.com>
24257         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24258         Formatting.  Consistently use rXXX register defines or rN defines.
24259         Use early exit labels that avoid restoring unused non-volatile regs.
24260         Make cr field use more consistent with rWORDn compares.  Rename
24261         regs used as shift registers for unaligned loop, using rN defines
24262         for short lifetime/multiple use regs.
24263         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24264         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24265         addi 1,1,64 to pop stack frame.  Simplify return value code.
24266         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24268 2013-10-04  Alan Modra  <amodra@gmail.com>
24270         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24271         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24272         rather than rlwimi.
24273         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24274         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24275         little-endian support.  Correct typos.
24276         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24277         rather than rlwimi.
24278         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24279         in loop and entry code to keep "and." results.
24280         (strchr): Add little-endian support.  Comment.  Move cntlzd
24281         earlier in tail.
24282         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24284 2013-10-04  Alan Modra  <amodra@gmail.com>
24286         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24287         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24288         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24289         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24291 2013-10-04  Alan Modra  <amodra@gmail.com>
24293         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24294         (rTMP): Define as r11.
24295         (strcmp): Add little-endian support.  Optimise tail.
24296         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24297         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24298         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24299         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24300         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24301         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24304 2013-10-04  Alan Modra  <amodra@gmail.com>
24306         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24307         little-endian support.  Remove unnecessary "are we done" tests.
24308         Handle "s" wrapping around zero and extremely large "size".
24309         Correct main loop count.  Handle single left-over word from main
24310         loop inline rather than by using small_loop.  Correct comments.
24311         Delete "zero" tail, use "end_max" instead.
24312         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24314 2013-10-04  Alan Modra  <amodra@gmail.com>
24316         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24317         support.  Don't branch over align.
24318         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24319         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24320         support.  Rearrange tmp reg use to suit.  Comment.
24321         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24323 2013-10-04  Alan Modra  <amodra@gmail.com>
24325         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24327 2013-10-04  Alan Modra  <amodra@gmail.com>
24329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24330         conditional form of branch and link when obtaining pc.
24331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24333 2013-10-04  Alan Modra  <amodra@gmail.com>
24335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24336         HIWORD/LOWORD.
24337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24340 2013-10-04  Alan Modra  <amodra@gmail.com>
24342         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24343         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24344         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24345         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24346         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24347         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24348         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24349         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24350         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24351         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24353 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24354             Alistair Popple <alistair@ozlabs.au.ibm.com>
24355             Alan Modra <amodra@gmail.com>
24357         [BZ #15723]
24358         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24359         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24360         _dl_hwcap access for little-endian.
24361         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24362         destroy vmx regs when saving unaligned.
24363         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24364         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24365         destroy vmx regs when saving unaligned.
24367 2013-10-04  Alan Modra  <amodra@gmail.com>
24369         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24370         Don't use a union to pack hi/low value.
24372 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24374         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24375         for little-endian.
24376         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24377         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24378         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24379         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24380         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24382 2013-10-04  Alan Modra  <amodra@gmail.com>
24384         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24385         constants to usual value for .cst8 section, and remove redundant
24386         high address load.
24387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24388         constant for 0x1p52.  Load little-endian words of double from
24389         correct stack offsets.
24391 2013-10-04  Alan Modra  <amodra@gmail.com>
24393         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24394         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24395         words of double from correct stack offsets.
24396         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24397         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24398         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24399         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24400         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24401         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24402         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24403         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24404         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24405         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24406         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24407         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24408         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24409         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24410         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24411         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24412         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24414 2013-10-04  Alan Modra  <amodra@gmail.com>
24416         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24417         64-bit int/double union.
24418         (_FPU_SETCW): Likewise.
24419         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24420         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24422 2013-10-04  Alan Modra  <amodra@gmail.com>
24424         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24425         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24427 2013-10-04  Alan Modra  <amodra@gmail.com>
24429         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24430         use vector int constants.
24431         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24433 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24435         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24436         array with long long.
24437         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24438         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24439         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24440         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24441         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24442         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24443         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24444         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24445         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24446         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24447         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24448         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24449         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24451 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24453         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24454         (__signbit): Likewise.  Correct for little-endian.
24455         (__signbitl): Call __signbit.
24456         (lrint): Correct for little-endian.
24457         (lrintf): Call lrint.
24459 2013-10-04  Alan Modra  <amodra@gmail.com>
24461         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24462         union 32-bit int array member with 64-bit int array.
24463         (t515, tm256): Double rather than long double.
24464         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24466 2013-10-04  Alan Modra  <amodra@gmail.com>
24468         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24469         Delete.
24470         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24472         version of math_ldbl.h.
24474 2013-10-04  Alan Modra  <amodra@gmail.com>
24476         [BZ #15734], [BZ #15735]
24477         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24478         all uses of ieee875 long double macros and unions.  Simplify test
24479         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24480         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24481         normalize after ldbl_extract_mantissa, and don't add hidden bit
24482         already handled.  Don't treat low word of ieee854 mantissa like
24483         low word of IBM long double and mask off bit when testing for
24484         zero.
24485         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24486         all uses of ieee875 long double macros and unions.  Simplify tests
24487         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24488         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24489         two1022, instead use their values.  Recognise that tests for large
24490         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24491         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24492         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24493         test for 0.0L and nan.  Correct negation.
24494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24495         ieee875 long double macros and unions.  Correct output for large
24496         magnitude x.  Correct absolute value calculation.
24497         (__erfcl): Likewise.
24498         * math/libm-test.inc: Add tests for errors discovered in IBM long
24499         double versions of fmodl, remainderl, erfl and erfcl.
24501 2013-10-04  Alan Modra  <amodra@gmail.com>
24503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24504         all uses of ieee854 long double macros and unions.  Simplify tests
24505         for long doubles that are fully specified by the high double.
24506         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24507         Likewise.
24508         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24509         Remove dead code too.
24510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24511         (__ieee754_ynl): Likewise.
24512         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24513         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24515         Remove dead code too.
24516         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24517         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24518         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24519         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24520         Simplify.
24521         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24522         Simplify.
24523         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24524         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24525         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24526         Comment on variable precision.
24527         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24528         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24529         Likewise.
24530         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24531         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24532         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24533         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24534         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24536 2013-10-04  Alan Modra  <amodra@gmail.com>
24538         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24539         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24540         all uses of ieee854 long double macros and unions.
24541         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24542         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24544         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24545         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24546         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24547         Likewise.
24548         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24549         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24550         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24551         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24552         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24553         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24554         Simplify sign and nan test too.
24555         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24556         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24557         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24558         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24559         Likewise.
24560         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24561         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24562         Likewise.
24563         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24564         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24566         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24567         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24568         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24570 2013-10-04  Alan Modra  <amodra@gmail.com>
24572         * stdio-common/printf_size.c (__printf_size): Don't use
24573         union ieee854_long_double in fpnum union.
24574         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24575         signbit macro to retrieve sign from long double.
24576         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24577         retrieve sign from long double.
24578         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24579         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24580         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24581         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24582         * math/test-misc.c (main): Don't use union ieee854_long_double.
24584 2013-10-04  Alan Modra  <amodra@gmail.com>
24586         [BZ #15680]
24587         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24588         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24589         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24590         calculation.  Remove unnecessary test for denormal exponent.
24591         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24592         Correct handling of denormals.  Avoid undefined shift behaviour.
24593         Correct normalisation of low mantissa when low double is denormal.
24594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24595         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24596         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24597         Correct normalisation of low mantissa.  Test for overflow of high
24598         mantissa and normalise.
24599         (ldbl_nearbyint): Use more readable constant for two52.
24600         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24601         (__mpn_construct_long_double): Fix test for overflow of high
24602         mantissa and correct normalisation.  Avoid undefined shift.
24604 2013-10-04  Alan Modra  <amodra@gmail.com>
24606         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24607         (union ibm_extended_long_double): Define as an array of ieee754_double.
24608         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24609         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24610         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24611         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24612         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24613         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24615         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24616         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24617         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24618         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24620 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24622         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24623         page size instead of calling getpagesize.
24625         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24626         (LOCFILE_ALIGN_MASK): Likewise.
24627         (LOCFILE_ALIGN_UP): Likewise.
24628         (LOCFILE_ALIGNED_P): Likewise.
24629         * locale/programs/ld-collate.c (collate_output): Use the new
24630         macros instead of __alignof__ (int32_t).
24631         * locale/weight.h (findidx): Likewise.
24633 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24635         [BZ #431]
24636         * manual/string.texi: Fix strncat and wcsncat.
24638 2013-10-03  Brooks Moses  <bmoses@google.com>
24640         [BZ #15915]
24641         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24642         * Makerules: ...here, and adjust associated comments.
24644 2013-10-02  Will Newton  <will.newton@linaro.org>
24646         * malloc/Makefile: Add tst-pvalloc.
24647         * malloc/tst-pvalloc.c: New file.
24649 2013-10-02  Will Newton  <will.newton@linaro.org>
24651         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24652         improve test coverage.
24654 2013-10-02  Will Newton  <will.newton@linaro.org>
24656         * malloc/Makefile: Add tst-posix_memalign.
24657         * malloc/tst-posix_memalign.c: New file.
24659 2013-10-01  Eric Blake  <eblake@redhat.com>
24661         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24662         Use __THROWNL rather than __THROW on static functions.
24664 2013-09-30  Petr Machata  <pmachata@redhat.com>
24666         * elf/elf.h (R_AARCH64_ABS16): New macro.
24667         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24668         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24669         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24670         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24671         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24672         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24673         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24674         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24675         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24676         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24677         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24678         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24679         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24680         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24681         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24682         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24683         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24684         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24685         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24686         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24687         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24688         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24689         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24690         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24691         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24692         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24693         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24694         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24695         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24696         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24697         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24698         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24699         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24700         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24701         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24702         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24703         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24704         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24705         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24706         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24707         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24708         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24709         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24710         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24711         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24712         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24713         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24714         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24715         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24716         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24717         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24718         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24719         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24720         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24721         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24722         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24723         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24724         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24725         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24726         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24727         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24728         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24729         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24730         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24731         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24732         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24733         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24734         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24735         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24736         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24737         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24738         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24739         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24740         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24741         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24742         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24743         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24744         (R_AARCH64_TLSDESC_LDR): Likewise.
24745         (R_AARCH64_TLSDESC_ADD): Likewise.
24746         (R_AARCH64_TLSDESC_CALL): Likewise.
24748 2013-09-30  Andreas Schwab  <schwab@suse.de>
24750         [BZ #15048]
24751         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24752         the nss database lookup.
24753         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24756 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24758         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24760 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24762         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24763         ${Bash-specific parameter/pattern/string} parameter expansion.
24764         * sysdeps/unix/make-syscalls.sh: Likewise.
24766 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24768         * sysdeps/sh/stackguard-macros.h: New file.
24770 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24774         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24775         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24776         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24777         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24779 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24781         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24782         Fix thread ID register.
24784 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24786         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24787         [POSIX || UNIX98]: Require rather than permitting all symbols from
24788         <time.h>.
24789         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24790         element of struct sched_param.
24791         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24792         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24793         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24794         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24795         constant.
24797 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24799         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24800         argument calculation.
24802 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24804         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24805         Expect macro.
24806         [POSIX] (pthread_attr_t): Do not require type.
24807         [POSIX] (pthread_cond_t): Likewise.
24808         [POSIX] (pthread_condattr_t): Likewise.
24809         [POSIX] (pthread_key_t): Likewise.
24810         [POSIX] (pthread_mutex_t): Likewise.
24811         [POSIX] (pthread_mutexattr_t): Likewise.
24812         [POSIX] (pthread_once_t): Likewise.
24813         [POSIX] (pthread_t): Likewise.
24814         [POSIX-based standards] (pthread_atfork): Expect function.
24816 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24817             Richard Sandiford  <richard@codesourcery.com>
24819         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24820         (swap_endianness_p): New extern variable.
24821         (set_big_endian): New inline function.
24822         (maybe_swap_uint32): Likewise.
24823         (maybe_swap_uint32_array): Likewise.
24824         (maybe_swap_uint32_obstack): Likewise.
24825         * locale/programs/locfile.c: Include <stdbool.h>.
24826         (swap_endianness_p): New variable.
24827         (add_locale_uint32): Call maybe_swap_uint32.
24828         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24829         (write_locale_data): Call maybe_swap_uint32_array.
24830         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24831         maybe_swap_uint32.
24832         (obstack_int32_grow_fast): Likewise.
24833         (output_weightwc): Call maybe_swap_uint32_obstack.
24834         (collate_output): Likewise.
24835         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24836         (OPT_LITTLE_ENDIAN): Likewise.
24837         (options): Add --little-endian and --big-endian options.
24838         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24839         * locale/programs/locarchive.c: Include "locfile.h".
24840         (GET): New macro.
24841         (SET): Likewise.
24842         (INC): Likewise.
24843         (create_archive): Use the new macros to access fields of
24844         structures directly mapped from or written to locale archives.
24845         (oldlocrecentcmp): Likewise.
24846         (enlarge_archive): Likewise.
24847         (insert_name): Likewise.
24848         (add_alias): Likewise.
24849         (add_locale): Likewise.
24850         (delete_locales_from_archive): Likewise.
24851         (show_archive_content): Likewise.
24852         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24853         locale data.
24855 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24857         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24858         http://www.gnu.org/doc/freemanuals.texi.
24859         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24861 2013-09-24  Will Newton  <will.newton@linaro.org>
24863         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24864         macro.
24866 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24868         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24869         unsigned char.
24871 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24873         * manual/threads.texi (POSIX Threads): Fix a typo.
24875 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24877         [BZ #14547]
24878         * string/tst-strcoll-overflow.c: New test case.
24879         * string/Makefile (xtests): Add tst-strcoll-overflow.
24880         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24881         cache if string sizes may cause integer overflow.
24883         [BZ #14547]
24884         * string/strcoll_l.c (coll_seq): New members rule, idx,
24885         save_idx and back_us.
24886         (get_next_seq_nocache): New function.
24887         (do_compare_nocache): New function.
24888         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24889         when malloc fails.
24891 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24893         [BZ #15754]
24894         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24895         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24896         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24898         [BZ #15754]
24899         * elf/Makefile (tests): Add tst-ptrguard1.
24900         (tests-static): Add tst-ptrguard1-static.
24901         (tst-ptrguard1-ARGS): Define.
24902         (tst-ptrguard1-static-ARGS): Define.
24903         * elf/tst-ptrguard1.c: New file.
24904         * elf/tst-ptrguard1-static.c: New file.
24905         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24906         * sysdeps/i386/stackguard-macros.h: Likewise.
24907         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24908         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24909         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24910         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24911         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24912         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24914 2013-09-23  Hector Marco  <hecmargi@upv.es>
24915             Ismael Ripoll  <iripoll@disca.upv.es>
24916             Carlos O'Donell  <carlos@redhat.com>
24918         [BZ #15754]
24919         * sysdeps/generic/stackguard-macros.h: Define
24920         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24921         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24922         Define __pointer_chk_guard_local.
24923         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24924         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24926 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24928         [BZ #15859]
24929         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24931 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24933         * include/string.h (__ffs): Declare as hidden.
24934         * string/ffs.c (__ffs): Define as hidden.
24935         * sysdeps/i386/ffs.c (__ffs): Likewise.
24936         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24937         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24938         * sysdeps/s390/ffs.c (__ffs): Likewise.
24939         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24941 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24943         * NEWS: Mention malloc probes.
24945         * malloc/arena.c (new_heap): New memory_heap_new probe.
24946         (grow_heap): New memory_heap_more probe.
24947         (shrink_heap): New memory_heap_less probe.
24948         (heap_trim): New memory_heap_free probe.
24949         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24950         (systrim): New memory_sbrk_less probe.
24951         * manual/probes.texi: Document them.
24953         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24954         * manual/probes.texi: Document it.
24956         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24957         (__libc_realloc): Add memory_realloc_retry probe.
24958         (__libc_memalign): Add memory_memalign_retry probe.
24959         (__libc_valloc): Add memory_valloc_retry probe.
24960         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24961         (__libc_calloc): Add memory_calloc_retry probe.
24962         * manual/probes.texi: Document them.
24964         * malloc/arena.c (get_free_list): Add probe
24965         memory_arena_reuse_free_list.
24966         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24967         and memory_arena_reuse.
24968         (arena_get2) [!PER_THREAD]: Likewise.
24969         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24970         memory_arena_reuse_realloc.
24971         * manual/probes.texi: Document them.
24973         * malloc/malloc.c (__libc_free): Add
24974         memory_mallopt_free_dyn_thresholds probe.
24975         (__libc_mallopt): Add multiple memory_mallopt probes.
24976         * manual/probes.texi: Document them.
24978         * malloc/malloc.c: Include stap-probe.h.
24979         (__libc_mallopt): Add memory_mallopt probe.
24980         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24981         * manual/probes.texi: New.
24982         * manual/Makefile (chapters): Add probes.
24983         * manual/threads.texi: Set next node.
24985 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
24987         [BZ #15963, #13985]
24988         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24989         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24990         Add `Chinese' to `nan' entry name.
24992 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24994         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24995         (POLYNOMIAL): Likewise.
24996         (TAYLOR_SINCOS): Likewise.
24997         (TAYLOR_SLOW): Likewise.
24998         (__sin): Use TAYLOR_SINCOS.
24999         (__cos): Likewise.
25000         (slow): Use TAYLOR_SLOW.
25001         (sloww): Likewise.
25002         (bsloww): Likewise.
25003         (csloww): Likewise.
25005 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25007         * stdlib/strtod_l.c: Fix buffer overrun.
25009 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25011         * benchtests/Makefile (bench): Add sincos.
25012         * benchtests/bench-sincos.c: New file.
25014         * math/libm-test.inc (cos_test_data): New test inputs.
25015         (sin_test_data): Likewise.
25017         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25018         macro.
25019         (__sin): Use it.
25020         (__cos): Likewise.
25021         (slow1): Likewise.
25022         (slow2): Likewise.
25023         (sloww1): Likewise.
25024         (sloww2): Likewise.
25025         (bsloww1): Likewise.
25026         (bsloww2): Likewise.
25027         (cslow2): Likewise.
25028         (csloww1): Likewise.
25029         (csloww2): Likewise.
25031         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25032         function.
25033         (__sin): Use it.
25034         (__cos): Likewise.
25036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25037         gotos.
25038         (__cos): Likewise.
25040 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25042         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25043         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25044         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25045         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25046         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25047         * elf/cache.c (print_entry): Handle the new cache flags.
25049 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25050             Aldy Hernandez  <aldyh@redhat.com>
25052         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25053         Change condition to [_SOFT_FLOAT].
25054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25066         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25069         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25070         declaration.
25072 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25074         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25075         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25076         (__longjmp): Use LOAD_GP to load saved GPRs.
25077         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25078         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25079         (__sigsetjmp): Use SAVE_GP to save GPRs.
25081         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25082         Do not append -msoft-float.
25083         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25085 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25087         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25089 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25091         [BZ #15966]
25092         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25093         (_FPU_GETCW): Use initial "__" on variable and field names but not
25094         on macro parameter name.
25095         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25096         parentheses around reference to macro parameter.
25098 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25100         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25101         prototype.
25102         (ctype_startup): Use uint32_t in cast and sizeof for
25103         ctype->charnames.
25105 2013-09-11  Jia Liu  <proljc@gmail.com>
25107         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25108         __daddr_t_defined.
25109         [__FreeBSD__]: Likewise.
25111 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25114         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25115         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25116         (strchr): Remove __strchr_sse42 ifunc selection.
25117         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25118         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25120 2013-09-11  Will Newton  <will.newton@linaro.org>
25122         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25123         parameter to RES. Remove hardcoded 1000 value.
25124         * benchtests/bench-skeleton.c (main): Pass RES parameter
25125         to TIMING_INIT and multiply result by 1000.
25127 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25131 2013-09-11  Andreas Schwab  <schwab@suse.de>
25133         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25134         if not defined.
25135         (O_TMPFILE) [__USE_GNU]: Define.
25136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25137         Define.
25139 2013-09-11  Will Newton  <will.newton@linaro.org>
25141         [BZ #15857]
25142         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25143         does not overflow.
25145 2013-09-11  Will Newton  <will.newton@linaro.org>
25147         [BZ #15856]
25148         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25149         does not overflow.
25151 2013-09-11  Will Newton  <will.newton@linaro.org>
25153         [BZ #15855]
25154         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25155         does not overflow.
25157 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25159         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25160         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25161         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25162         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25163         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25165 2013-09-10  Allan McRae  <allan@archlinux.org>
25167         [BZ #15748]
25168         * manual/arith.texi (Parsing of Floats): Clarify
25169         cross-reference.
25171         [BZ #15849]
25172         * manual/install.texi (Running make install): Mention
25173         --enable-pt-chown.
25174         * INSTALL: Regenerated.
25176 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25178         * csu/init-first.c (_init): Remove the !SHARED condition around
25179         FPU control word initialization.
25180         * elf/dl-support.c (_dl_fpu_control): New variable.
25181         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25182         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25183         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25184         * math/test-fpucw-static.c: New file.
25185         * math/test-fpucw-ieee.c: New file.
25186         * math/test-fpucw-ieee-static.c: New file.
25187         * math/Makefile (tests): Add `test-fpucw-ieee' and
25188         `$(tests-static)'.
25189         (tests-static): New variable.
25190         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25191         dependency to...
25192         [($(build-shared),yes)]
25193         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25194         ... this.
25195         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25196         New dependency.
25198 2013-09-09  Allan McRae  <allan@archlinux.org>
25200         [BZ #15939]
25201         * manual/string.texi (Collation Functions): Fix typo in
25202         strcoll example.
25203         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25205         [BZ #15893]
25206         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25208         [BZ #15892]
25209         * libio/memstream.c (open_memstream): Fix memory leak.
25210         * libio/wmemstream.c (open_wmemstream): Likewise.
25212         [BZ #15895]
25213         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25215 2013-09-09  Will Newton  <will.newton@linaro.org>
25217         * malloc/Makefile: Add tst-realloc to tests.
25218         * malloc/tst-realloc.c: New file.
25220 2013-09-09  Allan McRae  <allan@archlinux.org>
25222         [BZ #15844]
25223         * COPYING: Update from GNU website to fix FSF address.
25224         * COPYING.LIB: Likewise.
25226 2013-09-06  David S. Miller  <davem@davemloft.net>
25228         * po/zh_TW.po: Update Chinese (traditional) translation from
25229         translation project.
25231 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25232             Joseph Myers  <joseph@codesourcery.com>
25234         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25235         "localeinfo.h".
25236         (obstack_chunk_alloc): New macro.
25237         (obstack_chunk_free): Likewise.
25238         (record_offset): New function.
25239         (init_locale_data): Likewise.
25240         (align_locale_data): Likewise.
25241         (add_locale_empty): Likewise.
25242         (add_locale_raw_data): Likewise.
25243         (add_locale_raw_obstack): Likewise.
25244         (add_locale_string): Likewise.
25245         (add_locale_wstring): Likewise.
25246         (add_locale_uint32): Likewise.
25247         (add_locale_uint32_array): Likewise.
25248         (add_locale_char): Likewise.
25249         (start_locale_structure): Likewise.
25250         (end_locale_structure): Likewise.
25251         (start_locale_prelude): Likewise.
25252         (end_locale_prelude): Likewise.
25253         (write_locale_data): Take locale_file structure rather than an
25254         iovec.
25255         * locale/programs/locfile.h: Include "obstack.h".
25256         (struct locale_file): Change to store locale file contents instead
25257         of header.
25258         (init_locale_data): New prototype.
25259         (align_locale_data): Likewise.
25260         (add_locale_empty): Likewise.
25261         (add_locale_raw_data): Likewise.
25262         (add_locale_raw_obstack): Likewise.
25263         (add_locale_string): Likewise.
25264         (add_locale_wstring): Likewise.
25265         (add_locale_uint32): Likewise.
25266         (add_locale_uint32_array): Likewise.
25267         (add_locale_char): Likewise.
25268         (start_locale_structure): Likewise.
25269         (end_locale_structure): Likewise.
25270         (start_locale_prelude): Likewise.
25271         (end_locale_prelude): Likewise.
25272         (write_locale_data): Update prototype.
25273         * locale/programs/3level.h (struct TABLE): Remove result field.
25274         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25275         Use new locale_file interface.
25276         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25277         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25278         * locale/programs/ld-address.c (address_output): Use new
25279         locale_file interface.
25280         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25281         NO_ADD_LOCALE.
25282         (collate_finish): Don't call collseq_table_finalize.
25283         (collate_output): Use new locale_file interface.
25284         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25285         in file.
25286         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25287         (TABLE): Move defines earlier in file.
25288         (ELEMENT): Likewise.
25289         (DEFAULT): Likewise.
25290         (wctrans_table_add): Move macro and inline function earlier in
25291         file.
25292         (struct wctype_table): Move type earlier in file.
25293         (add_locale_wctype_table): New static prototype.
25294         (struct locale_ctype_t): Use logical types instead of struct iovec
25295         pointers for members.
25296         (ctype_output): Use new locale_file interface.
25297         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25298         new locale_file interface.
25299         (allocate_arrays): Update for use of new locale_file interface.
25300         * locale/programs/ld-identification.c (identification_output): Use
25301         new locale_file interface.
25302         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25303         * locale/programs/ld-messages.c (messages_output): Likewise.
25304         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25305         * locale/programs/ld-name.c (name_output): Likewise.
25306         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25307         * locale/programs/ld-paper.c (paper_output): Likewise.
25308         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25309         * locale/programs/ld-time.c (time_output): Likewise.
25311 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25313         * benchtests/Makefile: Add memrchr benchmark.
25314         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25315         benchmark as memrchr.
25316         * benchtests/bench-memrchr-ifunc.c: New file.
25317         * benchtests/bench-memrchr.c: New file.
25319 2013-09-06   Will Newton  <will.newton@linaro.org>
25321         * benchtests/Makefile (string-bench): Add memcpy.
25323 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25324             Cong Wang  <amwang@redhat.com>
25326         [BZ #15850]
25327         * sysdeps/unix/sysv/linux/bits/in.h
25328         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25329         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25330         before __USE_KERNEL_IPV6_DEFS uses.
25331         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25332         IPPROTO_BEETPH.
25333         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25334         sockaddr_in6, or ipv6_mreq.
25336 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25338         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25339         memory access for final bytes in some large inputs.
25340         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25342 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25344         * string/test-memrchr.c: New file.
25345         * string/test-memrchr-ifunc.c: New file.
25346         * string/Makefile: Add new memrchr testcase.
25348 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25350         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25351         fanotify_init returns EPERM.
25353 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25355         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25356         errors.
25357         (top level): Treat second token from macro or constant entries for
25358         allowed headers as allowed.
25359         * include/complex.h: Condition internal declarations on
25360         [!_ISOMAC].
25361         * include/fenv.h: Condition include of <stdbool.h> and internal
25362         declarations on [!_ISOMAC].
25364 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25366         [BZ #15923]
25367         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25369 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25371         * configure.in (--enable-versioning): Remove configure option.
25372         (libc_cv_asm_symver_directive): Remove configure test.
25373         (libc_cv_ld_version_script_option): Likewise.
25374         (VERSIONING): Remove variable and AC_SUBST.
25375         (DO_VERSIONING): Remove AC_DEFINE.
25376         * configure: Regenerated.
25377         * config.h.in (DO_VERSIONING): Remove macro.
25378         * Makerules [$(versioning) = yes]: Change conditionals to
25379         [$(build-shared) = yes].
25380         * config.make.in (versioning): Remove variable.
25381         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25382         [$(build-shared) = yes].
25383         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25384         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25385         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25386         [$(build-shared) = yes].
25387         * extra-lib.mk [$(versioning) = yes]: Likewise.
25388         * hurd/Makefile [$(versioning) = yes]: Likewise.
25389         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25390         [SHARED].
25391         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25392         [SHARED].
25393         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25394         [SHARED && !NO_HIDDEN].
25395         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25396         [SHARED].
25397         [SHARED && DO_VERSIONING]: Likewise..
25398         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25399         [$(build-shared) = yes].
25400         * manual/install.texi (--disable-versioning): Remove
25401         documentation.
25402         * INSTALL: Regenerated.
25403         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25404         to [SHARED].
25405         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25406         [$(build-shared) = yes].
25407         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25408         * sysdeps/i386/i686/multiarch/strstr-c.c
25409         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25410         [SHARED && !NO_HIDDEN].
25411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25412         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25413         * sysdeps/powerpc/powerpc32/dl-machine.c
25414         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25415         * sysdeps/powerpc/powerpc32/sysdep.h
25416         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25417         to [SHARED && PIC && !NO_HIDDEN].
25418         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25419         conditional to [SHARED].
25421 2013-09-04   Will Newton  <will.newton@linaro.org>
25423         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25424         * benchtests/bench-string.h: Include bench-timing.h instead
25425         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25426         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25427         call to HP_TIMING_DIFF_INIT.
25428         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25429         instead of hp-timing.h macros.
25430         * benchtests/bench-memchr.c: Likewise.
25431         * benchtests/bench-memcmp.c: Likewise.
25432         * benchtests/bench-memcpy.c: Likewise.
25433         * benchtests/bench-memmem.c: Likewise.
25434         * benchtests/bench-memmove.c: Likewise.
25435         * benchtests/bench-memset.c: Likewise.
25436         * benchtests/bench-rawmemchr.c: Likewise.
25437         * benchtests/bench-strcasecmp.c: Likewise.
25438         * benchtests/bench-strcasestr.c: Likewise.
25439         * benchtests/bench-strcat.c: Likewise.
25440         * benchtests/bench-strchr.c: Likewise.
25441         * benchtests/bench-strcmp.c: Likewise.
25442         * benchtests/bench-strcpy.c: Likewise.
25443         * benchtests/bench-strcpy_chk.c: Likewise.
25444         * benchtests/bench-strlen.c: Likewise.
25445         * benchtests/bench-strncasecmp.c: Likewise.
25446         * benchtests/bench-strncat.c: Likewise.
25447         * benchtests/bench-strncmp.c: Likewise.
25448         * benchtests/bench-strncpy.c: Likewise.
25449         * benchtests/bench-strnlen.c: Likewise.
25450         * benchtests/bench-strpbrk.c: Likewise.
25451         * benchtests/bench-strrchr.c: Likewise.
25452         * benchtests/bench-strspn.c: Likewise.
25453         * benchtests/bench-strstr.c: Likewise.
25455 2013-09-04  Will Newton  <will.newton@linaro.org>
25457         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25459 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25461         [BZ #15427]
25462         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25463         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25464         * math/libm-test.inc (lgamma_test_data): Add more tests.
25465         * sysdeps/i386/fpu/libm-test-ulps: Update.
25466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25468 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25470         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25472         Add ifunc.
25473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25474         Add strcmp-sse2-unaligned
25475         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25477 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25479         * Versions.def (libc): Add GLIBC_2.19.
25481 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25483         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25484         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25486 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25488         [BZ #14155]
25489         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25490         intermediate calculations in recurrence.
25491         (__ieee754_ynf): Likewise.
25492         * math/libm-test.inc (jn_test_data): Do not allow spurious
25493         underflow exception.  Add more tests.
25494         (yn_test_data): Add more tests.
25495         * sysdeps/i386/fpu/libm-test-ulps: Update.
25496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25498 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25502 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25504         * csu/init-first.c: Fix then/than typos.
25505         * locale/programs/ld-collate.c: Likewise.
25506         * locale/programs/linereader.h: Likewise.
25507         * manual/charset.texi: Likewise.
25508         * manual/filesys.texi: Likewise.
25509         * manual/stdio.texi: Likewise.
25510         * manual/string.texi: Likewise.
25511         * stdlib/fmtmsg.c: Likewise.
25512         * sysdeps/i386/stpncpy.S: Likewise.
25513         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25514         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25515         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25516         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25518 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25520         * elf/dl-open.c: Fix typos.
25521         * iconvdata/gbbig5.c: Likewise.
25522         * iconvdata/iso-2022-jp.c: Likewise.
25523         * iconv/gconv_int.h: Likewise.
25524         * iconv/loop.c: Likewise.
25525         * nis/rpcsvc/nis.h: Likewise.
25526         * resolv/ns_name.c: Likewise.
25527         * stdio-common/vfscanf.c: Likewise.
25528         * streams/stropts.h: Likewise.
25529         * sunrpc/rpc_thread.c: Likewise.
25530         * sysdeps/i386/strpbrk.S: Likewise.
25531         * sysdeps/ieee754/k_standard.c: Likewise.
25532         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25533         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25534         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25535         * sysdeps/mach/hurd/profil.c: Likewise.
25536         * sysdeps/s390/dl-procinfo.h: Likewise.
25537         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25538         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25539         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25540         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25541         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25543 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25545         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25548 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25550         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25551         aix specific files.
25552         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25553         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25554         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25555         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25556         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25557         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25558         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25559         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25561 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25562             Roland McGrath  <roland@hack.frob.com>
25564         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25565         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25567 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25569         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25570         __executable_start symbol instead of _start.
25572 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25574         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25575         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25576         Move macros to...
25577         * sysdeps/gnu/ldsodefs.h: ... this new file.
25579         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25580         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25581         instead of ELFOSABI_LINUX.
25583         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25584         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25585         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25586         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25587         Likewise.
25588         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25589         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25590         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25591         Likewise.
25592         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25593         (ibm_extended_long_double): Add ieee_nan member.
25594         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25595         (do_test): New function.
25597         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25598         TEST_TRUNC.
25599         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25600         functions, renamed from truncdfsf_test, trunctfsf_test,
25601         trunctfdf_test.
25602         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25603         functions.
25604         (do_test): Run all these.
25606 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25608         * argp/argp-help.c: Fix typos.
25609         * argp/argp-parse.c: Likewise.
25610         * debug/backtracesyms.c: Likewise.
25611         * elf/elf.h: Likewise.
25612         * malloc/malloc.c: Likewise.
25613         * nis/nis_print.c: Likewise.
25614         * resolv/res_comp.c: Likewise.
25615         * stdlib/stdlib.h: Likewise.
25616         * sunrpc/clnt_tcp.c: Likewise.
25617         * sunrpc/clnt_udp.c: Likewise.
25618         * sunrpc/clnt_unix.c: Likewise.
25619         * sysdeps/unix/bsd/ptsname.c: Likewise.
25620         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25621         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25623         Likewise.
25624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25625         Likewise.
25626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25627         Likewise.
25628         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25630 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25632         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25635 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25637         [BZ #15897]
25638         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25639         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25640         ($(objpfx)bug-dl-leaf): New rule.
25641         ($(objpfx)bug-dl-leaf.so): Likewise.
25642         ($(objpfx)bug-dl-leaf.out): Likewise.
25643         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25644         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25645         * dlfcn/bug-dl-leaf.c: New test.
25646         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25647         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25648         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25649         (dlclose): Likewise.
25650         (dlmopen): Likewise.
25652 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25654         * include/netdb.h [!_ISOMAC]:
25655         Don't include <tls.h>.
25656         (h_errno, __libc_h_errno): Move declaration and macros out of
25657         [_LIBC_REENTRANT].
25659         * include/resolv.h [_RESOLV_H_]:
25660         Don't include <tls.h>.
25661         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25662         * resolv/res_libc.c: Don't include <tls.h>.
25663         (_res): Use __attribute__ ((nocommon)) in place of
25664         __attribute__ ((section (".bss"))).
25666         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25667         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25669         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25671         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25672         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25674         * resolv/res_mkquery.c: Include <sys/time.h>.
25676         * inet/ifreq.c: Moved to ...
25677         * sysdeps/unix/ifreq.c: ... here.
25678         * inet/ifreq.c: New file, true stub version.
25680         * socket/sa_len.c: New file.
25681         * socket/Makefile (aux): Add it.
25682         * sysdeps/unix/sysv/linux/Makefile
25683         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25684         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25685         and #include <socket/sa_len.c>.
25686         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25687         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25689         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25690         * bits/socket.h: ... here.
25692         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25693         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25694         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25696 2013-08-27  Andreas Schwab  <schwab@suse.de>
25698         [BZ #15736]
25699         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25700         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25701         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25702         * string/test-strcasecmp.c (test_main): Run tests in several
25703         locales.
25704         * string/test-strncasecmp.c (test_main): Likewise.
25706         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25707         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25708         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25710         (__strncasecmp_ssse3) [PIC]: Likewise.
25712 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25714         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25716         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25717         instead of explicitly declaring xdecrypt.
25718         * nis/nss_nis/nis-publickey.c: Likewise.
25720 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25722         [BZ #15890]
25723         * nscd/aicache.c: Include res_hconf.h.
25724         (addhstaiX): Initialize res_hconf.
25726 2013-08-26  Andreas Schwab  <schwab@suse.de>
25728         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25729         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25731 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25733         * nscd/aicache.c (addhstaiX): Fix indentation.
25735 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25737         * configure.ac: Quote $build_pt_chown test.
25738         * configure: Regenerated.
25740 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25742         [BZ #15532]
25743         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25744         * math/s_cexpf.c (__cexpf): Likewise.
25745         * math/s_cexpl.c (__cexpl): Likewise.
25746         * math/libm-test.inc (cexp_test_data): Correct expected return
25747         value for NaN + i0.  Add another test.
25749 2013-08-22  David S. Miller  <davem@davemloft.net>
25751         * po/ca.po: Update Catalan translation from translation project.
25752         * po/uk.po: Add Ukrainian translations from translation project.
25754 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25756         [BZ #15797]
25757         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25758         is infinite, not alongside NaN test.
25759         * math/s_fdimf.c (__fdimf): Likewise.
25760         * math/s_fdiml.c (__fdiml): Likewise.
25761         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25762         errno is unchanged.
25764 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25766         * argp/argp-help.c: Fix typos.
25767         * crypt/speeds.c: Likewise.
25768         * csu/check_fds.c: Likewise.
25769         * elf/dl-load.c: Likewise.
25770         * elf/dl-open.c: Likewise.
25771         * elf/reldep3.c: Likewise.
25772         * elf/reldep.c: Likewise.
25773         * elf/sprof.c: Likewise.
25774         * iconv/iconv_charmap.c: Likewise.
25775         * iconv/skeleton.c: Likewise.
25776         * iconv/strtab.c: Likewise.
25777         * io/lockf64.c: Likewise.
25778         * libio/libioP.h: Likewise.
25779         * resolv/gai_notify.c: Likewise.
25780         * resolv/ns_name.c: Likewise.
25781         * resolv/ns_samedomain.c: Likewise.
25782         * resolv/res_send.c: Likewise.
25783         * stdlib/random.c: Likewise.
25784         * sunrpc/rpc/xdr.h: Likewise.
25785         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25786         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25787         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25788         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25789         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25790         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25791         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25792         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25793         * sysdeps/mach/hurd/check_fds.c: Likewise.
25794         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25795         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25796         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25797         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25798         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25799         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25800         * sysdeps/pthread/aio_notify.c: Likewise.
25801         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25802         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25803         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25805         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25807 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25809         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25810         version if bit_Slow_SSE4_2 is set.
25811         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25812         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25814 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25816         [BZ #15867]
25817         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25818         trampoline stack frame information.
25819         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25820         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25821         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25822         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25823         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25824         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25825         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25826         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25827         sa_flags value.
25828         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25829         interrupting a syscall and set with option SA_SIGINFO.
25831 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25833         [BZ #15531]
25834         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25835         argument is infinite.
25836         * math/s_cprojf.c (__cprojf): Likewise.
25837         * math/s_cprojl.c (__cprojl): Likewise.
25838         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25839         * math/libm-test.inc (cproj_test_data): Add more tests.
25841         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25843         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25844         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25845         size.  Use __ffs to determine corresponding shift.
25847 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25848             Roland McGrath  <roland@hack.frob.com>
25850         * Makefile (INSTALL): Remove trailing blank lines from output of
25851         makeinfo.
25853 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25855         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25856         Align 32 bit compat elf_greg to 8 bytes.
25858 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25860         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25862 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25864         * string/strcoll_l.c (coll_seq): New structure.
25865         (get_next_seq_cached): New function.
25866         (get_next_seq): New function.
25867         (do_compare): New function.
25868         (STRCOLL): Use GNU style definition.  Simplify implementation
25869         by using get_next_seq, get_next_seq_cached and do_compare.
25871 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25873         [BZ #14699]
25874         CVE-2013-4237
25875         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25876         member.
25877         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25878         member.
25879         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25880         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25881         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25882         conditional.
25883         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25884         GETDENTS_64BIT_ALIGNED.
25885         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25886         * manual/filesys.texi (Reading/Closing Directory): Document
25887         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25888         strongly.
25889         * manual/conf.texi (Limits for Files): Add portability note to
25890         NAME_MAX, PATH_MAX.
25891         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25893 2013-08-13  Andreas Schwab  <schwab@suse.de>
25895         [BZ #15749]
25896         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25897         of fabs.
25898         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25899         LDBL_MAX_EXP >= 16384]: Add tests for it.
25901 2013-08-12  David S. Miller  <davem@davemloft.net>
25903         * version.h (RELEASE): Set to "development".
25904         (VERSION): Set to "2.18.90".
25905         * NEWS: Add 2.19 section.
25907 2013-08-03  David S. Miller  <davem@davemloft.net>
25909         * po/ko.po: Update Korean translation from translation project.
25911 2013-08-01  David S. Miller  <davem@davemloft.net>
25913         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25914         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25915         Bilka.
25917 2013-07-30  David S. Miller  <davem@davemloft.net>
25919         * po/fr.po: Update French translation from translation project.
25921 2013-07-28  David S. Miller  <davem@davemloft.net>
25923         * po/cs.po: Update Czech translation from translation project.
25925         * po/sv.po: Update Swedish translation from translation project.
25927 2013-07-27  David S. Miller  <davem@davemloft.net>
25929         * po/eo.po: Update Esperanto translation from translation project.
25931         * po/vi.po: Update Vietnamese translation from translation project.
25933         * po/de.po: Update German translation from translation project.
25935 2013-07-26  David S. Miller  <davem@davemloft.net>
25937         * po/bg.po: Update Bulgarian translation from translation project.
25939         * po/nl.po: Update Dutch translation from translation project.
25940         * po/pl.po: Update Polish translation from translation project.
25941         * po/ru.po: Update Russian translation from translation project.
25943 2013-07-24  David S. Miller  <davem@davemloft.net>
25945         * po/libc.pot: Update.
25947 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25949         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25950         variable page size.
25951         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25952         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25953         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25955 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25957         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25959 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25960             Andreas Schwab  <schwab@suse.de>
25961             Roland McGrath  <roland@hack.frob.com>
25962             Joseph Myers  <joseph@codesourcery.com>
25963             Carlos O'Donell  <carlos@redhat.com>
25965         [BZ #15755]
25966         * config.h.in: Define HAVE_PT_CHOWN.
25967         * config.make.in (build-pt-chown): New variable.
25968         * configure.in (--enable-pt_chown): New configure option.
25969         * configure: Regenerate.
25970         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25971         build-pt-chown is enabled.
25972         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25973         pt_chown to fix pty ownership.
25974         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25975         CLOSE_ALL_FDS.
25976         * manual/install.texi (Configuring and compiling): Mention
25977         --enable-pt_chown. Add @findex for grantpt.
25978         * INSTALL: Regenerate.
25980 2013-07-20  David S. Miller  <davem@davemloft.net>
25982         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25983         difference between 32-bit and 64-bit.
25985 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
25987         [BZ #15711]
25988         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25989         Avoid system header dependency with -ffreestanding.
25990         ($(objpfx)bits/syscall%d): Likewise.
25992 2013-07-13  David S. Miller  <davem@davemloft.net>
25994         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25995         underflows from atanl/atan2l due to bug 15319.
25996         (casinh_test_data): Likewise.
25998 2013-07-07  David S. Miller  <davem@davemloft.net>
26000         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26002 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26004         * sysdeps/i386/fpu/libm-test-ulps: Update.
26005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26007 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26009         * configure.in (--enable-lock-elision): Fix message text.
26010         * INSTALL: Regenerate.
26011         * configure: Regenerate.
26013 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26017 2013-07-03  Andreas Jaeger  <aj@suse.de>
26019         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26020         define.
26021         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26022         (ptrace_peeksiginfo_args): Add.
26023         (__ptrace_peeksiginfo_flags): Add.
26024         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26025         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26026         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26028 2013-07-03  Allan McRae  <allan@archlinux.org>
26030         * sysdeps/i386/fpu/libm-test-ulps: Update.
26032 2013-07-02  David S. Miller  <davem@davemloft.net>
26034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26036 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26040 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26042         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26045 2013-07-02  Andi Kleen <ak@linux.intel.com>
26047         * config.h.in (ENABLE_LOCK_ELISION): Add.
26048         * configure.in (--enable-lock-elision): Add option.
26049         * manual/install.texi: Document --enable lock elision.
26050         * configure: Regenerate
26051         * INSTALL: Regenerate.
26053 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26055         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26056         SSE4.2 strcasecmp for libc.a.
26057         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26059 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26061         [BZ #13304]
26062         * soft-fp/op-common.h (_FP_FMA): New macro.
26063         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26064         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26065         (_FP_MUL_MEAT_1_imm): ... here.
26066         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26067         (_FP_MUL_MEAT_1_wide): ... here.
26068         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26069         (_FP_MUL_MEAT_1_hard): ... here.
26070         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26071         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26072         (_FP_MUL_MEAT_2_wide): ... here.
26073         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26074         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26075         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26076         (_FP_MUL_MEAT_2_gmp): ... here.
26077         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26078         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26079         (_FP_MUL_MEAT_4_wide): ... here.
26080         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26081         (_FP_MUL_MEAT_4_gmp): ... here.
26082         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26083         (_FP_WFRACBITS_DW_S): Likewise.
26084         (_FP_WFRACXBITS_DW_S): Likewise.
26085         (_FP_HIGHBIT_DW_S): Likewise.
26086         (FP_FMA_S): Likewise.
26087         (_FP_FRAC_HIGH_DW_S): Likewise.
26088         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26089         (_FP_WFRACBITS_DW_D): Likewise.
26090         (_FP_WFRACXBITS_DW_D): Likewise.
26091         (_FP_HIGHBIT_DW_D): Likewise.
26092         (FP_FMA_D): Likewise.
26093         (_FP_FRAC_HIGH_DW_D): Likewise.
26094         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26095         (_FP_WFRACBITS_DW_E): Likewise.
26096         (_FP_WFRACXBITS_DW_E): Likewise.
26097         (_FP_HIGHBIT_DW_E): Likewise.
26098         (FP_FMA_E): Likewise.
26099         (_FP_FRAC_HIGH_DW_E): Likewise.
26100         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26101         (_FP_WFRACBITS_DW_Q): Likewise.
26102         (_FP_WFRACXBITS_DW_Q): Likewise.
26103         (_FP_HIGHBIT_DW_Q): Likewise.
26104         (FP_FMA_Q): Likewise.
26105         (_FP_FRAC_HIGH_DW_Q): Likewise.
26106         * soft-fp/fmasf4.c: New file.
26107         * soft-fp/fmadf4.c: Likewise.
26108         * soft-fp/fmatf4.c: Likewise.
26110 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26113         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26114         Silvermont.
26115         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26116         macro.
26117         (index_Slow_SSE4_2): Likewise.
26118         (index_Prefer_PMINUB_for_stringop): Likewise.
26119         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26120         bit_Slow_SSE4_2 is set.
26121         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26122         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26124 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26126         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26127         rtld_global._dl_hwcap2.
26128         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26129         POWER8.
26130         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26131         POWER8 feature descriptions defined in _dl_hwcap2.
26132         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26133         string handling for POWER8 feature bits.
26134         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26135         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26136         _dl_powerpc_cap_flags.
26137         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26138         * sysdeps/powerpc/rtld-global-offsets.sym
26139         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26140         _dl_hwcap2 in the rtld_global_ro structure.
26142 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26144         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26145         hardware capabilities in support of AT_HWCAP2.
26146         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26147         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26148         GLRO(dl_hwcap2).
26149         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26150         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26151         explicitly the unknown a_type display mechanism is used.
26152         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26153         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26154         struct member.
26155         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26156         to macro prototype for AT_HWCAP2 support.
26157         * sysdeps/i386/dl-procinfo.h: Likewise.
26158         * sysdeps/s390/dl-procinfo.h: Likewise.
26159         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26160         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26161         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26162         return -1 for unknown a_type display fallback.
26163         * sysdeps/sparc/dl-procinfo.h: Likewise.
26164         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26165         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26167 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26169         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26170         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26172 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26174         [BZ #12492]
26175         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26176         mprotect making __stack_prot writable.
26178 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26179             Joseph Myers  <joseph@codesourcery.com>
26181         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26182         as being properly aligned.
26184 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26186         * dlfcn/modstatic5.c: New file.
26187         * dlfcn/tststatic5.c: New file.
26188         * dlfcn/Makefile (tests): Add tststatic5.
26189         (tests-static): Likewise.
26190         (modules-names): Add modstatic5.
26191         (tststatic5-ENV): New variable.
26192         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26194         [BZ #15022]
26195         * elf/dl-support.c (_dl_main_map): New variable.
26196         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26197         (_dl_nns, _dl_load_adds): Set to 1.
26198         (_dl_initial_searchlist): Refer to _dl_main_map.
26199         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26200         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26201         call to _dl_get_origin.
26202         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26203         around call_map.
26204         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26205         * dlfcn/modstatic3.c: New file.
26206         * dlfcn/tststatic3.c: New file.
26207         * dlfcn/tststatic4.c: New file.
26208         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26209         (tests-static): Likewise.
26210         (modules-names): Add modstatic3.
26211         (tststatic3-ENV, tststatic4-ENV): New variables.
26212         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26213         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26215 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26217         * configure.in (CC): Require GCC version 4.4 or later.
26218         * configure: Regenerated.
26219         * manual/install.texi (Tools for Compilation): Update GCC version
26220         requirement.
26221         * INSTALL: Regenerated.
26223 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26225         [BZ #15674]
26226         * string/test-memcmp.c (check2): New.
26227         (main): Call check2.
26229         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26231 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26233         [BZ #15022]
26234         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26235         over to...
26236         (dl_open_worker) [!SHARED]: ... here.
26238 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26240         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26242 2013-06-25  Richard Henderson  <rth@redhat.com>
26244         * locale/programs/locarchive.c: Include <libc-internal.h>
26246 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26248         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26249         trailing whitespace removed.
26251 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26253         [BZ #10283]
26254         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26255         * locale/programs/locarchive.c: Include libc-mmap.h.
26256         (prepare_address_space): Take two new outputs (the mmap base and len).
26257         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26258         values.
26259         (create_archive): Declare new mmap base and len values for
26260         prepare_address_space, and store the result in ah.
26261         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26262         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26263         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26264         Declare new mmap base and len values for
26265         prepare_address_space, and store the result in new_ah.
26266         (open_archive): Declare new mmap base and len values for
26267         prepare_address_space, and store the result in ah.
26268         (close_archive): If ah->mmap_base is not NULL, use that and
26269         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26270         * sysdeps/generic/libc-mmap.h: New file.
26272 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26274         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26275         (ALIGN_UP): Likewise.
26276         (PTR_ALIGN_DOWN): Likewise.
26277         (PTR_ALIGN_UP): Likewise.
26279 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26281         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26282         entry mapped to PPC_PLATFORM_POWER8.
26283         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26284         POWER8.
26285         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26286         (_dl_string_platform): Add case for exporting platform position for
26287         POWER8.
26288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26289         search path to sysdeps/powerpc/powerpc32/power8 directory.
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26291         search path to sysdeps/powerpc/powerpc64/power8 directory.
26292         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26293         power7 directories.
26294         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26295         power7 directories.
26297 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26299         * INSTALL: Regenerate.
26301         * nscd/connections.c (nscd_init): Fix comment.
26303 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26305         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26307         [BZ #15667]
26308         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26309         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26311 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26313         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26314         DL_DST_REQ_STATIC.
26315         (DL_DST_REQ_STATIC): Remove macro.
26317 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26319         [BZ #7006]
26320         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26321         with a shift of 0 bits.
26323 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26325         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26326         $(tststatic-ENV).
26328 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26330         [BZ #15655]
26331         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26333 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26335         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26336         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26337         accepts -fno-tree-loop-distribute-patterns.
26338         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26339         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26340         recursive call.
26341         * string/memset.c (memset): Likewise.
26342         * string/test-memmove.c (simple_memmove): Disable loop transformation
26343         to library calls.
26344         * string/test-memset.c (simple_memset): Likewise.
26345         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26346         * benchtests/bench-memset.c (simple_memset): Likewise.
26347         * configure: Regenerated.
26349 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26351         * math/test-misc.c (main): Ignore fesetround failure when failures
26352         of subsequent rounding tests would be ignored.
26354         [BZ #15654]
26355         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26356         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26357         * math/fegetenv.c (__fegetenv): Return 0.
26358         * math/fegetexcept.c (fegetexcept): Return 0.
26359         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26360         FE_TONEAREST.
26361         * math/feholdexcpt.c (feholdexcept): Return 0.
26362         * math/fesetenv.c (__fesetenv): Return 0.
26363         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26364         argument FE_TONEAREST.
26365         * math/feupdateenv.c (__feupdateenv): Return 0.
26366         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26368 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26370         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26371         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26372         ($(objpfx)rtld-%.os rules): Use them.
26374 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26376         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26377         fields.
26379 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26381         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26382         length of target pattern, then descending length of dependency pattern.
26383         * configure.in (AWK): Require gawk 3.1.2 or newer.
26384         * manual/install.texi (Tools for Compilation): Say that we do.
26385         * configure: Regenerated.
26387         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26388         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26389         * scripts/sysd-rules.awk: ... this new script.
26390         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26391         than a glob-style pattern.
26393 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26395         * math/test-misc.c (main): Do not treat incorrectly rounded
26396         conversions as failure unless ROUNDING_TESTS passes.
26398 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26400         [BZ #15631]
26401         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26402         restore exception state around main square root computation, then
26403         check for inexactness explicitly.
26405         * math/libm-test.inc (fma_test_data): Add another test.
26407 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26409         * manual/threads.texi (Non-POSIX Extensions): New document
26410         node.  Document pthread_getattr_default_np and
26411         pthread_setattr_default_np.
26413         * Versions.def (libpthread): Add GLIBC_2.18.
26414         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26416         Likewise.
26417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26418         Likewise.
26419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26420         Likewise.
26421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26422         Likewise.
26423         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26424         Likewise.
26425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26426         Likewise.
26427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26428         Likewise.
26429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26430         Likewise.
26431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26432         Likewise.
26434 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26437         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26439 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26440             H.J. Lu  <hjl.tools@gmail.com>
26442         [BZ #15627]
26443         * sysdeps/x86_64/rtld-memset.c: Remove file.
26444         * sysdeps/x86_64/rtld-memset.S: New file.
26446 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26448         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26449         (test_in_one_mode): Take arguments for whether the rounding mode
26450         is supported for each floating-point type.
26451         (do_test): Pass new arguments to test_in_one_mode using
26452         ROUNDING_TESTS.
26454 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26456         * posix/tst-waitid.c (do_test): Distinguish different instances of
26457         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26458         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26459         before entering the kernel for waitpid.
26461 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26463         * NEWS: Fix note on clock function precision.  Text by Roland
26464         McGrath.
26466 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26468         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26469         it into place only when and if the sanity check passes.
26471 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26473         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26474         output for whether conversion result is exact.  Take argument
26475         indicating whether type is IBM long double.
26476         (round_for_all): Change need_exact field to ibm_ld.
26477         * stdlib/tst-strtod-round.c (struct exactness): New type.
26478         (struct test): Change bool ld_ok field to struct exactness exact.
26479         (TEST): Update all definitions for change to field.
26480         (tests): Regenerate array contents.
26481         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26482         field value.  Check for IBM long double here.
26483         (do_test): Update calls to test_in_one_mode.
26485 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26487         [BZ #12515]
26488         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26489         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26491 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26493         [BZ #15605]
26494         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26495         generated by the compiler on loop optimizations.
26496         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26497         general definitions.
26499 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26501         * math/bug-nextafter.c: Include <math-tests.h>.
26502         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26503         the relevant type.
26504         * math/bug-nexttoward.c: Include <math-tests.h>.
26505         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26506         the relevant type.
26507         * math/test-misc.c: Include <math-tests.h>.
26508         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26509         the relevant type.
26511 2013-06-12  Andreas Jaeger  <aj@suse.de>
26513         * po/ia.po: Update Interlingua translation from translation
26514         project.
26516 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26518         * include/fenv.h: Include stdbool.h.
26519         (struct rm_ctx): New structure.
26520         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26521         Define macro.
26522         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26523         (SET_RESTORE_ROUNDF): Likewise.
26524         (SET_RESTORE_ROUNDL): Likewise.
26525         (SET_RESTORE_ROUND_NOEX): Likewise.
26526         (SET_RESTORE_ROUND_NOEXF): Likewise.
26527         (SET_RESTORE_ROUND_NOEXL): Likewise.
26528         (SET_RESTORE_ROUND_53BIT): Likewise.
26529         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26530         (libc_feresetround_noexf_ctx): Likewise.
26531         (libc_feresetround_noexl_ctx): Likewise.
26532         (libc_feholdsetround_53bit_ctx): Likewise.
26533         (libc_feresetround_53bit_ctx): Likewise.
26534         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26535         (libc_feholdexcept_setround_sse_ctx): New function.
26536         (libc_fesetenv_sse_ctx): Likewise.
26537         (libc_feupdateenv_sse_ctx): Likewise.
26538         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26539         (libc_feholdexcept_setround_387_ctx): Likewise.
26540         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26541         (libc_feholdsetround_387_prec_ctx): Likewise.
26542         (libc_feholdsetround_387_ctx): Likewise.
26543         (libc_feholdsetround_387_53bit_ctx): Likewise.
26544         (libc_feholdsetround_sse_ctx): Likewise.
26545         (libc_feresetround_sse_ctx): Likewise.
26546         (libc_feresetround_387_ctx): Likewise.
26547         (libc_feupdateenv_387_ctx): Likewise.
26548         (libc_feholdexcept_setroundf_ctx): Define macro.
26549         (libc_fesetenvf_ctx): Likewise.
26550         (libc_feupdateenvf_ctx): Likewise.
26551         (libc_feholdsetroundf_ctx): Likewise.
26552         (libc_feresetroundf_ctx): Likewise.
26553         (libc_feholdexcept_setround_ctx): Likewise.
26554         (libc_fesetenv_ctx): Likewise.
26555         (libc_feupdateenv_ctx): Likewise.
26556         (libc_feholdsetround_ctx): Likewise.
26557         (libc_feresetround_ctx): Likewise.
26558         (libc_feholdexcept_setroundl_ctx): Likewise.
26559         (libc_feupdateenvl_ctx): Likewise.
26560         (libc_feholdsetroundl_ctx): Likewise.
26561         (libc_feresetroundl_ctx): Likewise.
26562         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26563         (libc_feresetround_53bit_ctx): Likewise.
26565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26567         * locale/iso-639.def: Convert to UTF-8.
26569 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26571         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26572         (EXCEPTION_TESTS_double): Likewise.
26573         (EXCEPTION_TESTS_long_double): Likewise.
26574         (EXCEPTION_TESTS): Likewise.
26575         * math/libm-test.inc (test_exceptions): Only test exceptions if
26576         EXCEPTION_TESTS (FLOAT).
26578 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26580         * benchtests/Makefile (string-bench): Add strcpy_chk and
26581         stpcpy_chk.
26582         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26583         * benchtests/bench-stpcpy_chk.c: New file.
26584         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26585         * benchtests/bench-strcpy_chk.c: New file.
26586         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26587         code.
26588         (do_test): Likewise.
26590 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26592         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26593         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26594         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26595         with tabs where appropriate.
26596         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26597         dl-procinfo.h.
26598         [PPC_PLATFORM_PPC440]: Likewise.
26599         [PPC_PLATFORM_PPC464]: Likewise.
26600         [PPC_PLATFORM_PPC476]: Likewise.
26601         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26602         ppc464, and ppc476 platform strings merging from ports/
26603         dl-procinfo.h.
26605 2013-06-11  Andreas Schwab  <schwab@suse.de>
26607         [BZ #14991]
26608         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26609         (from_ucs4_idx): Regenerate.
26610         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26611         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26612         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26613         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26614         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26615         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26616         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26617         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26618         from FROM_LOOP and TO_LOOP specific macros.
26619         (BODY): Handle combining characters.
26620         * iconvdata/BIG5HKSCS.irreversible: Update.
26621         * iconvdata/BIG5HKSCS.precomposed: New file.
26622         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26623         characters.
26624         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26626 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26628         * include/sys/time.h: Fix indentation and add copyright header.
26630         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26631         (do_test): Likewise.
26632         * string/test-memchr.c (do_one_test): Likewise.
26633         (do_test): Likewise.
26634         * string/test-memcmp.c (do_one_test): Likewise.
26635         (do_test): Likewise.
26636         * string/test-memcpy.c (do_one_test): Likewise.
26637         (do_test): Likewise.
26638         * string/test-memmem.c (do_one_test): Likewise.
26639         (do_test): Likewise.
26640         (do_random_tests): Likewise.
26641         * string/test-memmove.c (do_one_test): Likewise.
26642         (do_test): Likewise.
26643         * string/test-memset.c (do_one_test): Likewise.
26644         (do_test): Likewise.
26645         * string/test-rawmemchr.c (do_one_test): Likewise.
26646         (do_test): Likewise.
26647         * string/test-strcasecmp.c (do_one_test): Likewise.
26648         (do_test): Likewise.
26649         * string/test-strcasestr.c (do_one_test): Likewise.
26650         (do_test): Likewise.
26651         * string/test-strcat.c (do_one_test): Likewise.
26652         (do_test): Likewise.
26653         * string/test-strchr.c (do_one_test): Likewise.
26654         (do_test): Likewise.
26655         * string/test-strcmp.c (do_one_test): Likewise.
26656         (do_test): Likewise.
26657         * string/test-strcpy.c (do_one_test): Likewise.
26658         (do_test): Likewise.
26659         * string/test-string.h: Likewise.
26660         (test_init): Likewise.
26661         * string/test-strlen.c (do_one_test): Likewise.
26662         (do_test): Likewise.
26663         * string/test-strncasecmp.c (do_one_test): Likewise.
26664         (do_test): Likewise.
26665         * string/test-strncat.c (do_one_test): Likewise.
26666         (do_test): Likewise.
26667         * string/test-strncmp.c (do_one_test): Likewise.
26668         (do_test_limit): Likewise.
26669         (do_test): Likewise.
26670         * string/test-strncpy.c (do_one_test): Likewise.
26671         (do_test): Likewise.
26672         * string/test-strnlen.c (do_one_test): Likewise.
26673         (do_test): Likewise.
26674         * string/test-strpbrk.c (do_one_test): Likewise.
26675         (do_test): Likewise.
26676         * string/test-strrchr.c (do_one_test): Likewise.
26677         (do_test): Likewise.
26678         * string/test-strspn.c (do_one_test): Likewise.
26679         (do_test): Likewise.
26680         * string/test-strstr.c (do_one_test): Likewise.
26681         (do_test): Likewise.
26683         * benchtests/Makefile (string-bench): Add string benchmarks.
26684         * benchtests/bench-bcopy-ifunc.c: New file.
26685         * benchtests/bench-bcopy.c: New file.
26686         * benchtests/bench-bzero-ifunc.c: New file.
26687         * benchtests/bench-bzero.c: New file.
26688         * benchtests/bench-memccpy-ifunc.c: New file.
26689         * benchtests/bench-memccpy.c: New file.
26690         * benchtests/bench-memchr-ifunc.c: New file.
26691         * benchtests/bench-memchr.c: New file.
26692         * benchtests/bench-memcmp-ifunc.c: New file.
26693         * benchtests/bench-memcmp.c: New file.
26694         * benchtests/bench-memmem-ifunc.c: New file.
26695         * benchtests/bench-memmem.c: New file.
26696         * benchtests/bench-memmove-ifunc.c: New file.
26697         * benchtests/bench-memmove.c: New file.
26698         * benchtests/bench-mempcpy-ifunc.c: New file.
26699         * benchtests/bench-mempcpy.c: New file.
26700         * benchtests/bench-memset-ifunc.c: New file.
26701         * benchtests/bench-memset.c: New file.
26702         * benchtests/bench-rawmemchr-ifunc.c: New file.
26703         * benchtests/bench-rawmemchr.c: New file.
26704         * benchtests/bench-stpcpy-ifunc.c: New file.
26705         * benchtests/bench-stpcpy.c: New file.
26706         * benchtests/bench-stpncpy-ifunc.c: New file.
26707         * benchtests/bench-stpncpy.c: New file.
26708         * benchtests/bench-strcasecmp-ifunc.c: New file.
26709         * benchtests/bench-strcasecmp.c: New file.
26710         * benchtests/bench-strcasestr-ifunc.c: New file.
26711         * benchtests/bench-strcasestr.c: New file.
26712         * benchtests/bench-strcat-ifunc.c: New file.
26713         * benchtests/bench-strcat.c: New file.
26714         * benchtests/bench-strchr-ifunc.c: New file.
26715         * benchtests/bench-strchr.c: New file.
26716         * benchtests/bench-strchrnul-ifunc.c: New file.
26717         * benchtests/bench-strchrnul.c: New file.
26718         * benchtests/bench-strcmp-ifunc.c: New file.
26719         * benchtests/bench-strcmp.c: New file.
26720         * benchtests/bench-strcpy-ifunc.c: New file.
26721         * benchtests/bench-strcpy.c: New file.
26722         * benchtests/bench-strcspn-ifunc.c: New file.
26723         * benchtests/bench-strcspn.c: New file.
26724         * benchtests/bench-strlen-ifunc.c: New file.
26725         * benchtests/bench-strlen.c: New file.
26726         * benchtests/bench-strncasecmp-ifunc.c: New file.
26727         * benchtests/bench-strncasecmp.c: New file.
26728         * benchtests/bench-strncat-ifunc.c: New file.
26729         * benchtests/bench-strncat.c: New file.
26730         * benchtests/bench-strncmp-ifunc.c: New file.
26731         * benchtests/bench-strncmp.c: New file.
26732         * benchtests/bench-strncpy-ifunc.c: New file.
26733         * benchtests/bench-strncpy.c: New file.
26734         * benchtests/bench-strnlen-ifunc.c: New file.
26735         * benchtests/bench-strnlen.c: New file.
26736         * benchtests/bench-strpbrk-ifunc.c: New file.
26737         * benchtests/bench-strpbrk.c: New file.
26738         * benchtests/bench-strrchr-ifunc.c: New file.
26739         * benchtests/bench-strrchr.c: New file.
26740         * benchtests/bench-strspn-ifunc.c: New file.
26741         * benchtests/bench-strspn.c: New file.
26742         * benchtests/bench-strstr-ifunc.c: New file.
26743         * benchtests/bench-strstr.c: New file.
26745         * benchtests/Makefile: Disable parallel execution of targets.
26746         (string-bench): Add memcpy.
26747         (benchset): New variable to store a list of benchmark sets.
26748         (bench-func): Renamed from bench.
26749         (bench-set): New target.
26750         (bench): Depend on bench-func and bench-set.
26751         * benchtests/README: Add section on benchmark sets.
26752         * benchtests/bench-memcpy-ifunc.c: New file.
26753         * benchtests/bench-memcpy.c: New file.
26754         * benchtests/bench-string.h: New file.
26756 2013-06-11  Andreas Schwab  <schwab@suse.de>
26758         [BZ #15577]
26759         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26760         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26761         values in the triple.
26762         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26763         terminator in the group key.
26765 2013-06-11  Andreas Jaeger  <aj@suse.de>
26767         * po/zh_TW.po: Update Chinese (traditional) translation from
26768         translation project.
26770 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26772         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26773         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26774         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26775         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26776         (clock_getcpuclockid): Likewise.
26777         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26778         Add weak_alias and libc_hidden_def.
26779         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26780         * rt/clock_gettime.c (clock_gettime): Rename to
26781         __clock_gettime.  Add weak_alias and libc_hidden_def.
26782         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26783         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26784         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26785         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26786         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26787         Likewise.
26788         * rt/clock_settime.c (clock_settime): Rename to
26789         __clock_settime.  Add weak_alias and libc_hidden_def.
26790         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26792 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26794         * mach/err_boot.sub: Remove trailing whitespace.
26795         * mach/err_ipc.sub: Likewise.
26796         * mach/err_mach.sub: Likewise.
26798         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26799         (ROUNDING_TESTS_double): Likewise.
26800         (ROUNDING_TESTS_long_double): Likewise.
26801         (ROUNDING_TESTS): Likewise.
26802         * math/libm-test.inc: Include <math-tests.h>.
26803         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26804         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26805         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26806         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26808 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26810         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26811         of assigning.
26813 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26815         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26816         otherwise empty TRANS lines.
26817         * sysdeps/gnu/errlist.c: Regenerated.
26819         * catgets/gencat.c (error_print): Use (void) in function
26820         definition.
26821         * crypt/crypt_util.c (__init_des): Likewise.
26822         * crypt/speeds.c (Stop): Likewise.
26823         (main): Likewise.
26824         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26825         * inet/ruserpass.c (token): Likewise.
26826         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26827         * intl/localealias.c (extend_alias_table): Likewise.
26828         * intl/plural-exp.c (init_germanic_plural): Likewise.
26829         * libio/fcloseall.c (__fcloseall): Likewise.
26830         * libio/genops.c (_IO_flush_all): Likewise.
26831         (_IO_flush_all_linebuffered): Likewise.
26832         (_IO_cleanup): Likewise.
26833         (_IO_iter_begin): Likewise.
26834         (_IO_iter_end): Likewise.
26835         (_IO_list_lock): Likewise.
26836         (_IO_list_unlock): Likewise.
26837         (_IO_list_resetlock): Likewise.
26838         * libio/getchar.c (getchar): Likewise.
26839         * libio/getchar_u.c (getchar_unlocked): Likewise.
26840         * libio/getwchar.c (getwchar): Likewise.
26841         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26842         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26843         * login/getpt.c (__getpt): Likewise.
26844         * login/tst-utmp.c (main): Likewise.
26845         * malloc/hooks.c (__malloc_check_init): Likewise.
26846         * malloc/malloc.c (__malloc_stats): Likewise.
26847         * malloc/mtrace.c (tr_break): Likewise.
26848         (mtrace): Likewise.
26849         (muntrace): Likewise.
26850         * misc/fstab.c (endfsent): Likewise.
26851         * misc/getclktck.c (__getclktck): Likewise.
26852         * misc/getdtsz.c (__getdtablesize): Likewise.
26853         * misc/gethostid.c (gethostid): Likewise.
26854         * misc/getpagesize.c (__getpagesize): Likewise.
26855         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26856         (__get_nprocs): Likewise.
26857         (__get_phys_pages): Likewise.
26858         (__get_avphys_pages): Likewise.
26859         * misc/getttyent.c (getttyent): Likewise.
26860         (setttyent): Likewise.
26861         (endttyent): Likewise.
26862         * misc/getusershell.c (getusershell): Likewise.
26863         (endusershell): Likewise.
26864         (setusershell): Likewise.
26865         (initshells): Likewise.
26866         * misc/hsearch.c (__hdestroy): Likewise.
26867         * misc/sync.c (sync): Likewise.
26868         * misc/syslog.c (closelog_internal): Likewise.
26869         (closelog): Likewise.
26870         * misc/ttyslot.c (ttyslot): Likewise.
26871         * misc/vhangup.c (vhangup): Likewise.
26872         * posix/fork.c (__fork): Likewise.
26873         * posix/getegid.c (__getegid): Likewise.
26874         * posix/geteuid.c (__geteuid): Likewise.
26875         * posix/getgid.c (__getgid): Likewise.
26876         * posix/getpid.c (__getpid): Likewise.
26877         * posix/getppid.c (__getppid): Likewise.
26878         * posix/getuid.c (__getuid): Likewise.
26879         * posix/pause.c (pause): Likewise.
26880         * posix/setpgrp.c (setpgrp): Likewise.
26881         * posix/setsid.c (__setsid): Likewise.
26882         * posix/test-vfork.c (noop): Likewise.
26883         * resolv/gethnamaddr.c (_endhtent): Likewise.
26884         (_gethtent): Likewise.
26885         (ht_endhostent): Likewise.
26886         (gethostent): Likewise.
26887         (dns_service): Likewise.
26888         * stdlib/drand48.c (drand48): Likewise.
26889         * stdlib/lrand48.c (lrand48): Likewise.
26890         * stdlib/mrand48.c (mrand48): Likewise.
26891         * stdlib/rand.c (rand): Likewise.
26892         * stdlib/random.c (__random): Likewise.
26893         * stdlib/setenv.c (clearenv): Likewise.
26894         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26895         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26896         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26897         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26898         (__get_nprocs): Likewise.
26899         (__get_phys_pages): Likewise.
26900         (__get_avphys_pages): Likewise.
26901         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26902         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26903         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26904         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26905         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26906         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26907         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26908         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26909         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26910         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26911         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26912         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26913         * sysdeps/posix/clock.c (clock): Likewise.
26914         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26915         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26916         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26917         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26918         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26920         (__get_nprocs_conf): Likewise.
26921         (__get_phys_pages): Likewise.
26922         (__get_avphys_pages): Likewise.
26923         * time/clock.c (clock): Likewise.
26924         * time/tzset.c (__tzname_max): Likewise.
26926 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26928         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26929         (__bswap_32): Do not use "register".
26930         * crypt/crypt.c (_ufc_doit_r): Likewise.
26931         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26932         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26933         * gmon/gmon.c (__monstartup): Likewise.
26934         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26935         * hurd/hurdmalloc.c (more_memory): Likewise.
26936         (malloc): Likewise.
26937         (free): Likewise.
26938         (realloc): Likewise.
26939         (malloc_fork_prepare): Likewise.
26940         (malloc_fork_parent): Likewise.
26941         (malloc_fork_child): Likewise.
26942         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26943         (_svcauth_des): Likewise.
26944         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26945         * inet/inet_net.c (inet_network): Likewise.
26946         * inet/inet_netof.c (inet_netof): Likewise.
26947         * inet/rcmd.c (__validuser2_sa): Likewise.
26948         * io/fts.c (fts_open): Likewise.
26949         (fts_load): Likewise.
26950         (fts_close): Likewise.
26951         (fts_read): Likewise.
26952         (fts_children): Likewise.
26953         (fts_build): Likewise.
26954         (fts_stat): Likewise.
26955         (fts_sort): Likewise.
26956         (fts_alloc): Likewise.
26957         (fts_lfree): Likewise.
26958         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26959         (_IO_file_xsgetn): Likewise.
26960         (_IO_file_xsgetn_mmap): Likewise.
26961         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26962         (_IO_cookie_write): Likewise.
26963         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26964         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26965         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26966         * malloc/obstack.c (_obstack_begin): Likewise.
26967         (_obstack_begin_1): Likewise.
26968         (_obstack_newchunk): Likewise.
26969         (_obstack_allocated_p): Likewise.
26970         (obstack_free): Likewise.
26971         (_obstack_memory_used): Likewise.
26972         * misc/getttyent.c (getttynam): Likewise.
26973         (getttyent): Likewise.
26974         (skip): Likewise.
26975         (value): Likewise.
26976         * misc/getusershell.c (initshells): Likewise.
26977         * misc/syslog.c (__vsyslog_chk): Likewise.
26978         * misc/ttyslot.c (ttyslot): Likewise.
26979         * nis/nis_hash.c (__nis_hash): Likewise.
26980         * posix/fnmatch_loop.c (FCT): Likewise.
26981         * posix/getconf.c (print_all): Likewise.
26982         (main): Likewise.
26983         * posix/getopt.c (exchange): Likewise.
26984         * posix/glob.c (globfree): Likewise.
26985         (prefix_array): Likewise.
26986         (__glob_pattern_type): Likewise.
26987         * resolv/arpa/nameser.h (NS_GET16): Likewise.
26988         (NS_GET32): Likewise.
26989         (NS_PUT16): Likewise.
26990         (NS_PUT32): Likewise.
26991         * resolv/gethnamaddr.c (getanswer): Likewise.
26992         (gethostbyname2): Likewise.
26993         (gethostbyaddr): Likewise.
26994         (_gethtent): Likewise.
26995         (_gethtbyname2): Likewise.
26996         (_gethtbyaddr): Likewise.
26997         * resolv/ns_print.c (dst_s_get_int16): Likewise.
26998         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26999         * resolv/res_init.c (__res_vinit): Likewise.
27000         (net_mask): Likewise.
27001         * resolv/res_mkquery.c (outchar): Likewise.
27002         (PRINT): Likewise.
27003         * stdio-common/printf_fp.c (outchar): Likewise.
27004         (PRINT): Likewise.
27005         * stdio-common/printf_fphex.c (outchar): Likewise.
27006         (PRINT): Likewise.
27007         * stdio-common/printf_size.c (outchar): Likewise.
27008         (PRINT): Likewise.
27009         * stdio-common/test_rdwr.c (main): Likewise.
27010         * stdio-common/tfformat.c (matches): Likewise.
27011         * stdio-common/vfprintf.c (outchar): Likewise.
27012         (printf_unknown): Likewise.
27013         (buffered_vfprintf): Likewise.
27014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27015         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27016         (ReadFile): Likewise.
27017         * stdlib/qsort.c (SWAP): Likewise.
27018         (_quicksort): Likewise.
27019         * stdlib/setenv.c (__add_to_environ): Likewise.
27020         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27021         * stdlib/strtol_l.c (__strtol_l): Likewise.
27022         * stdlib/tst-strtod.c (main): Likewise.
27023         * stdlib/tst-strtol.c (main): Likewise.
27024         * stdlib/tst-strtoll.c (main): Likewise.
27025         * string/bits/string2.h (__strcmp_cc): Likewise.
27026         (__strcmp_cg): Likewise.
27027         (__strcspn_c1): Likewise.
27028         (__strcspn_c2): Likewise.
27029         (__strcspn_c3): Likewise.
27030         (__strspn_c1): Likewise.
27031         (__strspn_c2): Likewise.
27032         (__strspn_c3): Likewise.
27033         (__strsep_1c): Likewise.
27034         (__strsep_2c): Likewise.
27035         (__strsep_3c): Likewise.
27036         * string/memccpy.c (__memccpy): Likewise.
27037         * string/stpcpy.c (__stpcpy): Likewise.
27038         * string/strcmp.c (strcmp): Likewise.
27039         * string/strrchr.c (strrchr): Likewise.
27040         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27041         Likewise.
27042         * sysdeps/mach/hurd/getcwd.c
27043         (_hurd_canonicalize_directory_name_internal): Likewise.
27044         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27045         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27046         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27047         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27048         Likewise, in both definitions.
27049         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27050         definitions.
27051         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27052         64] (__bswap_64): Likewise.
27053         * time/test_time.c (main): Likewise.
27054         * time/tzfile.c (__tzfile_read): Likewise.
27055         (__tzfile_compute): Likewise.
27056         * time/tzset.c (__tzset_parse_tz): Likewise.
27057         (tzset_internal): Likewise.
27058         (compute_change): Likewise.
27059         * wcsmbs/wcscat.c (__wcscat): Likewise.
27060         * wcsmbs/wcschr.c (wcschr): Likewise.
27061         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27062         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27063         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27064         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27065         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27066         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27067         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27068         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27069         * wcsmbs/wmemset.c (wmemset): Likewise.
27071 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27073         * scripts/config.guess: Update to version 2013-05-16.
27074         * scripts/config.sub: Update to version 2013-04-24.
27075         * scripts/install-sh: Update to version 2011-11-20.07.
27076         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27077         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27079 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27081         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27082         * elf/sln.c: Likewise.
27083         * hurd/hurd/ioctl.h: Likewise.
27084         * hurd/hurdmalloc.c: Likewise.
27085         * hurd/xattr.c: Likewise.
27086         * include/shlib-compat.h: Likewise.
27087         * inet/ruserpass.c: Likewise.
27088         * libio/iofgets_u.c: Likewise.
27089         * libio/iofgetws_u.c: Likewise.
27090         * locale/programs/ld-identification.c: Likewise.
27091         * locale/programs/ld-time.c: Likewise.
27092         * mach/msg-destroy.c: Likewise.
27093         * nss/nss_files/files-netgrp.c: Likewise.
27094         * resolv/res_data.c: Likewise.
27095         * soft-fp/op-1.h: Likewise.
27096         * soft-fp/op-2.h: Likewise.
27097         * soft-fp/op-4.h: Likewise.
27098         * soft-fp/op-common.h: Likewise.
27099         * stdio-common/printf_fphex.c: Likewise.
27100         * stdlib/strtod_l.c: Likewise.
27101         * sunrpc/rpc/clnt.h: Likewise.
27102         * sysdeps/generic/framestate.c: Likewise.
27103         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27104         * sysdeps/i386/bsd-setjmp.S: Likewise.
27105         * sysdeps/i386/__longjmp.S: Likewise.
27106         * sysdeps/i386/setjmp.S: Likewise.
27107         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27108         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27109         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27110         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27111         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27112         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27113         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27114         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27115         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27116         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27117         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27118         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27119         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27120         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27121         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27122         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27123         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27124         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27125         * sysdeps/ieee754/support.c: Likewise.
27126         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27127         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27128         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27129         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27130         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27131         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27132         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27133         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27134         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27135         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27136         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27137         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27138         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27139         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27140         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27141         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27142         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27145 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27147         * posix/transbug.c: Remove executable mode.
27149 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27151         * crypt/speeds.c: Remove trailing whitespace.
27152         * dlfcn/default.c: Likewise.
27153         * elf/ifuncdep2.c: Likewise.
27154         * elf/ifuncmain1.c: Likewise.
27155         * elf/ifuncmain1vis.c: Likewise.
27156         * elf/testobj.h: Likewise.
27157         * elf/tst-stackguard1.c: Likewise.
27158         * gmon/sys/gmon.h: Likewise.
27159         * hurd/hurdmsg.c: Likewise.
27160         * hurd/new-fd.c: Likewise.
27161         * hurd/ports-get.c: Likewise.
27162         * iconvdata/ibm1008_420.c: Likewise.
27163         * inet/tst-getni1.c: Likewise.
27164         * inet/tst-getni2.c: Likewise.
27165         * libio/ioungetc.c: Likewise.
27166         * libio/wfiledoalloc.c: Likewise.
27167         * manual/libm-err-tab.pl: Likewise.
27168         * math/w_dremf.c: Likewise.
27169         * misc/ftruncate.c: Likewise.
27170         * posix/bug-glob2.c: Likewise.
27171         * posix/tst-pcre.c: Likewise.
27172         * posix/wait4.c: Likewise.
27173         * resolv/README: Likewise.
27174         * resolv/res_debug.h: Likewise.
27175         * resolv/tst-inet_ntop.c: Likewise.
27176         * setjmp/bug269-setjmp.c: Likewise.
27177         * soft-fp/extended.h: Likewise.
27178         * soft-fp/op-1.h: Likewise.
27179         * soft-fp/op-2.h: Likewise.
27180         * soft-fp/op-4.h: Likewise.
27181         * soft-fp/op-8.h: Likewise.
27182         * soft-fp/testit.c: Likewise.
27183         * stdio-common/bug16.c: Likewise.
27184         * stdlib/random.c: Likewise.
27185         * sunrpc/rpcsvc/rquota.x: Likewise.
27186         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27187         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27188         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27189         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27190         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27191         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27192         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27193         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27194         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27195         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27196         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27197         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27198         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27199         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27200         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27201         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27202         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27203         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27204         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27205         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27206         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27207         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27208         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27209         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27210         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27211         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27214         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27215         * sysdeps/ieee754/s_lib_version.c: Likewise.
27216         * sysdeps/mach/hurd/check_fds.c: Likewise.
27217         * sysdeps/mach/hurd/getsockname.c: Likewise.
27218         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27219         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27220         * sysdeps/powerpc/bits/link.h: Likewise.
27221         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27222         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27223         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27224         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27225         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27226         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27227         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27228         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27229         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27230         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27231         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27232         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27233         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27234         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27235         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27236         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27237         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27239         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27240         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27241         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27242         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27243         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27244         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27245         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27246         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27247         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27248         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27249         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27250         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27251         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27252         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27254         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27255         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27256         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27257         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27258         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27259         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27260         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27261         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27262         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27263         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27264         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27265         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27266         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27267         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27268         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27269         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27270         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27273         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27274         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27275         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27276         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27277         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27278         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27279         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27280         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27281         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27282         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27283         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27284         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27285         * sysdeps/powerpc/sysdep.h: Likewise.
27286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27287         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27288         * sysdeps/sh/dl-trampoline.S: Likewise.
27289         * sysdeps/sh/memset.S: Likewise.
27290         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27291         * sysdeps/sh/strlen.S: Likewise.
27292         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27293         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27294         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27295         * sysdeps/sparc/sparc32/rem.S: Likewise.
27296         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27297         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27298         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27299         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27300         * sysdeps/sparc/sparc32/urem.S: Likewise.
27301         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27302         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27303         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27304         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27305         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27306         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27307         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27308         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27309         * sysdeps/unix/bsd/times.c: Likewise.
27310         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27311         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27315         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27316         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27317         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27318         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27319         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27320         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27321         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27322         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27323         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27324         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27325         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27326         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27327         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27328         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27329         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27330         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27331         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27332         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27333         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27334         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27335         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27336         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27337         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27338         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27339         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27340         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27341         * sysdeps/x86_64/strcspn.S: Likewise.
27343 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27345         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27346         generated file.  Regenerate properly from gen-translit.pl.
27347         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27348         locale/C-translit.h.
27350 2013-06-05  Andreas Schwab  <schwab@suse.de>
27352         [BZ #15100]
27353         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27354         week as 6 instead of -1.
27355         * time/tst-strptime.c (day_tests): Add test case.
27357 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27359         * sysdeps/generic/math_private.h
27360         (libc_feholdexcept_setround_53bit): Replace with
27361         libc_feholdsetround_53bit.
27362         (libc_feupdateenv_53bit): Replace with
27363         libc_feresetround_53bit.
27364         (SET_RESTORE_ROUND_53BIT): Adjust.
27366 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27368         * string/test-strchrnul.c: Add copyright header.
27370         * posix/tst-getaddrinfo4.c: Increase test timeout.
27372 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27374         [BZ #15536]
27375         * math/libm-test.inc (MAX_EXP): Remove
27376         (MIN_EXP): Define.
27377         (ulp): Use MIN_EXP - MANT_DIG.
27378         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27380 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27382         * po/be.po: Revert last change.
27383         * po/zh_CN.po: Likewise.
27384         * po/header.pot: Likewise.
27386 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27388         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27389         link-libc-deps to empty as target-specific variable.
27390         * Makerules (link-libc-args): New variable.
27391         (libc-for-link): Likewise.
27392         (link-libc-deps): Likewise.
27393         (lib%.so): Depend on $(link-libc-deps).  Link with
27394         $(link-libc-args).
27395         (build-module): Link with $(link-libc-args).
27396         (build-module-asneeded): Likewise.
27397         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27398         list of objects.
27399         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27400         target-specific variable.
27401         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27402         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27403         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27404         libc.
27405         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27406         libc and ld.so.
27407         ($(objpfx)libpcprofile.so): Likewise.
27408         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27409         libc_nonshared.a.
27410         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27411         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27412         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27413         $(link-libc-deps).
27414         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27415         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27416         * login/Makefile ($(objpfx)libutil.so): Likewise.
27417         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27418         * math/Makefile ($(objpfx)libm.so): Likewise.
27419         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27420         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27421         variable instead of depending directly on libc.
27422         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27423         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27424         $(link-libc-deps).
27425         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27426         libc.
27427         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27428         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27429         ($(objpfx)libanl.so): Likewise.
27430         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27431         ld.so.
27432         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27433         $(link-libc-deps).
27434         * sysdeps/i386/fpu/Makefile: Remove file.
27435         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27436         ($(objpfx)libm.so): Remove dependency on ld.so.
27438 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27440         [BZ # 15553]
27441         * nis/yp_xdr.c (XDRMAXNAME): Define.
27442         (XDRMAXRECORD): Define.
27443         (xdr_domainname): Use XDRMAXNAME.
27444         (xdr_mapname): Likewise.
27445         (xdr_peername): Likewise.
27446         (xdr_keydat): Use XDRMAXRECORD.
27447         (xdr_valdat): Likewise.
27449 2013-05-30  Jeff Law  <law@redhat.com>
27451         [BZ #14256]
27452         * manual/errno.texi (ESTALE): Update to account for more than
27453         just NFS file systems.
27454         * sysdeps/gnu/errlist.c: Regenerated.
27456 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27458         [BZ #15465]
27459         * elf/Makefile (tests): Add tst-null-argv.
27460         (modules-names):  Add tst-null-argv-lib.
27461         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27462         (tst-null-argv-ENV): Set environment for tst-null-argv.
27463         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27464         (RTLD_PROGNAME): New macro.
27465         * elf/tst-null-argv.c: New test case.
27466         * elf/tst-null-argv-lib.c: Library for test case.
27467         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27468         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27469         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27470         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27471         * elf/dl-init.c (call_init): Likewise.
27472         (_dl_init): Likewise.
27473         * elf/dl-load.c (print_search_path): Likewise.
27474         (_dl_map_object): Likewise.
27475         * elf/dl-lookup.c (do_lookup_x): Likewise.
27476         (add_dependency): Likewise.
27477         (_dl_lookup_symbol_x): Likewise.
27478         (_dl_debug_bindings): Likewise.
27479         * elf/dl-open.c (_dl_show_scope): Likewise.
27480         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27481         * elf/dl-version.c (match_symbol): Likewise.
27482         (_dl_check_map_versions): Likewise.
27483         * elf/rtld.c (dl_main): Likewise.
27484         (print_unresolved): Use RTLD_PROGNAME.
27485         (print_missing_version): Likewise.
27486         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27487         (elf_machine_rela): Likewise.
27488         * sysdeps/powerpc/powerpc32/dl-machine.c
27489         (__process_machine_rela): Likewise.
27490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27491         Likewise.
27492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27493         Likewise.
27494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27495         Likewise.
27496         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27497         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27498         Likewise.
27499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27500         Likewise.
27501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27503 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27505         * po/be.po: Add descriptive title.
27506         * po/zh_CN.po: Likewise.
27507         * po/header.pot: Likewise.
27509 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27511         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27512         error message.
27513         (enlarge_archive): Likewise.
27515 2013-05-28  Ben North  <ben@redfrontdoor.org>
27517         * manual/arith.texi (frexp): It is the magnitude of the return
27518         value which lies in [0.5, 1), not the return value itself.
27520 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27524 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27526         * stdio-common/bug26.c (main): Correct fscanf template.
27528         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27529         declare _dl_skip_args.
27531         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27532         Don't declare.
27534         * manual/platform.texi: Add missing @end deftypefun.
27536 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27538         [BZ #15529]
27539         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27540         bit of mantissa of 2^16382.
27541         * math/libm-test.inc (hypot_test_data): Add more tests.
27543         * math/libm-test.inc: Add drem and pow10 to list of tested
27544         functions.
27545         (pow10_test): New function.
27546         (drem_test): Likewise.
27547         (drem_test_tonearest): Likewise.
27548         (drem_test_towardzero): Likewise.
27549         (drem_test_downward): Likewise.
27550         (drem_test_upward): Likewise.
27551         (main): Call the new functions.
27553         * math/libm-test.inc (finite_test_data): Remove.
27554         (finite_test): Run tests from isfinite_test_data.
27555         (gamma_test_data): Remove.
27556         (gamma_test): Run tests from lgamma_test_data.
27557         * sysdeps/i386/fpu/libm-test-ulps: Update.
27558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27560 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27562         * manual/platform.texi: Add PowerPC PPR function set documentation.
27563         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27564         implementation.
27566 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27568         * math/libm-test.inc (MAX_EXP): Define.
27569         (ULPDIFF): Define.
27570         (ulp): New function.
27571         (check_float_internal): Use ULPDIFF.
27572         (cpow_test): Disable failing test.
27573         (check_ulp): Test ulp() implemetnation.
27574         (main): Call check_ulp before starting tests.
27576 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27578         * math/gen-libm-test.pl (generate_testfile): Do not handle
27579         START_DATA and END_DATA.
27580         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27581         END_DATA.
27582         (acos_tonearest_test_data): Likewise.
27583         (acos_towardzero_test_data): Likewise.
27584         (acos_downward_test_data): Likewise.
27585         (acos_upward_test_data): Likewise.
27586         (acosh_test_data): Likewise.
27587         (asin_test_data): Likewise.
27588         (asin_tonearest_test_data): Likewise.
27589         (asin_towardzero_test_data): Likewise.
27590         (asin_downward_test_data): Likewise.
27591         (asin_upward_test_data): Likewise.
27592         (asinh_test_data): Likewise.
27593         (atan_test_data): Likewise.
27594         (atanh_test_data): Likewise.
27595         (atan2_test_data): Likewise.
27596         (cabs_test_data): Likewise.
27597         (cacos_test_data): Likewise.
27598         (cacosh_test_data): Likewise.
27599         (carg_test_data): Likewise.
27600         (casin_test_data): Likewise.
27601         (casinh_test_data): Likewise.
27602         (catan_test_data): Likewise.
27603         (catanh_test_data): Likewise.
27604         (cbrt_test_data): Likewise.
27605         (ccos_test_data): Likewise.
27606         (ccosh_test_data): Likewise.
27607         (ceil_test_data): Likewise.
27608         (cexp_test_data): Likewise.
27609         (cimag_test_data): Likewise.
27610         (clog_test_data): Likewise.
27611         (clog10_test_data): Likewise.
27612         (conj_test_data): Likewise.
27613         (copysign_test_data): Likewise.
27614         (cos_test_data): Likewise.
27615         (cos_tonearest_test_data): Likewise.
27616         (cos_towardzero_test_data): Likewise.
27617         (cos_downward_test_data): Likewise.
27618         (cos_upward_test_data): Likewise.
27619         (cosh_test_data): Likewise.
27620         (cosh_tonearest_test_data): Likewise.
27621         (cosh_towardzero_test_data): Likewise.
27622         (cosh_downward_test_data): Likewise.
27623         (cosh_upward_test_data): Likewise.
27624         (cpow_test_data): Likewise.
27625         (cproj_test_data): Likewise.
27626         (creal_test_data): Likewise.
27627         (csin_test_data): Likewise.
27628         (csinh_test_data): Likewise.
27629         (csqrt_test_data): Likewise.
27630         (ctan_test_data): Likewise.
27631         (ctan_tonearest_test_data): Likewise.
27632         (ctan_towardzero_test_data): Likewise.
27633         (ctan_downward_test_data): Likewise.
27634         (ctan_upward_test_data): Likewise.
27635         (ctanh_test_data): Likewise.
27636         (ctanh_tonearest_test_data): Likewise.
27637         (ctanh_towardzero_test_data): Likewise.
27638         (ctanh_downward_test_data): Likewise.
27639         (ctanh_upward_test_data): Likewise.
27640         (erf_test_data): Likewise.
27641         (erfc_test_data): Likewise.
27642         (exp_test_data): Likewise.
27643         (exp_tonearest_test_data): Likewise.
27644         (exp_towardzero_test_data): Likewise.
27645         (exp_downward_test_data): Likewise.
27646         (exp_upward_test_data): Likewise.
27647         (exp10_test_data): Likewise.
27648         (exp2_test_data): Likewise.
27649         (expm1_test_data): Likewise.
27650         (fabs_test_data): Likewise.
27651         (fdim_test_data): Likewise.
27652         (finite_test_data): Likewise.
27653         (floor_test_data): Likewise.
27654         (fma_test_data): Likewise.
27655         (fma_towardzero_test_data): Likewise.
27656         (fma_downward_test_data): Likewise.
27657         (fma_upward_test_data): Likewise.
27658         (fmax_test_data): Likewise.
27659         (fmin_test_data): Likewise.
27660         (fmod_test_data): Likewise.
27661         (fpclassify_test_data): Likewise.
27662         (frexp_test_data): Likewise.
27663         (gamma_test_data): Likewise.
27664         (hypot_test_data): Likewise.
27665         (ilogb_test_data): Likewise.
27666         (isfinite_test_data): Likewise.
27667         (isgreater_test_data): Likewise.
27668         (isgreaterequal_test_data): Likewise.
27669         (isinf_test_data): Likewise.
27670         (isless_test_data): Likewise.
27671         (islessequal_test_data): Likewise.
27672         (islessgreater_test_data): Likewise.
27673         (isnan_test_data): Likewise.
27674         (isnormal_test_data): Likewise.
27675         (issignaling_test_data): Likewise.
27676         (isunordered_test_data): Likewise.
27677         (j0_test_data): Likewise.
27678         (j1_test_data): Likewise.
27679         (jn_test_data): Likewise.
27680         (ldexp_test_data): Likewise.
27681         (lgamma_test_data): Likewise.
27682         (lrint_test_data): Likewise.
27683         (lrint_tonearest_test_data): Likewise.
27684         (lrint_towardzero_test_data): Likewise.
27685         (lrint_downward_test_data): Likewise.
27686         (lrint_upward_test_data): Likewise.
27687         (llrint_test_data): Likewise.
27688         (llrint_tonearest_test_data): Likewise.
27689         (llrint_towardzero_test_data): Likewise.
27690         (llrint_downward_test_data): Likewise.
27691         (llrint_upward_test_data): Likewise.
27692         (log_test_data): Likewise.
27693         (log10_test_data): Likewise.
27694         (log1p_test_data): Likewise.
27695         (log2_test_data): Likewise.
27696         (logb_test_data): Likewise.
27697         (logb_downward_test_data): Likewise.
27698         (lround_test_data): Likewise.
27699         (llround_test_data): Likewise.
27700         (modf_test_data): Likewise.
27701         (nearbyint_test_data): Likewise.
27702         (nextafter_test_data): Likewise.
27703         (nexttoward_test_data): Likewise.
27704         (pow_test_data): Likewise.
27705         (pow_tonearest_test_data): Likewise.
27706         (pow_towardzero_test_data): Likewise.
27707         (pow_downward_test_data): Likewise.
27708         (pow_upward_test_data): Likewise.
27709         (remainder_test_data): Likewise.
27710         (remainder_tonearest_test_data): Likewise.
27711         (remainder_towardzero_test_data): Likewise.
27712         (remainder_downward_test_data): Likewise.
27713         (remainder_upward_test_data): Likewise.
27714         (remquo_test_data): Likewise.
27715         (rint_test_data): Likewise.
27716         (rint_tonearest_test_data): Likewise.
27717         (rint_towardzero_test_data): Likewise.
27718         (rint_downward_test_data): Likewise.
27719         (rint_upward_test_data): Likewise.
27720         (round_test_data): Likewise.
27721         (scalb_test_data): Likewise.
27722         (scalbn_test_data): Likewise.
27723         (scalbln_test_data): Likewise.
27724         (signbit_test_data): Likewise.
27725         (sin_test_data): Likewise.
27726         (sin_tonearest_test_data): Likewise.
27727         (sin_towardzero_test_data): Likewise.
27728         (sin_downward_test_data): Likewise.
27729         (sin_upward_test_data): Likewise.
27730         (sincos_test_data): Likewise.
27731         (sinh_test_data): Likewise.
27732         (sinh_tonearest_test_data): Likewise.
27733         (sinh_towardzero_test_data): Likewise.
27734         (sinh_downward_test_data): Likewise.
27735         (sinh_upward_test_data): Likewise.
27736         (sqrt_test_data): Likewise.
27737         (tan_test_data): Likewise.
27738         (tan_tonearest_test_data): Likewise.
27739         (tan_towardzero_test_data): Likewise.
27740         (tan_downward_test_data): Likewise.
27741         (tan_upward_test_data): Likewise.
27742         (tanh_test_data): Likewise.
27743         (tgamma_test_data): Likewise.
27744         (trunc_test_data): Likewise.
27745         (y0_test_data): Likewise.
27746         (y1_test_data): Likewise.
27747         (yn_test_data): Likewise.
27748         (significand_test_data): Likewise.
27750         * math/gen-libm-test.pl (@functions): Remove variable.
27751         (generate_testfile): Don't handle START and END lines.
27752         * math/libm-test.inc (START): New macro.
27753         (END): Likewise.
27754         (END_COMPLEX): Likewise.
27755         (acos_test): Use END macro without arguments.
27756         (acos_test_tonearest): Likewise.
27757         (acos_test_towardzero): Likewise.
27758         (acos_test_downward): Likewise.
27759         (acos_test_upward): Likewise.
27760         (acosh_test): Likewise.
27761         (asin_test): Likewise.
27762         (asin_test_tonearest): Likewise.
27763         (asin_test_towardzero): Likewise.
27764         (asin_test_downward): Likewise.
27765         (asin_test_upward): Likewise.
27766         (asinh_test): Likewise.
27767         (atan_test): Likewise.
27768         (atanh_test): Likewise.
27769         (atan2_test): Likewise.
27770         (cabs_test): Likewise.
27771         (cacos_test): Use END_COMPLEX macro without arguments.
27772         (cacosh_test): Likewise.
27773         (carg_test): Use END macro without arguments.
27774         (casin_test): Use END_COMPLEX macro without arguments.
27775         (casinh_test): Likewise.
27776         (catan_test): Likewise.
27777         (catanh_test): Likewise.
27778         (cbrt_test): Use END macro without arguments.
27779         (ccos_test): Use END_COMPLEX macro without arguments.
27780         (ccosh_test): Likewise.
27781         (ceil_test): Use END macro without arguments.
27782         (cexp_test): Use END_COMPLEX macro without arguments.
27783         (cimag_test): Use END macro without arguments.
27784         (clog_test): Use END_COMPLEX macro without arguments.
27785         (clog10_test): Likewise.
27786         (conj_test): Likewise.
27787         (copysign_test): Use END macro without arguments.
27788         (cos_test): Likewise.
27789         (cos_test_tonearest): Likewise.
27790         (cos_test_towardzero): Likewise.
27791         (cos_test_downward): Likewise.
27792         (cos_test_upward): Likewise.
27793         (cosh_test): Likewise.
27794         (cosh_test_tonearest): Likewise.
27795         (cosh_test_towardzero): Likewise.
27796         (cosh_test_downward): Likewise.
27797         (cosh_test_upward): Likewise.
27798         (cpow_test): Use END_COMPLEX macro without arguments.
27799         (cproj_test): Likewise.
27800         (creal_test): Use END macro without arguments.
27801         (csin_test): Use END_COMPLEX macro without arguments.
27802         (csinh_test): Likewise.
27803         (csqrt_test): Likewise.
27804         (ctan_test): Likewise.
27805         (ctan_test_tonearest): Likewise.
27806         (ctan_test_towardzero): Likewise.
27807         (ctan_test_downward): Likewise.
27808         (ctan_test_upward): Likewise.
27809         (ctanh_test): Likewise.
27810         (ctanh_test_tonearest): Likewise.
27811         (ctanh_test_towardzero): Likewise.
27812         (ctanh_test_downward): Likewise.
27813         (ctanh_test_upward): Likewise.
27814         (erf_test): Use END macro without arguments.
27815         (erfc_test): Likewise.
27816         (exp_test): Likewise.
27817         (exp_test_tonearest): Likewise.
27818         (exp_test_towardzero): Likewise.
27819         (exp_test_downward): Likewise.
27820         (exp_test_upward): Likewise.
27821         (exp10_test): Likewise.
27822         (exp2_test): Likewise.
27823         (expm1_test): Likewise.
27824         (fabs_test): Likewise.
27825         (fdim_test): Likewise.
27826         (finite_test): Likewise.
27827         (floor_test): Likewise.
27828         (fma_test): Likewise.
27829         (fma_test_towardzero): Likewise.
27830         (fma_test_downward): Likewise.
27831         (fma_test_upward): Likewise.
27832         (fmax_test): Likewise.
27833         (fmin_test): Likewise.
27834         (fmod_test): Likewise.
27835         (fpclassify_test): Likewise.
27836         (frexp_test): Likewise.
27837         (gamma_test): Likewise.
27838         (hypot_test): Likewise.
27839         (ilogb_test): Likewise.
27840         (isfinite_test): Likewise.
27841         (isgreater_test): Likewise.
27842         (isgreaterequal_test): Likewise.
27843         (isinf_test): Likewise.
27844         (isless_test): Likewise.
27845         (islessequal_test): Likewise.
27846         (islessgreater_test): Likewise.
27847         (isnan_test): Likewise.
27848         (isnormal_test): Likewise.
27849         (issignaling_test): Likewise.
27850         (isunordered_test): Likewise.
27851         (j0_test): Likewise.
27852         (j1_test): Likewise.
27853         (jn_test): Likewise.
27854         (ldexp_test): Likewise.
27855         (lgamma_test): Likewise.
27856         (lrint_test): Likewise.
27857         (lrint_test_tonearest): Likewise.
27858         (lrint_test_towardzero): Likewise.
27859         (lrint_test_downward): Likewise.
27860         (lrint_test_upward): Likewise.
27861         (llrint_test): Likewise.
27862         (llrint_test_tonearest): Likewise.
27863         (llrint_test_towardzero): Likewise.
27864         (llrint_test_downward): Likewise.
27865         (llrint_test_upward): Likewise.
27866         (log_test): Likewise.
27867         (log10_test): Likewise.
27868         (log1p_test): Likewise.
27869         (log2_test): Likewise.
27870         (logb_test): Likewise.
27871         (logb_test_downward): Likewise.
27872         (lround_test): Likewise.
27873         (llround_test): Likewise.
27874         (modf_test): Likewise.
27875         (nearbyint_test): Likewise.
27876         (nextafter_test): Likewise.
27877         (nexttoward_test): Likewise.
27878         (pow_test): Likewise.
27879         (pow_test_tonearest): Likewise.
27880         (pow_test_towardzero): Likewise.
27881         (pow_test_downward): Likewise.
27882         (pow_test_upward): Likewise.
27883         (remainder_test): Likewise.
27884         (remainder_test_tonearest): Likewise.
27885         (remainder_test_towardzero): Likewise.
27886         (remainder_test_downward): Likewise.
27887         (remainder_test_upward): Likewise.
27888         (remquo_test): Likewise.
27889         (rint_test): Likewise.
27890         (rint_test_tonearest): Likewise.
27891         (rint_test_towardzero): Likewise.
27892         (rint_test_downward): Likewise.
27893         (rint_test_upward): Likewise.
27894         (round_test): Likewise.
27895         (scalb_test): Likewise.
27896         (scalbn_test): Likewise.
27897         (scalbln_test): Likewise.
27898         (signbit_test): Likewise.
27899         (sin_test): Likewise.
27900         (sin_test_tonearest): Likewise.
27901         (sin_test_towardzero): Likewise.
27902         (sin_test_downward): Likewise.
27903         (sin_test_upward): Likewise.
27904         (sincos_test): Likewise.
27905         (sinh_test): Likewise.
27906         (sinh_test_tonearest): Likewise.
27907         (sinh_test_towardzero): Likewise.
27908         (sinh_test_downward): Likewise.
27909         (sinh_test_upward): Likewise.
27910         (sqrt_test): Likewise.
27911         (tan_test): Likewise.
27912         (tan_test_tonearest): Likewise.
27913         (tan_test_towardzero): Likewise.
27914         (tan_test_downward): Likewise.
27915         (tan_test_upward): Likewise.
27916         (tanh_test): Likewise.
27917         (tgamma_test): Likewise.
27918         (trunc_test): Likewise.
27919         (y0_test): Likewise.
27920         (y1_test): Likewise.
27921         (yn_test): Likewise.
27922         (significand_test): Likewise.
27924 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27926         [BZ #15381]
27927         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27929 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27931         [BZ #14894]
27932         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27933         __ppc_mdoio and __ppc_mdoom.
27934         * manual/platform.texi: Document new functions __ppc_yield,
27935         __ppc_mdoio and __ppc_mdoom.
27937 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27939         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27940         (main): Mention "tls" pseudo-hwcap is legacy.
27941         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27943 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27945         * math/gen-libm-test.pl (parse_args): Output only string of
27946         arguments as text for test name, not full call or descriptions of
27947         tests for extra outputs.
27948         (generate_testfile): Do not pass function name to parse_args.
27949         Generate this_func variable from START.
27950         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27951         field to arg_str.
27952         (struct test_ff_f_data): Likewise.
27953         (test_ff_f_data_nexttoward): Likewise.
27954         (struct test_fi_f_data): Likewise.
27955         (struct test_fl_f_data): Likewise.
27956         (struct test_if_f_data): Likewise.
27957         (struct test_fff_f_data): Likewise.
27958         (struct test_c_f_data): Likewise.
27959         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27960         (struct test_fF_f1_data): Likewise.
27961         (struct test_ffI_f1_data): Likewise.
27962         (struct test_c_c_data): Rename test_name field to arg_str.
27963         (struct test_cc_c_data): Likewise.
27964         (struct test_f_i_data): Likewise.
27965         (struct test_ff_i_data): Likewise.
27966         (struct test_f_l_data): Likewise.
27967         (struct test_f_L_data): Likewise.
27968         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27969         and extra2_name.
27970         (COMMON_TEST_SETUP): New macro.
27971         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27972         (COMMON_TEST_CLEANUP): Likewise.
27973         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27974         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27975         macros.
27976         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27977         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27978         macros.
27979         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27980         (RUN_TEST_fff_f): Take argument string.  Call new setup and
27981         cleanup macros.
27982         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27983         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
27984         macros.
27985         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27986         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
27987         macros.
27988         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27989         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
27990         cleanup macros.
27991         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27992         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
27993         cleanup macros.
27994         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27995         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
27996         cleanup macros.
27997         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27998         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
27999         macros.
28000         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28001         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28002         macros.
28003         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28004         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28005         macros.
28006         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28007         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28008         cleanup macros.
28009         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28010         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28011         cleanup macros.
28012         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28013         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28014         macros.
28015         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28016         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28017         cleanup macros.
28018         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28019         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28020         macros.
28021         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28022         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28023         macros.
28024         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28025         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28026         cleanup macros.
28027         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28029 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28031         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28032         to _sifields.sigfault.
28033         (si_addr_lsb): Define new macro.
28034         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28035         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28036         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28038 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28040         [BZ #15441]
28041         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28042         returns -1.
28043         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28044         null return -1.
28045         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28046         loading the domain.
28048 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28050         * math/gen-libm-test.pl (parse_args): Do not include expected
28051         result in test name.
28052         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28053         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28054         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28055         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28056         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28059 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28061         * benchtests/Makefile: Sort function entries.
28063         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28064         tanh, asinh, acosh, atanh.
28065         * benchtests/acos-inputs: New file.
28066         * benchtests/acosh-inputs: New file.
28067         * benchtests/asin-inputs: New file.
28068         * benchtests/asinh-inputs: New file.
28069         * benchtests/atanh-inputs: New file.
28070         * benchtests/cosh-inputs: New file.
28071         * benchtests/log-inputs: New file.
28072         * benchtests/sinh-inputs: New file.
28073         * benchtests/tanh-inputs: New file.
28075 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28077         [BZ #15339]
28078         * posix/tst-getaddrinfo4.c: New test.
28079         * posix/Makefile (tests): Add it.
28081 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28083         [BZ #15339]
28084         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28085         when no services were used.
28086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28087         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28089 2013-05-21  Andreas Schwab  <schwab@suse.de>
28091         [BZ #15014]
28092         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28093         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28094         successful.
28095         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28096         redundant variable declarations and reallocation of buffer when
28097         parsing as IPv6 address.  Always set NSS status when called from
28098         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28099         buffer too small.  Correct computation of needed size.
28100         * nss/Makefile (tests): Add test-digits-dots.
28101         * nss/test-digits-dots.c: New test.
28103 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28105         * benchtests/Makefile: Remove instructions for adding
28106         benchmark tests.
28107         * benchtests/README: New file to explain how to execute and
28108         enhance the benchmark tests.
28110 2013-05-21  Andreas Schwab  <schwab@suse.de>
28112         [BZ #15493]
28113         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28114         * setjmp/tst-sigsetjmp.c: New test.
28116 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28118         * sysdeps/x86_64/memset.S (memset): New implementation.
28119         (__bzero): Likewise.
28120         (__memset_tail): New function.
28122 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28124         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28125         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28126         __memcpy_sse2_unaligned ifunc selection.
28127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28128         Add memcpy-sse2-unaligned.S.
28129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28130         Add: __memcpy_sse2_unaligned.
28132 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28134         [BZ #15490]
28135         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28136         math_force_eval before restoring floating-point envrionment.
28137         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28138         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28139         Likewise.
28140         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28141         <math_private.h>.
28142         (__nearbyintl): Use math_force_eval before restoring
28143         floating-point environment.
28144         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28146         * math/gen-libm-test.pl (special_functions): Remove.
28147         (parse_args): Don't handle TEST_extra.  Handle functions with no
28148         return value.
28149         * math/libm-test.inc (struct test_sincos_data): Replace with
28150         struct test_fFF_11_data.
28151         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28152         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28153         (sincos_test_data): Change element type to struct
28154         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28155         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28156         RUN_TEST_LOOP_sincos.
28157         * math/README.libm-test: Don't mention special handling of
28158         individual functions.
28159         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28160         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28161         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28162         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28163         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28166         * math/gen-libm-test.pl (get_variable): Remove function.
28167         (parse_args): Don't show pointer parameters to call in test
28168         names.  Use "extra output N" in test names for extra outputs
28169         rather than naming variables.
28171 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28173         [BZ #15488]
28174         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28175         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28176         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28177         double tests.
28178         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28179         disable.
28180         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28181         check_long_double.
28183         * math/gen-libm-test.pl (@tests): Remove variable.
28184         ($count): Likewise.
28185         (new_test): Remove function.
28186         (show_exceptions): New function.
28187         (special_functions): Use show_exceptions instead of new_test.
28188         (parse_args): Likewise.
28189         (generate_testfile): Pass only function name in generated call to
28190         print_max_error or print_complex_max_error.
28191         (get_ulps): Do not handle complex tests specially.
28192         (output_test): Rename to ...
28193         (get_all_ulps_for_test): ... this.  Return a string rather than
28194         printing to a file.  Require ulps to be present.
28195         (output_ulps): Generate arrays rather than #defines.
28196         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28197         (struct ulp_data): New type.
28198         (BUILD_COMPLEX_ULP): Remove macro.
28199         (compare_ulp_data): New function.
28200         (find_ulps): Likewise.
28201         (find_test_ulps): Likewise.
28202         (find_function_ulps): Likewise.
28203         (find_complex_function_ulps): Likewise.
28204         (print_max_error): Determine allowed ulps using
28205         find_function_ulps.
28206         (print_complex_max_error): Determine allowed ulps using
28207         find_complex_function_ulps.
28208         (check_float_internal): Determine max ulps using find_test_ulps.
28209         (check_float): Do not take max_ulp parameter.  Update call to
28210         check_float_internal.
28211         (check_complex): Likewise.
28212         (check_int): Do not take max_ulp parameter.
28213         (check_long): Likewise.
28214         (check_bool): Likewise.
28215         (check_longlong): Likewise.
28216         (struct test_f_f_data): Remove max_ulp field.
28217         (struct test_ff_f_data): Likewise.
28218         (struct test_ff_f_data_nexttoward): Likewise.
28219         (struct test_fi_f_data): Likewise.
28220         (struct test_fl_f_data): Likewise.
28221         (struct test_if_f_data): Likewise.
28222         (struct test_fff_f_data): Likewise.
28223         (struct test_c_f_data): Likewise.
28224         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28225         (struct test_fF_f1_data): Likewise.
28226         (struct test_ffI_f1_data): Likewise.
28227         (struct test_c_c_data): Remove max_ulp field.
28228         (struct test_cc_c_data): Likewise.
28229         (struct test_f_i_data): Likewise.
28230         (struct test_ff_i_data): Likewise.
28231         (struct test_f_l_data): Likewise.
28232         (struct test_f_L_data): Likewise.
28233         (struct test_sincos_data): Likewise.
28234         (RUN_TEST_f_f): Do not handle ulps.
28235         (RUN_TEST_LOOP_f_f): Likewise.
28236         (RUN_TEST_2_f): Likewise.
28237         (RUN_TEST_LOOP_2_f): Likewise.
28238         (RUN_TEST_fff_f): Likewise.
28239         (RUN_TEST_LOOP_fff_f): Likewise.
28240         (RUN_TEST_c_f): Likewise.
28241         (RUN_TEST_LOOP_c_f): Likewise.
28242         (RUN_TEST_f_f1): Likewise.
28243         (RUN_TEST_LOOP_f_f1): Likewise.
28244         (RUN_TEST_fF_f1): Likewise.
28245         (RUN_TEST_LOOP_fF_f1): Likewise.
28246         (RUN_TEST_fI_f1): Likewise.
28247         (RUN_TEST_LOOP_fI_f1): Likewise.
28248         (RUN_TEST_ffI_f1): Likewise.
28249         (RUN_TEST_LOOP_ffI_f1): Likewise.
28250         (RUN_TEST_c_c): Likewise.
28251         (RUN_TEST_LOOP_c_c): Likewise.
28252         (RUN_TEST_cc_c): Likewise.
28253         (RUN_TEST_LOOP_cc_c): Likewise.
28254         (RUN_TEST_f_i): Likewise.
28255         (RUN_TEST_LOOP_f_i): Likewise.
28256         (RUN_TEST_f_i_tg): Likewise.
28257         (RUN_TEST_LOOP_f_i_tg): Likewise.
28258         (RUN_TEST_ff_i_tg): Likewise.
28259         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28260         (RUN_TEST_f_b): Likewise.
28261         (RUN_TEST_LOOP_f_b): Likewise.
28262         (RUN_TEST_f_b_tg): Likewise.
28263         (RUN_TEST_LOOP_f_b_tg): Likewise.
28264         (RUN_TEST_f_l): Likewise.
28265         (RUN_TEST_LOOP_f_l): Likewise.
28266         (RUN_TEST_f_L): Likewise.
28267         (RUN_TEST_LOOP_f_L): Likewise.
28268         (RUN_TEST_sincos): Likewise.
28269         (RUN_TEST_LOOP_sincos): Likewise.
28271 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28273         [BZ #15480]
28274         [BZ #15485]
28275         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28276         main case of finite arguments, set rounding mode to FE_TONEAREST
28277         and discard exceptions.
28278         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28279         exceptions.
28280         (remainder_tonearest_test_data): New variable.
28281         (remainder_test_tonearest): New function.
28282         (remainder_towardzero_test_data): New variable.
28283         (remainder_test_towardzero): New function.
28284         (remainder_downward_test_data): New variable.
28285         (remainder_test_downward): New function.
28286         (remainder_upward_test_data): New variable.
28287         (remainder_test_upward): New function.
28288         (main): Call the new test functions.
28290         * math/libm-test.inc (struct test_f_f1_data): Remove field
28291         extra_init.
28292         (struct test_fF_f1_data): Likewise.
28293         (struct test_ffI_f1_data): Likewise.
28294         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28295         based on value of EXTRA_EXPECTED.
28296         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28297         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28298         EXTRA_VAR based on value of EXTRA_EXPECTED.
28299         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28300         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28301         EXTRA_VAR based on value of EXTRA_EXPECTED.
28302         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28303         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28304         EXTRA_VAR based on value of EXTRA_EXPECTED.
28305         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28306         * math/gen-libm-test.pl (parse_args): Don't output initializers
28307         for extra output values.
28309         * math/libm-test.inc (check_int): Expect result to be exactly
28310         equal to expected value and do not handle ulps.
28311         (check_long): Likewise.
28312         (check_longlong): Likewise.
28314         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28315         exceptions.
28316         (cimag_test_data): Likewise.
28317         (conj_test_data): Likewise.
28318         (copysign_test_data): Likewise.
28319         (cproj_test_data): Likewise.
28320         (creal_test_data): Likewise.
28321         (fabs_test_data): Likewise.
28322         (fdim_test_data): Likewise.
28323         (finite_test_data): Likewise.
28324         (floor_test_data): Likewise.
28325         (fmax_test_data): Likewise.
28326         (fmin_test_data): Likewise.
28327         (fmod_test_data): Likewise.
28328         (fpclassify_test_data): Likewise.
28329         (frexp_test_data): Likewise.
28330         (ilogb_test_data): Likewise.
28331         (isfinite_test_data): Likewise.
28332         (isgreater_test_data): Likewise.
28333         (isgreaterequal_test_data): Likewise.
28334         (isinf_test_data): Likewise.
28335         (isless_test_data): Likewise.
28336         (islessequal_test_data): Likewise.
28337         (islessgreater_test_data): Likewise.
28338         (isnan_test_data): Likewise.
28339         (isnormal_test_data): Likewise.
28340         (issignaling_test_data): Likewise.
28341         (isunordered_test_data): Likewise.
28342         (ldexp_test_data): Likewise.
28343         (lrint_test_data): Likewise.
28344         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28345         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28346         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28347         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28348         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28349         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28350         test input.
28351         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28352         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28353         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28354         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28355         that test input.
28356         (lrint_downward_test_data): Test for "inexact" exceptions.
28357         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28358         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28359         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28360         test input.
28361         (lrint_upward_test_data): Test for "inexact" exceptions.
28362         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28363         test input.
28364         (llrint_test_data): Test for "inexact" exceptions.
28365         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28366         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28367         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28368         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28369         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28370         (llrint_downward_test_data): Test for "inexact" exceptions.
28371         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28372         (llrint_upward_test_data): Test for "inexact" exceptions.
28373         (logb_test_data): Likewise.
28374         (logb_downward_test_data): Likewise.
28375         (nextafter_test_data): Likewise.
28376         (nexttoward_test_data): Likewise.
28377         (remainder_test_data): Likewise.
28378         (remquo_test_data): Likewise.
28379         (scalbn_test_data): Likewise.
28380         (scalbln_test_data): Likewise.
28381         (signbit_test_data): Likewise.
28382         (sqrt_test_data): Likewise.
28383         (significand_test_data): Likewise.
28385 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28387         [BZ #15424]
28388         * benchtests/bench-modf.c (struct args): Mark arg0 as
28389         volatile.
28390         * scripts/bench.pl: Mark members of struct args as volatile.
28392 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28394         [BZ # 15497]
28395         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28396         negative infinity on POWER6 or lower.
28397         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28399 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28401         [BZ #15442]
28402         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28403         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28404         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28405         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28406         (_FP_SETQNAN): New macro.
28407         (_FP_SETQNAN_SEMIRAW): Likewise.
28408         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28409         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28410         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28411         (FP_EXTEND): Use _FP_FRAC_SNANP.
28412         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28413         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28414         into account.
28415         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28416         New macro.
28417         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28418         Likewise.
28420 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28422         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28423         with DIVIDE_BY_ZERO_EXCEPTION.
28424         (gamma_test_data): Likewise.
28425         (lgamma_test_data): Likewise.
28426         (log_test_data): Likewise.
28427         (log10_test_data): Likewise.
28428         (log2_test_data): Likewise.
28429         (tgamma_test_data): Likewise.
28431         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28432         (acos_test_tonearest): Likewise.
28433         (acos_test_towardzero): Likewise.
28434         (acos_test_downward): Likewise.
28435         (acos_test_upward): Likewise.
28436         (acosh_test): Likewise.
28437         (asin_test): Likewise.
28438         (asin_test_tonearest): Likewise.
28439         (asin_test_towardzero): Likewise.
28440         (asin_test_downward): Likewise.
28441         (asin_test_upward): Likewise.
28442         (asinh_test): Likewise.
28443         (atan_test): Likewise.
28444         (atanh_test): Likewise.
28445         (atan2_test): Likewise.
28446         (cabs_test): Likewise.
28447         (cacos_test): Likewise.
28448         (cacosh_test): Likewise.
28449         (casin_test): Likewise.
28450         (casinh_test): Likewise.
28451         (catan_test): Likewise.
28452         (catanh_test): Likewise.
28453         (cbrt_test): Likewise.
28454         (ccos_test): Likewise.
28455         (ccosh_test): Likewise.
28456         (cexp_test): Likewise.
28457         (clog_test): Likewise.
28458         (clog10_test): Likewise.
28459         (cos_test): Likewise.
28460         (cos_test_tonearest): Likewise.
28461         (cos_test_towardzero): Likewise.
28462         (cos_test_downward): Likewise.
28463         (cos_test_upward): Likewise.
28464         (cosh_test): Likewise.
28465         (cosh_test_tonearest): Likewise.
28466         (cosh_test_towardzero): Likewise.
28467         (cosh_test_downward): Likewise.
28468         (cosh_test_upward): Likewise.
28469         (cpow_test): Likewise.
28470         (csin_test): Likewise.
28471         (csinh_test): Likewise.
28472         (csqrt_test): Likewise.
28473         (ctan_test): Likewise.
28474         (ctan_test_tonearest): Likewise.
28475         (ctan_test_towardzero): Likewise.
28476         (ctan_test_downward): Likewise.
28477         (ctan_test_upward): Likewise.
28478         (ctanh_test): Likewise.
28479         (ctanh_test_tonearest): Likewise.
28480         (ctanh_test_towardzero): Likewise.
28481         (ctanh_test_downward): Likewise.
28482         (ctanh_test_upward): Likewise.
28483         (erf_test): Likewise.
28484         (erfc_test): Likewise.
28485         (exp_test): Likewise.
28486         (exp_test_tonearest): Likewise.
28487         (exp_test_towardzero): Likewise.
28488         (exp_test_downward): Likewise.
28489         (exp_test_upward): Likewise.
28490         (exp10_test): Likewise.
28491         (exp2_test): Likewise.
28492         (expm1_test): Likewise.
28493         (fmod_test): Likewise.
28494         (gamma_test): Likewise.
28495         (hypot_test): Likewise.
28496         (j0_test): Likewise.
28497         (j1_test): Likewise.
28498         (jn_test): Likewise.
28499         (lgamma_test): Likewise.
28500         (log_test): Likewise.
28501         (log10_test): Likewise.
28502         (log1p_test): Likewise.
28503         (log2_test): Likewise.
28504         (logb_test_downward): Likewise.
28505         (pow_test): Likewise.
28506         (pow_test_tonearest): Likewise.
28507         (pow_test_towardzero): Likewise.
28508         (pow_test_downward): Likewise.
28509         (pow_test_upward): Likewise.
28510         (remainder_test): Likewise.
28511         (remquo_test): Likewise.
28512         (sin_test): Likewise.
28513         (sin_test_tonearest): Likewise.
28514         (sin_test_towardzero): Likewise.
28515         (sin_test_downward): Likewise.
28516         (sin_test_upward): Likewise.
28517         (sincos_test): Likewise.
28518         (sinh_test): Likewise.
28519         (sinh_test_tonearest): Likewise.
28520         (sinh_test_towardzero): Likewise.
28521         (sinh_test_downward): Likewise.
28522         (sinh_test_upward): Likewise.
28523         (sqrt_test): Likewise.
28524         (tan_test): Likewise.
28525         (tan_test_tonearest): Likewise.
28526         (tan_test_towardzero): Likewise.
28527         (tan_test_downward): Likewise.
28528         (tan_test_upward): Likewise.
28529         (tanh_test): Likewise.
28530         (tgamma_test): Likewise.
28531         (y0_test): Likewise.
28532         (y1_test): Likewise.
28533         (yn_test): Likewise.
28535         * math/gen-libm-test.pl (adjust_arg): Remove function.
28536         (special_function): Remove argument $in_func.  Only handle
28537         generating output for tables of tests, not inside functions.
28538         (parse_args): Likewise.
28539         (generate_testfile): Remove variable $in_func.  Update call to
28540         parse_args.
28541         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28542         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28543         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28544         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28545         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28546         (MAX_VALUE_INIT): Rename macro to max_value.
28547         (MIN_VALUE_INIT): Rename macro to min_value.
28548         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28549         (plus_zero): Remove variable.
28550         (minus_zero): Likewise.
28551         (plus_infty): Likewise.
28552         (minus_infty): Likewise.
28553         (qnan_value): Likewise.
28554         (max_value): Likewise.
28555         (min_value): Likewise.
28556         (min_subnorm_value): Likewise.
28558 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28560         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28561         uint64_t or uint32_t usage.
28562         * crypt/sha256-block.c: Likewise.
28563         * crypt/sha256-crypt.c: Likewise.
28564         * crypt/sha256.c: Likewise.
28565         * crypt/sha512-block.c: Likewise.
28566         * crypt/sha512-crypt.c: Likewise.
28567         * crypt/sha512.c: Likewise.
28568         * debug/backtrace-tst.c: Likewise.
28569         * debug/pcprofiledump.c: Likewise.
28570         * elf/cache.c: Likewise.
28571         * elf/dl-cache.c: Likewise.
28572         * elf/dl-misc.c: Likewise.
28573         * elf/dl-profile.c: Likewise.
28574         * elf/dl-support.c: Likewise.
28575         * elf/ldconfig.c: Likewise.
28576         * elf/sprof.c: Likewise.
28577         * iconv/dummy-repertoire.c: Likewise.
28578         * iconv/iconv_charmap.c: Likewise.
28579         * iconv/skeleton.c: Likewise.
28580         * iconvdata/8bit-generic.c: Likewise.
28581         * iconvdata/cp737.h: Likewise.
28582         * iconvdata/cp775.h: Likewise.
28583         * iconvdata/ibm1008.h: Likewise.
28584         * iconvdata/ibm1025.h: Likewise.
28585         * iconvdata/ibm1046.h: Likewise.
28586         * iconvdata/ibm1097.h: Likewise.
28587         * iconvdata/ibm1112.h: Likewise.
28588         * iconvdata/ibm1122.h: Likewise.
28589         * iconvdata/ibm1123.h: Likewise.
28590         * iconvdata/ibm1124.h: Likewise.
28591         * iconvdata/ibm1129.h: Likewise.
28592         * iconvdata/ibm1130.h: Likewise.
28593         * iconvdata/ibm1132.h: Likewise.
28594         * iconvdata/ibm1133.h: Likewise.
28595         * iconvdata/ibm1137.h: Likewise.
28596         * iconvdata/ibm1140.h: Likewise.
28597         * iconvdata/ibm1141.h: Likewise.
28598         * iconvdata/ibm1142.h: Likewise.
28599         * iconvdata/ibm1143.h: Likewise.
28600         * iconvdata/ibm1144.h: Likewise.
28601         * iconvdata/ibm1145.h: Likewise.
28602         * iconvdata/ibm1146.h: Likewise.
28603         * iconvdata/ibm1147.h: Likewise.
28604         * iconvdata/ibm1148.h: Likewise.
28605         * iconvdata/ibm1149.h: Likewise.
28606         * iconvdata/ibm1153.h: Likewise.
28607         * iconvdata/ibm1154.h: Likewise.
28608         * iconvdata/ibm1155.h: Likewise.
28609         * iconvdata/ibm1156.h: Likewise.
28610         * iconvdata/ibm1157.h: Likewise.
28611         * iconvdata/ibm1158.h: Likewise.
28612         * iconvdata/ibm1160.h: Likewise.
28613         * iconvdata/ibm1161.h: Likewise.
28614         * iconvdata/ibm1162.h: Likewise.
28615         * iconvdata/ibm1163.h: Likewise.
28616         * iconvdata/ibm1164.h: Likewise.
28617         * iconvdata/ibm1166.h: Likewise.
28618         * iconvdata/ibm1167.h: Likewise.
28619         * iconvdata/ibm12712.h: Likewise.
28620         * iconvdata/ibm1390.h: Likewise.
28621         * iconvdata/ibm1399.h: Likewise.
28622         * iconvdata/ibm16804.h: Likewise.
28623         * iconvdata/ibm4517.h: Likewise.
28624         * iconvdata/ibm4899.h: Likewise.
28625         * iconvdata/ibm4909.h: Likewise.
28626         * iconvdata/ibm4971.h: Likewise.
28627         * iconvdata/ibm5347.h: Likewise.
28628         * iconvdata/ibm803.h: Likewise.
28629         * iconvdata/ibm856.h: Likewise.
28630         * iconvdata/ibm901.h: Likewise.
28631         * iconvdata/ibm902.h: Likewise.
28632         * iconvdata/ibm9030.h: Likewise.
28633         * iconvdata/ibm9066.h: Likewise.
28634         * iconvdata/ibm921.h: Likewise.
28635         * iconvdata/ibm922.h: Likewise.
28636         * iconvdata/ibm9448.h: Likewise.
28637         * iconvdata/isiri-3342.h: Likewise.
28638         * iconvdata/jis0201.h: Likewise.
28639         * include/link.h: Likewise.
28640         * include/netdb.h: Likewise.
28641         * inet/check_native.c: Likewise.
28642         * inet/check_pf.c: Likewise.
28643         * inet/getipv4sourcefilter.c: Likewise.
28644         * inet/getnameinfo.c: Likewise.
28645         * inet/getsourcefilter.c: Likewise.
28646         * inet/htonl.c: Likewise.
28647         * inet/setipv4sourcefilter.c: Likewise.
28648         * inet/setsourcefilter.c: Likewise.
28649         * inet/test-inet6_opt.c: Likewise.
28650         * inet/tst-network.c: Likewise.
28651         * locale/C-collate.c: Likewise.
28652         * locale/C-ctype.c: Likewise.
28653         * locale/C-time.c: Likewise.
28654         * locale/C-translit.h: Likewise.
28655         * locale/loadarchive.c: Likewise.
28656         * locale/programs/3level.h: Likewise.
28657         * locale/programs/charmap.c: Likewise.
28658         * locale/programs/charmap.h: Likewise.
28659         * locale/programs/ld-address.c: Likewise.
28660         * locale/programs/ld-collate.c: Likewise.
28661         * locale/programs/ld-ctype.c: Likewise.
28662         * locale/programs/ld-identification.c: Likewise.
28663         * locale/programs/ld-measurement.c: Likewise.
28664         * locale/programs/ld-messages.c: Likewise.
28665         * locale/programs/ld-monetary.c: Likewise.
28666         * locale/programs/ld-name.c: Likewise.
28667         * locale/programs/ld-numeric.c: Likewise.
28668         * locale/programs/ld-paper.c: Likewise.
28669         * locale/programs/ld-telephone.c: Likewise.
28670         * locale/programs/ld-time.c: Likewise.
28671         * locale/programs/linereader.c: Likewise.
28672         * locale/programs/locale.c: Likewise.
28673         * locale/programs/locarchive.c: Likewise.
28674         * locale/programs/locfile.h: Likewise.
28675         * locale/programs/repertoire.c: Likewise.
28676         * locale/programs/simple-hash.c: Likewise.
28677         * locale/programs/simple-hash.h: Likewise.
28678         * malloc/memusage.c: Likewise.
28679         * malloc/memusagestat.c: Likewise.
28680         * nis/nis_defaults.c: Likewise.
28681         * nis/nis_hash.c: Likewise.
28682         * nis/nis_print.c: Likewise.
28683         * nis/nis_xdr.c: Likewise.
28684         * nscd/connections.c: Likewise.
28685         * nscd/hstcache.c: Likewise.
28686         * nscd/nscd_gethst_r.c: Likewise.
28687         * nscd/nscd_getserv_r.c: Likewise.
28688         * nscd/nscd_helper.c: Likewise.
28689         * nscd/servicescache.c: Likewise.
28690         * nss/makedb.c: Likewise.
28691         * nss/nss_db/db-XXX.c: Likewise.
28692         * nss/nss_db/db-initgroups.c: Likewise.
28693         * nss/nss_db/db-netgrp.c: Likewise.
28694         * nss/nss_files/files-network.c: Likewise.
28695         * nss/nss_files/files-parse.c: Likewise.
28696         * posix/bug-regex5.c: Likewise.
28697         * posix/fnmatch_loop.c: Likewise.
28698         * posix/regcomp.c: Likewise.
28699         * posix/regexec.c: Likewise.
28700         * posix/tst-rfc3484-2.c: Likewise.
28701         * posix/tst-rfc3484-3.c: Likewise.
28702         * posix/tst-rfc3484.c: Likewise.
28703         * resolv/nss_dns/dns-canon.c: Likewise.
28704         * resolv/nss_dns/dns-network.c: Likewise.
28705         * resolv/res_init.c: Likewise.
28706         * resolv/res_mkquery.c: Likewise.
28707         * resolv/tst-aton.c: Likewise.
28708         * stdlib/cxa_atexit.c: Likewise.
28709         * stdlib/cxa_finalize.c: Likewise.
28710         * stdlib/gen-fpioconst.c: Likewise.
28711         * stdlib/strtol_l.c: Likewise.
28712         * string/tst-endian.c: Likewise.
28713         * sunrpc/auth_des.c: Likewise.
28714         * sunrpc/clnt_udp.c: Likewise.
28715         * sunrpc/rtime.c: Likewise.
28716         * sunrpc/svcauth_des.c: Likewise.
28717         * sunrpc/xdr.c: Likewise.
28718         * sunrpc/xdr_intXX_t.c: Likewise.
28719         * sunrpc/xdr_rec.c: Likewise.
28720         * sysdeps/generic/ldconfig.h: Likewise.
28721         * sysdeps/generic/ldsodefs.h: Likewise.
28722         * sysdeps/generic/memusage.h: Likewise.
28723         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28724         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28725         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28726         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28727         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28729         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28730         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28731         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28732         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28733         * sysdeps/posix/getaddrinfo.c: Likewise.
28734         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28735         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28736         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28737         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28738         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28739         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28740         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28741         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28742         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28743         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28744         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28745         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28746         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28747         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28748         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28749         * sysdeps/x86_64/dl-tls.h: Likewise.
28750         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28751         * time/alt_digit.c: Likewise.
28752         * time/era.c: Likewise.
28753         * wcsmbs/tst-c16c32-1.c: Likewise.
28755 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28757         * math/libm-test.inc (struct test_sincos_data): New type.
28758         (RUN_TEST_LOOP_sincos): New macro.
28759         (sincos_test_data): New variable.
28760         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28762 2013-05-16  Richard Henderson  <rth@redhat.com>
28764         * math/atest-exp2.c (LIMB64): New macro.
28765         (CONSTSZ): New macro.
28766         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28767         (hexdig): Move ...
28768         (print_mpn_fp): ... to function scope.
28769         (read_mpn_hex): Remove.
28770         (get_log2): Remove.
28771         (exp2_mpn): Use mp_log2.
28772         (main): Use mp_exp1.
28774 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28776         * math/libm-test.inc: Remove comment about not testing "inexact"
28777         exceptions.
28778         (INEXACT_EXCEPTION): New macro.
28779         (NO_INEXACT_EXCEPTION): Likewise.
28780         (INVALID_EXCEPTION_OK): Update value.
28781         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28782         (OVERFLOW_EXCEPTION_OK): Likewise.
28783         (UNDERFLOW_EXCEPTION_OK): Likewise.
28784         (IGNORE_ZERO_INF_SIGN): Likewise.
28785         (ERRNO_UNCHANGED): Likewise.
28786         (ERRNO_EDOM): Likewise.
28787         (ERRNO_ERANGE): Likewise.
28788         (test_exceptions): Handle testing "inexact" exceptions.
28789         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28790         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28791         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28792         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28793         INEXACT_EXCEPTION.
28794         (rint_towardzero_test_data): Likewise.
28795         (rint_downward_test_data): Likewise.
28796         (rint_upward_test_data): Likewise.
28798         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28799         with OVERFLOW_EXCEPTION.
28800         (exp10_test_data): Likewise.
28801         (exp2_test_data): Likewise.
28802         (expm1_test_data): Likewise.
28803         (lgamma_test_data): Likewise.
28804         (pow_test_data): Likewise.
28805         (tgamma_test_data): Likewise.
28806         (yn_test_data): Remove duplicate test of overflow.
28808         * math/libm-test.inc (struct test_cc_c_data): New type.
28809         (RUN_TEST_LOOP_cc_c): New macro.
28810         (cpow_test_data): New variable.
28811         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28813         * math/libm-test.inc (struct test_f_L_data): New type.
28814         (RUN_TEST_LOOP_f_L): New macro.
28815         (llrint_test_data): New variable.
28816         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28817         (llrint_tonearest_test_data): New variable.
28818         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28819         (llrint_towardzero_test_data): New variable.
28820         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28821         (llrint_downward_test_data): New variable.
28822         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28823         (llrint_upward_test_data): New variable.
28824         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28825         (llround_test_data): New variable.
28826         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28828 2013-05-13  Peter Collingbourne  <pcc@google.com>
28830         * math/atest-exp2.c (get_log2): Remove const attribute.
28832 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28834         * math/libm-test.inc (struct test_f_l_data): New type.
28835         (RUN_TEST_LOOP_f_l): New macro.
28836         (lrint_test_data): New variable.
28837         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28838         (lrint_tonearest_test_data): New variable.
28839         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28840         (lrint_towardzero_test_data): New variable.
28841         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28842         (lrint_downward_test_data): New variable.
28843         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28844         (lrint_upward_test_data): New variable.
28845         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28846         (lround_test_data): New variable.
28847         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28849 2013-05-15  Peter Collingbourne  <pcc@google.com>
28851         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28852         (EXTRACT_WORDS64) Use where appropriate.
28853         (INSERT_WORDS64) Likewise.
28855         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28856         constraints with x constraints.
28857         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28859         * malloc/obstack.c (_obstack_compat): Add initializer.
28861 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28863         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28864         si_trapno and add si_addr_lsb to _sifields.sigfault.
28865         (si_trapno): Remove macro.
28866         (si_addr_lsb): Define new macro.
28867         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28869 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28871         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28872         instead of TEST_f_l.
28873         (llrint_test_tonearest): Likewise.
28874         (llrint_test_towardzero): Likewise.
28875         (llrint_test_downward): Likewise.
28876         (llrint_test_upward): Likewise.
28877         (llround_test): Likewise.
28879         * math/libm-test.inc (struct test_f_i_data): Add comment.
28880         (RUN_TEST_LOOP_f_b): New macro.
28881         (RUN_TEST_LOOP_f_b_tg): Likewise.
28882         (finite_test_data): New variable.
28883         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28884         (isfinite_test_data): New variable.
28885         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28886         (isinf_test_data): New variable.
28887         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28888         (isnan_test_data): New variable.
28889         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28890         (isnormal_test_data): New variable.
28891         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28892         (issignaling_test_data): New variable.
28893         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28894         (signbit_test_data): New variable.
28895         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28897         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28898         with INVALID_EXCEPTION.
28899         (acosh_test_data): Likewise.
28900         (asin_test_data): Likewise.
28901         (atanh_test_data): Likewise.
28902         (fmod_test_data): Likewise.
28903         (log_test_data): Likewise.
28904         (log10_test_data): Likewise.
28905         (log2_test_data): Likewise.
28906         (pow_test_data): Likewise.
28907         (sqrt_test_data): Likewise.
28908         (y0_test_data): Likewise.
28909         (y1_test_data): Likewise.
28910         (yn_test_data): Likewise.
28912         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28913         function contents.
28915         * math/libm-test.inc (struct test_ff_i_data): New type.
28916         (RUN_TEST_LOOP_ff_i_tg): New macro.
28917         (isgreater_test_data): New variable.
28918         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28919         (isgreaterequal_test_data): New variable.
28920         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28921         (isless_test_data): New variable.
28922         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28923         (islessequal_test_data): New variable.
28924         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28925         (islessgreater_test_data): New variable.
28926         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28927         (isunordered_test_data): New variable.
28928         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28930 2013-05-14  David S. Miller  <davem@davemloft.net>
28932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28934 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28936         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28938         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28939         extra_test to int.
28940         (struct test_f_i_data): Change type of max_ulp to int.
28942         * math/libm-test.inc (test_ffI_f1_data): New type.
28943         (RUN_TEST_LOOP_ffI_f1): New macro.
28944         (remquo_test_data): New variable.
28945         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28947         * setjmp/tst-setjmp-fp.c: New file.
28948         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28949         (link-libm): New variable.
28950         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28952         * math/libm-test.inc (struct test_f_i_data): New type.
28953         (RUN_TEST_LOOP_f_i): New macro.
28954         (RUN_TEST_LOOP_f_i_tg): Likewise.
28955         (fpclassify_test_data): New variable.
28956         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28957         (ilogb_test_data): New variable.
28958         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28960         * math/libm-test.inc (scalbln_test): Correct function name in END
28961         call.
28963         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28964         (RUN_TEST_LOOP_fI_f1): New macro.
28965         (frexp_test_data): New variable.
28966         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28968         * math/libm-test.inc (struct test_fF_f1_data): New type.
28969         (RUN_TEST_LOOP_fF_f1): New macro.
28970         (modf_test_data): New variable.
28971         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28973         * math/libm-test.inc (struct test_f_f1_data): New type.
28974         (RUN_TEST_LOOP_f_f1): New macro.
28975         (gamma_test_data): New variable.
28976         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28977         (lgamma_test_data): New variable.
28978         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28980 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
28982         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28983         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28984         (main): Comment "tls" pseudo-hwcap.
28986 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
28988         * math/libm-test.inc (struct test_fl_f_data): New type.
28989         (RUN_TEST_LOOP_fl_f): New variable.
28990         (scalbln_test_data): New variable.
28991         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28993         * math/libm-test.inc (struct test_fi_f_data): New type.
28994         (RUN_TEST_LOOP_fi_f): New macro.
28995         (ldexp_test_data): New variable.
28996         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28997         (scalbn_test_data): New variable.
28998         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29000         * math/libm-test.inc (struct test_c_f_data): New type.
29001         (RUN_TEST_LOOP_c_f): New macro.
29002         (cabs_test_data): New variable.
29003         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29004         (carg_test_data): New variable.
29005         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29006         (cimag_test_data): New variable.
29007         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29008         (creal_test_data): New variable.
29009         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29011         * math/libm-test.inc (struct test_if_f_data): New type.
29012         (RUN_TEST_LOOP_if_f): New macro.
29013         (jn_test_data): New variable.
29014         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29015         (yn_test_data): New variable.
29016         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29018         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29020 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29022         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29023         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29025 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29027         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29028         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29029         (bench-deps): Add bench-timing.h.
29030         * benchtests-bench-skeleton.c: Include bench-timing.h.
29031         (main): Use TIMING_* macros instead of clock_gettime.
29032         * benchtests/bench-timing.h: New file.
29034         [BZ #14582]
29035         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29036         Renamed from _LIB_VERSION.
29037         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29039 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29041         * math/libm-test.inc (struct test_fff_f_data): New type.
29042         (RUN_TEST_LOOP_fff_f): New macro.
29043         (fma_test_data): New variable.
29044         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29045         (fma_towardzero_test_data): New variable.
29046         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29047         (fma_downward_test_data): New variable.
29048         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29049         (fma_upward_test_data): New variable.
29050         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29052         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29053         (struct test_c_c_data): New type.
29054         (RUN_TEST_LOOP_c_c): New macro.
29055         (cacos_test_data): New variable.
29056         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29057         (cacosh_test_data): New variable.
29058         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29059         (casin_test_data): New variable.
29060         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29061         (casinh_test_data): New variable.
29062         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29063         (catan_test_data): New variable.
29064         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29065         (catanh_test_data): New variable.
29066         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29067         (ccos_test_data): New variable.
29068         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29069         (ccosh_test_data): New variable.
29070         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29071         (cexp_test_data): New variable.
29072         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29073         (clog_test_data): New variable.
29074         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29075         (clog10_test_data): New variable.
29076         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29077         (conj_test_data): New variable.
29078         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29079         (cproj_test_data): New variable.
29080         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29081         (csin_test_data): New variable.
29082         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29083         (csinh_test_data): New variable.
29084         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29085         (csqrt_test_data): New variable.
29086         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29087         (ctan_test_data): New variable.
29088         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29089         (ctan_tonearest_test_data): New variable.
29090         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29091         (ctan_towardzero_test_data): New variable.
29092         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29093         (ctan_downward_test_data): New variable.
29094         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29095         (ctan_upward_test_data): New variable.
29096         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29097         (ctanh_test_data): New variable.
29098         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29099         (ctanh_tonearest_test_data): New variable.
29100         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29101         (ctanh_towardzero_test_data): New variable.
29102         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29103         (ctanh_downward_test_data): New variable.
29104         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29105         (ctanh_upward_test_data): New variable.
29106         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29107         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29108         of BUILD_COMPLEX.
29110         * math/libm-test.inc (struct test_ff_f_data): New type.
29111         (struct test_ff_f_data_nexttoward): Likewise.
29112         (RUN_TEST_LOOP_2_f): New macro.
29113         (RUN_TEST_LOOP_ff_f): Likewise.
29114         (atan2_test_data): New variable.
29115         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29116         (copysign_test_data): New variable.
29117         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29118         (fdim_test_data): New variable.
29119         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29120         (fmax_test_data): New variable.
29121         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29122         (fmin_test_data): New variable.
29123         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29124         (fmod_test_data): New variable.
29125         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29126         (hypot_test_data): New variable.
29127         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29128         (nextafter_test_data): New variable.
29129         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29130         (nexttoward_test_data): New variable.
29131         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29132         (pow_test_data): New variable.
29133         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29134         (pow_tonearest_test_data): New variable.
29135         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29136         (pow_towardzero_test_data): New variable.
29137         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29138         (pow_downward_test_data): New variable.
29139         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29140         (pow_upward_test_data): New variable.
29141         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29142         (remainder_test_data): New variable.
29143         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29144         (scalb_test_data): New variable.
29145         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29146         * sysdeps/i386/fpu/libm-test-ulps: Update.
29148 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29150         * math/libm-test.inc (fma_test): Use max_value instead of local
29151         variable fltmax.
29152         (nextafter_test): Likewise.
29154         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29155         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29156         (acos_downward_test_data): New variable.
29157         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29158         (acos_upward_test_data): New variable.
29159         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29160         (acosh_test_data): New variable.
29161         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29162         (asin_test_data): New variable.
29163         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29164         (asin_tonearest_test_data): New variable.
29165         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29166         (asin_towardzero_test_data): New variable.
29167         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29168         (asin_downward_test_data): New variable.
29169         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29170         (asin_upward_test_data): New variable.
29171         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29172         (asinh_test_data): New variable.
29173         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29174         (atan_test_data): New variable.
29175         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29176         (atanh_test_data): New variable.
29177         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29178         (cbrt_test_data): New variable.
29179         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29180         (ceil_test_data): New variable.
29181         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29182         (cos_test_data): New variable.
29183         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29184         (cos_tonearest_test_data): New variable.
29185         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29186         (cos_towardzero_test_data): New variable.
29187         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29188         (cos_downward_test_data): New variable.
29189         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29190         (cos_upward_test_data): New variable.
29191         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29192         (cosh_test_data): New variable.
29193         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29194         (cosh_tonearest_test_data): New variable.
29195         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29196         (cosh_towardzero_test_data): New variable.
29197         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29198         (cosh_downward_test_data): New variable.
29199         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29200         (cosh_upward_test_data): New variable.
29201         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29202         (erf_test_data): New variable.
29203         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29204         (erfc_test_data): New variable.
29205         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29206         (exp_test_data): New variable.
29207         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29208         (exp_tonearest_test_data): New variable.
29209         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29210         (exp_towardzero_test_data): New variable.
29211         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29212         (exp_downward_test_data): New variable.
29213         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29214         (exp_upward_test_data): New variable.
29215         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29216         (exp10_test_data): New variable.
29217         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29218         (exp2_test_data): New variable.
29219         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29220         (expm1_test_data): New variable.
29221         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29222         (fabs_test_data): New variable.
29223         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29224         (floor_test_data): New variable.
29225         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29226         (j0_test_data): New variable.
29227         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29228         (j1_test_data): New variable.
29229         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29230         (log_test_data): New variable.
29231         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29232         (log10_test_data): New variable.
29233         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29234         (log1p_test_data): New variable.
29235         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29236         (log2_test_data): New variable.
29237         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29238         (logb_test_data): New variable.
29239         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29240         (logb_downward_test_data): New variable.
29241         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29242         (nearbyint_test_data): New variable.
29243         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29244         (rint_test_data): New variable.
29245         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29246         (rint_tonearest_test_data): New variable.
29247         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29248         (rint_towardzero_test_data): New variable.
29249         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29250         (rint_downward_test_data): New variable.
29251         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29252         (rint_upward_test_data): New variable.
29253         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29254         (round_test_data): New variable.
29255         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29256         (sin_test_data): New variable.
29257         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29258         (sin_tonearest_test_data): New variable.
29259         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29260         (sin_towardzero_test_data): New variable.
29261         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29262         (sin_downward_test_data): New variable.
29263         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29264         (sin_upward_test_data): New variable.
29265         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29266         (sinh_test_data): New variable.
29267         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29268         (sinh_tonearest_test_data): New variable.
29269         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29270         (sinh_towardzero_test_data): New variable.
29271         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29272         (sinh_downward_test_data): New variable.
29273         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29274         (sinh_upward_test_data): New variable.
29275         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29276         (sqrt_test_data): New variable.
29277         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29278         (tan_test_data): New variable.
29279         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29280         (tan_tonearest_test_data): New variable.
29281         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29282         (tan_towardzero_test_data): New variable.
29283         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29284         (tan_downward_test_data): New variable.
29285         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29286         (tan_upward_test_data): New variable.
29287         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29288         (tanh_test_data): New variable.
29289         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29290         (tgamma_test_data): New variable.
29291         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29292         (trunc_test_data): New variable.
29293         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29294         (y0_test_data): New variable.
29295         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29296         (y1_test_data): New variable.
29297         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29298         (significand_test_data): New variable.
29299         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29301 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29303         [BZ #12387]
29304         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29306 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29308         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29310 2013-05-10  Andreas Jaeger  <aj@suse.de>
29312         [BZ #15448]
29313         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29314         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29316 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29318         * math/gen-libm-test.pl (adjust_arg): New function.
29319         (special_functions): Handle generating output in both functions
29320         and arrays.
29321         (parse_args): Likewise.
29322         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29323         $in_func argument to parse_args.
29324         * math/libm-test.inc (struct test_f_f_data): New type.
29325         (IF_ROUND_INIT_): New macro.
29326         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29327         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29328         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29329         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29330         (ROUND_RESTORE_): Likewise.
29331         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29332         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29333         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29334         (ROUND_RESTORE_FE_UPWARD): Likewise.
29335         (RUN_TEST_LOOP_f_f): New macro.
29336         (acos_test_data): New variable.
29337         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29338         (acos_tonearest_test_data): New variable.
29339         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29341 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29343         * benchtests/bench-skeleton.c (startup): Fix coding style.
29345 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29347         [BZ #6809]
29348         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29349         negative infinity argument.
29350         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29351         negative infinity argument.
29352         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29353         negative infinity argument.
29354         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29355         domain errors.
29357 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29359         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29360         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29361         * iconv/iconv_prog.c (main): Likewise.
29362         * locale/programs/charmap-dir.c (charmap_readdir)
29363         (fopen_uncompressed): Likewise.
29364         * locale/programs/locfile.c (siblings_uncached)
29365         (write_locale_data): Use lstat64 instead of lstat.
29366         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29367         stat.
29369 2013-05-10  Andreas Jaeger  <aj@suse.de>
29371         [BZ #15395]
29372         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29373         localization.
29374         Include <locale.h>.
29376 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29378         * elf/dl-close.c (_dl_close_worker): Add comments.
29380 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29382         [BZ #15359]
29383         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29384         high part of pi/2.
29385         (__ieee754_rem_pio2l): Update comments.
29387         [BZ #15429]
29388         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29389         high part of pi/2.
29390         (__ieee754_rem_pio2l): Update comments.
29392         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29393         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29395         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29396         M_PI_4l.
29398         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29399         (M_PI_34_LOG10El): Likewise.
29400         (M_PI2_LOG10El): Likewise.
29401         (M_PI4_LOG10El): Likewise.
29402         (M_PI_LOG10El): Likewise.
29404 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29408 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29410         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29411         (MINUS_ZERO_INIT): Likewise.
29412         (PLUS_INFTY_INIT): Likewise.
29413         (MINUS_INFTY_INIT): Likewise.
29414         (QNAN_VALUE_INIT): Likewise.
29415         (MAX_VALUE_INIT): Likewise.
29416         (MIN_VALUE_INIT): Likewise.
29417         (MIN_SUBNORM_VALUE_INIT): Likewise.
29418         (plus_zero): Initialize with PLUS_ZERO_INIT.
29419         (minus_zero): Initialize with MINUS_ZERO_INIT.
29420         (plus_infty): Initialize with PLUS_INFTY_INIT.
29421         (minus_infty): Initialize with MINUS_INFTY_INIT.
29422         (qnan_value): Initialize with QNAN_VALUE_INIT.
29423         (max_value): Initialize with MAX_VALUE_INIT.
29424         (min_value): Initialize with MIN_VALUE_INIT.
29425         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29427         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29428         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29429         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29430         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29432         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29433         (RUN_TEST_2_f): Likewise.
29434         (RUN_TEST_ff_f): Likewise.
29435         (RUN_TEST_fi_f): Likewise.
29436         (RUN_TEST_fl_f): Likewise.
29437         (RUN_TEST_fff_f): Likewise.
29438         (RUN_TEST_c_f): Likewise.
29439         (RUN_TEST_f_f1): Likewise.
29440         (RUN_TEST_fF_f1): Likewise.
29441         (RUN_TEST_fI_f1): Likewise.
29442         (RUN_TEST_ffI_f1): Likewise.
29443         (RUN_TEST_c_c): Likewise.
29444         (RUN_TEST_cc_c): Likewise.
29445         (RUN_TEST_f_i): Likewise.
29446         (RUN_TEST_f_i_tg): Likewise.
29447         (RUN_TEST_ff_i_tg): Likewise.
29448         (RUN_TEST_f_b): Likewise.
29449         (RUN_TEST_f_b_tg): Likewise.
29450         (RUN_TEST_f_l): Likewise.
29451         (RUN_TEST_f_L): Likewise.
29452         (RUN_TEST_sincos): Likewise.
29453         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29454         whether to show exceptions.  Do not include ");\n" in return
29455         value.
29456         (special_functions): Output call to RUN_TEST_sincos instead of
29457         check_float calls.  Update calls to new_test.
29458         (parse_args): Output call to single RUN_TEST_* macro instead of
29459         check_* calls and other assignments.  Update calls to new_test.
29461         [BZ #2546]
29462         [BZ #2560]
29463         [BZ #5159]
29464         [BZ #15426]
29465         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29466         input to result for tgamma overflow.
29467         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29468         (gamma_coeff): New variable.
29469         (NCOEFF): New macro.
29470         (gamma_positive): New function.
29471         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29472         underflow here.  Use gamma_positive instead of exp (lgamma) for
29473         other arguments.
29474         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29475         (gamma_coeff): New variable.
29476         (NCOEFF): New macro.
29477         (gammaf_positive): New function.
29478         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29479         underflow here.  Use gamma_positive instead of exp (lgamma) for
29480         other arguments.
29481         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29482         (gamma_coeff): New variable.
29483         (NCOEFF): New macro.
29484         (gammal_positive): New function.
29485         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29486         underflow here.  Use gamma_positive instead of exp (lgamma) for
29487         other arguments.
29488         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29489         (gamma_coeff): New variable.
29490         (NCOEFF): New macro.
29491         (gammal_positive): New function.
29492         (__ieee754_gammal_r): Handle positive infinity, overflow and
29493         underflow here.  Handle NaN the same as positive infinity.  Remove
29494         check x < 0xffffffff for negative integers.  Use gamma_positive
29495         instead of exp (lgamma) for other arguments.
29496         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29497         (gamma_coeff): New variable.
29498         (NCOEFF): New macro.
29499         (gammal_positive): New function.
29500         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29501         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29502         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29503         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29504         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29505         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29506         * sysdeps/generic/math_private.h (__gamma_productf): New
29507         prototype.
29508         (__gamma_product): Likewise.
29509         (__gamma_productl): Likewise.
29510         * math/Makefile (libm-calls): Add gamma_product.
29511         * math/libm-test.inc (tgamma_test): Add more tests.
29512         * sysdeps/i386/fpu/libm-test-ulps: Update.
29513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29515 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29517         * benchtests/bench-skeleton.c (main): Preheat CPU.
29519 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29521         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29523 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29525         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29526         and _dl_skip_args_internal.
29528 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29530         * manual/message.texi (Message Translation): Talk about users.
29531         Message to key mapping impacts design.
29533 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29535         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29537         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29539         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29540         * sysdeps/wordsize-64/glob64.c: ... here.
29542         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29543         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29544         New macros.
29546         * debug/getlogin_r_chk.c: Moved to ...
29547         * login/getlogin_r_chk.c: ... here.
29548         * debug/Makefile (routines): Move getlogin_r_chk to ...
29549         * login/Makefile (routines): ... here.
29550         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29551         * login/Versions (libc: GLIBC_2.4): ... here.
29553         * io/poll.c (__poll): Renamed from poll.
29554         Add libc_hidden_def.
29555         (poll): Define as weak alias.
29557         * debug/ptsname_r_chk.c: Moved to ...
29558         * login/ptsname_r_chk.c: ... here.
29559         * debug/Makefile (routines): Move ptsname_r_chk to ...
29560         * login/Makefile (routines): ... here.
29561         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29562         * login/Versions (libc: GLIBC_2.4): ... here.
29564         * posix/getlogin.c: Moved to ...
29565         * login/getlogin.c: ... here.
29566         * posix/getlogin_r.c: Moved to ...
29567         * login/getlogin_r.c: ... here.
29568         * posix/getlogin_r.c: Moved to ...
29569         * login/getlogin_r.c: ... here.
29570         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29571         * login/Makefile (routines): ... here.
29572         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29573         * login/Versions (libc: GLIBC_2.0): ... here.
29575         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29576         (setrlimit): Define as weak alias.
29578         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29579         Call __ names for open, ftruncate, and close.
29580         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29581         (truncate): Define as weak alias.
29583 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29585         * math/gen-libm-test.pl (parse_args): Initialize x before each
29586         test of frexp, modf and remquo.
29588         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29589         test signgam value.
29591 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29593         [BZ #15418]
29594         [BZ #15419]
29595         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29596         internal tests.
29597         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29599 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29601         * elf/dl-writev.h: New file.
29602         * elf/dl-misc.c: Include it.
29603         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29604         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29606 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29608         * math/libm-test.inc (noXFails): Remove variable.
29609         (noXPasses): Likewise.
29610         (BUILD_COMPLEX_INT): Remove macro.
29611         (print_screen): Remove xfail argument.
29612         (print_screen_max_error): Likewise.
29613         (update_stats): Likewise.
29614         (print_max_error): Likewise.  Update calls to other affected
29615         functions.
29616         (print_complex_max_error): Likewise.
29617         (test_single_exception): Update calls to print_screen.
29618         (test_single_errno): Likewise.
29619         (check_float_internal): Remove xfail argument.  Update calls to
29620         other affected functions.
29621         (check_float): Likewise.
29622         (check_complex): Likewise.
29623         (check_int): Likewise.
29624         (check_long): Likewise.
29625         (check_bool): Likewise.
29626         (check_longlong): Likewise.
29627         (main): Don't print noXFails and noXPasses.
29628         * math/gen-libm-test.pl (top level): Don't mention expected
29629         failure handling in comment.
29630         (new_test): Don't handle expected failures.
29631         (parse_args): Don't mention expected failure handling in comment.
29632         (generate_testfile): Don't handle expected failures.
29633         (parse_ulps): Likewise.
29634         (print_ulps_file): Likewise.
29635         (get_failure): Remove function.
29636         (output_test): Don't handle expected failures.
29637         * make/README.libm-test: Don't mention expected failure handling.
29639         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29640         (minus_zero): Likewise.
29641         (plus_infty): Likewise.
29642         (minus_infty): Likewise.
29643         (qnan_value): Likewise.
29644         (max_value): Likewise.
29645         (min_value): Likewise.
29646         (min_subnorm_value): Likewise.
29647         (initialize): Do not initialize those variables dynamically.
29649 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29651         * io/open.c (__open_2): Moved to ...
29652         * io/open_2.c: ... this new file.
29653         * io/open64.c (__open64_2): Moved to ...
29654         * io/open64_2.c: ... this new file.
29655         * io/openat.c (__openat_2): Moved to ...
29656         * io/openat_2.c: ... this new file.
29657         * io/openat64.c (__openat64_2): Moved to ...
29658         * io/openat64_2.c: ... this new file.
29659         * io/Makefile (routines): Add them.
29660         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29661         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29662         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29663         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29664         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29665         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29666         (__openat64): Add hidden_ver.
29667         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29668         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29670         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29671         Separately conditionalize setting of GLRO(dl_sysinfo) so
29672         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29673         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29675 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29677         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29678         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29679         definition.
29680         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29681         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29682         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29683         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29684         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29686 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29688         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29689         test signgam value.
29691         * math/libm-test.inc (hypot_test): Do not use
29692         IGNORE_ZERO_INF_SIGN.
29694 2013-05-03  Andreas Jaeger  <aj@suse.de>
29696         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29697         Linux 3.9.
29698         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29699         (PF_MAX): Adjust for VSOCK change.
29701 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29705 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29707         [BZ #15264]
29708         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29709         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29710         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29712 2013-05-02  David S. Miller  <davem@davemloft.net>
29714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29716 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29718         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29720 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29722         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29724 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29726         [BZ #14952]
29727         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29728         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29729         Use __attribute__ ((__gnu_inline__)).
29730         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29731         Don't use __attribute__ ((__gnu_inline__)).
29733 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29735         [BZ #15423]
29736         * math/s_catan.c (__catan): Handle small real or imaginary part of
29737         input specially to avoid spurious underflow.
29738         * math/s_catanf.c (__catanf): Likewise.
29739         * math/s_catanh.c (__catanh): Likewise.
29740         * math/s_catanhf.c (__catanhf): Likewise.
29741         * math/s_catanhl.c (__catanhl): Likewise.
29742         * math/s_catanl.c (__catanl): Likewise.
29743         * math/libm-test.inc (catan_test): Add more tests.
29744         (catanh_test): Likewise.
29745         * sysdeps/i386/fpu/libm-test-ulps: Update.
29746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29748 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29752 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29754         [BZ #15416]
29755         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29756         accurately for denominator in atan2.
29757         * math/s_catanf.c (__catanf): Likewise.
29758         * math/s_catanh.c (__catanh): Likewise.
29759         * math/s_catanhf.c (__catanhf): Likewise.
29760         * math/s_catanhl.c (__catanhl): Likewise.
29761         * math/s_catanl.c (__catanl): Likewise.
29762         * math/libm-test.inc (catan_test): Add more tests.
29763         (catanh_test): Likewise.
29764         * sysdeps/i386/fpu/libm-test-ulps: Update.
29765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29767 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29769         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29771         * benchtests/Makefile (bench): Remove slow benchmarks.
29772         * benchtests/atan-inputs: Add slow benchmark inputs.
29773         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29774         (BENCH_FUNC): Accept variant offset.
29775         (VARIANT): Define.
29776         * benchtests/bench-skeleton.c (main): Run benchmark for each
29777         variant.
29778         * benchtests/cos-inputs: Add slow benchmark inputs.
29779         * benchtests/exp-inputs: Likewise.
29780         * benchtests/pow-inputs: Likewise.
29781         * benchtests/sin-inputs: Likewise.
29782         * benchtests/slowatan-inputs: Remove.
29783         * benchtests/slowatan.c: Remove.
29784         * benchtests/slowcos-inputs: Remove.
29785         * benchtests/slowcos.c: Remove.
29786         * benchtests/slowexp-inputs: Remove.
29787         * benchtests/slowexp.c: Remove.
29788         * benchtests/slowpow-inputs: Remove.
29789         * benchtests/slowpow.c: Remove.
29790         * benchtests/slowsin-inputs: Remove.
29791         * benchtests/slowsin.c: Remove.
29792         * benchtests/slowtan-inputs: Remove.
29793         * benchtests/slowtan.c: Remove.
29794         * benchtests/tan-inputs: Add slow benchmark inputs.
29795         * scripts/bench.pl: Parse comments and directives.
29797         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29798         in CPPFLAGS.
29799         ($(objpfx)bench-%.c): Remove *-ITER.
29800         * benchtests/bench-modf.c: Remove definition of ITER.
29801         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29802         (main): Loop for DURATION seconds instead of fixed number of
29803         iterations.
29804         * scripts/bench.pl: Don't expect iterations in parameters.
29806 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29808         * io/fchdir.c (__fchdir): Renamed from fchdir.
29809         (fchdir): Define as weak alias.
29811 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29813         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29814         (ERRNO_EDOM): Likewise.
29815         (ERRNO_ERANGE): Likewise.
29816         (noErrnoTests): New variable.
29817         (init_max_error): Set errno to 0.
29818         (test_single_errno): New function.
29819         (test_errno): Likewise.
29820         (check_float_internal): Call test_errno.  Set errno to 0.
29821         (check_complex): Refer to errno tests in comment.
29822         (check_int): Call test_errno.  Set errno to 0.
29823         (check_long): Likewise.
29824         (check_bool): Likewise.
29825         (check_longlong): Likewise.
29826         (cos_test): Use ERRNO_* flags for errno tests instead of
29827         check_int.
29828         (expm1_test): Likewise.
29829         (fmod_test): Likewise.
29830         (ilogb_test): Likewise.
29831         (lgamma_test): Likewise.
29832         (pow_test): Likewise.
29833         (remainder_test): Likewise.
29834         (sin_test): Likewise.
29835         (tan_test): Likewise.
29836         (yn_test): Likewise.
29837         (initialize): Set errno to 0.
29838         (main): Print number of errno tests.
29839         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29841 2013-04-29  Andreas Jaeger  <aj@suse.de>
29843         [BZ #15084]
29844         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29845         and RES_USEVC.
29847         [BZ #15085]
29848         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29849         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29850         unimplemented.
29852         [BZ #15380]
29853         * stdlib/random.c (__initstate): Return NULL if
29854         __initstate fails.
29856         [BZ #15086]
29857         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29858         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29859         RES_SNGLKUPREOP.
29861 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29865 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29867         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29868         of individual tests.
29869         (casin_test): Likewise.
29870         (casinh_test): Likewise.
29872 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29874         [BZ #15409]
29875         * math/s_catan.c (__catan): Handle arguments with large real or
29876         imaginary part separately without squaring.
29877         * math/s_catanf.c (__catanf): Likewise.
29878         * math/s_catanh.c (__catanh): Likewise.
29879         * math/s_catanhf.c (__catanhf): Likewise.
29880         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29881         and redefine.
29882         (__catanhl): Handle arguments with large real or imaginary part
29883         separately without squaring.
29884         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29885         and redefine.
29886         (__catanl): Handle arguments with large real or imaginary part
29887         separately without squaring.
29888         * math/libm-test.inc (catan_test): Add more tests.
29889         (catanh_test): Likewise.
29890         * sysdeps/i386/fpu/libm-test-ulps: Update.
29891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29893 2013-04-27  Andreas Jaeger  <aj@suse.de>
29895         [BZ #15007]
29896         * stdlib/stdlib.h: Update guards for qecvt.
29897         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29898         <stdlib.h>.
29900 2013-04-27  Allan McRae  <allan@archlinux.org>
29902         * sysdeps/i386/fpu/libm-test-ulps: Update.
29904 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29906         [BZ #15406]
29907         * math/s_catan.c: Include <float.h>.
29908         (__catan): Ensure underflow exception occurs for underflowed
29909         result.
29910         * math/s_catanf.c: Include <float.h>.
29911         (__catanf): Ensure underflow exception occurs for underflowed
29912         result.
29913         * math/s_catanh.c: Include <float.h>.
29914         (__catanh): Ensure underflow exception occurs for underflowed
29915         result.
29916         * math/s_catanhf.c: Include <float.h>.
29917         (__catanhf): Ensure underflow exception occurs for underflowed
29918         result.
29919         * math/s_catanhl.c: Include <float.h>.
29920         (__catanhl): Ensure underflow exception occurs for underflowed
29921         result.
29922         * math/s_catanl.c: Include <float.h>.
29923         (__catanl): Ensure underflow exception occurs for underflowed
29924         result.
29925         * math/libm-test.inc (catan_test): Add more tests.
29926         (catanh_test): Likewise.
29928         [BZ #15405]
29929         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29930         underflowed result.
29931         * math/s_ccoshf.c (__ccoshf): Likewise.
29932         * math/s_ccoshl.c (__ccoshl): Likewise.
29933         * math/s_csin.c (__csin): Likewise.
29934         * math/s_csinf.c (__csinf): Likewise.
29935         * math/s_csinh.c (__csinh): Likewise.
29936         * math/s_csinhf.c (__csinhf): Likewise.
29937         * math/s_csinhl.c (__csinhl): Likewise.
29938         * math/s_csinl.c (__csinl): Likewise.
29939         * math/libm-test.inc (ccos_test): Add more tests.
29940         (ccosh_test): Likewise.
29941         (csin_test): Likewise.
29942         (csinh_test): Likewise.
29944 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29946         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29947         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29948         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29949         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29950         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29951         powerpc/power5+/fpu folders.
29952         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29955 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29959 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29961         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29962         additions to variable.
29963         [$(config-machine) = x86_64] (modules-names): Likewise.
29964         ($(objpfx)tst-audit3): Remove dependency.
29965         ($(objpfx)tst-audit3.out): Likewise.
29966         ($(objpfx)tst-audit4): Likewise.
29967         ($(objpfx)tst-audit4.out): Likewise.
29968         ($(objpfx)tst-audit5): Likewise.
29969         ($(objpfx)tst-audit5.out): Likewise.
29970         ($(objpfx)tst-audit6): Likewise.
29971         ($(objpfx)tst-audit6.out): Likewise.
29972         ($(objpfx)tst-audit7): Likewise.
29973         ($(objpfx)tst-audit7.out): Likewise.
29974         (tst-audit3-ENV): Remove variable.
29975         (tst-audit4-ENV): Likewise.
29976         (tst-audit5-ENV): Likewise.
29977         (tst-audit6-ENV): Likewise.
29978         (tst-audit7-ENV): Likewise.
29979         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29980         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29981         addition to variable.
29982         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29983         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29984         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29985         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29986         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29987         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29988         tst-audit3, tst-audit4 and tst-audit5.
29989         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29990         tst-audit6 and tst-audit7.
29991         [$(subdir) = elf] (modules-names): Add audit modules for those
29992         tests.
29993         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29994         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29995         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29996         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29997         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29998         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29999         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30000         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30001         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30002         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30003         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30004         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30005         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30006         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30007         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30008         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30009         Likewise.
30010         [$(subdir) = elf && $(config-cflags-avx) = yes]
30011         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30012         [$(subdir) = elf && $(config-cflags-avx) = yes]
30013         (CFLAGS-tst-auditmod4a.c): Likewise.
30014         [$(subdir) = elf && $(config-cflags-avx) = yes]
30015         (CFLAGS-tst-auditmod4b.c): Likewise.
30016         [$(subdir) = elf && $(config-cflags-avx) = yes]
30017         (CFLAGS-tst-auditmod6b.c): Likewise.
30018         [$(subdir) = elf && $(config-cflags-avx) = yes]
30019         (CFLAGS-tst-auditmod6c.c): Likewise.
30020         [$(subdir) = elf && $(config-cflags-avx) = yes]
30021         (CFLAGS-tst-auditmod7b.c): Likewise.
30022         * elf/tst-audit3.c: Move to ...
30023         * sysdeps/x86_64/tst-audit3.c: ... here.
30024         * elf/tst-audit4.c: Move to ...
30025         * sysdeps/x86_64/tst-audit4.c: ... here.
30026         * elf/tst-audit5.c: Move to ...
30027         * sysdeps/x86_64/tst-audit5.c: ... here.
30028         * elf/tst-audit6.c: Move to ...
30029         * sysdeps/x86_64/tst-audit6.c: ... here.
30030         * elf/tst-audit7.c: Move to ...
30031         * sysdeps/x86_64/tst-audit7.c: ... here.
30032         * elf/tst-auditmod3a.c: Move to ...
30033         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30034         * elf/tst-auditmod3b.c: Move to ...
30035         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30036         * elf/tst-auditmod4a.c: Move to ...
30037         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30038         * elf/tst-auditmod4b.c: Move to ...
30039         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30040         * elf/tst-auditmod5a.c: Move to ...
30041         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30042         * elf/tst-auditmod5b.c: Move to ...
30043         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30044         * elf/tst-auditmod6a.c: Move to ...
30045         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30046         * elf/tst-auditmod6b.c: Move to ...
30047         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30048         * elf/tst-auditmod6c.c: Move to ...
30049         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30050         * elf/tst-auditmod7a.c: Move to ...
30051         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30052         * elf/tst-auditmod7b.c: Move to ...
30053         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30055 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30057         [BZ #15366]
30058         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30059         define unconditionally.
30060         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30061         define unconditionally.
30062         (INT8_C, INT16_C, etc.): Likewise.
30064 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30066         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30067         __ehdr_start with hidden visibility.
30069         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30071 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30073         * math/libm-test.inc (cos_test): Use accurate hex constants.
30074         (sincost_test): Likewise.
30076 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30078         * math/libm-test.inc (catan_test): Add more tests.
30079         (catanh_test): Likewise.
30081         * math/s_catanf.c (__catanf): Use suffixed floating-point
30082         constants.
30083         * math/s_catanhf.c (__catanhf): Likewise.
30084         * math/s_catanhl.c (__catanhl): Likewise.
30085         * math/s_catanl.c (__catanl): Likewise.
30087         [BZ #15394]
30088         * math/s_catan.c (__catan): Calculate imaginary part of result
30089         with log1p not log unless computing log of number close to 0.
30090         * math/s_catanf.c (__catanf): Likewise.
30091         * math/s_catanl.c (__catanl): Likewise.
30092         * math/s_catanh.c (__catanh): Calculate real part of result with
30093         log1p not log unless computing log of number close to 0.
30094         * math/s_catanhf.c (__catanhf): Likewise.
30095         * math/s_catanhl.c (__catanhl): Likewise.
30096         * math/libm-test.inc (catan_test): Add more tests.
30097         (catanh_test): Likewise.
30098         * sysdeps/i386/fpu/libm-test-ulps: Update.
30099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30101 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30103         * benchtests/Makefile: Mention files in which fast and slow
30104         paths of math functions are implemented.
30106 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30108         * sysdeps/posix/timespec_get.c: New file.
30110 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30112         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30113         POWER.
30114         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30115         for POWER.
30116         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30117         powerpc/power5/fpu folders.
30118         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30119         * benchtests/Makefile: Add modf testcase.
30120         * benchtests/bench-modf.c: New file: Benchmark test for mo
30122 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30124         [BZ #14888]
30125         * time/Makefile (tests): Add tst-strptime-whitespace.
30126         * time/strptime_l.c (get_number): Use ISSPACE.
30127         (__strptime_internal): Likewise.
30128         * time/tst-strptime-whitespace.c: New test case.
30130 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30132         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30133         member.
30134         (_nss_files_init): Set it here.
30136 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30138         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30139         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30140         unsigned.
30142 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30144         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30146 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30148         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30149         size just once.
30151 2013-04-21  David S. Miller  <davem@davemloft.net>
30153         * po/ru.po: Update Russion translation from translation project.
30155 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30157         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30158         and setfsgid.
30160 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30162         * configure.in: Remove i386 configure warning. Remove i386 case.
30163         * configure: Regenerate.
30164         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30165         Add example to error message.
30166         * sysdeps/i386/configure: Regenerate.
30168 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30170         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30171         slowtan.
30172         * benchtests/cos-inputs: New file.
30173         * benchtests/slowcos-inputs: New file.
30174         * benchtests/slowcos.c: New file.
30175         * benchtests/slowtan-inputs: New file.
30176         * benchtests/slowtan.c: New file.
30177         * benchtests/tan-inputs: New file.
30179 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30181         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30182         considered kosher.
30184 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30186         * benchtests/Makefile: Include cppflags-iterator.mk to add
30187         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30189         * Makefile.in (bench-clean): New target.
30190         * benchtests/Makefile (bench-clean): Likewise.
30192 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30194         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30196 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30198         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30200 2013-04-15  Andreas Schwab  <schwab@suse.de>
30202         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30204         * nscd/pwdcache.c (cache_addpw): Likewise.
30205         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30206         more than recsize.
30208 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30210         * benchtests/Makefile (bench): Write all output to
30211         bench-out.tmp together.
30213 2013-04-15  Andreas Schwab  <schwab@suse.de>
30215         * nscd/nscd.c (main): Don't fork again after closing files.
30217 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30219         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30221         * benchtests/Rules (bench-deps): Collect dependencies into a
30222         single variable.  Add Makefile to dependencies.
30223         ($(objpfx)bench-%.c): Depend on bench-deps.
30225 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30226             Xavier Roche  <roche+kml2@exalead.com>
30228         [BZ #15361]
30229         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30230         just that it's a file descriptor.
30231         * manual/llio.texi (Synchronizing AIO Operations): Update description
30232         for EBADF error from aio_fsync.
30234 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30236         * Rules (bench): Move target definition...
30237         * benchtests/Makefile: ... here.
30239 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30241         * math/libm-test.inc (cos_test): Fix PI/2 test.
30242         (sincos_test): Likewise.
30243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30244         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30246 2013-04-11  Andreas Schwab  <schwab@suse.de>
30248         [BZ #13988]
30249         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30250         accept exponent character only when digits were seen.
30251         * stdio-common/Makefile (tests): Add bug26.
30252         * stdio-common/bug26.c: New file.
30254         [BZ #14293]
30255         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30256         non-freeable.
30258 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30260         * Makeconfig (rtld-prefix): Define built linker prefix.
30261         * Rules (run-bench): Use it.
30262         * math/Makefile (run-regen-ulps): Likewise.
30264         * Rules (bench): Remove eval.
30266 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30267             Roland McGrath  <roland@hack.frob.com>
30268             Ondrej Bilka  <neleai@seznam.cz>
30270         [BZ #15346]
30271         * time/getdate.c: Include ctype.h and alloca.h.
30272         (__getdate_r): Trim leading and trailing spaces of input.
30273         * time/tst-getdate.c (tests): Add tests with leading and
30274         trailing spaces.
30276 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30278         [BZ #14280]
30279         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30280         when computing value.
30282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30284         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30285         Use testrun.sh to run libm tests.
30287         [BZ #15309]
30288         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30290 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30292         [BZ #15264]
30293         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30295 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30297         * Makefile.in (regen-ulps): New target.
30298         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30299         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30300         [ifneq (no,$(PERL)] (regen-ulps): New target.
30301         [ifeq (no,$(PERL)] (regen-ulps): New target.
30302         * math/libm-test.inc (ulps_file_name): Define.
30303         (output_dir): New variable.
30304         (options): Add "output-dir" option.
30305         (parse_opt): Handle 'o' case.
30306         (main): If output_dir is non-NULL use it as a prefix
30307         otherwise use "".
30308         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30310 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30312         [BZ #10060, #10062]
30313         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30314         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30315         fail configure if __sync_val_compare_and_swap is not inlined.
30316         * sysdeps/i386/configure: Regenerate.
30317         * configure.in: Build for i686 when configured for i386.
30318         * configure: Regenerate.
30319         * README: Remove i386 reference.
30321 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30323         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30324         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30326 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30328         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30329         (lmsnanval): New variables.
30330         (F): Add conversion tests.
30331         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30332         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30334         * stdio-common/tstdiomisc.c (F): Properly collect individual
30335         tests' results.
30337         [BZ #14686, #15336]
30338         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30339         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30340         Instead, use input NaN values or generate a qNaN by arithmetic
30341         operation.  Also fix bugs to comply with the standard.
30342         * math/libm-test.inc (remainder_test): Add more tests.
30344         [BZ #15335, #15342]
30345         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30347         input NaN values or generate a qNaN by arithmetic operation.
30349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30350         unreachable code.
30352         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30353         definitions.
30355 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30357         [BZ #14478]
30358         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30359         underflowed result.
30360         * math/s_cexpf.c (__cexpf): Likewise.
30361         * math/s_cexpl.c (__cexpl): Likewise.
30362         * math/libm-test.inc (cexp_test): Add more tests.
30364 2013-04-03  Andreas Schwab  <schwab@suse.de>
30366         [BZ #15330]
30367         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30368         order arrays from heap if bigger than alloca cutoff.
30370 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30372         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30373         (SNAN_TESTS_double): Refer to GCC PR56831.
30374         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30375         GCC PR56828.
30377 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30379         * Rules (bench): Move bench.out after the run is complete.
30381         * Rules (bench): Echo currently running benchmark.
30383         * benchtests/Makefile (bench): Add atan and slowatan.
30384         * benchtests/atan-inputs: New file.
30385         * benchtests/slowatan-inputs: New file.
30386         * benchtests/slowatan.c: New file.
30388         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30389         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30390         its value.
30392         [BZ #15305]
30393         * sysdeps/unix/sysv/linux/kernel-features.h
30394         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30395         __ASSUME_XFS_RESTRICTED_CHOWN.
30396         * sysdeps/unix/sysv/linux/pathconf.c
30397         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30398         Save and restore errno.
30400 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30402         [BZ #15327]
30403         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30404         arguments using __kernel_casinh.
30405         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30406         arguments using __kernel_casinhf.
30407         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30408         arguments using __kernel_casinhl.
30409         * math/libm-test.inc (cacosh_test): Add more tests.
30410         * sysdeps/i386/fpu/libm-test-ulps: Update.
30411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30413 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30415         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30416         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30418         * bench/Makefile (bench): Add sin and slowsin.
30419         * benchtests/sin-inputs: New file.
30420         * benchtests/slowsin-inputs: New file.
30421         * benchtests/slowsin.c: New file.
30423         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30424         (bench): Add slowexp and slowpow.
30425         (exp-ITER): Increase iterations.
30426         (pow-ITER): Likewise.
30427         * benchtests/exp-inputs: Change input.
30428         * benchtests/pow-inputs: Likewise.
30429         * benchtests/slowexp-inputs: New file.
30430         * benchtests/slowexp.c: New file.
30431         * benchtests/slowpow-inputs: New file.
30432         * benchtests/slowpow.c: New file.
30434 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30436         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30437         instructions.
30438         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30439         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30440         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30441         * benchtests/Makefile: Add rint benchtest.
30442         * benchtests/rint-inputs: Input for rint benchtest.
30444 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30446         * Versions.def (libm): Add GLIBC_2.18.
30447         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30448         hidden libm prototypes.
30449         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30450         * math/Makefile (libm-calls): Add s_issignaling.
30451         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30452         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30453         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30454         declaration.
30455         * math/math.h [__USE_GNU] (issignaling): New macro.
30456         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30457         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30458         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30459         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30460         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30461         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30462         * manual/arith.texi (issignaling): New section.
30463         * manual/libm-err-tab.pl (@all_functions): Update comment.
30464         * math/gen-libm-test.pl (parse_args): Apply special handling for
30465         issignaling.
30466         * math/libm-test.inc (print_float, issignaling_test): New
30467         functions.
30468         (check_float_internal): Add issignaling checks.
30469         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30470         default definition.
30471         * sysdeps/powerpc/math-tests.h: New file.
30472         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30473         tests.
30474         * math/test-snan.c (TEST_FUNC): Likewise.
30476 2013-03-30  David S. Miller  <davem@davemloft.net>
30478         * po/de.po: Update from translation team.
30480 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30482         [BZ #10357]
30483         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30484         imaginary part less than 1.0 and real part less than 0.5
30485         specially.
30486         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30487         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30488         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30489         (cacos_test): Add more tests.
30490         (casin_test): Likewise.
30491         (casinh_test): Likewise.
30492         * sysdeps/i386/fpu/libm-test-ulps: Update.
30493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30495 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30497         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30498         ONE with its value.
30500         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30501         (__pow_mp): Replace ONE and MONE with their values.
30502         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30503         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30504         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30505         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30506         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30507         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30509         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30511         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30512         (__pow_mp): Replace ZERO and MZERO with their values.
30513         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30514         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30515         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30517         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30518         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30519         (__sqr): Likewise.
30521         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30523         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30525 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30527         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30528         Declare with __attribute__ ((weak)).
30529         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30530         Call __call_tls_dtors only if it's not NULL.
30532 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30534         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30535         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30536         magic __ehdr_start linker symbol if it's defined.
30537         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30538         them up here if it was already done.
30540         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30541         (_dl_aux_init): Use const in cast when setting it.
30542         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30543         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30544         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30546         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30547         Declare them here.
30548         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30549         * csu/libc-tls.c: Nor here.
30550         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30552         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30553         (__libc_message): Never call vsyslog.
30555 2013-03-28  Alan Modra  <amodra@gmail.com>
30557         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30558         Define as empty.
30559         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30560         Likewise.
30562 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30564         [BZ #15214]
30565         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30566         underflow.
30567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30569 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30571         [BZ #15304]
30572         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30573         Don't add gid passed as argument.
30575         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30577 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30579         [BZ #15307]
30580         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30581         imaginary part between 1.0 and 1.5 and real part less than 0.5
30582         specially.
30583         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30584         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30585         * math/libm-test.inc (cacos_test): Add more tests.
30586         (casin_test): Likewise.
30587         (casinh_test): Likewise.
30588         * sysdeps/i386/fpu/libm-test-ulps: Update.
30589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30591 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30593         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30594         constants.
30595         (norm): Likewise.
30596         (denorm): Likewise.
30597         (__dbl_mp): Likewise.
30598         (add_magnitudes): Likewise.
30599         (sub_magnitudes): Likewise.
30600         (__add): Likewise.
30601         (__sub): Likewise.
30602         (__mul): Likewise.
30603         (__sqr): Likewise.
30604         (__inv): Likewise.
30605         (__dvd): Likewise.
30607         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30608         commented code.
30609         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30610         (__dubcos): Likewise.
30611         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30612         (__ieee754_acos): Likewise.
30613         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30614         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30615         (__exp1): Likewise.
30616         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30618         (log1): Likewise.
30619         (my_log2): Likewise.
30620         (checkint): Likewise.
30621         * sysdeps/ieee754/dbl-64/e_remainder.c
30622         (__ieee754_remainder): Likewise.
30623         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30625         (bsloww): Likewise.
30626         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30628         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30629         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30630         MANTISSA_STORE_T to store computations on mantissa.  Use
30631         macros for rounding and division.
30632         (denorm): Likewise.
30633         (__dbl_mp): Likewise.
30634         (add_magnitudes): Likewise.
30635         (sub_magnitudes): Likewise.
30636         (__mul): Likewise.
30637         (__sqr): Likewise.
30638         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30639         powers of two in terms of TWOPOW macro.
30640         (mp_no): Make type of mantissa as MANTISSA_T.
30641         [!RADIXI]: Define RADIXI.
30642         [!TWO52]: Define TWO52.
30643         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30645 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30647         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30648         llroundl symbol when building for PPC32.
30650 2013-03-24  Mark H Weaver  <mhw@netris.org>
30652         * manual/arith.texi (Normalization Functions): Fix prototypes for
30653         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30655 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30657         [BZ #13889]
30658         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30659         high value to check if expl overflow.
30660         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30661         to check for underflow and overflow.
30662         * math/libm-test.inc: Add exp test.
30664 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30666         [BZ #11120]
30667         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30668         with NOT_IN_libc.
30670 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30672         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30673         symbol.
30675 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30677         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30678         wrap blocks consisting of several statements.
30680         * sysdeps/generic/math-tests.h: New file.
30681         * sysdeps/i386/fpu/math-tests.h: Likewise.
30682         * math/test-snan.c: Include it.
30683         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30685 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30687         [BZ #15285]
30688         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30689         (__ieee754_j0l): Do not improve calculations using cos of twice
30690         input for inputs above LDBL_MAX / 2.0L.
30691         (__ieee754_y0l): Likewise.
30692         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30693         (__ieee754_j1l): Do not improve calculations using cos of twice
30694         input for inputs above LDBL_MAX / 2.0L.
30695         (__ieee754_y1l): Likewise.
30696         * math/libm-test.inc (j0_test): Add another test.
30697         (j1_test): Likewise.
30698         (y0_test): Likewise.
30699         (y1_test): Likewise.
30700         * sysdeps/i386/fpu/libm-test-ulps: Update.
30702 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30704         * Rules ($(objpfx)bench-%.c): Include code from a C source
30705         file.
30707 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30709         [BZ #15287]
30710         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30711         imaginary part 1.0 and real part less than 0.5 specially.
30712         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30713         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30714         * math/libm-test.inc (cacos_test): Add more tests.
30715         (casin_test): Likewise.
30716         (casinh_test): Likewise.
30717         * sysdeps/i386/fpu/libm-test-ulps: Update.
30718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30720 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30722         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30723         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30725 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30727         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30728         * config.make.in (config-cflags-sse4): Remove variable.
30729         (config-cflags-avx): Likewise.
30730         (config-cflags-sse2avx): Likewise.
30731         (config-cflags-novzeroupper): Likewise.
30732         (config-asflags-i686): Likewise.
30733         (have-mfma4): Likewise.
30734         (have-as-vis3): Likewise.
30735         (MIG): Likewise.
30736         * configure.in (MIG): Do not AC_SUBST.
30737         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30738         (libc_cv_cc_sse4): Do not AC_SUBST.
30739         (libc_cv_cc_avx): Likewise.
30740         (libc_cv_cc_sse2avx): Likewise.
30741         (libc_cv_cc_novzeroupper): Likewise.
30742         (libc_cv_cc_fma4): Likewise.
30743         (libc_cv_as_i686): Likewise.
30744         (libc_cv_sparc_as_vis3): Likewise.
30745         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30746         LIBC_CONFIG_VAR.
30747         (config-asflags-i686): Likewise.
30748         (config-cflags-avx): Likewise.
30749         (config-cflags-sse2avx): Likewise.
30750         (have-mfma4): Likewise.
30751         (config-cflags-novzeroupper): Likewise.
30752         * sysdeps/mach/configure.in (MIG): Likewise.
30753         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30754         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30755         LIBC_CONFIG_VAR.
30756         (config-cflags-avx): Likewise.
30757         (config-cflags-sse2avx): Likewise.
30758         (have-mfma4): Likewise.
30759         (config-cflags-novzeroupper): Likewise.
30760         * configure: Regenerated.
30761         * sysdeps/i386/configure: Likewise.
30762         * sysdeps/mach/configure: Likewise.
30763         * sysdeps/sparc/configure: Likewise.
30764         * sysdeps/x86_64/configure: Likewise.
30766 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30768         [BZ #14812]
30769         * locale/programs/localedef.c (options): Put N_ translation marker
30770         on argument names, not just descriptions.
30772 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30774         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30776 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30778         [BZ #14176]
30779         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30781 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30783         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30784         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30785         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30786         [!BEFORE_ABORT] (before_abort): New function.
30787         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30788         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30789         (writev_for_fatal): New function.
30790         (WRITEV_FOR_FATAL): New macro; call that.
30791         (backtrace_and_maps): New function.
30792         (BEFORE_ABORT): New macro; call that.
30793         (struct str_list): Type removed.
30794         (__libc_message, __libc_fatal): Functions removed.
30795         Include <sysdeps/posix/libc_fatal.c> instead.
30797 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30799         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30800         constants.
30801         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30802         double constants.
30804 2013-03-19  Andreas Schwab  <schwab@suse.de>
30806         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30807         * sysdeps/gnu/configure: Regenerate.
30809         * configure.in: Substitute libc_cv_rtlddir.
30810         * configure: Regenerate.
30811         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30812         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30813         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30814         * elf/Makefile (install-others, CFLAGS-interp.c)
30815         (ldso_install, common-ldd-rewrite): Likewise.
30816         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30817         $(inst_slibdir)/$(rtld-installed-name).
30818         * scripts/rellns-sh: Add -p option.
30819         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30820         for source.
30822 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30824         * manual/nptl.texi: Renamed to ...
30825         * manual/threads.texi: ... this.
30826         * manual/Makefile (chapters): Update.
30828 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30830         [BZ #14812]
30831         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30832         on argument names, not just descriptions.
30833         * malloc/memusagestat.c (options): Likewise.
30834         * nss/getent.c (options): Likewise.
30836 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30838         [BZ #14812]
30839         * iconv/iconv_prog.c (options): Put N_ translation marker
30840         on argument names, not just descriptions.
30841         * iconv/iconvconfig.c (options): Likewise.
30843 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30845         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30846         implementation which is faster on all x86_64 architectures.
30847         Tested on AMD, Intel Nehalem, SNB, IVB.
30848         * sysdeps/x86_64/strnlen.S: Likewise.
30850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30851         Remove all multiarch strlen and strnlen versions.
30852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30853         Remove strlen and strnlen related parts.
30855         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30856         Inline strlen part.
30857         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30859         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30860         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30861         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30862         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30863         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30864         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30866 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30868         * manual/memory.texi (Malloc Tunable Parameters):
30869         Sort parameters alphabetically. Add comments for missing entries.
30871 2013-03-17  David S. Miller  <davem@davemloft.net>
30873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30875 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30877         [BZ #15283]
30878         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30879         for arguments at most half maximum finite value.
30880         * math/libm-test.inc (j0_test): Add more tests.
30881         (j1_test): Likewise.
30882         (y0_test): Likewise.
30883         (y1_test): Likewise.
30884         * sysdeps/i386/fpu/libm-test-ulps: Update.
30885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30887         [BZ #14155]
30888         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30889         1 / x and functions P and Q for arguments above 0x1p256L.
30890         (__ieee754_y0l): Likewise.
30891         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30892         (__ieee754_y1l): Likewise.
30893         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30894         (j1_test): Likewise.
30895         (y0_test): Likewise.
30896         (y1_test): Likewise.
30898 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30900         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30901         variable.
30903 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30905         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30906         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30907         zero since it's initialized to EXEC_PAGESIZE.
30909         * sysdeps/unix/sysv/linux/ldsodefs.h
30910         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30911         * sysdeps/generic/ldsodefs.h: ... here.
30913 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30915         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30917         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30918         math/test-snan.c.
30919         * math/test-snan.c: Renamed from
30920         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30921         * math/Makefile (tests): Add test-snan.
30922         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30923         test-powerpc-snan.
30925         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30926         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30927         functions.
30928         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30929         __builtin_nan family of functions.
30930         * math/libm-test.inc (initialize): Initialize qnan_value with
30931         __builtin_nan family of functions.
30932         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30933         Remove variables.
30934         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30935         Remove functions.
30936         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30937         storage class.  Initialize qNaN_var and sNaN_var with
30938         __builtin_nan and __builtin_nans families of functions,
30939         respectively.
30941         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30942         (sqrt_test): Remove duplicate test with qNaN input.
30943         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30944         (round_test, signbit_test, significand_test): Note missing +/-Inf
30945         as well as qNaN tests.
30947         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30948         qNaN_var.  Fix a few strings, too.
30949         * math/libm-test.inc (nan_value): Rename to qnan_value.
30950         * math/gen-libm-test.pl (%beautify): Adjust to that.
30951         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30952         * math/test-misc.c (main): Likewise.
30953         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30954         to __qnan_bytes, and __qnan_union, respectively.
30955         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30956         Likewise.
30957         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30958         and lqnanval, respectively.
30959         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30960         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30961         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30962         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30964         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30965         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30966         doubles.
30968         * math/test-misc.c (main): Fix copy'n'pastos.
30969         * misc/tst-efgcvt.c (special): Likewise.
30971         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30972         Remove declarations.
30974 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30976         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30977         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30978         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30979         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30981 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30983         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30984         macro to return vdso values correctly in IFUNC implementations.
30985         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30986         Optimization by using IFUNC.
30988 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30989             Richard Henderson  <rth@redhat.com>
30990             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30992         * Makefile.in (bench): New target.
30993         * NEWS: Mention the benchmark framework.
30994         * Rules (bench): Likewise.
30995         (binaries-bench): Generate binaries for functions to
30996         benchmark.
30997         * benchtests/Makefile: New makefile for benchmark tests.
30998         * benchtests/bench-skeleton.c: New skeleton file for benchmark
30999         programs.
31000         * benchtests/exp-inputs: New input file for EXP function.
31001         * benchtests/pow-inputs: New input file for POW function.
31002         * scripts/bench.pl: New script to generate source files for
31003         benchmark programs.
31005 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31007         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31008         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31009         computations on mantissa.  Use macros for rounding and
31010         division.
31011         (denorm): Likewise.
31012         (__dbl_mp): Likewise.
31013         (add_magnitudes): Likewise.
31014         (sub_magnitudes): Likewise.
31015         (__mul): Likewise.
31016         (__sqr): Likewise.
31017         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31018         powers of two in terms of TWOPOW macro.
31019         (mp_no): Make type of mantissa as MANTISSA_T.
31020         [!RADIXI]: Define RADIXI.
31021         [!TWO52]: Define TWO52.
31022         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31024         * manual/nptl.texi (cindex): Modify threads to pthreads.
31026 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31028         * sysdeps/x86_64/preconfigure: Regenerated.
31030 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31032         [BZ #14155]
31033         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31034         0x1p28 and above.
31035         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31036         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31037         0x1p28 and above.
31038         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31039         * math/libm-test.inc (j0_test): Do not allow one spurious
31040         underflow exception.
31041         (y1_test): Likewise.
31043 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31045         * manual/Makefile (chapters): Add nptl.
31046         * manual/debug.texi (Debugging Support): Add link to Threads
31047         chapter.
31048         * manual/nptl.texi: New file.
31050         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31052 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31054         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31055         for non-NULL pointer before the memory validity test. Pointed
31056         out by Holger Brunck <holger.brunck@keymile.com>.
31058 2013-03-13  Andreas Schwab  <schwab@suse.de>
31060         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31061         instead of .os.
31063 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31065         * timezone/zic.c: Update from tzcode 2013b.
31067 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31069         * manual/install.texi (Configuring and compiling):
31070         Mention i686 and i586.
31071         * INSTALL: Regenerate.
31073 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31075         * sysdeps/init_array/elf-init.c: New file.
31076         * csu/elf-init.c
31077         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31078         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31080         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31081         __gmon_start__ as global, but as static with a .preinit_array pointer.
31082         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31083         * sysdeps/init_array/crti.S: New file, empty except for comments.
31084         * sysdeps/init_array/crtn.S: Likewise.
31086 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31088         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31089         definining bcopy.
31090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31091         Remove Prefer_SSE_for_memop.
31092         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31093         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31094         HAS_PREFER_SSE_FOR_MEMOP.
31095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31096         memset-x86-64.
31097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31098         Remove bzero, memset ifunc support.
31099         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31100         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31101         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31102         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31104 2013-03-11  Andreas Schwab  <schwab@suse.de>
31106         [BZ #15234]
31107         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31108         by SHLIB_COMPAT.
31109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31110         (GLIBC_2.16): Remove pthread_atfork.
31112 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31114         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31115         (ptestcases.h): Likewise.
31117 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31119         * Makeconfig ($(common-objpfx)config.status): Depend on
31120         sysdeps/*/preconfigure{,.in} too.
31122 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31124         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31125         (__free_hook): Use void * instead of __malloc_ptr_t.
31126         (__malloc_hook): Likewise.
31127         (__realloc_hook): Likewise.
31128         (__memalign_hook): Likewise.
31129         (__after_morecore_hook): Likewise.
31130         * malloc/arena.c (save_malloc_hook): Likewise.
31131         (save_free_hook): Likewise.
31132         * malloc/hooks.c (malloc_hook_ini): Likewise.
31133         (realloc_hook_ini): Likewise.
31134         (memalign_hook_ini): Likewise.
31135         * malloc/malloc.c (malloc_hook_ini): Likewise.
31136         (realloc_hook_ini): Likewise.
31137         (memalign_hook_ini): Likewise.
31138         (__free_hook): Likewise.
31139         (__malloc_hook): Likewise.
31140         (__realloc_hook): Likewise.
31141         (__memalign_hook): Likewise.
31142         (__libc_malloc): Likewise.
31143         (__libc_free): Likewise.
31144         (__libc_realloc): Likewise.
31145         (__libc_memalign): Likewise.
31146         (__libc_valloc): Likewise.
31147         (__libc_pvalloc): Likewise.
31148         (__libc_calloc): Likewise.
31149         (__posix_memalign): Likewise.
31150         * malloc/morecore.c (__sbrk): Likewise.
31151         (__default_morecore): Likewise.
31153         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31155         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31156         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31157         __malloc_ptrdiff_t.
31159         * malloc/malloc.h (__malloc_size_t): Remove macro.
31160         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31161         __malloc_size_t.
31162         (old_memalign_hook): Likewise.
31163         (old_realloc_hook): Likewise.
31164         (struct hdr): Likewise.
31165         (flood): Likewise.
31166         (mallochook): Likewise.
31167         (memalignhook): Likewise.
31168         (reallochook): Likewise.
31169         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31170         (tr_old_realloc_hook): Likewise.
31171         (tr_old_memalign_hook): Likewise.
31172         (tr_mallochook): Likewise.
31173         (tr_reallochook): Likewise.
31174         (tr_memalignhook): Likewise.
31176 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31178         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31179         default_ldbl_pack and using as default implementation.
31180         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31181         implementation.
31182         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31183         redundant definition.
31184         (ldbl_insert_mantissa): Likewise.
31185         (ldbl_canonicalize): Likewise.
31186         (ldbl_nearbyint): Likewise.
31187         (ldbl_pack): Rename to ldbl_pack_ppc.
31188         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31189         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31190         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31192 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31195         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31196         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31197         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31199         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31200         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31201         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31203 2013-03-07  Andreas Jaeger  <aj@suse.de>
31205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31206         bits/mman-linux.h.
31208 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31210         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31211         Include mpa.h and declare __MPEXP.
31212         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31213         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31214         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31215         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31216         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31217         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31218         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31220         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31221         (__slowpow): Use long double EXPL and LOGL functions to
31222         compute POW.
31223         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31224         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31225         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31226         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31227         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31228         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31231         intermediate variable to calculate exponent.
31232         (__sqr): Likewise.
31233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31234         Likewise.
31235         (__sqr): Likewise.
31237         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31238         [!NO__SQR]: Define __sqr.
31239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31240         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31241         sysdeps/ieee754/dbl-64/mpa.c.
31242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31244         [BZ #12723]
31245         * posix/Makefile (tests): Add tst-pathconf.
31246         * posix/tst-pathconf.c: New test case.
31247         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31248         _PC_PIPE_BUF.
31249         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31251 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31253         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31255 2013-03-06  Andreas Jaeger  <aj@suse.de>
31257         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31258         definition via __MAP_ANONYMOUS.
31260         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31261         it's not part of Linux headers.
31263         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31264         (MAP_HUGE_MASK): Define.
31266         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31267         Define.
31268         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31270         Define.
31271         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31272         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31273         Define.
31274         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31275         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31276         Define.
31277         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31279         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31280         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31281         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31282         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31283         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31284         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31286         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31287         Handle f2fs.
31289         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31290         Handle f2fs and efivarfs.
31292         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31293         f2fs.
31295         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31296         (EFIVARFS_MAGIC): Add.
31297         (F2FS_LINK_MAX): Add.
31299 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31301         * stdio-common/vfprintf.c: Replace __builtin_expect with
31302         __glibc_unlikely.
31304 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31306         [BZ #13550]
31307         * sysdeps/generic/bp-sym.h: Remove file.
31308         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31309         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31310         <bp-sym.h> and <bp-asm.h>.
31311         (__longjmp): Don't use BP_SYM.
31312         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31313         and <bp-asm.h>.
31314         (memcpy): Don't use BP_SYM.
31315         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31316         <bp-sym.h> and <bp-asm.h>.
31317         (memcpy): Don't use BP_SYM.
31318         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31319         <bp-asm.h>.
31320         (memcpy): Don't use BP_SYM.
31321         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31322         <bp-asm.h>.
31323         (memset): Don't use BP_SYM.
31324         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31325         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31326         (__bzero): Don't use BP_SYM.
31327         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31328         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31329         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31330         <bp-sym.h> and <bp-asm.h>.
31331         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31332         pointers.
31333         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31334         <bp-sym.h> and <bp-asm.h>.
31335         (memcpy): Don't use BP_SYM.
31336         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31337         <bp-sym.h> and <bp-asm.h>.
31338         (memset): Don't use BP_SYM.
31339         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31340         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31341         (__bzero): Don't use BP_SYM.
31342         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31343         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31344         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31345         <bp-sym.h> and <bp-asm.h>.
31346         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31347         pointers.
31348         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31349         <bp-sym.h> and <bp-asm.h>.
31350         (memcpy): Don't use BP_SYM.
31351         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31352         <bp-sym.h> and <bp-asm.h>.
31353         (memset): Don't use BP_SYM.
31354         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31355         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31356         (__bzero): Don't use BP_SYM.
31357         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31358         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31359         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31360         <bp-sym.h> and <bp-asm.h>.
31361         (__memchr): Don't use BP_SYM.
31362         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31363         <bp-sym.h> and <bp-asm.h>.
31364         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31365         pointers.
31366         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31367         <bp-sym.h> and <bp-asm.h>.
31368         (memcpy): Don't use BP_SYM.
31369         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31370         <bp-sym.h> and <bp-asm.h>.
31371         (__mempcpy): Don't use BP_SYM.
31372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31373         <bp-sym.h> and <bp-asm.h>.
31374         (__memrchr): Don't use BP_SYM.
31375         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31376         <bp-sym.h> and <bp-asm.h>.
31377         (memset): Don't use BP_SYM.
31378         (__bzero): Likewise.
31379         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31380         <bp-sym.h> and <bp-asm.h>.
31381         (__rawmemchr): Don't use BP_SYM.
31382         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31383         <bp-sym.h> and <bp-asm.h>.
31384         (__STRCMP): Don't use BP_SYM.
31385         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31386         <bp-sym.h> and <bp-asm.h>.
31387         (strchr): Don't use BP_SYM.
31388         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31389         <bp-sym.h> and <bp-asm.h>.
31390         (__strchrnul): Don't use BP_SYM.
31391         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31392         <bp-sym.h> and <bp-asm.h>.
31393         (strlen): Don't use BP_SYM.
31394         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31395         <bp-sym.h> and <bp-asm.h>.
31396         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31397         pointers.
31398         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31399         <bp-sym.h> and <bp-asm.h>.
31400         (__strnlen): Don't use BP_SYM.
31401         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31402         <bp-sym.h> and <bp-asm.h>.
31403         (__GI__setjmp): Don't use BP_SYM.
31404         (_setjmp): Likewise.
31405         (__sigsetjmp): Likewise.
31406         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31407         (L(start_addresses)): Don't use BP_SYM.
31408         (_start): Likewise.
31409         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31410         <bp-asm.h>.
31411         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31412         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31413         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31414         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31415         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31416         <bp-asm.h>.
31417         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31418         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31419         about bounded pointers.
31420         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31421         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31422         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31423         <bp-asm.h>.
31424         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31425         about bounded pointers.  Remove GKM FIXME comments.
31426         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31427         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31428         <bp-asm.h>.
31429         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31430         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31431         Remove GKM FIXME comments.
31432         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31433         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31434         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31435         <bp-asm.h>.
31436         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31437         about bounded pointers.  Remove GKM FIXME comment.
31438         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31439         and <bp-asm.h>.
31440         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31441         pointers.
31442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31443         <bp-sym.h> and <bp-asm.h>.
31444         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31446         <bp-sym.h> and <bp-asm.h>.
31447         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31448         comment.
31450 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31452         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31453         call free(NULL).
31455 2013-03-05  David S. Miller  <davem@davemloft.net>
31457         * po/es.po: Update from translation team.
31459 2013-03-05  Andreas Jaeger  <aj@suse.de>
31461         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31462         <bits/mman-linux.h>.
31463         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31464         is fine.
31465         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31466         <bits/mman-linux.h> to end of file.
31467         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31468         is fine.
31469         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31470         <bits/mman-linux.h> to end of file.
31471         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31472         is fine.
31473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31474         <bits/mman-linux.h> to end of file.
31476         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31477         (MCL_CURRENT, MCL_FUTURE): Define here.
31479 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31481         [BZ #15232]
31482         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31483         attribute_hidden.
31484         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31486 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31488         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31489         fourth parameter needed for rt_sigprocmask syscall.
31490         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31491         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31492         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31493         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31494         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31495         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31497 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31499         [BZ #13550]
31500         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31501         comment about bounded pointers.
31502         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31503         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31505 2013-03-04  Andreas Jaeger  <aj@suse.de>
31507         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31508         common definitions.
31510         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31511         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31512         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31513         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31514         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31515         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31517 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31519         [BZ #15055]
31520         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31521         __ieee754_sqrl instead of __sqrl.
31523 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31525         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31526         * sysdeps/powerpc/fpu_control.h: ... here.
31527         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31528         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31529         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31530         * sysdeps/powerpc/bits/mathinline.h: ... here.
31532 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31534         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31535         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31536         to just [NEED_DL_SYSINFO_DSO].
31537         * elf/dl-support.c: Likewise.
31538         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31539         * elf/rtld.c (dl_main): Likewise.
31540         * elf/setup-vdso.h (setup_vdso): Likewise.
31541         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31542         * sysdeps/unix/sysv/linux/dl-sysdep.c
31543         (_dl_discover_osversion): Likewise.
31545 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31547         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31548         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31550 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31552         * NEWS: Mention libm performance improvements and non-x86 PI
31553         futex support.
31555         * csu/libc-start.c (__pthread_initialize_minimal): Change
31556         function arguments.
31557         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31559 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31561         [BZ #13550]
31562         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31563         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31564         <bp-sym.h> and <bp-asm.h>.
31565         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31566         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31567         and <bp-asm.h>.
31568         (memcpy): Don't use BP_SYM.
31569         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31570         <bp-asm.h>.
31571         (__mpn_add_n): Don't use BP_SYM.
31572         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31573         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31574         and <bp-asm.h>.
31575         (__mpn_addmul_1): Don't use BP_SYM.
31576         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31577         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31578         <bp-sym.h>.
31579         (_setjmp): Don't use BP_SYM.
31580         (__novmx_setjmp): Likewise.
31581         (__GI__setjmp): Likewise.
31582         (__vmx_setjmp): Likewise.
31583         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31584         <bp-sym.h>.
31585         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31586         (__bzero): Don't use BP_SYM.
31587         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31588         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31589         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31590         <bp-sym.h> and <bp-asm.h>.
31591         (memcpy): Don't use BP_SYM.
31592         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31593         <bp-sym.h> and <bp-asm.h>.
31594         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31595         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31596         <bp-sym.h> and <bp-asm.h>.
31597         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31598         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31599         <bp-asm.h>.
31600         (__mpn_lshift): Don't use BP_SYM.
31601         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31602         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31603         <bp-asm.h>.
31604         (memset): Don't use BP_SYM.
31605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31607         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31608         <bp-asm.h>.
31609         (__mpn_mul_1): Don't use BP_SYM.
31610         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31611         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31612         <bp-sym.h> and <bp-asm.h>.
31613         (memcmp): Don't use BP_SYM.
31614         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31615         <bp-sym.h> and <bp-asm.h>.
31616         (memcpy): Don't use BP_SYM.
31617         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31618         <bp-sym.h> and <bp-asm.h>.
31619         (memset): Don't use BP_SYM.
31620         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31621         <bp-sym.h> and <bp-asm.h>.
31622         (strncmp): Don't use BP_SYM.
31623         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31624         <bp-sym.h> and <bp-asm.h>.
31625         (memcpy): Don't use BP_SYM.
31626         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31627         <bp-sym.h> and <bp-asm.h>.
31628         (memset): Don't use BP_SYM.
31629         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31630         <bp-sym.h> and <bp-asm.h>.
31631         (__memchr): Don't use BP_SYM.
31632         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31633         <bp-sym.h> and <bp-asm.h>.
31634         (memcmp): Don't use BP_SYM.
31635         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31636         <bp-sym.h> and <bp-asm.h>.
31637         (memcpy): Don't use BP_SYM.
31638         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31639         <bp-sym.h> and <bp-asm.h>.
31640         (__mempcpy): Don't use BP_SYM.
31641         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31642         <bp-sym.h> and <bp-asm.h>.
31643         (__memrchr): Don't use BP_SYM.
31644         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31645         <bp-sym.h> and <bp-asm.h>.
31646         (memset): Don't use BP_SYM.
31647         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31648         <bp-sym.h> and <bp-asm.h>.
31649         (__rawmemchr): Don't use BP_SYM.
31650         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31651         <bp-sym.h> and <bp-asm.h>.
31652         (__STRCMP): Don't use BP_SYM.
31653         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31654         <bp-sym.h> and <bp-asm.h>.
31655         (strchr): Don't use BP_SYM.
31656         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31657         <bp-sym.h> and <bp-asm.h>.
31658         (__strchrnul): Don't use BP_SYM.
31659         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31660         <bp-sym.h> and <bp-asm.h>.
31661         (strlen): Don't use BP_SYM.
31662         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31663         <bp-sym.h> and <bp-asm.h>.
31664         (strncmp): Don't use BP_SYM.
31665         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31666         <bp-sym.h> and <bp-asm.h>.
31667         (__strnlen): Don't use BP_SYM.
31668         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31669         <bp-asm.h>.
31670         (__mpn_rshift): Don't use BP_SYM.
31671         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31672         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31673         <bp-sym.h> and <bp-asm.h>.
31674         (__sigsetjmp): Don't use BP_SYM.
31675         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31676         (L(start_addresses)): Don't use BP_SYM.
31677         (_start): Likewise.
31678         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31679         <bp-asm.h>.
31680         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31681         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31682         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31683         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31684         <bp-asm.h>.
31685         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31686         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31687         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31688         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31689         <bp-asm.h>.
31690         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31691         comments.
31692         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31693         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31694         <bp-asm.h>.
31695         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31696         FIXME comments.
31697         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31698         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31699         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31700         <bp-asm.h>.
31701         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31702         comment.
31703         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31704         and <bp-asm.h>.
31705         (strncmp): Don't use BP_SYM,
31706         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31707         <bp-asm.h>.
31708         (__mpn_sub_n): Don't use BP_SYM.
31709         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31710         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31711         and <bp-asm.h>.
31712         (__mpn_submul_1): Don't use BP_SYM.
31713         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31715         <bp-sym.h> and <bp-asm.h>.
31716         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31718         <bp-sym.h> and <bp-asm.h>.
31719         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31720         comment.
31722 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31725         Use ZK to minimize writes to Z.
31726         (sub_magnitudes): Simplify code a bit.
31727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31728         Use ZK to minimize writes to Z.
31729         (sub_magnitudes): Simplify code a bit.
31731 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31733         * csu/gmon-start.c: Add special exception to license text.
31735 2013-02-27  Richard Henderson  <rth@redhat.com>
31737         * scripts/config.guess: Update from config.git.
31738         * scripts/config.sub: Likewise.
31740 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31742         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31744         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31746         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31748         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31750         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31752 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31754         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31755         [$(build-shared = yes].
31757 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31759         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31760         (__mul): Reduce iterations for calculating mantissa.
31762         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31763         MPTWO.
31764         (__mpranred): Likewise.
31766         [BZ #15160]
31767         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31768         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31770 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31772         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31773         Define __attribute__.
31775 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31777         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31778         unused.
31779         * posix/regex_internal.h (__attribute): Remove.
31780         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31781         (re_string_context_at): Likewise.
31782         (bitset_not): Use __attribute__ and mark function as possibly
31783         unused.
31784         (bitset_merge): Likewise.
31785         (bitset_mask): Likewise.
31786         (re_string_char_size_at): Likewise.
31787         (re_string_wchar_at): Likewise.
31788         (re_string_elem_size_at): Likewise.
31790 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31792         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31793         code.
31794         (cc32): Likewise.
31796         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31797         (__acr): Likewise.
31798         (__cpy): Likewise.
31799         (norm): Likewise.
31800         (denorm): Likewise.
31801         (__dbl_mp): Likewise.
31802         (add_magnitudes): Likewise.
31803         (sub_magnitudes): Likewise.
31804         (__mul): Likewise.
31805         (__inv): Likewise.
31807         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31808         style.
31810         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31811         style.
31813         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31814         code.
31816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31817         up changes with default code.
31818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31819         Likewise.
31821 2013-02-24  Allan McRae  <allan@archlinux.org>
31823         * manual/socket.texi (The Internet Namespace): Order menu items
31824         to match that in the file.
31826         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31827         node listing of the info page menu.
31829 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31831         [BZ #13550]
31832         * sysdeps/i386/bp-asm.h: Remove file.
31833         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31834         (PARMS): Do not use macros from bp-asm.h.
31835         (S1): Likewise.
31836         (S2): Likewise.
31837         (SIZE): Likewise.
31838         (__mpn_add_n): Do not use BP_SYM
31839         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31840         "bp-asm.h".
31841         (PARMS): Do not use macros from bp-asm.h.
31842         (S1): Likewise.
31843         (SIZE): Likewise.
31844         (__mpn_addmul_1): Do not use BP_SYM
31845         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31846         "bp-asm.h".
31847         (PARMS): Do not use macros from bp-asm.h.
31848         (SIGMSK): Likewise.
31849         (_setjmp): Likewise.  Do not use BP_SYM.
31850         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31851         "bp-asm.h".
31852         (PARMS): Do not use macros from bp-asm.h.
31853         (SIGMSK): Likewise.
31854         (setjmp): Likewise.  Do not use BP_SYM.
31855         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31856         "bp-asm.h".
31857         (PARMS): Do not use macros from bp-asm.h.
31858         (__frexp): Do not use BP_SYM.
31859         (frexp): Likewise.
31860         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31861         "bp-asm.h".
31862         (PARMS): Do not use macros from bp-asm.h.
31863         (__frexpf): Do not use BP_SYM.
31864         (frexpf): Likewise.
31865         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31866         "bp-asm.h".
31867         (PARMS): Do not use macros from bp-asm.h.
31868         (__frexpl): Do not use BP_SYM.
31869         (frexpl): Likewise.
31870         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31871         "bp-asm.h".
31872         (PARMS): Do not use macros from bp-asm.h.
31873         (__remquo): Do not use BP_SYM.
31874         (remquo): Likewise.
31875         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31876         "bp-asm.h".
31877         (PARMS): Do not use macros from bp-asm.h.
31878         (__remquof): Do not use BP_SYM.
31879         (remquof): Likewise.
31880         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31881         "bp-asm.h".
31882         (PARMS): Do not use macros from bp-asm.h.
31883         (__remquol): Do not use BP_SYM.
31884         (remquol): Likewise.
31885         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31886         "bp-asm.h".
31887         (PARMS): Do not use macros from bp-asm.h.
31888         (DEST): Likewise.
31889         (SRC): Likewise.
31890         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31891         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31892         "bp-asm.h".
31893         (PARMS): Do not use macros from bp-asm.h.
31894         (strlen): Do not use BP_SYM.
31895         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31896         "bp-asm.h".
31897         (PARMS): Do not use macros from bp-asm.h.
31898         (S1): Likewise.
31899         (S2): Likewise.
31900         (SIZE): Likewise.
31901         (__mpn_add_n): Do not use BP_SYM.
31902         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31903         "bp-asm.h".
31904         (PARMS): Do not use macros from bp-asm.h.
31905         (S1): Likewise.
31906         (SIZE): Likewise.
31907         (__mpn_addmul_1): Do not use BP_SYM.
31908         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31909         weak_alias.
31910         (bzero): Likewise.
31911         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31912         "bp-asm.h".
31913         (PARMS): Do not use macros from bp-asm.h.
31914         (S): Likewise.
31915         (SIZE): Likewise.
31916         (__mpn_lshift): Do not use BP_SYM.
31917         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31918         "bp-asm.h".
31919         (PARMS): Do not use macros from bp-asm.h.
31920         (DEST): Likewise.
31921         (SRC): Likewise.
31922         (LEN): Likewise.
31923         (memcpy): Likewise.  Do not use BP_SYM.
31924         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31925         libc_hidden_def and weak_alias.
31926         (mempcpy): Do not use BP_SYM in weak_alias.
31927         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31928         "bp-asm.h".
31929         (PARMS): Do not use macros from bp-asm.h.
31930         (DEST): Likewise.
31931         (LEN): Likewise.
31932         [!BZERO_P] (CHR): Likewise.
31933         (memset): Likewise.  Do not use BP_SYM.
31934         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31935         "bp-asm.h".
31936         (PARMS): Do not use macros from bp-asm.h.
31937         (S1): Likewise.
31938         (SIZE): Likewise.
31939         (__mpn_mul_1): Do not use BP_SYM.
31940         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31941         "bp-asm.h".
31942         (PARMS): Do not use macros from bp-asm.h.
31943         (S): Likewise.
31944         (SIZE): Likewise.
31945         (__mpn_rshift): Do not use BP_SYM.
31946         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31947         "bp-asm.h".
31948         (PARMS): Do not use macros from bp-asm.h.
31949         (STR): Likewise.
31950         (CHR): Likewise.
31951         (strchr): Likewise.  Do not use BP_SYM.
31952         (index): Do not use BP_SYM in weak_alias.
31953         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31954         "bp-asm.h".
31955         (PARMS): Do not use macros from bp-asm.h.
31956         (DEST): Likewise.
31957         (SRC): Likewise.
31958         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31959         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31960         "bp-asm.h".
31961         (PARMS): Do not use macros from bp-asm.h.
31962         (strlen): Do not use BP_SYM.
31963         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31964         "bp-asm.h".
31965         (PARMS): Do not use macros from bp-asm.h.
31966         (S1): Likewise.
31967         (S2): Likewise.
31968         (SIZE): Likewise.
31969         (__mpn_sub_n): Do not use BP_SYM.
31970         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31971         "bp-asm.h".
31972         (PARMS): Do not use macros from bp-asm.h.
31973         (S1): Likewise.
31974         (SIZE): Likewise.
31975         (__mpn_submul_1): Do not use BP_SYM.
31976         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31977         "bp-asm.h".
31978         (PARMS): Do not use macros from bp-asm.h.
31979         (S1): Likewise.
31980         (S2): Likewise.
31981         (SIZE): Likewise.
31982         (__mpn_add_n): Do not use BP_SYM.
31983         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31984         weak_alias.
31985         (bzero): Likewise.
31986         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31987         "bp-asm.h".
31988         (PARMS): Do not use macros from bp-asm.h.
31989         (BLK2): Likewise.
31990         (LEN): Likewise.
31991         (memcmp): Do not use BP_SYM.
31992         (bcmp): Do not use BP_SYM in weak_alias.
31993         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31994         "bp-asm.h".
31995         (PARMS): Do not use macros from bp-asm.h.
31996         (DEST): Likewise.
31997         (SRC): Likewise.
31998         (LEN): Likewise.
31999         (memcpy): Likewise.  Do not use BP_SYM.
32000         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32001         "bp-asm.h".
32002         (PARMS): Do not use macros from bp-asm.h.
32003         (DEST): Likewise.
32004         (SRC): Likewise.
32005         (LEN): Likewise.
32006         (memmove): Likewise.  Do not use BP_SYM.
32007         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32008         "bp-asm.h".
32009         (PARMS): Do not use macros from bp-asm.h.
32010         (DEST): Likewise.
32011         (SRC): Likewise.
32012         (LEN): Likewise.
32013         (__mempcpy): Likewise.  Do not use BP_SYM.
32014         (mempcpy): Do not use BP_SYM in weak_alias.
32015         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32016         "bp-asm.h".
32017         (PARMS): Do not use macros from bp-asm.h.
32018         (DEST): Likewise.
32019         (LEN): Likewise.
32020         [!BZERO_P] (CHR): Likewise.
32021         (memset): Likewise.  Do not use BP_SYM.
32022         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32023         "bp-asm.h".
32024         (PARMS): Do not use macros from bp-asm.h.
32025         (STR2): Likewise.
32026         (strcmp): Do not use BP_SYM.
32027         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32028         "bp-asm.h".
32029         (PARMS): Do not use macros from bp-asm.h.
32030         (STR): Likewise.
32031         (DELIM): Likewise.
32032         [USE_AS_STRTOK_R] (SAVE): Likewise.
32033         (FUNCTION): Likewise.  Do not use BP_SYM.
32034         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32035         aliases.
32036         (strtok_r): Likewise.
32037         (__GI___strtok_r): Likewise.
32038         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32039         (PARMS): Do not use macros from bp-asm.h.
32040         (S): Likewise.
32041         (SIZE): Likewise.
32042         (__mpn_lshift): Do not use BP_SYM.
32043         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32044         (PARMS): Do not use macros from bp-asm.h.
32045         (STR): Likewise.
32046         (CHR): Likewise.
32047         (__memchr): Do not use BP_SYM.
32048         (memchr): Do not use BP_SYM in weak_alias.
32049         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32050         (PARMS): Do not use macros from bp-asm.h.
32051         (BLK2): Likewise.
32052         (LEN): Likewise.
32053         (memcmp): Do not use BP_SYM.
32054         (bcmp): Do not use BP_SYM in weak_alias.
32055         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32056         (PARMS): Do not use macros from bp-asm.h.
32057         (S1): Likewise.
32058         (SIZE): Likewise.
32059         (__mpn_mul_1): Do not use BP_SYM.
32060         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32061         "bp-asm.h".
32062         (PARMS): Do not use macros from bp-asm.h.
32063         (STR): Likewise.
32064         (CHR): Likewise.
32065         (__rawmemchr): Do not use BP_SYM.
32066         (rawmemchr): Do not use BP_SYM in weak_alias.
32067         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32068         (PARMS): Do not use macros from bp-asm.h.
32069         (S): Likewise.
32070         (SIZE): Likewise.
32071         (__mpn_rshift): Do not use BP_SYM.
32072         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32073         (PARMS): Do not use macros from bp-asm.h.
32074         (SIGMSK): Likewise.
32075         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32076         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32077         (_start): Do not use BP_SYM.
32078         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32079         (PARMS): Do not use macros from bp-asm.h.
32080         (DEST): Likewise.
32081         (SRC): Likewise.
32082         (__stpcpy): Likewise.  Do not use BP_SYM.
32083         (stpcpy): Do not use BP_SYM in weak_alias.
32084         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32085         "bp-asm.h".
32086         (PARMS): Do not use macros from bp-asm.h.
32087         (DEST): Likewise.
32088         (SRC): Likewise.
32089         (LEN): Likewise.
32090         (__stpncpy): Likewise.  Do not use BP_SYM.
32091         (stpncpy): Do not use BP_SYM in weak_alias.
32092         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32093         (PARMS): Do not use macros from bp-asm.h.
32094         (STR): Likewise.
32095         (CHR): Likewise.
32096         (strchr): Likewise.  Do not use BP_SYM.
32097         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32098         "bp-asm.h".
32099         (PARMS): Do not use macros from bp-asm.h.
32100         (STR): Likewise.
32101         (CHR): Likewise.
32102         (__strchrnul): Likewise.  Do not use BP_SYM.
32103         (strchrnul): Do not use BP_SYM in weak_alias.
32104         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32105         "bp-asm.h".
32106         (PARMS): Do not use macros from bp-asm.h.
32107         (STOP): Likewise.
32108         (strcspn): Do not use BP_SYM.
32109         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32110         "bp-asm.h".
32111         (PARMS): Do not use macros from bp-asm.h.
32112         (STR): Likewise.
32113         (STOP): Likewise.
32114         (strpbrk): Likewise.  Do not use BP_SYM.
32115         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32116         "bp-asm.h".
32117         (PARMS): Do not use macros from bp-asm.h.
32118         (STR): Likewise.
32119         (CHR): Likewise.
32120         (strrchr): Likewise.  Do not use BP_SYM.
32121         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32122         (PARMS): Do not use macros from bp-asm.h.
32123         (SKIP): Likewise.
32124         (strspn): Do not use BP_SYM.
32125         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32126         (PARMS): Do not use macros from bp-asm.h.
32127         (STR): Likewise.
32128         (DELIM): Likewise.
32129         (SAVE): Likewise.
32130         (FUNCTION): Likewise.  Do not use BP_SYM.
32131         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32132         aliases.
32133         (strtok_r): Likewise.
32134         (__GI___strtok_r): Likewise.
32135         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32136         (PARMS): Do not use macros from bp-asm.h.
32137         (S1): Likewise.
32138         (S2): Likewise.
32139         (SIZE): Likewise.
32140         (__mpn_sub_n): Do not use BP_SYM.
32141         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32142         "bp-asm.h".
32143         (PARMS): Do not use macros from bp-asm.h.
32144         (S1): Likewise.
32145         (SIZE): Likewise.
32146         (__mpn_submul_1): Do not use BP_SYM.
32147         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32148         <bp-sym.h>.
32149         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32150         and <bp-asm.h>.
32151         (PARMS): Do not use macros from bp-asm.h.
32152         (FLAGS): Likewise.
32153         (PTID): Likewise.
32154         (TLS): Likewise.
32155         (CTID): Likewise.
32156         (__clone): Do not use BP_SYM.
32157         (clone): Do not use BP_SYM in weak_alias.
32158         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32159         and <bp-asm.h>.
32160         (PARMS): Do not use macros from bp-asm.h.
32161         (LEN): Likewise.
32162         (__mmap64): Do not use BP_SYM.
32163         (mmap64): Do not use BP_SYM in weak_alias.
32164         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32165         <bp-sym.h> and <bp-asm.h>.
32166         (PARMS): Do not use macros from bp-asm.h.
32167         (__posix_fadvise64_l64): Do not use BP_SYM.
32168         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32169         (PARMS): Do not use macros from bp-asm.h.
32170         (NSOPS): Likewise.
32171         (semtimedop): Do not use BP_SYM.
32172         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32173         and <bp-asm.h>.
32175 2013-02-21  Allan McRae  <allan@archlinux.org>
32177         * manual/message.texi (Charset conversion in gettext):
32178         Move @end statement to beginning of line.
32180 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32183         static.
32184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32185         Likewise.
32187         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32188         (denorm): Likewise.
32189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32192 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32194         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32195         tail-call to the resolved function if pltexit isn't needed.
32197 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32200         or Y being zero as being unlikely.
32201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32202         Likewise.
32204 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32206         * manual/nss.texi (System Databases and Name Service Switch):
32207         Remove frobnicate @pxref.
32209 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32211         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32212         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32214 2013-02-20  Petr Machata  <pmachata@redhat.com>
32216         * elf/elf.h (R_ARM_TARGET1): New macro.
32217         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32218         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32219         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32220         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32221         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32222         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32223         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32224         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32225         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32226         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32227         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32228         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32229         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32230         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32231         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32232         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32233         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32234         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32235         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32236         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32237         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32238         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32239         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32240         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32241         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32242         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32243         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32244         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32245         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32246         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32247         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32248         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32249         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32250         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32251         (R_ARM_THM_GOT_BREL12): Likewise.
32252         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32253         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32254         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32255         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32256         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32257         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32258         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32259         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32260         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32262 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32264         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32265         __attribute_used__ to __attribute__ ((unused)).
32267 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32269         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32270         powerpc mpa.c.
32271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32272         comment formatting.
32273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32275 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32277         [BZ #13550]
32278         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32279         Remove macro.
32280         (ENTER): Remove both macro definitions.
32281         (LEAVE): Likewise.
32282         (CHECK_BOUNDS_LOW): Likewise.
32283         (CHECK_BOUNDS_HIGH): Likewise.
32284         (CHECK_BOUNDS_BOTH): Likewise.
32285         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32286         (RETURN_BOUNDED_POINTER): Likewise.
32287         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32288         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32289         (POP_ERRNO_LOCATION_RETURN): Likewise.
32290         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32291         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32292         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32293         macros.
32294         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32295         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32296         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32297         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32298         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32299         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32300         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32301         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32302         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32303         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32304         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32305         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32306         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32307         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32308         removed macros.
32309         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32310         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32311         macros.
32312         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32313         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32314         * sysdeps/i386/i586/memset.S (memset): Likewise.
32315         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32316         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32317         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32318         macros.
32319         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32320         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32321         Change uses of L(2) to L(out).
32322         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32323         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32324         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32325         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32326         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32327         removed macros.
32328         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32329         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32330         macros.
32331         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32332         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32333         (RETURN): Do not use macro LEAVE.
32334         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32335         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32336         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32337         * sysdeps/i386/i686/memset.S (memset): Likewise.
32338         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32339         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32340         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32341         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32342         Likewise.
32343         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32344         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32345         L(1_2) and L(1_3) into L(1).
32346         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32347         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32348         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32349         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32350         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32351         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32352         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32353         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32354         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32355         macros.
32356         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32357         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32358         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32359         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32360         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32361         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32362         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32363         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32364         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32365         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32366         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32367         * sysdeps/i386/strspn.S (strspn): Likewise.
32368         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32369         conditional code.
32370         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32371         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32372         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32373         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32374         L(1_3) into L(1_1).
32375         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32376         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32377         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32378         macros.
32379         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32381 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32383         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32384         macro.
32386 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32388         * math/atest-exp.c (exp_mpn): Remove ROUND.
32389         * math/atest-exp2.c (exp_mpn): Likewise.
32390         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32392         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32393         * stdlib/tst-tls-atexit-lib.c: Likewise.
32394         * stdlib/tst-tls-atexit.c: Likewise.
32396 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32398         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32399         and __attribute_alloc_size__.
32401 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32403         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32404         __attribute_alloc_size__.
32405         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32406         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32408 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32410         * include/programs/xmalloc.h: New file.
32411         * catgets/gencat.c: Include it.
32412         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32413         * elf/pldd.c: Likewise.
32414         * iconv/iconv_charmap.c: Likewise.
32415         * iconv/iconvconfig.c: Likewise.
32416         * iconv/strtab.c: Likewise.
32417         * locale/programs/locale.c: Likewise.
32418         * locale/programs/localedef.h: Likewise.
32419         * locale/programs/simple-hash.c: Likewise.
32420         * nscd/nscd.h: Likewise.
32421         * nss/makedb.c: Likewise.
32422         * sysdeps/generic/ldconfig.h: Likewise.
32424 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32426         * Versions.def: Add GLIBC_2.18.
32427         * include/link.h (struct link_map): New member l_tls_dtor_count.
32428         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32429         (__call_tls_dtors): Likewise.
32430         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32431         __cxa_thread_atexit_impl.
32432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32433         Likewise.
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32435         Likewise.
32436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32437         Likewise.
32438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32439         Likewise.
32440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32442         Likewise.
32443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32444         Likewise.
32445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32447         Likewise.
32448         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32449         (tests): Add test case tst-tls-atexit.
32450         (modules-names): Add shared library for tst-tls-atexit.
32451         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32452         (GLIBC_PRIVATE): Add __call_tls_dtors.
32453         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32454         for libstdc++.
32455         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32456         * stdlib/tst-tls-atexit.c: New test case.
32457         * stdlib/tst-tls-atexit-lib.c: New test case.
32459         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32461         * elf/Versions (ld): Add _dl_find_dso_for_object.
32462         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32463         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32464         (dl_open_worker): Use _dl_find_dso_for_object.
32465         * elf/dl-sym.c (do_sym): Likewise.
32466         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32468 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32470         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32471         Syntactic changes only.
32472         (_dl_runtime_profile): Do a tail-call to the resolved function.
32474 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32476         [BZ #13550]
32477         * sysdeps/x86_64/bp-asm.h: Remove file.
32478         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32479         <bp-sym.h> and <bp-asm.h>.
32480         (__clone): Do not use BP_SYM.
32481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32482         <bp-sym.h> and <bp-asm.h>.
32483         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32484         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32485         "bp-asm.h".
32486         (_setjmp): Do not use BP_SYM.
32487         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32488         "bp-asm.h".
32489         (setjmp): Do not use BP_SYM.
32490         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32491         libc_hidden_def.
32492         (mempcpy): Do not use BP_SYM in weak_alias.
32493         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32494         "bp-asm.h".
32495         (strchr): Do not use BP_SYM.
32496         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32497         "bp-asm.h".
32498         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32499         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32500         (_start): Do not use BP_SYM.
32501         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32502         "bp-asm.h".
32503         (strcat): Do not use BP_SYM.
32504         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32505         "bp-asm.h".
32506         (STRCMP): Do not use BP_SYM.
32507         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32508         "bp-asm.h".
32509         (STRCPY): Do not use BP_SYM.
32510         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32511         "bp-asm.h".
32512         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32513         "bp-asm.h".
32514         (FUNCTION): Do not use BP_SYM.
32515         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32516         weak_alias.
32517         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32519 2013-02-17  Andreas Jaeger  <aj@suse.de>
32521         * time/Versions: Sort entries.
32522         * string/Versions: Likewise.
32523         * resolv/Versions: Likewise.
32524         * posix/Versions: Likewise.
32525         * iconv/Versions: Likewise.
32526         * elf/Versions: Likewise.
32527         * wcsmbs/Versions: Likewise.
32529 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32531         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32532         loop termination condition.
32534         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32535         variable to calculate EZ.
32536         (__sqr): Likewise.
32538         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32539         the lower precision input.
32541 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32543         [BZ #13550]
32544         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32545         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32546         (run-via-rtld-prefix): Do not handle %-bp tests.
32547         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32548         (all-object-suffixes): Remove .ob.
32549         (bppfx): Remove variable.
32550         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32551         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32552         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32553         [$(build-bounded) = yes] (libtype.ob): Likewise.
32554         * Makerules (elide-routines.ob): Remove variable.
32555         (do-tests-clean): Do not handle *-bp.out.
32556         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32557         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32558         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32559         (tests): Do not include $(tests-bp.out).
32560         (xtests): Do not include $(xtests-bp.out).
32561         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32562         [$(build-bounded) = yes] ($(addprefix
32563         $(objpfx),$(binaries-bounded))): Remove rule.
32564         ($(objpfx)%-bp.out): Remove rule.
32565         * config.make.in (build-bounded): Remove variable.
32566         * crypt/Makefile [$(build-bounded) = yes]
32567         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32568         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32569         append to variable.
32570         [$(build-bounded) = yes] (install-lib): Likewise.
32571         [$(build-bounded) = yes] (generated): Likewise.
32572         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32573         Remove rule.
32574         * intl/Makefile [$(build-bounded) = yes]
32575         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32576         * math/Makefile [$(build-bounded) = yes]
32577         ($(tests:%=$(objpfx)%-bp): Likewise.
32578         * misc/Makefile [$(build-bounded) = yes]
32579         ($(objpfx)tst-tsearch-bp): Likewise.
32580         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32581         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32582         Remove dependency.
32583         * string/Makefile (o-objects.ob): Remove variable.
32584         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32585         (CFLAGS-.ob): Remove variable.
32586         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32587         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32588         both definitions of variable.
32589         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32590         (ASFLAGS-.ob): Remove variable.
32592 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32594         [BZ #13550]
32595         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32596         Remove __BOUNDED_POINTERS__ from condition.
32597         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32598         * string/bits/string2.h [!__NO_STRING_INLINES &&
32599         !__BOUNDED_POINTERS__]: Likewise.
32600         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32601         Likewise.
32602         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32603         Remove conditional code.
32604         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32605         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32606         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32607         condition.
32609         [BZ #13550]
32610         * csu/libc-start.c: Do not include <bp-sym.h>.
32611         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32612         * elf/dl-open.c: Do not include <bp-sym.h>.
32613         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32614         * math/fegetenv.c: Do not include <bp-sym.h>.
32615         (fegetenv): Do not use BP_SYM in versioned symbols.
32616         * nptl/sysdeps/pthread/bits/libc-lockP.h
32617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32618         <bp-sym.h>.
32619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32620         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32622         (__pthread_mutex_destroy): Likewise.
32623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32624         (__pthread_mutex_lock): Likewise.
32625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32626         (__pthread_mutex_trylock): Likewise.
32627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32628         (__pthread_mutex_unlock): Likewise.
32629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32630         (__pthread_mutexattr_init): Likewise.
32631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32632         (__pthread_mutexattr_destroy): Likewise.
32633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32634         (__pthread_mutexattr_settype): Likewise.
32635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32636         (__pthread_rwlock_init): Likewise.
32637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32638         (__pthread_rwlock_destroy): Likewise.
32639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32640         (__pthread_rwlock_rdlock): Likewise.
32641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32642         (__pthread_rwlock_tryrdlock): Likewise.
32643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32644         (__pthread_rwlock_wrlock): Likewise.
32645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32646         (__pthread_rwlock_trywrlock): Likewise.
32647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32648         (__pthread_rwlock_unlock): Likewise.
32649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32650         (__pthread_key_create): Likewise.
32651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32652         (__pthread_setspecific): Likewise.
32653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32654         (__pthread_getspecific): Likewise.
32655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32656         Likewise.
32657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32658         (_pthread_cleanup_push_defer): Likewise.
32659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32660         (_pthread_cleanup_pop_restore): Likewise.
32661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32662         (pthread_setcancelstate): Likewise.
32663         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32664         <bp-sym.h>.
32665         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32666         (memchr): Do not use BP_SYM in weak_alias.
32667         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32668         (fegetenv): Do not use BP_SYM in versioned symbols.
32669         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32670         (fesetenv): Do not use BP_SYM in versioned symbols.
32671         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32672         (feupdateenv): Do not use BP_SYM in versioned symbols.
32673         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32674         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32675         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32676         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32677         (open64): Do not use BP_SYM in weak_alias.
32678         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32679         (fegetenv): Do not use BP_SYM in versioned symbols.
32680         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32681         (fesetenv): Do not use BP_SYM in versioned symbols.
32682         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32683         (feupdateenv): Do not use BP_SYM in versioned symbols.
32684         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32685         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32686         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32687         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32688         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32689         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32690         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32691         <bp-sym.h>.
32692         (__libc_start_main): Do not use BP_SYM.
32694 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32697         redundant return line.
32698         (norm): Likewise.
32699         (denorm): Likewise.
32700         (dbl_mp): Likewise.
32701         (sub_magnitudes): Likewise.
32702         (__add): Likewise.
32703         (__sub): Likewise.
32704         (__mul): Likewise.
32705         (__inv): Likewise.
32706         (__dvd): Likewise.
32707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32708         (norm): Likewise.
32709         (denorm): Likewise.
32710         (dbl_mp): Likewise.
32711         (sub_magnitudes): Likewise.
32712         (__add): Likewise.
32713         (__sub): Likewise.
32714         (__mul): Likewise.
32715         (__inv): Likewise.
32716         (__dvd): Likewise.
32718         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32719         instead of __mul.
32720         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32721         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32722         (cc32): Likewise.
32724         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32725         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32727         of __mul for squares.
32728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32729         function
32730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32731         Likewise.
32732         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32733         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32735 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32737         [BZ #13550]
32738         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32739         code.
32740         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32741         prototype or function definition.  Rename ubp_* variables and
32742         parameters.  Remove argv definitions conditional on
32743         [__BOUNDED_POINTERS__].
32744         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32745         * elf/dl-runtime.c (_dl_fixup): Likewise.
32746         * include/set-hooks.h (RUN_HOOK): Likewise.
32747         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32748         definition.
32749         * string/strcpy.c (strcpy): Do not use __unbounded.
32750         * sysdeps/generic/frame.h (struct layout): Likewise.
32751         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32752         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32753         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32754         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32755         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32756         (__backtrace): Likewise.
32757         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32758         use __ptrvalue.
32759         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32760         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32761         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32762         Likewise.
32763         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32764         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32765         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32766         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32767         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32768         Do not use __unbounded.
32769         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32770         Rename __unboundedrlimits parameter to rlimits in prototype.
32771         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32772         Do not use __unbounded.
32773         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32774         not use __ptrvalue.
32775         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32776         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32777         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32778         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32779         __ptrvalue or __unbounded.
32780         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32781         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32782         use __unbounded.
32783         (__new_msgctl): Do not use __ptrvalue.
32784         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32785         __unbounded.
32786         (__libc_msgrcv): Do not use __ptrvalue.
32787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32788         startup_info): Do not use __unbounded.
32789         (__libc_start_main): Likewise.  Rename ubp_* variables and
32790         parameters.  Remove argv definitions conditional on
32791         [__BOUNDED_POINTERS__].
32792         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32793         __ptrvalue.
32794         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32795         use __unbounded.
32796         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32797         or __ptrvalue.
32798         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32799         use __unbounded.
32800         (__new_shmctl): Do not use __ptrvalue.
32801         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32802         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32803         Likewise.
32804         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32805         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32806         (__libc_sigaction): Likewise.
32807         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32808         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32809         Likewise.
32810         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32812 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32814         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32816         * string/mempcpy.c: Implement by calling memcpy.
32818 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32823         evaluation.
32825         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32826         values in the mantissa.
32828         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32829         minimize writes to Z.
32830         (sub_magnitudes): Simplify code a bit.
32832 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32834         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32835         from the message.  The linker prefixes all warnings with that already.
32837 2013-02-12  Andreas Schwab  <schwab@suse.de>
32839         [BZ #15078]
32840         * posix/regexec.c (extend_buffers): Add parameter min_len.
32841         (check_matching): Pass minimum needed length.
32842         (clean_state_log_if_needed): Likewise.
32843         (get_subexp): Likewise.
32844         * posix/Makefile (tests): Add bug-regex34.
32845         (bug-regex34-ENV): Define.
32846         * posix/bug-regex34.c: New file.
32848         [BZ #11561]
32849         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32850         elements compare against the byte sequence of it, not its name.
32851         * posix/Makefile (tests): Add bug-regex35.
32852         (bug-regex35-ENV): Define.
32853         * posix/bug-regex35.c: New file.
32855 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32857         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32858         comment.
32859         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32860         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32861         (CHECK_EOL): Add undef.
32863 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32865         * bits/stdlib-bsearch.h: New file.
32866         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32867         * stdlib/stdlib.h: Likewise.
32869 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32871         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32872         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32873         declaration.
32874         * manual/search.texi (Array Search Function): Add missing const in
32875         lfind prototype.
32876         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32877         declaration to use rlim_t.
32878         (Basic Scheduling Functions): Remove erroneous const from
32879         sched_getparam prototype.  Remove erroneous * from
32880         sched_get_priority_max and sched_get_priority_min prototypes.
32881         (Resource Usage): Fix summary @comment on vtimes to refer to
32882         sys/vtimes.h rather than vtimes.h.
32883         Add missing *s in vtimes prototype.
32884         (Limits on Resources): Fix ulimit prototype to return long int.
32885         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32886         prototypes to use long int rather than double.
32887         (BSD Random): Fix initstate and setstate to use char *, not void *.
32888         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32889         prototype to make second argument 'struct aiocb64 *const[]'.
32890         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32891         (Status of AIO Operations): Remove erroneous const in aio_return and
32892         aio_return64 prototypes.
32893         (Synchronizing I/O): Fix sync prototype to return void.
32894         * manual/startup.texi (Suboptions): Remove an erroneous const in
32895         getsubopt prototype.
32896         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32897         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32898         use size_t rather than int.
32899         (Scanning All Users): Likewise for getpwent_r.
32900         (Setting Groups): Add missing const to setgroups prototype.
32901         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32902         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32903         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32904         'const void *' rather than 'const char *'.
32905         (Host Address Functions): Likewise for inet_ntop.
32906         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32907         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32908         ssize_t for return value.
32909         (Sending Data): Likewise for send, sendto, sendmsg.
32910         (Socket Option Functions): Add a missing const in setsockopt prototype.
32911         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32912         use wchar_t for the argument.
32913         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32914         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32915         take no arguments.
32916         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32917         double/float/long double for second argument.
32918         Fix return types of significand, significandf, significandl.
32919         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32920         argument in fchmod prototype.
32921         (File Owner): Use uid_t and gid_t in fchown prototype.
32922         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32923         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32924         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32925         use 'const struct dirent **' as argument types to CMP function pointer
32926         argument.
32927         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32928         (File Times): Fix summary magic @comment for struct utimbuf and utime
32929         to refer to utime.h, not time.h.
32930         * manual/string.texi (Argz Functions): Add missing const in
32931         argz_extract and argz_next prototypes.
32932         (Finding Tokens in a String): Likewise for basename.
32933         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32934         (Copying and Concatenation): Fix typo in wmemmove prototype.
32935         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32936         (Signal Stack): Remove erroneous const in sigstack prototype.
32937         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32938         prototype.
32939         (Simple Calendar Time): Likewise for stime.
32940         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32941         prototype.
32942         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32943         say sys/sysctl.h instead.
32944         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32945         and vsyslog prototypes.
32947 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32949         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32950         Remove.
32952 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32954         * misc/sys/mman.h: Fix typo in mremap comment.
32956 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32958         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32959         the '\0' terminator.
32961 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32963         [BZ #13550]
32964         * debug/segfault.c: Don't include <bp-checks.h>.
32965         * sysdeps/generic/bp-checks.h: Remove file.
32966         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32967         (__GETDENTS): Don't use CHECK_N.
32968         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32969         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32970         (__getgroups): Don't use CHECK_N.
32971         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32972         (setgroups): Don't use CHECK_N.
32973         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32974         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32975         (__libc_msgrcv): Don't use CHECK_N.
32976         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32977         (__libc_msgsnd): Don't use CHECK_N.
32978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32979         <bp-checks.h>.
32980         (__libc_pread): Don't use CHECK_N.
32981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32982         include <bp-checks.h>.
32983         (__libc_pread64): Don't use CHECK_N.
32984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32985         include <bp-checks.h>.
32986         (__libc_pwrite): Don't use CHECK_N.
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32988         include <bp-checks.h>.
32989         (__libc_pwrite64): Don't use CHECK_N.
32990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32991         <bp-checks.h>.
32992         (__libc_pread): Don't use CHECK_N.
32993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32994         include <bp-checks.h>.
32995         (__libc_pread64): Don't use CHECK_N.
32996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32997         include <bp-checks.h>.
32998         (__libc_pwrite): Don't use CHECK_N.
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33000         include <bp-checks.h>.
33001         (__libc_pwrite64): Don't use CHECK_N.
33002         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33003         (do_pread): Don't use CHECK_N.
33004         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33005         (do_pread64): Don't use CHECK_N.
33006         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33007         (do_pwrite): Don't use CHECK_N.
33008         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33009         (do_pwrite64): Don't use CHECK_N.
33010         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33011         (__libc_readv): Don't use CHECK_N.
33012         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33013         (semop): Don't use CHECK_N.
33014         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33015         <bp-checks.h>.
33016         (semtimedop): Don't use CHECK_N.
33017         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33018         (__libc_pread): Don't use CHECK_N.
33019         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33020         <bp-checks.h>.
33021         (__libc_pread64): Don't use CHECK_N.
33022         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33023         <bp-checks.h>.
33024         (__libc_pwrite): Don't use CHECK_N.
33025         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33026         <bp-checks.h>.
33027         (__libc_pwrite64): Don't use CHECK_N.
33028         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33029         <bp-checks.h>.
33030         (__libc_msgrcv): Don't use CHECK_N.
33031         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33032         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33033         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33034         (__libc_writev): Don't use CHECK_N.
33036 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33038         * string/strcpy.c: Removed unused variable.
33040         * Makeconfig (+sysdep-includes): Define with := rather than =.
33041         Use an existing include/ subdir of each sysdeps dir before it.
33043 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33045         * nscd/connection.c (register_traced_file): Comment function.
33046         [HAVE_INOTIFY] (union __inev): Define.
33047         [HAVE_INOTIFY] (inotify_check_files): New function.
33048         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33049         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33050         clear_db_cache.
33051         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33053 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33055         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33056         loaded if not already and that a failure is permanent.
33058 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33060         [BZ #15006]
33061         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33062         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33064 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33066         [BZ #13550]
33067         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33068         (CHECK_1_NULL_OK): Likewise.
33069         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33070         (__fxstat): Do not use CHECK_1.
33071         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33072         <bp-checks.h>.
33073         (___fxstat64): Do not use CHECK_1.
33074         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33075         <bp-checks.h>.
33076         (__fxstatat): Do not use CHECK_1.
33077         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33078         <bp-checks.h>.
33079         (__fxstatat64): Do not use CHECK_1.
33080         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33081         <bp-checks.h>.
33082         (__fxstat): Do not use CHECK_1.
33083         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33084         <bp-checks.h>.
33085         (__fxstatat): Do not use CHECK_1.
33086         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33087         <bp-checks.h>.
33088         (__getresgid): Do not use CHECK_1.
33089         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33090         <bp-checks.h>.
33091         (__getresuid): Do not use CHECK_1.
33092         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33093         <bp-checks.h>.
33094         (__lxstat): Do not use CHECK_1.
33095         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33096         <bp-checks.h>.
33097         (__old_msgctl): Do not use CHECK_1.
33098         (__new_msgctl): Likewise.
33099         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33100         <bp-checks.h>.
33101         (__new_setrlimit): Do not use CHECK_1.
33102         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33103         <bp-checks.h>.
33104         (__old_shmctl): Do not use CHECK_1.
33105         (__new_shmctl): Likewise.
33106         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33107         <bp-checks.h>.
33108         (__xstat): Do not use CHECK_1.
33109         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33110         (__lxstat): Do not use CHECK_1.
33111         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33112         <bp-checks.h>.
33113         (___lxstat64): Do not use CHECK_1.
33114         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33115         (__old_msgctl): Do not use CHECK_1.
33116         (__new_msgctl): Likewise.
33117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33118         <bp-checks.h>.
33119         (__gettimeofday): Do not use CHECK_1.
33120         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33121         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33122         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33123         <bp-checks.h>.
33124         (__gettimeofday): Do not use CHECK_1.
33125         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33126         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33127         (__new_shmctl): Do not use CHECK_1.
33128         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33129         <bp-checks.h>.
33130         (do_sigtimedwait): Do not use CHECK_1.
33131         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33132         <bp-checks.h>.
33133         (do_sigwaitinfo): Do not use CHECK_1.
33134         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33135         <bp-checks.h>.
33136         (msgctl): Do not use CHECK_1.
33137         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33138         <bp-checks.h>.
33139         (shmctl): Do not use CHECK_1.
33140         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33141         (ustat): Do not use CHECK_1.
33142         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33143         <bp-checks.h>.
33144         (__fxstat): Do not use CHECK_1.
33145         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33146         <bp-checks.h>.
33147         (__fxstatat): Do not use CHECK_1.
33148         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33149         <bp-checks.h>.
33150         (__lxstat): Do not use CHECK_1.
33151         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33152         <bp-checks.h>.
33153         (__xstat): Do not use CHECK_1.
33154         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33155         (__xstat): Do not use CHECK_1.
33156         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33157         (___xstat64): Do not use CHECK_1.
33159         [BZ #13550]
33160         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33161         definitions.
33162         (CHECK_BOUNDS_HIGH): Likewise.
33163         * string/strcpy.c: Do not include <bp-checks.h>.
33164         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33166 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33168         * nscd/nscd-client.h (__nscd_drop_map_ref):
33169         Add __attribute__ ((unused)).
33170         * nis/nss-nisplus.h (niserr2nss): Likewise.
33172         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33173         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33175         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33176         Remove inline keyword.
33177         * include/rounding-mode.h (round_away): Likewise.
33178         * libio/wfileops.c (adjust_wide_data): Likewise.
33179         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33180         (__m128i_strloadu_tolower): Likewise.
33181         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33182         (__m128i_strloadu_tolower): Likewise.
33183         * time/mktime.c (ydhms_diff): Likewise.
33184         * locale/elem-hash.h (elem_hash): Likewise.
33185         * locale/setlocale.c (setdata): Likewise.
33186         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33187         (re_string_wchar_at): Likewise.
33188         (bitset_not, bitset_merge, bitset_mask): Likewise.
33189         [!(__GNUC__ > 3)] (inline): Remove macro.
33190         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33191         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33192         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33193         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33194         * string/memcmp.c (memcmp_bytes): Likewise.
33195         * locale/programs/locarchive.c (compute_hashval): Likewise.
33196         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33197         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33198         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33199         * nss/getent.c (print_rpc, print_protocols): Likewise.
33200         (print_passwd, print_group, print_aliases): Likewise.
33201         * nis/nss-nisplus.h (niserr2nss): Likewise.
33202         * nscd/connections.c (restart_p): Likewise.
33203         Change return type to bool.
33205 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33207         * Makeconfig (all-Depend-files): Add existing
33208         $(sorted-subdirs:=/Depend) files.
33209         (all-subdirs): Remove nss.
33210         * sysdeps/unix/inet/Subdirs: Add it here instead.
33211         * hesiod/Depend: New file.
33213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33214         instead of calling alloca.
33216         * io/lseek.c (__lseek): Rename to __libc_lseek.
33217         Define __lseek as an alias.
33219         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33221 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33223         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33224         else clause and remove check for non-standard endianness.
33226 2013-02-04  David S. Miller  <davem@davemloft.net>
33228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33230 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33232         [BZ #13550]
33233         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33234         (__ubp_memchr): Remove prototype.
33235         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33236         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33237         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33238         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33239         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33240         Remove alias.
33241         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33242         (__ubp_memchr): Likewise.
33243         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33244         (__ubp_memchr): Likewise.
33245         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33246         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33247         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33248         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33249         CHECK_STRING.
33250         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33251         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33252         (__getcwd): Do not use CHECK_STRING.
33253         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33254         <bp-checks.h>.
33255         (__real_chown): Do not use CHECK_STRING.
33256         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33257         <bp-checks.h>.
33258         (fchownat): Do not use CHECK_STRING.
33259         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33260         CHECK_STRING.
33261         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33262         <bp-checks.h>.
33263         (__lchown): Do not use CHECK_STRING.
33264         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33265         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33266         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33267         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33269         include <bp-checks.h>.
33270         (truncate64): Do not use CHECK_STRING.
33271         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33272         <bp-checks.h>.
33273         (__real_chown): Do not use CHECK_STRING.
33274         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33275         <bp-checks.h>.
33276         (__lchown): Do not use CHECK_STRING.
33277         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33278         <bp-checks.h>.
33279         (__chown): Do not use CHECK_STRING.
33280         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33281         <bp-checks.h>.
33282         (truncate64): Do not use CHECK_STRING.
33283         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33284         Likewise.
33285         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33286         (__xmknod): Do not use CHECK_STRING.
33287         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33288         <bp-checks.h>.
33289         (__xmknodat): Do not use CHECK_STRING.
33290         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33291         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33293 2013-02-04  Andreas Schwab  <schwab@suse.de>
33295         [BZ #14142]
33296         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33297         * include/netdb.h: Likewise for h_errno.
33298         * elf/tst-stackguard1.c: Include <tls.h>.
33300 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33302         * elf/link.h (struct link_map): Extend the l_addr comment.
33303         * include/link.h (struct link_map): Likewise.
33305 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33307         [BZ #13550]
33308         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33309         (BOUNDED_1): Remove macro.
33310         * debug/backtrace.c: Don't include <bp-checks.h>.
33311         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33312         (__backtrace): Likewise.
33313         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33314         <bp-checks.h>.
33315         (__backtrace): Don't use BOUNDED_1.
33316         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33317         <bp-checks.h>.
33318         (__backtrace): Don't use BOUNDED_1.
33319         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33320         (__backtrace): Don't use BOUNDED_1.
33321         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33322         (shmat): Don't use BOUNDED_N.
33324 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33326         [BZ #13550]
33327         * sysdeps/generic/bp-start.h: Remove file.
33328         * csu/libc-start.c: Don't include <bp-start.h>.
33329         (LIBC_START_MAIN): Set up __environ directly instead of using
33330         INIT_ARGV_and_ENVIRON.
33331         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33332         <bp-start.h>.
33334         [BZ #13550]
33335         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33336         definitions.
33337         (CHECK_FCNTL): Likewise.
33338         (CHECK_N_PAGES): Likewise.
33340         [BZ #13550]
33341         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33342         definitions.
33343         (CHECK_SIGSET_NULL_OK): Likewise.
33344         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33345         <bp-checks.h>.
33346         (sigpending): Don't use CHECK_SIGSET.
33347         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33348         <bp-checks.h>.
33349         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33350         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33351         <bp-checks.h>.
33352         (do_sigsuspend): Don't use CHECK_SIGSET.
33353         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33354         use CHECK_SIGSET.
33355         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33356         (do_sigwait): Don't use CHECK_SIGSET.
33357         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33358         use CHECK_SIGSET.
33359         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33360         include <bp-checks.h>.
33361         (sigpending): Don't use CHECK_SIGSET.
33362         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33363         include <bp-checks.h>.
33364         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33365         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33366         <bp-checks.h>.
33367         (sigpending): Don't use CHECK_SIGSET.
33368         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33369         <bp-checks.h>.
33370         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33372         [BZ #13550]
33373         * sysdeps/generic/bp-semctl.h: Remove file.
33374         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33375         <bp-checks.h> and <bp-semctl.h>.
33376         (__old_semctl): Don't use CHECK_SEMCTL.
33377         (__new_semctl): Likewise.
33378         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33379         and <bp-semctl.h>.
33380         (__old_semctl): Don't use CHECK_SEMCTL.
33381         (__new_semctl): Likewise.
33382         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33383         <bp-checks.h> and <bp-semctl.h>.
33384         (__old_semctl): Don't use CHECK_SEMCTL.
33385         (__new_semctl): Likewise.
33386         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33387         <bp-checks.h> and <bp-semctl.h>.
33388         (semctl): Don't use CHECK_SEMCTL.
33390         [BZ #13550]
33391         * Makerules (elide-bp-thunks): Remove variable.
33392         (elide-routines.oS): Don't use $(elide-bp-thunks).
33393         (elide-routines.os): Likewise.
33394         (elide-routines.o): Likewise.
33395         (elide-routines.op): Likewise.
33396         (elide-routines.og): Likewise.
33397         (objects): Don't use $(bp-thunks).
33398         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33399         include.
33400         (common-generated): Do not add s-proto-bp.d.
33401         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33402         (int): Likewise.
33403         (typ): Likewise.
33404         Do not generate makefile rules for bounded-pointer thunks.
33405         * sysdeps/generic/bp-thunks.h: Remove file.
33406         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33407         * sysdeps/unix/s-proto-bp.S: Likewise.
33409         [BZ #15062]
33410         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33411         parts of result separately when argument is not close to line from
33412         -i to i and one part of argument is small.
33413         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33414         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33415         * math/libm-test.inc (cacos_test): Add more tests.
33416         (casin_test): Likewise.
33417         (casinh_test): Likewise.
33418         * sysdeps/i386/fpu/libm-test-ulps: Update.
33419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33421 2013-01-31  David S. Miller  <davem@davemloft.net>
33423         * po/de.po: Update from translation team.
33425 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33427         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33429 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33431         * configure.in (_AC_PROG_CC_C89): New definition.
33432         * configure: Regenerate.
33434         * configure.in (AC_PROG_CPP): New definition.
33435         * configure: Regenerate.
33437 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33439         * debug/tst-backtrace.h: New file.
33440         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33441         (ret): Remove variable.
33442         (x): Likewise.
33443         (FAIL): Remove macro.
33444         (NO_INLINE): Likewise.
33445         (fn1): Use match function instead of strstr.
33446         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33447         (ret): Remove variable.
33448         (x): Likewise.
33449         (FAIL): Remove macro.
33450         (NO_INLINE): Likewise.
33451         (fn): Use match function instead of strstr.
33452         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33453         (ret): Remove variable.
33454         (x): Likewise.
33455         (FAIL): Remove macro.
33456         (NO_INLINE): Likewise.
33457         (handle_signal): Use match function instead of strstr.
33458         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33459         (ret): Remove variable.
33460         (x): Likewise.
33461         (FAIL): Remove macro.
33462         (NO_INLINE): Likewise.
33463         (handle_signal): Use match function instead of strstr.
33465 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33467         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33469 2013-01-23  David S. Miller  <davem@davemloft.net>
33471         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33472         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33473         argument of CAS if possible.
33474         * sysdeps/sparc/sparc64/bits/atomic.h
33475         (__arch_compare_and_exchange_val_32_acq): Likewise.
33476         (__arch_compare_and_exchange_val_64_acq): Likewise.
33478 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33480         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33481         * sysdeps/posix/ulimit.c: ... this.
33482         Include <limits.h>.
33483         * sysdeps/unix/bsd/ulimit.c: Remove file.
33485 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33487         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33488         (LDFLAGS-tst-array5): Likewise.
33490 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33492         [BZ #15036]
33493         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33494         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33495         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33496         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33498 2013-01-21  David S. Miller  <davem@davemloft.net>
33500         * sysdeps/sparc/backtrace.c: New file.
33501         * sysdeps/sparc/sparc32/backtrace.h: New file.
33502         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33503         * sysdeps/sparc/sparc64/backtrace.h: New file.
33504         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33505         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33506         -funwind-tables.
33508 2013-01-21  Andreas Schwab  <schwab@suse.de>
33510         [BZ #15020]
33511         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33512         closed its stdout.
33514 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33517         "mpa2.h".
33518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33520 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33521             Mark Mitchell  <mark@codesourcery.com>
33522             Tom de Vries  <tom@codesourcery.com>
33523             Paul Pluzhnikov  <ppluzhnikov@google.com>
33525         * debug/tst-backtrace2.c: New file.
33526         * debug/tst-backtrace3.c: Likewise.
33527         * debug/tst-backtrace4.c: Likewise.
33528         * debug/tst-backtrace5.c: Likewise.
33529         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33530         (CFLAGS-tst-backtrace3.c): Likewise.
33531         (CFLAGS-tst-backtrace4.c): Likewise.
33532         (CFLAGS-tst-backtrace5.c): Likewise.
33533         (LDFLAGS-tst-backtrace2): Likewise.
33534         (LDFLAGS-tst-backtrace3): Likewise.
33535         (LDFLAGS-tst-backtrace4): Likewise.
33536         (LDFLAGS-tst-backtrace5): Likewise.
33537         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33538         tst-backtrace4 and tst-backtrace5.
33540 2013-01-18  Anton Blanchard  <anton@samba.org>
33541             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33543         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33544         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33545         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33546         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33548         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33549         "+r" and remove output regs list as redundant.  Add explicit inline
33550         asm to specify register of return val to work around compiler codegen
33551         bug.  Remove (int) cast on return value.  Add return type parameter to
33552         use in macro so that this macro does not truncate return value for
33553         64-bit values.
33554         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33555         pass to INTERNAL_VSYSCALL_NCS.
33556         (INLINE_VSYSCALL): Add 'long int' as return type to
33557         INTERNAL_VSYSCALL_NCS macro invocation.
33558         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33559         INTERNAL_VSYSCALL_NCS macro invocation.
33560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33562 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33564         [BZ #14496]
33565         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33566         Fix application of SIMD FP exception mask.
33568         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33569         mp_no from a power of two.
33570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33571         __mpexp_twomm1.  Use __pow_mp.
33573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33574         multiplication.
33576 2013-01-17  David S. Miller  <davem@davemloft.net>
33578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33580 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33582         [BZ #15023]
33583         * include/complex.h: Condition contents on [!_COMPLEX_H].
33584         (__kernel_casinhf): New prototype.
33585         (__kernel_casinh): Likewise.
33586         (__kernel_casinhl): Likewise.
33587         * math/Makefile (libm_calls): Add k_casinh.
33588         * math/k_casinh.c: New file.
33589         * math/k_casinhf.c: Likewise.
33590         * math/k_casinhl.c: Likewise.
33591         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33592         finite nonzero arguments.
33593         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33594         finite nonzero arguments.
33595         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33596         finite nonzero arguments.
33597         * math/s_casinh.c: Do not include <float.h>.
33598         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33599         * math/s_casinhf.c: Do not include <float.h>.
33600         (__casinhf): Move code for finite nonzero arguments to
33601         k_casinhf.c.
33602         * math/s_casinhl.c: Do not include <float.h>.
33603         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33604         redefine.
33605         (__casinhl): Move code for finite nonzero arguments to
33606         k_casinhl.c.
33607         * math/libm-test.inc (cacos_test): Add more tests.
33608         * sysdeps/i386/fpu/libm-test-ulps: Update.
33609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33611 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33613         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33614         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33615         [!HAVE_MREMAP]: Remove [defined linux] case.
33616         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33618 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33620         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33622 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33624         * elf/elf.h (R_386_SIZE32): New relocation.
33625         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33626         R_386_SIZE32.
33627         (elf_machine_rela): Likewise.
33628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33629         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33631 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33633         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33634         (FP_FAST_FMA): Do not define.
33635         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33636         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33637         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33638         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33639         !_SOFT_FLOAT]: Likewise.
33640         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33641         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33642         value.
33643         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33644         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33645         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33646         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33647         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33648         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33649         file.
33651 2013-01-16  Andreas Schwab  <schwab@suse.de>
33653         [BZ #14327]
33654         * include/stdlib.h (__mktemp): Add declaration.
33655         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33656         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33658 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33660         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33661         definitions.
33662         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33663         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33664         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33665         definitions here.
33666         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33667         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33668         definitions.
33669         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33670         and ONE.
33671         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33672         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33673         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33674         definitions.
33675         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33676         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33677         definitions.
33678         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33680         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33682 2013-01-15  David S. Miller  <davem@davemloft.net>
33684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33685         trunc{,f} to libm-sysdep_routes.
33686         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33688         file.
33689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33691         file.
33692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33693         file.
33694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33696         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33697         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33698         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33699         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33700         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33701         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33704         nearbyint{,f} to libm-sysdep_routes.
33705         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33707         New file.
33708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33709         file.
33710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33711         New file.
33712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33713         file.
33714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33716         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33717         file.
33718         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33719         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33720         file.
33721         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33722         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33723         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33725         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33726         libc_feholdexcept and libc_fesetenv.
33728 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33730         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33732 2013-01-14  David S. Miller  <davem@davemloft.net>
33734         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33735         (SPARC_ASM_VIS2_IFUNC): Likewise.
33736         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33738         use of 'siam' instruction.
33739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33740         Likewise.
33741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33742         Likewise.
33743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33744         Likewise.
33745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33750         file.
33751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33752         file.
33753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33754         file.
33755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33756         file.
33757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33758         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33762         new VIS2 routines.
33763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33766         Likewise.
33767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33772         routines to libm-sysdep_routines.
33773         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33776         fdim/fdimf to libm-sysdep_routines.
33777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33778         file.
33779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33781         file.
33782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33785         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33786         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33787         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33788         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33790 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33792         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33793         to optimize copies.
33795         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33800         local variable MPTWO.
33801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33802         Likewise.
33804 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33806         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33807         GLOB_NOESCAPE.
33809 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33811         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33813 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33815         * manual/pattern.texi (glob_t): Document gl_flags.
33816         (glob64_t): Likewise.
33818 2013-01-11  David S. Miller  <davem@davemloft.net>
33820         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33821         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33822         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33823         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33824         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33825         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33826         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33827         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33828         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33829         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33830         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33831         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33832         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33834         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33835         sparc V9 rather than using V8 code.
33836         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33837         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33839         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33840         Move to...
33841         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33842         Here.
33844 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33846         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33847         not in the main loop.
33848         * configure: Regenerated.
33850 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33852         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33853         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33854         to just #else.
33855         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33856         [!__GLIBC_HAVE_LONG_LONG] case.
33857         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33858         condition to just #else.
33859         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33860         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33861         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33862         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33863         unconditional.
33864         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33865         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33866         #elif condition to just #else.
33867         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33868         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33869         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33870         #elif condition to just #else.
33872 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33874         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33875         (EF_MIPS_ARCH_64): Fix value.
33876         (EF_MIPS_ARCH_32R2): New.
33877         (EF_MIPS_ARCH_64R2): New.
33879 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33881         * Makeconfig (+link-pie-before-libc): New.
33882         (+link-pie-after-libc): Likewise.
33883         (+link-pie-tests): Likewise.
33884         (+link-pie): Rewritten.
33885         (link-before-libc): Remove $(config-LDFLAGS).
33886         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33887         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33888         (config-LDFLAGS): Renamed to ...
33889         (rtld-LDFLAGS): This.
33890         (rtld-tests-LDFLAGS): New macro.
33891         (link-libc-rpath-link): Likewise.
33892         (link-libc-tests-rpath-link): Likewise.
33893         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33894         (link-libc): Prepand $(link-libc-rpath-link).
33895         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33896         (test-program-prefix): New macro.
33897         (test-via-rtld-prefix): Likewise.
33898         (test-program-cmd): Likewise.
33899         (host-test-program-cmd): Likewise.
33900         * Makefile ($(common-objpfx)testrun.sh): Replace
33901         $(run-program-prefix) with $(test-program-prefix).
33902         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33903         $(rtld-LDFLAGS).
33904         ($(common-objpfx)shlib.lds): Likewise.
33905         (build-module-helper): Likewise.
33906         ($(common-objpfx)format.lds): Likewise.
33907         * Rules (binaries-pie-tests): New.
33908         (binaries-pie-notests): Likewise.
33909         (binaries-pie): Rewritten.
33910         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33911         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33912         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33913         (make-test-out): Replace $(host-built-program-cmd) with
33914         $(host-test-program-cmd).
33915         * config.make.in (build-hardcoded-path-in-tests): New variable.
33916         * configure.in (--enable-hardcoded-path-in-tests): New configure
33917         option.
33918         (hardcoded_path_in_tests): New AC_SUBST.
33919         * configure: Regenerated.
33920         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33921         $(built-program-cmd) with $(test-program-cmd).
33922         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33923         (test_program_cmd): This.
33924         * elf/Makefile ($(objpfx)order.out): Run test with
33925         $(test-program-prefix).
33926         ($(objpfx)order2.out): Likewise.
33927         ($(objpfx)tst-initorder.out): Likewise.
33928         ($(objpfx)tst-initorder2.out): Likewise.
33929         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33930         $(test-program-cmd).
33931         ($(objpfx)tst-array1-static.out): Likewise.
33932         ($(objpfx)tst-array2.out): Likewise.
33933         ($(objpfx)tst-array3.out): Likewise.
33934         ($(objpfx)tst-array4.out): Likewise.
33935         ($(objpfx)tst-array5.out): Likewise.
33936         ($(objpfx)tst-array5-static.out): Likewise.
33937         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33938         $(test-program-cmd).
33939         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33940         $(run-program-prefix) with $(test-program-prefix).
33941         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33942         (test_program_prefix): This.
33943         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33944         $(run-program-prefix) with $(test-program-prefix).
33945         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33946         (test_program_prefix): This.
33947         * iconvdata/tst-tables.sh: Likewise.
33948         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33949         $(run-program-prefix) with $(test-program-prefix).
33950         ($(objpfx)tst-translit.out): Likewise.
33951         ($(objpfx)tst-gettext2.out): Likewise.
33952         ($(objpfx)tst-gettext4.out): Likewise.
33953         ($(objpfx)tst-gettext6.out): Likewise.
33954         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33955         (test_program_prefix): This.
33956         * intl/tst-gettext2.sh: Likewise.
33957         * intl/tst-gettext4.sh  Likewise.
33958         * intl/tst-gettext6.sh: Likewise.
33959         * intl/tst-translit.sh: Likewise.
33960         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33961         with $(test-program-cmd).
33962         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33963         $(run-program-prefix) with $(test-program-prefix).
33964         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33965         (test_program_prefix): This.
33966         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33967         $(run-program-prefix) with $(test-program-prefix).
33968         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33969         (test_program_prefix): This.
33970         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33971         * posix/Makefile ($(objpfx)globtest.out): Replace
33972         $(run-via-rtld-prefix) and $(test-wrapper) with
33973         $(test-program-prefix) and $(test-via-rtld-prefix).
33974         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33975         $(test-program-prefix).
33976         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33977         $(host-test-program-cmd).
33978         (tst-spawn-ARGS): Likewise.
33979         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33980         $(test-program-prefix).
33981         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33982         (test_via_rtld_prefix): This.
33983         (test_wrapper): Renamed to ...
33984         (test_program_prefix): This.
33985         (run_program_prefix): Replaced by test_program_prefix.
33986         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33987         (test_program_prefix): This.
33988         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33989         with $(host-test-program-cmd).
33990         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33991         $(run-program-prefix) with $(test-program-prefix).
33992         ($(objpfx)tst-printf.out): Likewise.
33993         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33994         $(test-program-cmd).
33995         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33996         (test_program_prefix): This.
33997         * stdio-common/tst-unbputc.sh: Likewise.
33998         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33999         $(run-program-prefix) with $(test-program-prefix).
34000         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34001         (test_program_prefix): This.
34002         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34003         $(built-program-cmd) with $(test-program-cmd).
34005 2013-01-11  Andreas Jaeger  <aj@suse.de>
34007         [BZ #15003]
34008         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34009         value. Sync with Linux 3.7.
34011 2013-01-10  David S. Miller  <davem@davemloft.net>
34013         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34014         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34015         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34017 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34019         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34020         never set.
34021         * configure: Regenerated.
34023 2013-01-10  David S. Miller  <davem@davemloft.net>
34025         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34026         sparc V9 rather than using V8 code.
34027         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34028         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34030 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34032         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34033         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34034         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34035         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34036         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34037         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34038         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34039         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34040         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34041         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34042         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34043         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34044         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34045         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34046         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34047         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34048         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34049         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34050         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34051         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34052         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34053         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34054         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34055         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34056         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34057         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34058         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34060 2013-01-10  David S. Miller  <davem@davemloft.net>
34062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34064 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34066         * posix/Makefile (tests-static): New variable.
34067         (tests): Add $(tests-static).
34068         (tst-exec-static-ARGS): New variable.
34069         (tst-spawn-static-ARGS): Likewise.
34070         * posix/tst-exec-static.c: New file.
34071         * posix/tst-spawn-static.c: Likewise.
34072         * posix/tst-exec.c: Support run directly.
34073         * posix/tst-spawn.c: Likewise.
34075 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34077         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34078         long.
34079         * math/bits/mathcalls.h (llrint): Likewise.
34080         (llround): Likewise.
34081         * stdlib/stdlib.h (struct drand48_data): Likewise.
34082         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34083         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34084         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34085         Likewise.
34086         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34087         Likewise.
34088         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34089         (elf_greg_t): Likewise.
34090         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34091         (__jmp_buf): Likewise.
34092         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34093         definitions.
34094         (llrint): Likewise, for all definitions.
34095         (llrintl): Likewise.
34097         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34098         Remove [__GNUC__] condition.
34099         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34100         condition to just [__USE_ISOC99].
34101         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34103 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34105         [BZ #14200]
34106         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34107         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34108         defined.
34109         (_POSIX_V6_ILP32_OFF32): Likewise.
34110         (_XBS5_ILP32_OFF32): Likewise.
34111         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34112         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34114 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34116         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34119         doubles __mpexp_twomm1.  Adjust usage.
34120         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34121         Remove.
34123 2013-01-10  Andreas Schwab  <schwab@suse.de>
34125         [BZ #14964]
34126         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34127         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34129 2013-01-09  David S. Miller  <davem@davemloft.net>
34131         [BZ #15003]
34132         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34133         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34134         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34135         (TCP_FASTOPEN): Define.
34136         (tcp_repair_opt): New structure.
34137         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34138         enum values.
34139         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34140         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34141         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34142         (tcp_cookie_transactions): New structure.
34144 2013-01-09  Anton Blanchard  <anton@samba.org>
34146         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34147         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34148         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34149         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34151 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34153         * include/features.h (__USE_ANSI): Remove.
34155 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34157         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34159         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34161 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34163         * sysdeps/s390/fpu/libm-test-ulps: Update.
34165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34167         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34168         (__acr): Likewise.
34169         (__cpy): Likewise.
34170         (norm): Likewise.
34171         (denorm): Likewise.
34172         (__mp_dbl): Likewise.
34173         (__dbl_mp): Likewise.
34174         (add_magnitudes): Likewise.
34175         (sub_magnitudes): Likewise.
34176         (__add): Likewise.
34177         (__sub): Likewise.
34178         (__mul): Likewise.
34179         (__inv): Likewise.
34180         (__dvd): Likewise.
34181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34182         (__acr): Likewise.
34183         (__cpy): Likewise.
34184         (norm): Likewise.
34185         (denorm): Likewise.
34186         (__mp_dbl): Likewise.
34187         (__dbl_mp): Likewise.
34188         (add_magnitudes): Likewise.
34189         (sub_magnitudes): Likewise.
34190         (__add): Likewise.
34191         (__sub): Likewise.
34192         (__mul): Likewise.
34193         (__inv): Likewise.
34194         (__dvd): Likewise.
34195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34196         (__acr): Likewise.
34197         (__cpy): Likewise.
34198         (norm): Likewise.
34199         (denorm): Likewise.
34200         (__mp_dbl): Likewise.
34201         (__dbl_mp): Likewise.
34202         (add_magnitudes): Likewise.
34203         (sub_magnitudes): Likewise.
34204         (__add): Likewise.
34205         (__sub): Likewise.
34206         (__mul): Likewise.
34207         (__inv): Likewise.
34208         (__dvd): Likewise.
34210 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34212         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34213         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34214         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34215         2 && __USE_EXTERN_INLINES]: Likewise.
34217 2013-01-08  Andreas Jaeger  <aj@suse.de>
34219         [BZ# 14985]
34220         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34221         Remove.
34222         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34223         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34225 2013-01-07  Anton Blanchard  <anton@samba.org>
34227         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34228         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34229         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34230         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34231         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34232         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34233         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34234         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34236         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34237         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34238         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34239         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34240         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34241         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34242         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34243         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34244         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34245         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34246         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34247         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34248         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34249         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34250         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34251         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34252         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34253         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34254         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34255         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34256         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34257         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34259         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34262         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34263         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34264         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34265         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34266         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34267         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34268         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34269         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34271 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34273         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34274         (__MALLOC_PMT): Likewise.
34275         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34276         [__GNUC__], only on [_LIBC].
34277         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34278         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34279         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34280         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34281         forward declaration.
34282         (realloc_hook_ini): Likewise.
34283         (memalign_hook_ini): Likewise.
34284         (__libc_memalign): Do not use __MALLOC_PMT in variable
34285         declaration.
34286         (__libc_valloc): Likewise.
34287         (__libc_pvalloc): Likewise.
34288         (__libc_calloc): Likewise.
34289         (__posix_memalign): Likewise.
34291         [BZ #14996]
34292         * math/s_casinh.c: Include <float.h>.
34293         (__casinh): Do not do computation with squaring and square root
34294         for large arguments.
34295         * math/s_casinhf.c: Include <float.h>.
34296         (__casinhf): Do not do computation with squaring and square root
34297         for large arguments.
34298         * math/s_casinhl.c: Include <float.h>.
34299         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34300         (__casinhl): Do not do computation with squaring and square root
34301         for large arguments.
34302         * math/libm-test.inc (casin_test): Add more tests.
34303         (casinh_test): Likewise.
34304         * sysdeps/i386/fpu/libm-test-ulps: Update.
34305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34307 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34309         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34310         (__x86_64_raw_data_cache_size): Likewise.
34311         (__x86_64_data_cache_size_half): Likewise.
34312         (__x86_64_raw_data_cache_size_half): Likewise.
34313         (__x86_64_shared_cache_size): Likewise.
34314         (__x86_64_raw_shared_cache_size): Likewise.
34315         (__x86_64_shared_cache_size_half): Likewise.
34316         (__x86_64_raw_shared_cache_size_half): Likewise.
34317         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34318         to ...
34319         (__x86_data_cache_size): This.
34320         (__x86_64_raw_data_cache_size): Renamed to ...
34321         (__x86_raw_data_cache_size): This.
34322         (__x86_64_data_cache_size_half): Renamed to ...
34323         (__x86_data_cache_size_half): This.
34324         (__x86_64_raw_data_cache_size_half): Renamed to ...
34325         (__x86_raw_data_cache_size_half): This.
34326         (__x86_64_shared_cache_size): Renamed to ...
34327         (__x86_shared_cache_size): This.
34328         (__x86_64_raw_shared_cache_size): Renamed to ...
34329         (__x86_raw_shared_cache_size): This.
34330         (__x86_64_shared_cache_size_half): Renamed to ...
34331         (__x86_shared_cache_size_half): This.
34332         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34333         (__x86_raw_shared_cache_size_half): This.
34334         * sysdeps/x86_64/memcpy.S: Updated.
34335         * sysdeps/x86_64/memset.S: Likewise.
34336         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34337         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34338         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34340 2013-01-04  David S. Miller  <davem@davemloft.net>
34342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34344 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34346         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34347         1 to avoid redefinition warning.
34348         (__USE_GNU): Don't define.
34349         (init_signaling_nan): Protoize.
34351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34353 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34355         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34357         (__cpymn): Likewise.
34358         (norm): Remove commented code.
34359         (denorm): Likewise.
34360         (__mp_dbl): Likewise.
34361         (__inv): Likewise.
34362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34363         (__cpymn): Likewise.
34364         (norm): Remove commented code.
34365         (denorm): Likewise.
34366         (__mp_dbl): Likewise.
34367         (__inv): Likewise.
34369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34370         mp_no value for 1.0 and 2.0.
34371         (norm): Use RADIXI instead of radixi.d.
34372         (denorm): Likewise.
34373         (__mul): Use 0.0 instead of zero.d.
34374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34375         mp_no value for 1.0 and 2.0.
34376         (norm): Use RADIXI instead of radixi.d.
34377         (denorm): Likewise.
34378         (__mul): Use 0.0 instead of zero.d.
34380 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34382         [BZ #14994]
34383         * math/s_casinh.c (__casinh): Reduce finite argument to first
34384         quadrant then set signs of results at the end.
34385         * math/s_casinhf.c (__casinhf): Likewise.
34386         * math/s_casinhl.c (__casinhl): Likewise.
34387         * math/libm-test.inc (casin_test): Add more tests.
34388         (casinh_test): Likewise.
34389         * sysdeps/i386/fpu/libm-test-ulps: Update.
34390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34392 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34394         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34396         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34398         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34399         declarations.
34400         (denorm): Likewise.
34401         (__mp_dbl): Likewise.
34402         (__inv): Likewise.
34404         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34405         and adjust the header comment.
34407         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34408         variable name from declaration.
34410 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34413         Initialize COMMON_CPUID_INDEX_7 element.
34414         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34415         (CPUID_RTM): Likewise.
34416         (HAS_RTM): Likewise.
34417         (COMMON_CPUID_INDEX_7): New enum.
34419 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34421         [BZ #14981]
34422         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34423         size is zero, record memory as freed.
34425 2013-01-03  Andreas Jaeger  <aj@suse.de>
34427         * po/ia.po: Add new Interlingua translation.
34429 2012-01-03  Allan McRae  <allan@archlinux.org>
34431         * locale/programs/localedef.c: Fix description of '--posix' flag.
34433 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34435         * NEWS: Update dates in second copyright notice.
34436         * README: Update copyright dates in example.
34437         * manual/libc.texinfo: Update copyright dates.
34438         * scripts/test-installation.pl: Update copyright date in --version
34439         output.
34441         * hurd/ctty-input.c: Fix copyright notice formatting.
34442         * hurd/ctty-output.c: Likewise.
34443         * hurd/dtable.c: Likewise.
34444         * hurd/hurd-raise.c: Likewise.
34445         * hurd/hurdprio.c: Likewise.
34446         * hurd/msgportdemux.c: Likewise.
34447         * misc/sys/file.h: Likewise.
34448         * misc/sys/ioctl.h: Likewise.
34449         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34450         * sysdeps/mach/hurd/chdir.c: Likewise.
34451         * sysdeps/mach/hurd/fchdir.c: Likewise.
34452         * sysdeps/mach/hurd/rename.c: Likewise.
34453         * sysdeps/mach/hurd/rmdir.c: Likewise.
34454         * sysdeps/mach/hurd/seekdir.c: Likewise.
34455         * sysdeps/mach/hurd/setsid.c: Likewise.
34456         * sysdeps/posix/wait3.c: Likewise.
34458         * All files with FSF copyright notices: Update copyright dates
34459         using scripts/update-copyrights.
34460         * intl/plural.c: Regenerated.
34461         * locale/programs/charmap-kw.h: Likewise.
34462         * locale/programs/locfile-kw.h: Likewise.
34464 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34466         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34467         four values.
34469         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34470         calculation loop and add branch prediction.
34472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34473         check access beyond bounds of m1np.
34475         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34476         MPTWO.
34477         (__inv): Remove local variable MPTWO to use the global
34478         constant.
34479         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34480         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34481         variable MPTWO.
34482         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34483         MP3HALFS static const.
34485 2013-01-01  David S. Miller  <davem@davemloft.net>
34487         * po/ca.po: Update from translation team.
34489 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34491         * scripts/update-copyrights: New file.
34492         * Makeconfig: Reformat copyright notice.
34493         * ctype/ctype.h: Likewise.
34494         * debug/swprintf_chk.c: Likewise.
34495         * elf/dl-cache.c: Likewise.
34496         * elf/dl-debug.c: Likewise.
34497         * elf/dl-object.c: Likewise.
34498         * grp/initgroups.c: Likewise.
34499         * hurd/Makefile: Likewise.
34500         * hurd/hurd/signal.h: Likewise.
34501         * hurd/hurdfault.c: Likewise.
34502         * hurd/hurdioctl.c: Likewise.
34503         * hurd/hurdlookup.c: Likewise.
34504         * hurd/intr-msg.c: Likewise.
34505         * iconv/gconv_open.c: Likewise.
34506         * libio/swprintf.c: Likewise.
34507         * locale/lc-ctype.c: Likewise.
34508         * locale/nl_langinfo.c: Likewise.
34509         * mach/Machrules: Likewise.
34510         * mach/Makefile: Likewise.
34511         * malloc/obstack.h: Likewise.
34512         * manual/Makefile: Likewise.
34513         * manual/tsort.awk: Likewise.
34514         * misc/bits/stab.def: Likewise.
34515         * nis/nis_print_group_entry.c: Likewise.
34516         * nis/nis_table.c: Likewise.
34517         * nis/nss_compat/compat-pwd.c: Likewise.
34518         * nis/nss_compat/compat-spwd.c: Likewise.
34519         * po/Makefile: Likewise.
34520         * posix/fnmatch.c: Likewise.
34521         * posix/regex.h: Likewise.
34522         * resolv/Makefile: Likewise.
34523         * resolv/nss_dns/dns-network.c: Likewise.
34524         * resolv/res_hconf.c: Likewise.
34525         * scripts/gen-sorted.awk: Likewise.
34526         * soft-fp/soft-fp.h: Likewise.
34527         * stdio-common/printf.h: Likewise.
34528         * stdlib/monetary.h: Likewise.
34529         * stdlib/random.c: Likewise.
34530         * stdlib/random_r.c: Likewise.
34531         * sysdeps/generic/Makefile: Likewise.
34532         * sysdeps/gnu/Makefile: Likewise.
34533         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34534         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34535         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34536         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34537         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34538         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34539         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34540         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34541         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34542         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34543         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34544         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34545         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34546         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34547         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34548         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34549         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34550         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34551         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34552         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34553         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34554         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34555         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34556         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34557         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34558         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34559         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34560         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34561         * sysdeps/mach/hurd/errnos.awk: Likewise.
34562         * sysdeps/mach/hurd/fork.c: Likewise.
34563         * sysdeps/mach/hurd/getcwd.c: Likewise.
34564         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34565         * sysdeps/mach/hurd/mmap.c: Likewise.
34566         * sysdeps/mach/hurd/utimes.c: Likewise.
34567         * sysdeps/mach/hurd/xmknod.c: Likewise.
34568         * sysdeps/posix/profil.c: Likewise.
34569         * sysdeps/posix/readdir_r.c: Likewise.
34570         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34571         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34572         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34573         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34575         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34576         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34577         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34578         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34579         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34580         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34581         * sysdeps/pthread/lio_listio.c: Likewise.
34582         * sysdeps/sparc/dl-procinfo.h: Likewise.
34583         * sysdeps/unix/i386/sysdep.S: Likewise.
34584         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34585         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34586         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34587         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34589         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34590         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34591         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34592         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34593         * sysdeps/wordsize-32/divdi3.c: Likewise.
34594         * time/sys/time.h: Likewise.
34595         * wcsmbs/Makefile: Likewise.
34597 2013-01-01  David S. Miller  <davem@davemloft.net>
34599         * po/fr.po: Update from translation team.
34601         * catgets/gencat.c: Update copyright year.
34602         * csu/version.c: Likewise.
34603         * debug/catchsegv.sh: Likewise.
34604         * debug/pcprofiledump.c: Likewise.
34605         * debug/xtrace.sh: Likewise.
34606         * elf/ldconfig.c: Likewise.
34607         * elf/ldd.bash.in: Likewise.
34608         * elf/pldd.c: Likewise.
34609         * elf/sotruss.ksh: Likewise.
34610         * elf/sprof.c: Likewise.
34611         * iconv/iconv_prog.c: Likewise.
34612         * iconv/iconvconfig.c: Likewise.
34613         * locale/programs/locale.c: Likewise.
34614         * locale/programs/localedef.c: Likewise.
34615         * login/programs/pt_chown.c: Likewise.
34616         * malloc/memusage.sh: Likewise.
34617         * malloc/memusagestat.c: Likewise.
34618         * malloc/mtrace.pl: Likewise.
34619         * nscd/nscd.c: Likewise.
34620         * nss/getent.c: Likewise.
34621         * nss/makedb.c: Likewise.
34622         * posix/getconf.c: Likewise.
34624 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34626         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34627         numbers.
34629 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34631         * math/bits/mathcalls.h (modf): Use __nonnull.
34633 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34635         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34636         (split): Use macro CN instead of the bare value.
34637         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34638         could be used.
34639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34640         instead of the bare value.
34641         (power1): Likewise.
34643 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34645         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34646         __ATAN_TWOM.
34647         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34649         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34650         their values.
34651         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34652         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34653         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34654         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34656 2012-12-28  Andreas Jaeger  <aj@suse.de>
34658         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34659         values are from Linux 3.7.
34661         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34662         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34664 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34666         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34667         TRUE case.
34669         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34670         (norm): Likewise.
34671         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34672         variables with preprocessor constants.
34673         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34674         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34675         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34677 2012-12-27  Bruno Haible  <bruno@clisp.org>
34679         [BZ #14317]
34680         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34681         only if needed.
34683 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34686         and use variable directly.
34687         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34689         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34690         MPONE.
34691         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34692         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34693         variable MPONE.
34694         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34695         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34696         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34697         include directive.  Remove local variable MPONE.
34698         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34699         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34700         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34702 2012-12-25  David S. Miller  <davem@davemloft.net>
34704         * version.h (RELEASE): Set to "development".
34705         (VERSION): Set to "2.17.90".
34706         * NEWS: Add 2.18 section.
34708 2012-12-21  David S. Miller  <davem@davemloft.net>
34710         * po/hr.po: Update from translation team.
34712 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34714         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34716 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34718         * NEWS:  Mention new memcpy for MIPS.
34720 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34722         * manual/contrib.texi (Contributors): Spelling correction.
34724 2012-12-15  David S. Miller  <davem@davemloft.net>
34726         * po/ru.po: Update from translation team.
34728 2012-12-13  David S. Miller  <davem@davemloft.net>
34730         * NEWS: Mention IFUNC testsuite enhancements.
34732         * po/pl.po: Update from translation team.
34733         * po/bg.po: Likewise.
34735         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34736         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34738 2012-12-11  David S. Miller  <davem@davemloft.net>
34740         * po/sv.po: Update from translation team.
34742         * po/vi.po: Update from translation team.
34744         * po/cs.po: Update from translation team.
34746         * po/de.po: Update from translation team.
34747         * po/eo.po: Likewise.
34748         * po/nl.po: Likewise.
34750 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34752         [BZ #14246]
34753         * manual/argp.texi (Argp Helper Functions): Move node to follow
34754         Argp Parsing State.
34756         [BZ #14872]
34757         * manual/conf.texi (Limits on File System Capacity): Mention if
34758         terminating null is included in the max size.
34760 2012-12-10  Andreas Jaeger  <aj@suse.de>
34762         * po/cs.po: Update from translation team.
34764 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34766         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34767         void pointer and cast to uintptr_t.
34768         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34769         path.
34770         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34771         * sysdeps/s390/s390-64/memset.S: Likewise.
34773 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34775         [BZ #14833]
34776         * menual/message.texi (Message Translation): Fix typos.
34777         (Helper programs for gettext): Likewise.
34779 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34781         [BZ #14898]
34782         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34783         Change to -1.
34785 2012-12-07  David S. Miller  <davem@davemloft.net>
34787         * po/libc.pot: Update.
34789 2012-12-07  Richard Henderson  <rth@redhat.com>
34791         [BZ #10114]
34792         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34793         normal/normal case to before the switch.
34794         (_FP_DIV): Likewise.
34796 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34797             Mike Frysinger  <vapier@gentoo.org>
34799         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34800         check for __NR_fadvise64_64.
34802 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34804         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34805         0, not just to plain "0" as a statement.
34806         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34807         with cw.
34809 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34811         * NEWS: Use sourceware.org in Bugzilla URL.
34813 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34816         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34818         * stdio-common/tst-put-error.c (do_test): Add newline to the
34819         padded test to ensure flush.
34821 2012-12-05  Jeff Law  <law@redhat.com>
34823         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34825 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34827         * README: Don't refer to ports add-on as distributed separately.
34828         Mention AArch64 in list of systems supported in the ports add-on.
34830         * LICENSES: Add more non-FSF copyright and license notices.
34832         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34833         ((unused)).
34835         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34837         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34838         10000 as width of padded output.
34840 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34842         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34844         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34845         variable LX with __attribute__ ((unused)).
34846         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34847         Likewise.
34848         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34849         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34850         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34851         with __attribute__ ((unused)).
34853 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34855         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34857 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34859         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34860         (CFLAGS-nldbl-acos.c): New variable.
34861         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34862         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34863         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34864         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34865         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34866         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34867         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34868         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34869         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34870         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34871         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34872         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34873         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34874         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34875         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34876         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34877         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34878         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34879         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34880         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34881         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34882         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34883         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34884         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34885         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34886         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34887         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34888         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34889         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34890         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34891         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34892         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34893         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34894         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34895         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34896         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34897         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34898         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34899         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34900         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34901         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34902         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34903         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34904         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34905         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34906         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34907         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34908         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34909         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34910         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34911         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34912         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34913         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34914         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34915         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34916         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34917         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34918         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34919         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34920         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34921         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34922         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34923         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34924         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34925         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34926         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34927         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34928         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34929         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34930         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34931         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34932         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34933         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34934         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34935         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34936         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34937         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34938         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34939         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34940         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34941         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34942         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34943         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34944         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34945         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34946         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34947         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34948         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34949         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34950         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34951         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34952         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34953         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34954         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34955         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34956         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34957         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34960         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34962         [BZ #14914]
34963         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34964         whole low double instead of just low 47 bits when splitting values
34965         into two parts.
34967 2012-12-03  Allan McRae  <allan@archlinux.org>
34969         * manual/stdio.texi (Predefined Printf Handlers): Remove
34970         @hsep and @vsep usage.
34972 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34974         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34975         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34977 2012-12-03  Jeff Law  <law@redhat.com>
34979         * time/sys/time.h (settimeofday): Do not mark TV argument
34980         as __nonnull.
34982 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
34984         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34985         when currently writing and seek to current position when not.
34986         * libio/Makefile (tests): Remove bug-fclose1.
34987         * libio/bug-fclose1.c: Delete.
34989 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
34991         * manual/arith.texi (feenableexcept): Fix typo.
34992         (fedisableexcept): Likewise.
34994 2012-11-30  Roland McGrath  <roland@hack.frob.com>
34996         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34997         second, differently-typed declaration, rather than a cast.
34999 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35001         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35002         * include/rpc/svc.h: ... here.
35004 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35006         [BZ #13013]
35007         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35008         depending n and resplen2 to catch cases where answer
35009         equals answerp2.
35011 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35013         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35014         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35016 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35018         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35020 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35022         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35024 2012-11-28  Jeff Law  <law@redhat.com>
35026         [BZ #13761]
35027         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35028         dataset_temporary.  Track alloca usage into alloca_used.
35029         If dataset is large allocate and release it via malloc/free.
35031 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35033         [BZ #14197]
35034         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35036 2012-11-28  David S. Miller  <davem@davemloft.net>
35038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35040 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35042         [BZ #14803]
35043         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35044         of pi/2 rounded to nearest to 64 bits.
35045         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35046         nearest to 64 bits.
35047         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35048         bits.
35050 2012-11-28  Jeff Law <law@redhat.com>
35051             Martin Osvald <mosvald@redhat.com>
35053         [BZ #14889]
35054         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35055         * sunrpc/svc.c: Include time.h.
35056         (__svc_accept_failed): New function.
35057         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35058         any reason other than EINTR, call __svc_accept_failed.
35059         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35060         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35062 2012-11-28  Andreas Schwab  <schwab@suse.de>
35064         * scripts/abilist.awk: Also handle indirect functions in .opd
35065         section.
35067 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35069         [BZ #13881]
35070         * sysdeps/x86/fpu/powl_helper.c: New file.
35071         * sysdeps/x86/fpu/Makefile: Likewise.
35072         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35073         (p3): New object.
35074         (__ieee754_powl): Use __powl_helper for finite arguments except
35075         integer exponents below 8.
35076         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35077         (p3): New object.
35078         (__ieee754_powl): Use __powl_helper for finite arguments except
35079         integer exponents below 8.
35080         * math/libm-test.inc (pow_test): Add more tests and enable some
35081         previously disabled tests.
35082         * sysdeps/i386/fpu/libm-test-ulps: Update.
35083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35085 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35086             Carlos O'Donell  <carlos_odonell@mentor.com>
35088         * nss/makedb.c (is_prime): Assert that input is odd and greater
35089         than 4.  Note that fact in a comment too.
35090         (next_prime): Add 4 to input.
35092 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35094         [BZ #11741]
35095         * libio/Makefile (tests): Add test case tst-fwrite-error.
35096         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35097         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35098         * libio/tst-fwrite-error.c: New test case.
35100 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35102         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35103         before casting to void *.
35104         * include/libc-internal.h (__pointer_type): New macro.
35105         (__integer_if_pointer_type_sub): Likewise.
35106         (__integer_if_pointer_type): Likewise.
35107         (cast_to_integer): Likewise.
35108         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35109         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35110         before casting to atomic64_t.
35111         (atomic_exchange_acq): Likewise.
35112         (__arch_exchange_and_add_body): Likewise.
35113         (__arch_add_body): Likewise.
35114         (atomic_add_negative): Likewise.
35115         (atomic_add_zero): Likewise.
35117 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35119         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35120         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35121         (add_fdes): Likewise.
35122         (linear_search_fdes): Likewise.
35123         (binary_search_unencoded_fdes): Likewise.
35125 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35127         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35129 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35131         * configure.in: Autodetect C++ header directories.
35132         * configure: Regenerated.
35134 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35136         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35138 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35142 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35144         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35145         LDBL_MANT_DIG == 106]: Disable some tests.
35146         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35147         Likewise.
35148         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35149         Likewise.
35151         [BZ #14871]
35152         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35153         input for small inputs.  Return +/- pi/2 for large inputs.
35154         * math/libm-test.inc (atan_test): Add more tests.
35156         * sysdeps/generic/unwind-dw2-fde-glibc.c
35157         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35158         __attribute__ ((unused)).
35160         [BZ #14645]
35161         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35162         x * y if x and y are nonzero and z is zero.
35164         [BZ #14811]
35165         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35166         nonzero exponents with absolute value below 0x1p-117 to +/-
35167         0x1p-117.
35169         [BZ #14869]
35170         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35171         up arguments below 2**-450, not just those below 2**-500.
35172         * math/libm-test.inc (hypot_test): Add another test.
35174         [BZ #14868]
35175         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35176         Return a+b for ratio over 2**120, not 2**60.
35177         * math/libm-test.inc (hypot_test): Add another test.
35179         * math/libm-test.inc (clog_test): Use
35180         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35181         (clog10_test): Likewise.
35183         [BZ #6778]
35184         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35186 2012-11-22  Andreas Schwab  <schwab@suse.de>
35188         * sysdeps/i386/fpu/libm-test-ulps: Update.
35190 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35192         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35193         printf output with newline.
35195 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35197         [BZ #14865]
35198         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35199         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35200         -z nodlopen, -z initfirst and -z execstack support.
35201         * configure: Regenerated.
35203         * elf/elf.h (DF_1_NODIRECT): New macro.
35204         (DF_1_IGNMULDEF): Likewise.
35205         (DF_1_NOKSYMS): Likewise.
35206         (DF_1_NOHDR): Likewise.
35207         (DF_1_EDITED): Likewise.
35208         (DF_1_NORELOC): Likewise.
35209         (DF_1_SYMINTPOSE): Likewise.
35210         (DF_1_GLOBAUDIT): Likewise.
35211         (DF_1_SINGLETON): Likewise.
35212         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35213         DT_1_SUPPORTED_MASK bits.
35214         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35216 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35218         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35220 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35222         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35223         macro.
35225         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35226         (sendmmsg): Move declarations...
35227         * socket/sys/socket.h: ... here.
35228         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35229         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35230         include it from...
35231         * socket/recvmmsg.c: ... this new file.
35232         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35233         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35234         definition of __sendmmsg hidden.
35235         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35236         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35237         Move ENOSYS stub into and include it from...
35238         * socket/sendmmsg.c: ... this new file.
35239         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35240         (sysdep_routines): Move recvmmsg and sendmmsg...
35241         * socket/Makefile (routines): ... here.
35242         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35243         (GLIBC_PRIVATE): Add __sendmmsg.
35244         * include/sys/socket.h (__sendmmsg): Add declarations.
35245         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35246         sendmmsg.
35248 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35250         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35251         variable I1 with __attribute__ ((unused)).
35252         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35254 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35256         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35257         DUMMY variables with __attribute__ ((unused)).
35259         * bits/byteswap.h: Include <bits/types.h>.
35260         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35262 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35264         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35265         string_t.  Do not manually set errno.
35266         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35267         length with __strnlen.  Make sure to both set errno and return it on
35268         failure.
35270 2012-11-19  David S. Miller  <davem@davemloft.net>
35272         With help from Joseph Myers.
35273         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35274         very large arguments properly.
35275         * math/libm-test.inc (atan_test): New tests.
35276         (atan2_test): New tests.
35277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35280 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35282         [BZ #14856]
35283         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35284         Define to 3.
35286         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35287         [POSIX] (EADDRNOTAVAIL): Likewise.
35288         [POSIX] (EAFNOSUPPORT): Likewise.
35289         [POSIX] (EALREADY): Likewise.
35290         [POSIX] (ECONNABORTED): Likewise.
35291         [POSIX] (ECONNREFUSED): Likewise.
35292         [POSIX] (ECONNRESET): Likewise.
35293         [POSIX] (EDESTADDRREQ): Likewise.
35294         [POSIX] (EDQUOT): Likewise.
35295         [POSIX] (EHOSTUNREACH): Likewise.
35296         [POSIX] (EIDRM): Likewise.
35297         [POSIX] (EISCONN): Likewise.
35298         [POSIX] (ELOOP): Likewise.
35299         [POSIX] (EMULTIHOP): Likewise.
35300         [POSIX] (ENETDOWN): Likewise.
35301         [POSIX] (ENETUNREACH): Likewise.
35302         [POSIX] (ENOBUFS): Likewise.
35303         [POSIX] (ENODATA): Likewise.
35304         [POSIX] (ENOLINK): Likewise.
35305         [POSIX] (ENOMSG): Likewise.
35306         [POSIX] (ENOPROTOOPT): Likewise.
35307         [POSIX] (ENOSR): Likewise.
35308         [POSIX] (ENOSTR): Likewise.
35309         [POSIX] (ENOTCONN): Likewise.
35310         [POSIX] (ENOTSOCK): Likewise.
35311         [POSIX] (EOPNOTSUPP): Likewise.
35312         [POSIX] (EOVERFLOW): Likewise.
35313         [POSIX] (EPROTO): Likewise.
35314         [POSIX] (EPROTONOSUPPORT): Likewise.
35315         [POSIX] (EPROTOTYPE): Likewise.
35316         [POSIX] (ESTALE): Likewise.
35317         [POSIX] (ETIME): Likewise.
35318         [POSIX] (ETXTBSY): Likewise.
35319         [POSIX] (EWOULDBLOCK): Likewise.
35320         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35321         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35322         [POSIX] (SEEK_CUR): Likewise.
35323         [POSIX] (SEEK_END): Likewise.
35324         [POSIX || UNIX98] (mode_t): Do not require.
35325         [POSIX] (off_t): Likewise.
35326         [POSIX] (pid_t): Likewise.
35327         [POSIX] (sys/stat.h): Do not allow header.
35328         [POSIX] (unistd.h): Likewise.
35329         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35330         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35331         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35332         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35333         require.
35334         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35335         sigevent): Specify elements.
35336         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35337         entry.
35338         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35339         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35341         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35342         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35343         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35344         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35345         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35346         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35347         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35348         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35349         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35350         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35351         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35352         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35353         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35354         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35355         Likewise.
35356         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35357         Likewise.
35358         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35359         Likewise.
35360         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35361         Likewise.
35362         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35363         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35364         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35365         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35366         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35367         Specify lower bound on value.
35368         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35369         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35370         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35371         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35372         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35373         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35374         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35375         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35376         value.
35377         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35378         as optional.
35379         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35380         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35381         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35382         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35383         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35384         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35385         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35386         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35387         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35388         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35389         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35390         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35391         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35392         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35393         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35394         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35395         entry.
35396         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35397         optional.
35398         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35399         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35400         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35401         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35402         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35403         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35404         Likewise.
35405         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35406         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35407         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35408         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35409         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35410         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35411         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35412         as optional.
35413         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35414         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35415         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35416         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35417         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35418         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35419         specify as optional.
35420         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35421         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35422         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35423         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35424         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35425         [XPG3] (NL_LANGMAX): Likewise.
35426         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35427         [POSIX || XPG3] (NL_NMAX): Likewise.
35428         [POSIX || XPG3] (NL_SETMAX): Likewise.
35429         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35430         [XPG3] (NZERO): Likewise.
35431         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35432         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35433         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35434         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35435         (REG_ERANGE): Expect.
35436         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35437         optional-constant.
35438         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35439         Use (void) in prototype.
35440         [POSIX] (*_t): Allow.
35441         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35442         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35443         (WRDE_BADVAL): Expect.
35445         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35446         expect.
35447         [XPG3 || XPG4] (O_RSYNC): Likewise.
35448         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35449         Likewise.
35450         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35451         [XPG3 || XPG4] (sigqueue): Likewise.
35452         [XPG3 || XPG4] (sigtimedwait): Likewise.
35453         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35454         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35455         [XPG3 || XPG4] (vsnprintf): Likewise.
35456         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35457         Likewise.
35458         [XPG3 || XPG4] (blksize_t): Likewise.
35459         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35460         Likewise.
35461         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35462         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35463         [XPG3 || XPG4] (struct itimerspec): Likewise.
35464         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35465         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35466         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35467         [XPG3 || XPG4] (clockid_t): Likewise.
35468         [XPG3 || XPG4] (timer_t): Likewise.
35469         [XPG3 || XPG4] (clock_getres): Likewise.
35470         [XPG3 || XPG4] (clock_gettime): Likewise.
35471         [XPG3 || XPG4] (clock_settime): Likewise.
35472         [XPG3 || XPG4] (nanosleep): Likewise.
35473         [XPG3 || XPG4] (timer_create): Likewise.
35474         [XPG3 || XPG4] (timer_delete): Likewise.
35475         [XPG3 || XPG4] (timer_gettime): Likewise.
35476         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35477         [XPG3 || XPG4] (timer_settime): Likewise.
35478         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35479         [XPG3 || XPG4] (getlogin_r): Likewise.
35480         [XPG3 || XPG4] (pread): Likewise.
35481         [XPG3 || XPG4] (pthread_atfork): Likewise.
35482         [XPG3 || XPG4] (pwrite): Likewise.
35484         [BZ #14835]
35485         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35486         <bits/siginfo.h>.
35488 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35490         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35491         finalizing MALLSTREAM.
35493         * sysdeps/mach/hurd/syncfs.c: New file.
35495 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35497         [BZ #14719]
35498         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35499         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35500         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35501         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35502         (_nss_dns_gethostbyname4_r): Likewise.
35503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35504         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35506 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35508         [BZ #13763]
35509         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35511 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35513         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35514         * elf/cache.c (print_entry): Print ",AArch64" for
35515         FLAG_AARCH64_LIB64
35517         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35518         * elf/cache.c (print_entry): Print ",hard-float" for
35519         FLAG_ARM_LIBHF.
35521 2012-11-18  David S. Miller  <davem@davemloft.net>
35523         With help from Joseph Myers.
35524         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35525         cutoff to 2**-13.
35526         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35527         cutoff to 2**-25.
35528         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35529         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35530         small.
35531         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35532         * math/libm-test.inc (y0_test): New tests.
35533         (y1_test): New tests.
35534         * sysdeps/i386/fpu/libm-test-ulps: Update.
35535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35538 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35540         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35541         64-bit targets.
35542         * configure: Regenerated.
35544 2012-11-17  David S. Miller  <davem@davemloft.net>
35546         [BZ #14811]
35547         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35548         nonzero exponents with absolute value below 0x1p-128 to +/-
35549         0x1p-128.
35551 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35553         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35555         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35557         * posix/getconf-speclist.c: New file.
35558         * posix/posix-envs.def: Likewise.
35559         * posix/confstr.c (START_ENV_GROUP): New macro.
35560         (END_ENV_GROUP): Likewise.
35561         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35562         (KNOWN_PRESENT_ENV_STRING): Likewise.
35563         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35564         (UNKNOWN_ENVIRONMENT): Likewise.
35565         (confstr): Include posix-envs.def instead of handling
35566         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35567         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35568         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35569         (END_ENV_GROUP): Likewise.
35570         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35571         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35572         (UNKNOWN_ENVIRONMENT): Likewise.
35573         (__sysconf): Include posix-envs.def instead of handling associated
35574         cases directly here.
35575         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35576         preprocessing getconf-speclist.c rather than running getconf or
35577         generating empty file.
35579 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35581         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35583 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35585         [BZ #14672]
35586         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35588 2012-11-16  David S. Miller  <davem@davemloft.net>
35590         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35591         smaller than LDBL_EPSILON/2.0L, just return xm1.
35593 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35595         * elf/tst-array1.c (init): Set constructor priority to 1000.
35596         (fini): Set destructor priority to 1000.
35597         * elf/tst-array2dep.c: Likewise.
35599 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35601         [BZ #11741]
35602         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35603         (_IO_new_file_xsputn): Also return EOF if none of the input
35604         data was written when overflow failed.
35605         * libio/iopadn.c (_IO_padn): Likewise.
35606         * libio/iowpadn.c (_IO_wpadn): Likewise.
35607         * stdio-common/tst-put-error.c: Add copyright notice.
35608         (do_test): Add case for printing padded string.
35609         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35610         _IO_padn returned error.
35611         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35612         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35613         return EOF.
35615 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35617         * libio/libioP.h: Add comment note that the references to C++
35618         bits are now obsolete.
35620 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35622         * math/libm-test.inc (check_complex): Use asprintf.
35624 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35626         * debug/pcprofiledump.c (print_version): Update copyright year.
35627         * malloc/memusagestat.c (print_version): Likewise.
35629 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35631         [BZ #14831]
35632         * elf/Makefile (tests): Add tst-audit8.
35633         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35634         ($(objpfx)tst-audit8.out): New target.
35635         (tst-audit8-ENV): New variable.
35636         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35637         audit if l_reloc_result is NULL.
35638         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35639         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35640         * elf/tst-audit8.c: New file.
35642 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35644         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35645         * misc/Makefile (CFLAGS-select.c): Define.
35646         * posix/Makefile (CFLAGS-pause.c): Define.
35648 2012-11-13  David S. Miller  <davem@davemloft.net>
35650         * crypt/Makefile: Move test targets after toplevel Rules
35651         inclusion.  Grab any necessary sysdep routines when linking.
35652         * crypt/md5.c (md5_process_block): Remove define, we will always
35653         name it __md5_process_block.
35654         (md5_finish_ctx): Update md5_process_block call.
35655         (md5_stream): Likewise.
35656         (md5_process_bytes): Likewise.
35657         (md5_process_block): Rename to __md5_process_block and move to ...
35658         * crypt/md5-block.c: ... here.
35659         * crypt/sha256.c (sha256_process_block): Move to ...
35660         * crypt/sha256-block.c: ... here.
35661         * crypt/sha512.c (sha512_process_block): Move to ...
35662         * crypt/sha512-block.c: ... here.
35663         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35664         path.
35665         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35666         * sysdeps/sparc/sparc64/multiarch/Makefile
35667         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35668         crypt subdir.
35669         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35670         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35671         multiarch changes.
35672         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35673         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35674         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35675         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35676         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35677         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35678         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35679         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35680         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35681         file.
35682         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35683         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35684         file.
35685         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35687 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35689         * timezone/tzselect.ksh: Update from tzcode git revision
35690         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35691         * timezone/zdump.c: Likewise.
35692         * timezone/zic.c: Likewise.
35693         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35694         in TZVERSION setting, not $(PKGVERSION).
35695         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35696         REPORT_BUGS_TO settings.
35698         [BZ #14838]
35699         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35700         macro.
35702 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35704         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35705         detection to immediately after _FP_ROUND().
35706         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35707         bits are 0.
35709 2012-11-11  David S. Miller  <davem@davemloft.net>
35711         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35712         inttypes.h
35713         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35714         __close rather than their public counterparts.
35716 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35718         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35719         file.
35720         [UNIX98] (sem_timedwait): Do not expect.
35721         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35722         [XPG4 || UNIX98] (sockatmark): Do not expect.
35723         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35724         (clock_getcpuclockid): Do not expect.
35725         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35726         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35727         Do not expect.
35728         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35729         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35730         [UNIX98] (vwscanf): Likewise.
35731         [UNIX98] (vswscanf): Likewise.
35733 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35735         * timezone/version.h: Remove file.
35736         * timezone/README: Do not refer to version.h.
35737         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35738         $(objpfx)version.h.
35739         ($(objpfx)zdump.o): Likewise.
35740         ($(objpfx)version.h): New target.
35742         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35743         2012i.
35744         * timezone/README: Don't mention modification to tzselect.ksh.
35745         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35746         work on unmodified tzselect.ksh.  Substitute version numbers in
35747         tzselect.ksh.
35749         * Makefile (format-me): Remove.
35750         (INSTALL): Adjust indentation.  Use commands directly instead of
35751         using $(format-me).
35753         * aclocal.m4 (ACX_PKGVERSION): New macro.
35754         (ACX_BUGURL): Likewise.
35755         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35756         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35757         (REPORT_BUGS_TO): Likewise.
35758         * configure: Regenerated.
35759         * config.h.in (PKGVERSION): New macro.
35760         (REPORT_BUGS_TO): Likewise.
35761         * config.make.in (PKGVERSION): New variable.
35762         (PKGVERSION_TEXI): Likewise.
35763         (REPORT_BUGS_TO): Likewise.
35764         (REPORT_BUGS_TEXI): Likewise.
35765         * Makefile (format-me): Use -I$(common-objpfx)manual.
35766         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35767         ($(common-objpfx)manual/%): New target.
35768         (manual/%): Remove target.
35769         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35770         (print_version): Use PKGVERSION.
35771         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35772         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35773         and REPORT_BUGS_TO.
35774         ($(objpfx)xtrace): Likewise.
35775         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35776         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35777         (print_version): Use PKGVERSION.
35778         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35779         (do_version): Use PKGVERSION.
35780         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35781         REPORT_BUGS_TO.
35782         (common-ldd-rewrite): Likewise.
35783         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35784         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35785         (print_version): Use PKGVERSION.
35786         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35787         * elf/pldd.c (argp_program_bug_address): Remove variable.
35788         (more_help): New function.
35789         (argp): Use more_help.
35790         (print_version): Use PKGVERSION.
35791         * elf/sln.c (main): Use PKGVERSION.
35792         (usage): Use REPORT_BUGS_TO.
35793         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35794         (top level): Use PKGVERSION.
35795         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35796         (print_version): Use PKGVERSION.
35797         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35798         (print_version): Use PKGVERSION.
35799         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35800         (print_version): Use PKGVERSION.
35801         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35802         (print_version): Use PKGVERSION.
35803         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35804         (print_version): Use PKGVERSION.
35805         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35806         (print_version): Use PKGVERSION.
35807         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35808         and BUGURL.
35809         ($(objpfx)memusage): Likewise.
35810         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35811         (do_version): Use PKGVERSION.
35812         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35813         (print_version): Use PKGVERSION.
35814         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35815         ($PKGVERSION): New variable.
35816         ($REPORT_BUGS_TO): Likewise.
35817         (usage): Use $REPORT_BUGS_TO.
35818         (top level): Use $PKGVERSION.
35819         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35820         ($(objpfx)pkgvers.texi): New rule.
35821         ($(objpfx)stamp-pkgvers): Likewise.
35822         * manual/install.texi: Include pkgvers.texi.
35823         (--with-pkgversion): Document new configure option.
35824         (--with-bugurl): Likewise.
35825         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35826         than necessarily for this particular distribution.  Use
35827         REPORT_BUGS_TO for where to report bugs.
35828         * INSTALL: Regenerated.
35829         * manual/libc.texinfo: Include pkgvers.texi.
35830         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35831         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35832         (print_version): Use PKGVERSION.
35833         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35834         (print_version): Use PKGVERSION.
35835         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35836         (print_version): Use PKGVERSION.
35837         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35838         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35839         macro.
35840         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35841         (print_version): Use PKGVERSION.
35842         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35843         (print_version): Use PKGVERSION.
35844         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35845         and PKGVERSION.
35847         * timezone/checktab.awk: Update from tzcode 2012i.
35848         * timezone/ialloc.c: Likewise.
35849         * timezone/private.h: Likewise.
35850         * timezone/scheck.c: Likewise.
35851         * timezone/tzfile.h: Likewise.
35852         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35853         (TZVERSION): Hardcode tzcode version number.
35854         * timezone/zdump.c: Update from tzcode 2012i.
35855         * timezone/zic.c: Likewise.
35856         * timezone/version.h: New file.
35857         * timezone/README: Describe version.h.  Update upstream location.
35859         [BZ #14824]
35860         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35861         (mktemp): Enable declaration.
35862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35863         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35864         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35865         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35866         Likewise.
35867         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35868         Likewise.
35869         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35870         Likewise.
35871         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35872         Likewise.
35873         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35874         Likewise.
35875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35876         Likewise.
35878         [BZ #14821]
35879         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35880         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35881         for copies of such integer values.
35882         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35883         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35885 2012-11-09  Andreas Jaeger  <aj@suse.de>
35887         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35888         definitions and declarations that are provided by
35889         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35891 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35893         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35894         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35895         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35896         definition.
35898 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35900         * elf/elf.h: Update comment before AArch64 relocations.
35902 2012-11-07  David S. Miller  <davem@davemloft.net>
35904         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35905         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35906         (__start_context): Declare.
35907         (__makecontext_ret): Delete.
35908         (__makecontext): Hook up __start_context instead of
35909         __makecontext_ret.
35910         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35911         (sysdep_routines): Add __start_context when in stdlib.
35913 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35915         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35916         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35917         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35918         hardcoded "nm".
35919         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35920         (READELF): New variable.  Use it instead of hardcoded "readelf".
35922 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35924         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35925         * sysdeps/x86/Makefile: Here.
35926         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35927         * sysdeps/x86/tst-xmmymm.sh: This.
35929 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35931         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35932         expectations.
35933         [UNIX98] (pthread_barrier_t): Do not expect.
35934         [UNIX98] (pthread_barrierattr_t): Likewise.
35935         [UNIX98] (pthread_spinlock_t): Likewise.
35936         [UNIX98] (pthread_barrier_destroy): Likewise.
35937         [UNIX98] (pthread_barrier_init): Likewise.
35938         [UNIX98] (pthread_barrier_wait): Likewise.
35939         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35940         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35941         [UNIX98] (pthread_barrierattr_init): Likewise.
35942         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35943         [UNIX98] (pthread_getcpuclockid): Likewise.
35944         [UNIX98] (pthread_mutex_timedlock): Likewise.
35945         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35946         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35947         [UNIX98] (pthread_sigmask): Likewise.
35948         [UNIX98] (pthread_spin_destroy): Likewise.
35949         [UNIX98] (pthread_spin_init): Likewise.
35950         [UNIX98] (pthread_spin_lock): Likewise.
35951         [UNIX98] (pthread_spin_trylock): Likewise.
35952         [UNIX98] (pthread_spin_unlock): Likewise.
35953         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35954         Do not expect.
35955         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35957         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35958         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35959         [XPG3 || XPG4] (pthread_key_t): Likewise.
35960         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35961         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35962         [XPG3 || XPG4] (pthread_once_t): Likewise.
35963         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35964         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35966         [XPG3 || XPG4] (pthread_t): Likewise.
35968         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35969         not expect.
35970         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35972         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35973         Change function return type to int.
35975         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35976         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35977         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35978         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35979         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35980         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35981         [!POSIX] (posix_madvise): Likewise.
35982         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35983         && !UNIX98].
35984         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35985         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35986         (mode_t): Likewise.
35987         (posix_mem_offset): Likewise.
35988         (posix_typed_mem_get_info): Likewise.
35989         (posix_typed_mem_open): Likewise.
35991         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35992         Change condition to [XOPEN2K8].
35994         * conform/conformtest.pl: Preprocess allow-header data with -x c
35995         instead of from stdin.
35996         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35997         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35998         [C99-based standards] (cerfc): Likewise.
35999         [C99-based standards] (cexp2): Likewise.
36000         [C99-based standards] (cexpm1): Likewise.
36001         [C99-based standards] (clog10): Likewise.
36002         [C99-based standards] (clog1p): Likewise.
36003         [C99-based standards] (clog2): Likewise.
36004         [C99-based standards] (clgamma): Likewise.
36005         [C99-based standards] (ctgamma): Likewise.
36006         [C99-based standards] (cerff): Likewise.
36007         [C99-based standards] (cerfcf): Likewise.
36008         [C99-based standards] (cexp2f): Likewise.
36009         [C99-based standards] (cexpm1f): Likewise.
36010         [C99-based standards] (clog10f): Likewise.
36011         [C99-based standards] (clog1pf): Likewise.
36012         [C99-based standards] (clog2f): Likewise.
36013         [C99-based standards] (clgammaf): Likewise.
36014         [C99-based standards] (ctgammaf): Likewise.
36015         [C99-based standards] (cerfl): Likewise.
36016         [C99-based standards] (cerfcl): Likewise.
36017         [C99-based standards] (cexp2l): Likewise.
36018         [C99-based standards] (cexpm1l): Likewise.
36019         [C99-based standards] (clog10l): Likewise.
36020         [C99-based standards] (clog1pl): Likewise.
36021         [C99-based standards] (clog2l): Likewise.
36022         [C99-based standards] (clgammal): Likewise.
36023         [C99-based standards] (ctgammal): Likewise.
36024         * conform/data/inttypes.h-data [C99-based standards]: Include
36025         stdint.h-data.  Remove all expectations for stdint.h contents.
36026         [C99-based standards] (PRI*): Do not allow.
36027         [C99-based standards] (SCN*): Likewise.
36028         [C99-based standards] (*_t): Likewise.
36029         [C99-based-standards] (PRId8): Expect macro.
36030         [C99-based-standards] (PRIi8): Likewise.
36031         [C99-based-standards] (PRIo8): Likewise.
36032         [C99-based-standards] (PRIu8): Likewise.
36033         [C99-based-standards] (PRIx8): Likewise.
36034         [C99-based-standards] (PRIX8): Likewise.
36035         [C99-based-standards] (SCNd8): Likewise.
36036         [C99-based-standards] (SCNi8): Likewise.
36037         [C99-based-standards] (SCNo8): Likewise.
36038         [C99-based-standards] (SCNu8): Likewise.
36039         [C99-based-standards] (SCNx8): Likewise.
36040         [C99-based-standards] (PRIdLEAST8): Likewise.
36041         [C99-based-standards] (PRIiLEAST8): Likewise.
36042         [C99-based-standards] (PRIoLEAST8): Likewise.
36043         [C99-based-standards] (PRIuLEAST8): Likewise.
36044         [C99-based-standards] (PRIxLEAST8): Likewise.
36045         [C99-based-standards] (PRIXLEAST8): Likewise.
36046         [C99-based-standards] (SCNdLEAST8): Likewise.
36047         [C99-based-standards] (SCNiLEAST8): Likewise.
36048         [C99-based-standards] (SCNoLEAST8): Likewise.
36049         [C99-based-standards] (SCNuLEAST8): Likewise.
36050         [C99-based-standards] (SCNxLEAST8): Likewise.
36051         [C99-based-standards] (PRIdFAST8): Likewise.
36052         [C99-based-standards] (PRIiFAST8): Likewise.
36053         [C99-based-standards] (PRIoFAST8): Likewise.
36054         [C99-based-standards] (PRIuFAST8): Likewise.
36055         [C99-based-standards] (PRIxFAST8): Likewise.
36056         [C99-based-standards] (PRIXFAST8): Likewise.
36057         [C99-based-standards] (SCNdFAST8): Likewise.
36058         [C99-based-standards] (SCNiFAST8): Likewise.
36059         [C99-based-standards] (SCNoFAST8): Likewise.
36060         [C99-based-standards] (SCNuFAST8): Likewise.
36061         [C99-based-standards] (SCNxFAST8): Likewise.
36062         [C99-based-standards] (PRId16): Likewise.
36063         [C99-based-standards] (PRIi16): Likewise.
36064         [C99-based-standards] (PRIo16): Likewise.
36065         [C99-based-standards] (PRIu16): Likewise.
36066         [C99-based-standards] (PRIx16): Likewise.
36067         [C99-based-standards] (PRIX16): Likewise.
36068         [C99-based-standards] (SCNd16): Likewise.
36069         [C99-based-standards] (SCNi16): Likewise.
36070         [C99-based-standards] (SCNo16): Likewise.
36071         [C99-based-standards] (SCNu16): Likewise.
36072         [C99-based-standards] (SCNx16): Likewise.
36073         [C99-based-standards] (PRIdLEAST16): Likewise.
36074         [C99-based-standards] (PRIiLEAST16): Likewise.
36075         [C99-based-standards] (PRIoLEAST16): Likewise.
36076         [C99-based-standards] (PRIuLEAST16): Likewise.
36077         [C99-based-standards] (PRIxLEAST16): Likewise.
36078         [C99-based-standards] (PRIXLEAST16): Likewise.
36079         [C99-based-standards] (SCNdLEAST16): Likewise.
36080         [C99-based-standards] (SCNiLEAST16): Likewise.
36081         [C99-based-standards] (SCNoLEAST16): Likewise.
36082         [C99-based-standards] (SCNuLEAST16): Likewise.
36083         [C99-based-standards] (SCNxLEAST16): Likewise.
36084         [C99-based-standards] (PRIdFAST16): Likewise.
36085         [C99-based-standards] (PRIiFAST16): Likewise.
36086         [C99-based-standards] (PRIoFAST16): Likewise.
36087         [C99-based-standards] (PRIuFAST16): Likewise.
36088         [C99-based-standards] (PRIxFAST16): Likewise.
36089         [C99-based-standards] (PRIXFAST16): Likewise.
36090         [C99-based-standards] (SCNdFAST16): Likewise.
36091         [C99-based-standards] (SCNiFAST16): Likewise.
36092         [C99-based-standards] (SCNoFAST16): Likewise.
36093         [C99-based-standards] (SCNuFAST16): Likewise.
36094         [C99-based-standards] (SCNxFAST16): Likewise.
36095         [C99-based-standards] (PRId32): Likewise.
36096         [C99-based-standards] (PRIi32): Likewise.
36097         [C99-based-standards] (PRIo32): Likewise.
36098         [C99-based-standards] (PRIu32): Likewise.
36099         [C99-based-standards] (PRIx32): Likewise.
36100         [C99-based-standards] (PRIX32): Likewise.
36101         [C99-based-standards] (SCNd32): Likewise.
36102         [C99-based-standards] (SCNi32): Likewise.
36103         [C99-based-standards] (SCNo32): Likewise.
36104         [C99-based-standards] (SCNu32): Likewise.
36105         [C99-based-standards] (SCNx32): Likewise.
36106         [C99-based-standards] (PRIdLEAST32): Likewise.
36107         [C99-based-standards] (PRIiLEAST32): Likewise.
36108         [C99-based-standards] (PRIoLEAST32): Likewise.
36109         [C99-based-standards] (PRIuLEAST32): Likewise.
36110         [C99-based-standards] (PRIxLEAST32): Likewise.
36111         [C99-based-standards] (PRIXLEAST32): Likewise.
36112         [C99-based-standards] (SCNdLEAST32): Likewise.
36113         [C99-based-standards] (SCNiLEAST32): Likewise.
36114         [C99-based-standards] (SCNoLEAST32): Likewise.
36115         [C99-based-standards] (SCNuLEAST32): Likewise.
36116         [C99-based-standards] (SCNxLEAST32): Likewise.
36117         [C99-based-standards] (PRIdFAST32): Likewise.
36118         [C99-based-standards] (PRIiFAST32): Likewise.
36119         [C99-based-standards] (PRIoFAST32): Likewise.
36120         [C99-based-standards] (PRIuFAST32): Likewise.
36121         [C99-based-standards] (PRIxFAST32): Likewise.
36122         [C99-based-standards] (PRIXFAST32): Likewise.
36123         [C99-based-standards] (SCNdFAST32): Likewise.
36124         [C99-based-standards] (SCNiFAST32): Likewise.
36125         [C99-based-standards] (SCNoFAST32): Likewise.
36126         [C99-based-standards] (SCNuFAST32): Likewise.
36127         [C99-based-standards] (SCNxFAST32): Likewise.
36128         [C99-based-standards] (PRId64): Likewise.
36129         [C99-based-standards] (PRIi64): Likewise.
36130         [C99-based-standards] (PRIo64): Likewise.
36131         [C99-based-standards] (PRIu64): Likewise.
36132         [C99-based-standards] (PRIx64): Likewise.
36133         [C99-based-standards] (PRIX64): Likewise.
36134         [C99-based-standards] (SCNd64): Likewise.
36135         [C99-based-standards] (SCNi64): Likewise.
36136         [C99-based-standards] (SCNo64): Likewise.
36137         [C99-based-standards] (SCNu64): Likewise.
36138         [C99-based-standards] (SCNx64): Likewise.
36139         [C99-based-standards] (PRIdLEAST64): Likewise.
36140         [C99-based-standards] (PRIiLEAST64): Likewise.
36141         [C99-based-standards] (PRIoLEAST64): Likewise.
36142         [C99-based-standards] (PRIuLEAST64): Likewise.
36143         [C99-based-standards] (PRIxLEAST64): Likewise.
36144         [C99-based-standards] (PRIXLEAST64): Likewise.
36145         [C99-based-standards] (SCNdLEAST64): Likewise.
36146         [C99-based-standards] (SCNiLEAST64): Likewise.
36147         [C99-based-standards] (SCNoLEAST64): Likewise.
36148         [C99-based-standards] (SCNuLEAST64): Likewise.
36149         [C99-based-standards] (SCNxLEAST64): Likewise.
36150         [C99-based-standards] (PRIdFAST64): Likewise.
36151         [C99-based-standards] (PRIiFAST64): Likewise.
36152         [C99-based-standards] (PRIoFAST64): Likewise.
36153         [C99-based-standards] (PRIuFAST64): Likewise.
36154         [C99-based-standards] (PRIxFAST64): Likewise.
36155         [C99-based-standards] (PRIXFAST64): Likewise.
36156         [C99-based-standards] (SCNdFAST64): Likewise.
36157         [C99-based-standards] (SCNiFAST64): Likewise.
36158         [C99-based-standards] (SCNoFAST64): Likewise.
36159         [C99-based-standards] (SCNuFAST64): Likewise.
36160         [C99-based-standards] (SCNxFAST64): Likewise.
36161         [C99-based-standards] (PRIdMAX): Likewise.
36162         [C99-based-standards] (PRIiMAX): Likewise.
36163         [C99-based-standards] (PRIoMAX): Likewise.
36164         [C99-based-standards] (PRIuMAX): Likewise.
36165         [C99-based-standards] (PRIxMAX): Likewise.
36166         [C99-based-standards] (PRIXMAX): Likewise.
36167         [C99-based-standards] (SCNdMAX): Likewise.
36168         [C99-based-standards] (SCNiMAX): Likewise.
36169         [C99-based-standards] (SCNoMAX): Likewise.
36170         [C99-based-standards] (SCNuMAX): Likewise.
36171         [C99-based-standards] (SCNxMAX): Likewise.
36172         [C99-based-standards] (PRIdPTR): Likewise.
36173         [C99-based-standards] (PRIiPTR): Likewise.
36174         [C99-based-standards] (PRIoPTR): Likewise.
36175         [C99-based-standards] (PRIuPTR): Likewise.
36176         [C99-based-standards] (PRIxPTR): Likewise.
36177         [C99-based-standards] (PRIXPTR): Likewise.
36178         [C99-based-standards] (SCNdPTR): Likewise.
36179         [C99-based-standards] (SCNiPTR): Likewise.
36180         [C99-based-standards] (SCNoPTR): Likewise.
36181         [C99-based-standards] (SCNuPTR): Likewise.
36182         [C99-based-standards] (SCNxPTR): Likewise.
36183         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36184         allow.
36185         * conform/data/stdint.h-data: Update comments to clarify
36186         requirements.
36187         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36188         type.
36189         [C99-based standards] (INT8_MAX): Likewise.
36190         [C99-based standards] (INT16_MIN): Likewise.
36191         [C99-based standards] (INT16_MAX): Likewise.
36192         [C99-based standards] (INT32_MIN): Likewise.
36193         [C99-based standards] (INT32_MAX): Likewise.
36194         [C99-based standards] (INT64_MIN): Likewise.
36195         [C99-based standards] (INT64_MAX): Likewise.
36196         [C99-based standards] (UINT8_MAX): Likewise.
36197         [C99-based standards] (UINT16_MAX): Likewise.
36198         [C99-based standards] (UINT32_MAX): Likewise.
36199         [C99-based standards] (UINT64_MAX): Likewise.
36200         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36201         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36202         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36203         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36204         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36205         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36206         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36207         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36208         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36209         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36210         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36211         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36212         [C99-based standards] (INT_FAST8_MIN): Likewise.
36213         [C99-based standards] (INT_FAST8_MAX): Likewise.
36214         [C99-based standards] (INT_FAST16_MIN): Likewise.
36215         [C99-based standards] (INT_FAST16_MAX): Likewise.
36216         [C99-based standards] (INT_FAST32_MIN): Likewise.
36217         [C99-based standards] (INT_FAST32_MAX): Likewise.
36218         [C99-based standards] (INT_FAST64_MIN): Likewise.
36219         [C99-based standards] (INT_FAST64_MAX): Likewise.
36220         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36221         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36222         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36223         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36224         [C99-based standards] (INTPTR_MIN): Likewise.
36225         [C99-based standards] (INTPTR_MAX): Likewise.
36226         [C99-based standards] (UINTPTR_MAX): Likewise.
36227         [C99-based standards] (INTMAX_MIN): Likewise.
36228         [C99-based standards] (INTMAX_MAX): Likewise.
36229         [C99-based standards] (UINTMAX_MAX): Likewise.
36230         [C99-based standards] (PTRDIFF_MIN): Likewise.
36231         [C99-based standards] (PTRDIFF_MAX): Likewise.
36232         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36233         [C99-based standards] (SIZE_MAX): Likewise.
36234         [C99-based standards] (WCHAR_MAX): Likewise.
36235         [C99-based standards] (WINT_MAX): Likewise.
36236         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36237         constraint on value.
36238         [C99-based standards] (WCHAR_MIN): Likewise.
36239         [C99-based standards] (WINT_MIN): Likewise.
36240         [C99-based standards] (*_t): Allow.
36241         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36242         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36243         Include math.h-data and complex.h-data.  Remove all expectations
36244         of math.h and complex.h contents.
36245         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36246         at end of line.
36247         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36248         (struct tm): Expect tag.
36249         [C99-based-standards] (wcstof): Expect function.
36250         [C99-based-standards] (wcstold): Likewise.
36251         [C99-based-standards] (wcstoll): Likewise.
36252         [C99-based-standards] (wcstoull): Likewise.
36253         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36254         macro-int-constant.  Specify type.
36255         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36256         constraint on value.
36257         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36258         Specify type.
36259         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36260         Specify value.
36261         [ISO C standards]: Do not allow headers.
36262         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36263         wcs[abcdefghijklmnopqrstuvwxyz]*.
36264         [ISO C standards] (*_t): Do not allow.
36265         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36266         Expect function.
36267         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36268         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36269         Specify type.
36270         [ISO C standards]: Do not allow headers.
36271         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36272         is[abcdefghijklmnopqrstuvwxyz]*.
36273         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36274         to[abcdefghijklmnopqrstuvwxyz]*.
36275         [ISO C standards] (*_t): Do not allow.
36276         * conform/data/stdalign.h-data: New file.
36277         * conform/data/stdbool.h-data: Likewise.
36278         * conform/data/stdnoreturn.h-data: Likewise.
36280 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36282         [BZ #14815]
36283         * manual/filesys.texi (Directory Entries): Typo fix.
36284         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36286 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36288         * elf/elf.h (EM_AARCH64): New macro.
36289         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36290         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36291         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36292         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36293         (R_AARCH64_TLSDESC): Likewise.
36294         (NT_ARM_TLS): Likewise.
36295         (NT_ARM_HW_BREAK): Likewise.
36296         (NT_ARM_HW_WATCH): Likewise.
36298 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36300         [BZ #14811]
36301         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36302         (__ieee754_powl): Saturate nonzero exponents with absolute value
36303         below 0x1p-79 to +/- 0x1p-79.
36304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36305         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36306         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36307         nonzero exponents with absolute value below 0x1p-32 to +/-
36308         0x1p-32.
36309         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36310         (__ieee754_powl): Saturate nonzero exponents with absolute value
36311         below 0x1p-79 to +/- 0x1p-79.
36312         * math/libm-test.inc (pow_test): Add more tests.
36314 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36316         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36317         _dl_s390_cap_flags with kernel. Increase string length.
36318         (_dl_s390_platforms): Add z196 and zEC12.
36320 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36322         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36323         Change XOPEN21K to XOPEN2K.
36325 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36327         * string/memmove.c: Use memcpy when possible.
36329 2012-11-06  Andreas Jaeger  <aj@suse.de>
36331         * po/eo.po: Update from translation team.
36333 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36335         [BZ #14793]
36336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36337         exponent and small x and y exponents, scale x or y up.  Increase
36338         by 2 the exponent used in scaling up.
36339         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36340         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36341         * math/libm-test.inc (fma_test): Add more tests.
36342         (fma_test_towardzero): Likewise.
36343         (fma_test_downward): Likewise.
36344         (fma_test_upward): Likewise.
36346 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36348         [BZ #14805]
36349         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36350         fenv_t *.
36352         [BZ #14801]
36353         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36354         namespace for names of struct fields.
36355         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36356         fenv_t fields.
36357         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36358         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36360 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36362         [BZ #3665]
36363         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36365 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36367         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36368         PTR_DEMANGLE.
36370         [BZ #5246]
36371         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36372         PTR_DEMANGLE.
36374 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36376         [BZ #14797]
36377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36378         definitely overflow as x * y not x * y + z.
36379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36381         * math/libm-test.inc (fma_test): Add more tests.
36382         (fma_test_towardzero): Likewise.
36383         (fma_test_downward): Likewise.
36384         (fma_test_upward): Likewise.
36386 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36388         [BZ #157]
36390         * include/stub-tag.h: Remove file.
36391         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36392         '#include' of it.
36393         * manual/maint.texi (Porting): Don't reference it.
36394         * Makerules ($(objpfx)stubs): Likewise.
36395         * dirent/closedir.c: Don't include <stub-tag.h>.
36396         * dirent/dirfd.c: Likewise.
36397         * dirent/fdopendir.c: Likewise.
36398         * dirent/getdents.c: Likewise.
36399         * dirent/getdents64.c: Likewise.
36400         * dirent/opendir.c: Likewise.
36401         * dirent/readdir.c: Likewise.
36402         * dirent/readdir64.c: Likewise.
36403         * dirent/readdir64_r.c: Likewise.
36404         * dirent/readdir_r.c: Likewise.
36405         * dirent/rewinddir.c: Likewise.
36406         * dirent/seekdir.c: Likewise.
36407         * dirent/telldir.c: Likewise.
36408         * gmon/profil.c: Likewise.
36409         * grp/setgroups.c: Likewise.
36410         * inet/if_index.c: Likewise.
36411         * io/access.c: Likewise.
36412         * io/chdir.c: Likewise.
36413         * io/chmod.c: Likewise.
36414         * io/chown.c: Likewise.
36415         * io/close.c: Likewise.
36416         * io/dup.c: Likewise.
36417         * io/dup2.c: Likewise.
36418         * io/dup3.c: Likewise.
36419         * io/euidaccess.c: Likewise.
36420         * io/faccessat.c: Likewise.
36421         * io/fchdir.c: Likewise.
36422         * io/fchmod.c: Likewise.
36423         * io/fchmodat.c: Likewise.
36424         * io/fchown.c: Likewise.
36425         * io/fchownat.c: Likewise.
36426         * io/fcntl.c: Likewise.
36427         * io/flock.c: Likewise.
36428         * io/fstatfs.c: Likewise.
36429         * io/fstatfs64.c: Likewise.
36430         * io/fstatvfs.c: Likewise.
36431         * io/fstatvfs64.c: Likewise.
36432         * io/futimens.c: Likewise.
36433         * io/fxstat.c: Likewise.
36434         * io/fxstat64.c: Likewise.
36435         * io/fxstatat.c: Likewise.
36436         * io/fxstatat64.c: Likewise.
36437         * io/getcwd.c: Likewise.
36438         * io/isatty.c: Likewise.
36439         * io/lchmod.c: Likewise.
36440         * io/lchown.c: Likewise.
36441         * io/link.c: Likewise.
36442         * io/linkat.c: Likewise.
36443         * io/lseek.c: Likewise.
36444         * io/lseek64.c: Likewise.
36445         * io/lxstat64.c: Likewise.
36446         * io/mkdir.c: Likewise.
36447         * io/mkdirat.c: Likewise.
36448         * io/mkfifo.c: Likewise.
36449         * io/mkfifoat.c: Likewise.
36450         * io/open.c: Likewise.
36451         * io/open64.c: Likewise.
36452         * io/openat.c: Likewise.
36453         * io/openat64.c: Likewise.
36454         * io/pipe.c: Likewise.
36455         * io/pipe2.c: Likewise.
36456         * io/poll.c: Likewise.
36457         * io/posix_fadvise.c: Likewise.
36458         * io/posix_fadvise64.c: Likewise.
36459         * io/posix_fallocate.c: Likewise.
36460         * io/posix_fallocate64.c: Likewise.
36461         * io/read.c: Likewise.
36462         * io/readlink.c: Likewise.
36463         * io/readlinkat.c: Likewise.
36464         * io/rmdir.c: Likewise.
36465         * io/sendfile.c: Likewise.
36466         * io/sendfile64.c: Likewise.
36467         * io/statfs.c: Likewise.
36468         * io/statfs64.c: Likewise.
36469         * io/statvfs.c: Likewise.
36470         * io/statvfs64.c: Likewise.
36471         * io/symlink.c: Likewise.
36472         * io/symlinkat.c: Likewise.
36473         * io/ttyname.c: Likewise.
36474         * io/ttyname_r.c: Likewise.
36475         * io/umask.c: Likewise.
36476         * io/unlink.c: Likewise.
36477         * io/unlinkat.c: Likewise.
36478         * io/utime.c: Likewise.
36479         * io/utimensat.c: Likewise.
36480         * io/write.c: Likewise.
36481         * io/xmknod.c: Likewise.
36482         * io/xmknodat.c: Likewise.
36483         * io/xstat.c: Likewise.
36484         * io/xstat64.c: Likewise.
36485         * login/getpt.c: Likewise.
36486         * login/grantpt.c: Likewise.
36487         * login/unlockpt.c: Likewise.
36488         * math/e_acoshl.c: Likewise.
36489         * math/e_acosl.c: Likewise.
36490         * math/e_asinl.c: Likewise.
36491         * math/e_atan2l.c: Likewise.
36492         * math/e_atanhl.c: Likewise.
36493         * math/e_coshl.c: Likewise.
36494         * math/e_expl.c: Likewise.
36495         * math/e_fmodl.c: Likewise.
36496         * math/e_gammal_r.c: Likewise.
36497         * math/e_hypotl.c: Likewise.
36498         * math/e_j0l.c: Likewise.
36499         * math/e_j1l.c: Likewise.
36500         * math/e_jnl.c: Likewise.
36501         * math/e_lgammal_r.c: Likewise.
36502         * math/e_log10l.c: Likewise.
36503         * math/e_log2l.c: Likewise.
36504         * math/e_logl.c: Likewise.
36505         * math/e_powl.c: Likewise.
36506         * math/e_rem_pio2l.c: Likewise.
36507         * math/e_sinhl.c: Likewise.
36508         * math/e_sqrtl.c: Likewise.
36509         * math/fclrexcpt.c: Likewise.
36510         * math/fedisblxcpt.c: Likewise.
36511         * math/feenablxcpt.c: Likewise.
36512         * math/fegetenv.c: Likewise.
36513         * math/fegetexcept.c: Likewise.
36514         * math/fegetround.c: Likewise.
36515         * math/feholdexcpt.c: Likewise.
36516         * math/fesetenv.c: Likewise.
36517         * math/fesetround.c: Likewise.
36518         * math/feupdateenv.c: Likewise.
36519         * math/fgetexcptflg.c: Likewise.
36520         * math/fraiseexcpt.c: Likewise.
36521         * math/fsetexcptflg.c: Likewise.
36522         * math/ftestexcept.c: Likewise.
36523         * math/k_cosl.c: Likewise.
36524         * math/k_rem_pio2l.c: Likewise.
36525         * math/k_sinl.c: Likewise.
36526         * math/k_tanl.c: Likewise.
36527         * math/s_asinhl.c: Likewise.
36528         * math/s_atanl.c: Likewise.
36529         * math/s_cbrtl.c: Likewise.
36530         * math/s_erfl.c: Likewise.
36531         * math/s_expm1l.c: Likewise.
36532         * math/s_log1pl.c: Likewise.
36533         * math/s_tanhl.c: Likewise.
36534         * misc/acct.c: Likewise.
36535         * misc/brk.c: Likewise.
36536         * misc/chflags.c: Likewise.
36537         * misc/chroot.c: Likewise.
36538         * misc/fchflags.c: Likewise.
36539         * misc/fgetxattr.c: Likewise.
36540         * misc/flistxattr.c: Likewise.
36541         * misc/fremovexattr.c: Likewise.
36542         * misc/fsetxattr.c: Likewise.
36543         * misc/fsync.c: Likewise.
36544         * misc/ftruncate.c: Likewise.
36545         * misc/futimes.c: Likewise.
36546         * misc/futimesat.c: Likewise.
36547         * misc/getdomain.c: Likewise.
36548         * misc/getdtsz.c: Likewise.
36549         * misc/gethostid.c: Likewise.
36550         * misc/gethostname.c: Likewise.
36551         * misc/getloadavg.c: Likewise.
36552         * misc/getpagesize.c: Likewise.
36553         * misc/getsysstats.c: Likewise.
36554         * misc/getxattr.c: Likewise.
36555         * misc/gtty.c: Likewise.
36556         * misc/ioctl.c: Likewise.
36557         * misc/lgetxattr.c: Likewise.
36558         * misc/listxattr.c: Likewise.
36559         * misc/llistxattr.c: Likewise.
36560         * misc/lremovexattr.c: Likewise.
36561         * misc/lsetxattr.c: Likewise.
36562         * misc/lutimes.c: Likewise.
36563         * misc/madvise.c: Likewise.
36564         * misc/mincore.c: Likewise.
36565         * misc/mlock.c: Likewise.
36566         * misc/mlockall.c: Likewise.
36567         * misc/mmap.c: Likewise.
36568         * misc/mprotect.c: Likewise.
36569         * misc/msync.c: Likewise.
36570         * misc/munlock.c: Likewise.
36571         * misc/munlockall.c: Likewise.
36572         * misc/munmap.c: Likewise.
36573         * misc/preadv.c: Likewise.
36574         * misc/preadv64.c: Likewise.
36575         * misc/ptrace.c: Likewise.
36576         * misc/pwritev.c: Likewise.
36577         * misc/pwritev64.c: Likewise.
36578         * misc/readv.c: Likewise.
36579         * misc/reboot.c: Likewise.
36580         * misc/remap_file_pages.c: Likewise.
36581         * misc/removexattr.c: Likewise.
36582         * misc/revoke.c: Likewise.
36583         * misc/select.c: Likewise.
36584         * misc/setdomain.c: Likewise.
36585         * misc/setegid.c: Likewise.
36586         * misc/seteuid.c: Likewise.
36587         * misc/sethostid.c: Likewise.
36588         * misc/sethostname.c: Likewise.
36589         * misc/setregid.c: Likewise.
36590         * misc/setreuid.c: Likewise.
36591         * misc/setxattr.c: Likewise.
36592         * misc/sstk.c: Likewise.
36593         * misc/stty.c: Likewise.
36594         * misc/swapoff.c: Likewise.
36595         * misc/swapon.c: Likewise.
36596         * misc/sync.c: Likewise.
36597         * misc/syncfs.c: Likewise.
36598         * misc/syscall.c: Likewise.
36599         * misc/truncate.c: Likewise.
36600         * misc/ualarm.c: Likewise.
36601         * misc/usleep.c: Likewise.
36602         * misc/ustat.c: Likewise.
36603         * misc/utimes.c: Likewise.
36604         * misc/vhangup.c: Likewise.
36605         * misc/writev.c: Likewise.
36606         * posix/_exit.c: Likewise.
36607         * posix/alarm.c: Likewise.
36608         * posix/execve.c: Likewise.
36609         * posix/fexecve.c: Likewise.
36610         * posix/fork.c: Likewise.
36611         * posix/fpathconf.c: Likewise.
36612         * posix/getaddrinfo.c: Likewise.
36613         * posix/getegid.c: Likewise.
36614         * posix/geteuid.c: Likewise.
36615         * posix/getgid.c: Likewise.
36616         * posix/getgroups.c: Likewise.
36617         * posix/getlogin.c: Likewise.
36618         * posix/getlogin_r.c: Likewise.
36619         * posix/getpgid.c: Likewise.
36620         * posix/getpid.c: Likewise.
36621         * posix/getppid.c: Likewise.
36622         * posix/getresgid.c: Likewise.
36623         * posix/getresuid.c: Likewise.
36624         * posix/getsid.c: Likewise.
36625         * posix/getuid.c: Likewise.
36626         * posix/glob64.c: Likewise.
36627         * posix/nanosleep.c: Likewise.
36628         * posix/pathconf.c: Likewise.
36629         * posix/pause.c: Likewise.
36630         * posix/posix_madvise.c: Likewise.
36631         * posix/pread.c: Likewise.
36632         * posix/pread64.c: Likewise.
36633         * posix/pwrite.c: Likewise.
36634         * posix/pwrite64.c: Likewise.
36635         * posix/sched_getaffinity.c: Likewise.
36636         * posix/sched_getp.c: Likewise.
36637         * posix/sched_gets.c: Likewise.
36638         * posix/sched_primax.c: Likewise.
36639         * posix/sched_primin.c: Likewise.
36640         * posix/sched_rr_gi.c: Likewise.
36641         * posix/sched_setaffinity.c: Likewise.
36642         * posix/sched_setp.c: Likewise.
36643         * posix/sched_sets.c: Likewise.
36644         * posix/sched_yield.c: Likewise.
36645         * posix/setgid.c: Likewise.
36646         * posix/setlogin.c: Likewise.
36647         * posix/setpgid.c: Likewise.
36648         * posix/setresgid.c: Likewise.
36649         * posix/setresuid.c: Likewise.
36650         * posix/setsid.c: Likewise.
36651         * posix/setuid.c: Likewise.
36652         * posix/sleep.c: Likewise.
36653         * posix/spawni.c: Likewise.
36654         * posix/sysconf.c: Likewise.
36655         * posix/times.c: Likewise.
36656         * posix/wait.c: Likewise.
36657         * posix/wait3.c: Likewise.
36658         * posix/wait4.c: Likewise.
36659         * posix/waitpid.c: Likewise.
36660         * resolv/gai_sigqueue.c: Likewise.
36661         * resource/getpriority.c: Likewise.
36662         * resource/getrlimit.c: Likewise.
36663         * resource/getrusage.c: Likewise.
36664         * resource/nice.c: Likewise.
36665         * resource/setpriority.c: Likewise.
36666         * resource/setrlimit.c: Likewise.
36667         * resource/ulimit.c: Likewise.
36668         * rt/aio_cancel.c: Likewise.
36669         * rt/aio_fsync.c: Likewise.
36670         * rt/aio_read.c: Likewise.
36671         * rt/aio_sigqueue.c: Likewise.
36672         * rt/aio_suspend.c: Likewise.
36673         * rt/aio_write.c: Likewise.
36674         * rt/clock_getres.c: Likewise.
36675         * rt/clock_gettime.c: Likewise.
36676         * rt/clock_nanosleep.c: Likewise.
36677         * rt/clock_settime.c: Likewise.
36678         * rt/lio_listio.c: Likewise.
36679         * rt/mq_close.c: Likewise.
36680         * rt/mq_getattr.c: Likewise.
36681         * rt/mq_notify.c: Likewise.
36682         * rt/mq_open.c: Likewise.
36683         * rt/mq_receive.c: Likewise.
36684         * rt/mq_send.c: Likewise.
36685         * rt/mq_setattr.c: Likewise.
36686         * rt/mq_timedreceive.c: Likewise.
36687         * rt/mq_timedsend.c: Likewise.
36688         * rt/mq_unlink.c: Likewise.
36689         * rt/shm_open.c: Likewise.
36690         * rt/shm_unlink.c: Likewise.
36691         * rt/timer_create.c: Likewise.
36692         * rt/timer_delete.c: Likewise.
36693         * rt/timer_getoverr.c: Likewise.
36694         * rt/timer_gettime.c: Likewise.
36695         * rt/timer_settime.c: Likewise.
36696         * setjmp/__longjmp.c: Likewise.
36697         * setjmp/setjmp.c: Likewise.
36698         * signal/kill.c: Likewise.
36699         * signal/killpg.c: Likewise.
36700         * signal/raise.c: Likewise.
36701         * signal/sigaction.c: Likewise.
36702         * signal/sigaltstack.c: Likewise.
36703         * signal/sigblock.c: Likewise.
36704         * signal/sigignore.c: Likewise.
36705         * signal/sigintr.c: Likewise.
36706         * signal/signal.c: Likewise.
36707         * signal/sigpause.c: Likewise.
36708         * signal/sigpending.c: Likewise.
36709         * signal/sigqueue.c: Likewise.
36710         * signal/sigreturn.c: Likewise.
36711         * signal/sigset.c: Likewise.
36712         * signal/sigsetmask.c: Likewise.
36713         * signal/sigstack.c: Likewise.
36714         * signal/sigsuspend.c: Likewise.
36715         * signal/sigtimedwait.c: Likewise.
36716         * signal/sigvec.c: Likewise.
36717         * signal/sigwait.c: Likewise.
36718         * signal/sigwaitinfo.c: Likewise.
36719         * signal/sysv_signal.c: Likewise.
36720         * socket/accept.c: Likewise.
36721         * socket/accept4.c: Likewise.
36722         * socket/bind.c: Likewise.
36723         * socket/connect.c: Likewise.
36724         * socket/getpeername.c: Likewise.
36725         * socket/getsockname.c: Likewise.
36726         * socket/getsockopt.c: Likewise.
36727         * socket/isfdtype.c: Likewise.
36728         * socket/listen.c: Likewise.
36729         * socket/recv.c: Likewise.
36730         * socket/recvfrom.c: Likewise.
36731         * socket/recvmsg.c: Likewise.
36732         * socket/send.c: Likewise.
36733         * socket/sendmsg.c: Likewise.
36734         * socket/sendto.c: Likewise.
36735         * socket/setsockopt.c: Likewise.
36736         * socket/shutdown.c: Likewise.
36737         * socket/sockatmark.c: Likewise.
36738         * socket/socket.c: Likewise.
36739         * socket/socketpair.c: Likewise.
36740         * stdio-common/ctermid.c: Likewise.
36741         * stdio-common/cuserid.c: Likewise.
36742         * stdio-common/remove.c: Likewise.
36743         * stdio-common/rename.c: Likewise.
36744         * stdio-common/renameat.c: Likewise.
36745         * stdio-common/tempname.c: Likewise.
36746         * stdlib/getcontext.c: Likewise.
36747         * stdlib/makecontext.c: Likewise.
36748         * stdlib/setcontext.c: Likewise.
36749         * stdlib/swapcontext.c: Likewise.
36750         * stdlib/system.c: Likewise.
36751         * streams/fattach.c: Likewise.
36752         * streams/fdetach.c: Likewise.
36753         * streams/getmsg.c: Likewise.
36754         * streams/getpmsg.c: Likewise.
36755         * streams/putmsg.c: Likewise.
36756         * streams/putpmsg.c: Likewise.
36757         * sysdeps/unix/bsd/getpt.c: Likewise.
36758         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36759         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36760         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36762         Likewise.
36763         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36764         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36765         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36766         * sysvipc/msgctl.c: Likewise.
36767         * sysvipc/msgget.c: Likewise.
36768         * sysvipc/msgrcv.c: Likewise.
36769         * sysvipc/msgsnd.c: Likewise.
36770         * sysvipc/semctl.c: Likewise.
36771         * sysvipc/semget.c: Likewise.
36772         * sysvipc/semop.c: Likewise.
36773         * sysvipc/semtimedop.c: Likewise.
36774         * sysvipc/shmat.c: Likewise.
36775         * sysvipc/shmctl.c: Likewise.
36776         * sysvipc/shmdt.c: Likewise.
36777         * sysvipc/shmget.c: Likewise.
36778         * termios/tcdrain.c: Likewise.
36779         * termios/tcflow.c: Likewise.
36780         * termios/tcflush.c: Likewise.
36781         * termios/tcgetattr.c: Likewise.
36782         * termios/tcgetpgrp.c: Likewise.
36783         * termios/tcsendbrk.c: Likewise.
36784         * termios/tcsetattr.c: Likewise.
36785         * termios/tcsetpgrp.c: Likewise.
36786         * time/adjtime.c: Likewise.
36787         * time/clock.c: Likewise.
36788         * time/getitimer.c: Likewise.
36789         * time/gettimeofday.c: Likewise.
36790         * time/setitimer.c: Likewise.
36791         * time/settimeofday.c: Likewise.
36792         * time/stime.c: Likewise.
36793         * time/time.c: Likewise.
36795 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36797         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36798         /usr/old/bin.
36800         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36801         instead of spaces.
36802         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36804 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36806         [BZ #14796]
36807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36808         FE_TONEAREST before applying Dekker multiplication and Knuth
36809         addition.  Clear inexact exceptions and check for exact zero
36810         results afterwards.
36811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36812         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36813         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36814         * math/libm-test.inc (fma_test): Add more tests.
36815         (fma_test_towardzero): Likewise.
36816         (fma_test_downward): Likewise.
36817         (fma_test_upward): Likewise.
36818         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36819         function.
36820         (libc_fesetround): New macro.
36821         (libc_fesetroundf): Likewise.
36822         (libc_fesetroundl): Likewise.
36823         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36824         function.
36825         (libc_fesetround_387): Likewise.
36826         (libc_fesetroundf): New macro.
36827         (libc_fesetround): Likewise.
36828         (libc_fesetroundl): Likewise.
36829         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36830         function.
36831         (libc_fesetroundf): New macro.
36832         (libc_fesetround): Likewise.
36833         (libc_fesetroundl): Likewise.
36834         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36835         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36836         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36837         libm_hidden_ver.
36838         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36839         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36840         libm_hidden_def.
36841         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36842         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36843         libm_hidden_ver.
36844         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36845         libm_hidden_def.
36847         [BZ #3439]
36848         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36849         integer constant usable in #if and use that to give value to enum
36850         constant.
36851         (FE_DIVBYZERO): Likewise.
36852         (FE_UNDERFLOW): Likewise.
36853         (FE_OVERFLOW): Likewise.
36854         (FE_INVALID): Likewise.
36855         (FE_INVALID_SNAN): Likewise.
36856         (FE_INVALID_ISI): Likewise.
36857         (FE_INVALID_IDI): Likewise.
36858         (FE_INVALID_ZDZ): Likewise.
36859         (FE_INVALID_IMZ): Likewise.
36860         (FE_INVALID_COMPARE): Likewise.
36861         (FE_INVALID_SOFTWARE): Likewise.
36862         (FE_INVALID_SQRT): Likewise.
36863         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36864         (FE_TONEAREST): Likewise.
36865         (FE_TOWARDZERO): Likewise.
36866         (FE_UPWARD): Likewise.
36867         (FE_DOWNWARD): Likewise.
36868         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36869         (FE_DIVBYZERO): Likewise.
36870         (FE_OVERFLOW): Likewise.
36871         (FE_UNDERFLOW): Likewise.
36872         (FE_INEXACT): Likewise.
36873         (FE_TONEAREST): Likewise.
36874         (FE_DOWNWARD): Likewise.
36875         (FE_UPWARD): Likewise.
36876         (FE_TOWARDZERO): Likewise.
36877         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36878         (FE_UNDERFLOW): Likewise.
36879         (FE_OVERFLOW): Likewise.
36880         (FE_DIVBYZERO): Likewise.
36881         (FE_INVALID): Likewise.
36882         (FE_TONEAREST): Likewise.
36883         (FE_TOWARDZERO): Likewise.
36884         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36885         (FE_OVERFLOW): Likewise.
36886         (FE_UNDERFLOW): Likewise.
36887         (FE_DIVBYZERO): Likewise.
36888         (FE_INEXACT): Likewise.
36889         (FE_TONEAREST): Likewise.
36890         (FE_TOWARDZERO): Likewise.
36891         (FE_UPWARD): Likewise.
36892         (FE_DOWNWARD): Likewise.
36893         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36894         (FE_DIVBYZERO): Likewise.
36895         (FE_OVERFLOW): Likewise.
36896         (FE_UNDERFLOW): Likewise.
36897         (FE_INEXACT): Likewise.
36898         (FE_TONEAREST): Likewise.
36899         (FE_DOWNWARD): Likewise.
36900         (FE_UPWARD): Likewise.
36901         (FE_TOWARDZERO): Likewise.
36903 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36905         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36907 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36909         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36910         commands.  Quote $PWD.
36911         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36912         -x" by "export".
36913         (remove_newlines): Remove.
36915 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36917         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36918         * stdlib/stdlib.h (atof): Moved to ...
36919         * include/bits/stdlib-float.h: Here.  New file.
36920         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36921         * stdlib/bits/stdlib-float.h: New file.
36922         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36923         -mno-sse -mno-mmx.
36924         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36925         <xmmintrin.h>.
36927 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36929         * conform/conformtest.pl (@headers): Add fenv.h.
36930         * conform/data/fenv.h-data: New file.
36931         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36932         include of <math/fenv.h>.
36934         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36935         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36936         && !UNIX98].  Enables tests for XOPEN2K8.
36937         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36938         POSIX2008]: Likewise.
36940         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36941         (struct rusage): Do not expect type or its members.
36943         [BZ #3439]
36944         * math/math.h (FP_NAN): Define macro to integer constant usable in
36945         #if and use that to give value to enum constant.
36946         (FP_INFINITE): Likewise.
36947         (FP_ZERO): Likewise.
36948         (FP_SUBNORMAL): Likewise.
36949         (FP_NORMAL): Likewise.
36951 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36953         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36954         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36955         arguments.
36957 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36959         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36960         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36961         autoconf-time if not.
36962         * configure.in: Remove AC_PREREQ.
36964 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36966         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36967         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36968         of the internal implementation.
36970 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36972         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36973         except include of <misc/sys/syslog.h>.
36975 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36978         function returns with a NULL context exit with zero.
36980 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36982         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36984 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
36986         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36987         (run_program_cmd): This.
36988         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36989         (tst_langinfo): New variable.  Use it.
36991 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
36993         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36994         floating point opcodes.
36996 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36998         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36999         variable.
37001         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37003         * sysdeps/mach/hurd/powerpc: Remove directory.
37004         * sysdeps/mach/powerpc: Likewise.
37006 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37008         * scripts/check-local-headers.sh: Ignore c++ headers.
37010 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37012         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37013         __libc_cleanup_region_start argument.
37015 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37017         [BZ #14784]
37018         [BZ #14785]
37019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37020         x * y using scaling, not as x * y + z.
37021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37022         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37023         * math/libm-test.inc (fma_test): Add more tests.
37024         (fma_test_towardzero): Likewise.
37025         (fma_test_downward): Likewise.
37026         (fma_test_upward): Likewise.
37028 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37030         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37032 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37034         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37035         New variable.
37037 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37039         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37041 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37044         Fix sort order.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37046         Likewise.
37048 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37051         Fix the order of the list for glibc 2.17.
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37053         Likewise.
37055 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37059 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37061         [BZ #14610]
37062         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37063         for low part of x being zero before using __atanl (y).
37064         * math/libm-test.inc (atan2_test): Add another test.
37066         * manual/install.texi (Configuring and compiling): Document
37067         general use of test-wrapper and test-wrapper-env.
37068         * INSTALL: Regenerated.
37070         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37071         (__fma): Do not extract and scale down low bits on after-rounding
37072         systems when result rounded to normal precision would have normal
37073         exponent.
37074         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37075         (__fmal): Do not extract and scale down low bits on after-rounding
37076         systems when result rounded to normal precision would have normal
37077         exponent.
37078         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37079         (__fmal): Do not extract and scale down low bits on after-rounding
37080         systems when result rounded to normal precision would have normal
37081         exponent.
37082         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37083         macro.
37084         (fma_test): Add more tests.
37085         (fma_test_towardzero): Likewise.
37086         (fma_test_downward): Likewise.
37087         (fma_test_upward): Likewise.
37089 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37091         * sysdeps/i386/tininess.h: Renamed to ...
37092         * sysdeps/x86/tininess.h: This.
37093         * sysdeps/x86_64/tininess.h: Removed.
37095 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37097         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37098         input.  Use $(build-program-cmd).
37099         ($(objpfx)tst-array1-static.out): Likewise.
37100         ($(objpfx)tst-array2.out): Likewise.
37101         ($(objpfx)tst-array3.out): Likewise.
37102         ($(objpfx)tst-array4.out): Likewise.
37103         ($(objpfx)tst-array5.out): Likewise.
37104         ($(objpfx)tst-array5-static.out): Likewise.
37106 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37108         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37109         if defined.
37111         * nss/nsswitch.h (nss_interface_function): Provide new
37112         macro for use with NSS functions.
37113         * grp/initgroups.c: Use new macro.
37114         * nss/getXXbyYY.c: Likewise.
37115         * nss/getXXbyYY_r.c: Likewise.
37116         * nss/getXXent.c: Likewise.
37117         * nss/getXXent_r.c: Likewise.
37118         * sysdeps/posix/getaddrinfo.c: Likewise.
37120 2012-10-30  Andreas Jaeger  <aj@suse.de>
37122         * po/ru.po: Update Russion translation from translation project.
37124 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37126         [BZ #14152]
37127         [BZ #14783]
37128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37129         result and shift together with sticky bit instead of replicating
37130         round-to-nearest rounding.
37131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37133         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37134         missing underflow exceptions.
37135         (fma_test_towardzero): Add more tests.
37136         (fma_test_downward): Likewise.
37137         (fma_test_upward): Likewise.
37139         [BZ #14047]
37140         * sysdeps/generic/tininess.h: New file.
37141         * sysdeps/i386/tininess.h: Likewise.
37142         * sysdeps/sh/tininess.h: Likewise.
37143         * sysdeps/x86_64/tininess.h: Likewise.
37144         * stdlib/tst-strtod-underflow.c: Likewise.
37145         * stdlib/tst-tininess.c: Likewise.
37146         * stdlib/strtod_l.c: Include <tininess.h>.
37147         (round_and_return): Do not set errno for exact underflow cases.
37148         Force an underflow exception when setting errno for underflow.
37149         Determine underflow based on rounding to normal precision if
37150         TININESS_AFTER_ROUNDING.
37151         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37152         ERANGE for exact underflow cases.
37153         * stdlib/Makefile (tests): Add tst-tininess and
37154         tst-strtod-underflow.
37155         ($(objpfx)tst-tininess): Use $(link-libm).
37156         ($(objpfx)tst-strtod-underflow): Likewise.
37158 2012-10-30  Andreas Jaeger  <aj@suse.de>
37160         [BZ#14767]
37161         * elf/Makefile (tests): Remove conditional for have-initfini-array
37162         since this is now always required and the variable does not exist
37163         anymore.
37164         (tests-static): Likewise.
37165         (modules-names): Likewise.
37167         * po/eo.po: Add Esperanto translation from translation project.
37169         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37170         merged with constructor/destructor.
37171         (init_array): Likewise.
37172         * elf/tst-array2dep.c (fini_array): Likewise.
37173         (init_array): Likewise.
37175 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37177         * manual/message.texi: Delete @cartouche tags.
37179 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37181         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37182         EOPNOTSUPP.
37183         * sysdeps/mach/hurd/fsync.c: Likewise.
37185         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37186         [_POSIX_REALTIME_SIGNALS]: Change condition to
37187         [_POSIX_REALTIME_SIGNALS > 0].
37189 2012-10-27  Andreas Jaeger  <aj@suse.de>
37191         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37192         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37194         [__WORDSIZE != 64]: Likewise.
37196 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37198         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37199         *  iconvdata/tst-tables.sh: Likewise.
37201 2012-10-25  David S. Miller  <davem@davemloft.net>
37203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37204         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37205         of strtoull.
37207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37208         ifunc-impl-list.c
37209         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37210         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37211         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37212         file.
37214 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37216         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37217         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37218         __getdirentries.
37220 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37221             Jim Blandy  <jimb@codesourcery.com>
37223         * scripts/cross-test-ssh.sh: New file.
37224         * manual/install.texi (Configuring and compiling): Document use of
37225         cross-test-ssh.sh.
37226         * INSTALL: Regenerated.
37228 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37230         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37231         EOPNOTSUPP.
37233 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37235         * Makeconfig (run-program-prefix): Fix comment.
37237 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37238             Jim Blandy  <jimb@codesourcery.com>
37240         * Makeconfig (test-wrapper): New variable,
37241         (test-wrapper-env): Likewise.
37242         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37243         (run-built-tests): Define to yes.
37244         (run-program-prefix): Use $(test-wrapper).
37245         (built-program-cmd): Likewise.
37246         * Rules (make-test-out): Use $(test-wrapper-env) and
37247         $(host-built-program-cmd).
37248         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37249         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37250         tst-pathopt.sh.
37251         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37252         $(test-wrapper-env) to tst-rtld-load-self.sh.
37253         ($(objpfx)order2.out): Use $(test-wrapper).
37254         ($(objpfx)tst-initorder.out): Likewise.
37255         ($(objpfx)tst-initorder2.out): Likewise.
37256         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37257         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37258         (test_wrapper_env): New variable.  Use it to run ld.so.
37259         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37260         Use it to run ld.so.
37261         (test_wrapper_env): Likewise.
37262         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37263         $(test-wrapper) to run-iconv-test.sh.
37264         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37265         (ICONV): Use $test_wrapper.
37266         * posix/Makefile ($(objpfx)globtest.out): Pass
37267         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37268         globtest.sh, not $(run-program-prefix).
37269         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37270         (test_wrapper): Likewise.
37271         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37272         set together with run_via_rtld_prefix.
37273         (run_program_prefix): Define in terms of test_wrapper and
37274         run_via_rtld_prefix.
37276 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37278         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37279         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37280         Targets removed.
37282         [BZ #14743]
37283         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37284         Declare __clock_getres, __clock_gettime, __clock_settime,
37285         __clock_nanosleep, and __clock_getcpuclockid.
37286         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37287         Remove librt_hidden_def (clock_gettime).
37288         * sysdeps/unix/clock_gettime.c: Likewise.
37289         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37290         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37291         * rt/clock_getres.c: Define __clock_getres as an alias.
37292         * sysdeps/posix/clock_getres.c: Likewise.
37293         * rt/clock_settime.c: Define __clock_settime as an alias.
37294         * sysdeps/unix/clock_settime.c: Likewise.
37295         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37296         * sysdeps/unix/clock_nanosleep.c: Likewise.
37297         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37298         * rt/clock-compat.c: New file.
37299         * rt/Makefile (librt-routines): Add clock-compat and move
37300         $(clock-routines) to ...
37301         (routines): ... here, new variable.
37302         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37303         Don't add get_clockfreq here.
37304         * rt/Versions (libc: GLIBC_2.17): New version set.
37305         Add clock_* symbols here.
37306         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37308         (GLIBC_2.17): Add clock_* symbols.
37309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37311         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37313         Likewise.
37314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37315         Likewise.
37316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37320         * NEWS: Mention the move.
37322         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37323         Use __open, __read, __close rather than their public counterparts.
37324         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37325         (__get_clockfreq_via_cpuinfo): Likewise.
37326         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37327         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37329         * config.h.in (HAVE_IFUNC): New #undef.
37330         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37331         was successful.
37332         * configure: Regenerated.
37334 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37336         * configure.in: Move READELF check to start of file.
37337         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37338         libc_cv_asm_gnu_indirect_function in the process.
37339         * configure: Regenerated.
37341 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37343         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37344         send the output to /dev/null.
37345         (libc_cv_cc_with_libunwind): Likewise.
37346         (libc_cv_as_noexecstack): Likewise.
37347         * configure: Regenerate.
37349 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37351         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37353         * posix/globtest.sh (TMPDIR): Do not set.
37354         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37355         (testout): Likewise.
37357 2012-10-24  Andreas Jaeger  <aj@suse.de>
37359         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37360         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37361         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37362         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37363         posix_fadvise64, posix_fallocate64.
37365         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37366         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37367         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37368         Likewise.
37369         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37370         Likewise.
37371         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37373         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37374         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37375         <bits/fcntl-linux.h>.
37376         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37379         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37380         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37381         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37382         [__WORDSIZE != 64]: Likewise.
37384 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37386         * Makeconfig (run-built-tests): New variable.
37387         * Rules [$(cross-compiling) = yes]: Change condition to
37388         [$(run-built-tests) = no].
37389         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37390         to [$(run-built-tests) = yes].
37391         * elf/Makefile [$(cross-compiling) = no]: Likewise
37392         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37393         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37394         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37395         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37396         * io/Makefile [$(cross-compiling) = no]: Likewise.
37397         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37398         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37399         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37400         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37401         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37402         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37403         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37404         * string/Makefile [$(cross-compiling) = no]: Likewise.
37406         * posix/Makefile ($(objpfx)globtest.out): Pass
37407         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37408         $(rtld-installed-name).
37409         * posix/globtest.sh (elf_objpfx): Remove variable.
37410         (rtld_installed_name): Likewise.
37411         (library_path): Likewise.
37412         (run_program_prefix): New variable.  Use for running globtest
37413         binary.
37415 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37416             Joseph Myers  <joseph@codesourcery.com>
37418         * Makeconfig (host-built-program-cmd): New variable.
37419         * elf/Makefile (tst-stackguard1-ARGS): Use
37420         $(host-built-program-cmd).
37421         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37422         (tst-spawn-ARGS): Likewise.
37423         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37425 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37426             Jim Blandy  <jimb@codesourcery.com>
37428         * Makeconfig (run-via-rtld-prefix): New variable.
37429         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37430         (built-program-cmd): Likewise.
37432 2012-10-22  Andreas Jaeger  <aj@suse.de>
37434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37435         __O_RSYNC if it exists, otherwise to O_SYNC.
37437 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37438             Joseph Myers  <joseph@codesourcery.com>
37440         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37441         /dev/null.
37442         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37443         from /dev/null
37444         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37445         /dev/null.
37447 2012-10-22  Andreas Jaeger  <aj@suse.de>
37449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37450         Define always.
37451         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37454         bits/fcntl-linux.h.
37456         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37457         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37460         to __O_LARGEFILE.
37461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37462         to __O_LARGEFILE.
37464 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37465             Joseph Myers  <joseph@codesourcery.com>
37467         * config.make.in (NM): New variable.
37469 2012-10-21  Andreas Jaeger  <aj@suse.de>
37471         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37472         definitions and declarations that are provided by
37473         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37475 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37477         [BZ #14683]
37478         * elf/Makefile (tests-static): Add tst-leaks1-static.
37479         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37480         ($(objpfx)tst-leaks1-static): New rule.
37481         ($(objpfx)tst-leaks1-static-mem): Likewise.
37482         (tst-leaks1-static-ENV): New macro.
37483         * elf/dl-open.c (dl_open_worker): Check the main application
37484         only if SHARED is defined.
37485         * elf/tst-leaks1-static.c: New file.
37487 2012-10-20  Andreas Jaeger  <aj@suse.de>
37489         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37490         generic values for Linux.
37491         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37492         and declarations that are provided by <bits/fcntl-linux.h> and
37493         include <bits/fcntl-linux.h>.
37494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37497 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37499         * io/fcntl.h: Move include of <bits/types.h> to the top and
37500         include it unconditionally.
37502 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37504         * wcsmbs/Makefile (tests-ifunc): New variable.
37505         (tests): Add $(tests-ifunc).
37506         * wcsmbs/test-wcschr-ifunc.c: New file.
37507         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37508         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37509         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37510         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37511         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37513         * string/Makefile (tests-ifunc): New variable.
37514         (tests): Add $(tests-ifunc).
37515         * string/test-memccpy.c (TEST_NAME): New macro.
37516         * string/test-memchr.c (TEST_NAME): Likewise.
37517         * string/test-memcmp.c (TEST_NAME): Likewise.
37518         * string/test-memcpy.c (TEST_NAME): Likewise.
37519         * string/test-memmem.c (TEST_NAME): Likewise.
37520         * string/test-memmove.c (TEST_NAME): Likewise.
37521         * string/test-memset.c (TEST_NAME): Likewise.
37522         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37523         * string/test-stpcpy.c (TEST_NAME): Likewise.
37524         * string/test-stpncpy.c (TEST_NAME): Likewise.
37525         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37526         * string/test-strcasestr.c (TEST_NAME): Likewise.
37527         * string/test-strcat.c (TEST_NAME): Likewise.
37528         * string/test-strchr.c (TEST_NAME): Likewise.
37529         * string/test-strcmp.c(TEST_NAME): Likewise.
37530         * string/test-strcpy.c (TEST_NAME): Likewise.
37531         * string/test-strcspn.c (TEST_NAME): Likewise.
37532         * string/test-strlen.c (TEST_NAME): Likewise.
37533         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37534         * string/test-strncmp.c (TEST_NAME): Likewise.
37535         * string/test-strncpy.c (TEST_NAME): Likewise.
37536         * string/test-strnlen.c (TEST_NAME): Likewise.
37537         * string/test-strpbrk.c (TEST_NAME): Likewise.
37538         * string/test-strrchr.c (TEST_NAME): Likewise.
37539         * string/test-strspn.c (TEST_NAME): Likewise.
37540         * string/test-strstr.c (TEST_NAME): Likewise.
37541         * string/test-bcopy-ifunc.c: New file.
37542         * string/test-bzero-ifunc.c: Likewise.
37543         * string/test-memccpy-ifunc.c: Likewise.
37544         * string/test-memchr-ifunc.c: Likewise.
37545         * string/test-memcmp-ifunc.c: Likewise.
37546         * string/test-memcpy-ifunc.c: Likewise.
37547         * string/test-memmem-ifunc.c: Likewise.
37548         * string/test-memmove-ifunc.c: Likewise.
37549         * string/test-mempcpy-ifunc.c: Likewise.
37550         * string/test-memset-ifunc.c: Likewise.
37551         * string/test-rawmemchr-ifunc.c: Likewise.
37552         * string/test-stpcpy-ifunc.c: Likewise.
37553         * string/test-stpncpy-ifunc.c: Likewise.
37554         * string/test-strcasecmp-ifunc.c: Likewise.
37555         * string/test-strcasestr-ifunc.c: Likewise.
37556         * string/test-strcat-ifunc.c: Likewise.
37557         * string/test-strchr-ifunc.c: Likewise.
37558         * string/test-strchrnul-ifunc.c: Likewise.
37559         * string/test-strcmp-ifunc.c: Likewise.
37560         * string/test-strcpy-ifunc.c: Likewise.
37561         * string/test-strcspn-ifunc.c: Likewise.
37562         * string/test-strlen-ifunc.c: Likewise.
37563         * string/test-strncasecmp-ifunc.c: Likewise.
37564         * string/test-strncat-ifunc.c: Likewise.
37565         * string/test-strncmp-ifunc.c: Likewise.
37566         * string/test-strncpy-ifunc.c: Likewise.
37567         * string/test-strnlen-ifunc.c: Likewise.
37568         * string/test-strpbrk-ifunc.c: Likewise.
37569         * string/test-strrchr-ifunc.c: Likewise.
37570         * string/test-strspn-ifunc.c: Likewise.
37571         * string/test-strstr-ifunc.c: Likewise.
37573         * debug/Makefile (tests-ifunc): New variable.
37574         (tests): Add $(tests-ifunc).
37575         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37576         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37577         * debug/test-stpcpy_chk-ifunc.c: New file.
37578         * debug/test-strcpy_chk-ifunc.c: Likewise.
37580 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37582         [BZ #13601]
37583         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37584         header is not read in.
37586 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37588         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37589         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37590         directly.  Pass built executable to script as
37591         $(built-program-cmd).
37592         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37593         $testprogram without using LD_LIBRARY_PATH and $ldso.
37595         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37596         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37597         $(rtld-installed-name).
37598         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37599         (rtld_installed_name): Likewise.
37600         (library_path): Likewise.
37601         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37602         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37603         $(run-program-prefix) to tst-tables.sh.
37604         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37605         it to run tst-table-from and tst-table-to.
37606         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37607         Pass it to tst-table.sh.
37608         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37609         $(run-program-prefix) to tst-gettext.sh.
37610         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37611         tst-translit.sh.
37612         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37613         tst-gettext2.sh.
37614         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37615         to run tst-gettext.
37616         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37617         to run tst-gettext2.
37618         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37619         to run tst-translit.
37620         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37621         $(run-program-prefix) to tst-mtrace.sh.
37622         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37623         to run tst-mtrace.
37624         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37625         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37626         $(rtld-installed-name).
37627         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37628         (rtld_installed_name): Likewise.
37629         (run_program_prefix): New variable.  Use it to run wordexp-test.
37631         * Makeconfig (ARCH): Remove all definitions.
37632         (machine): Likewise.
37633         [ARCH]: Remove conditional code.
37634         [!objdir]: Give error.
37635         [!objdir] (objpfx): Remove.
37636         [!objdir] (common-objpfx): Likewise.
37637         [!objdir] (common-objdir): Likewise.
37638         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37639         AC_CONFIG_FILES call.
37640         * configure: Regenerated.
37642         [BZ #13888]
37643         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37644         or TMPDIR.
37645         (testout): Likewise.
37647         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37648         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37649         $(rtld-installed-name).
37650         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37651         (rtld_installed_name): Likwise.
37652         (runit): Remove function.
37653         (run_getconf): New variable,  Use it for running getconf binary.
37655 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37657         [BZ #14716]
37658         * string/test-memmem.c (check_result): New function.
37659         (do_one_test): Use it.
37660         (check1): New function.
37661         (test_main): Use it.
37663 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37665         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37667 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37669         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37670         (_G_LSEEK64): Likewise.
37671         (_G_MMAP64): Likewise.
37672         (_G_FSTAT64): Likewise.
37673         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37674         (_G_LSEEK64): Likewise.
37675         (_G_MMAP64): Likewise.
37676         (_G_FSTAT64): Likewise.
37677         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37678         unconditional.  Call __mmap64 directly.
37679         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37680         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37681         __lseek64 directly.
37682         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37683         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37684         __mmap64 directly.
37685         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37686         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37687         __lseek64 directly.
37688         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37689         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37690         __lseek64 directly.
37691         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37692         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37693         __lseek64 directly.
37694         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37695         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37696         __fxstat64 directly.
37697         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37698         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37699         unconditional.
37700         (freopen64) [!_G_OPEN64]: Remove conditional code.
37701         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37702         unconditional.
37703         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37704         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37705         unconditional.
37706         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37707         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37708         unconditional.
37709         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37710         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37711         unconditional.
37712         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37713         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37714         unconditional.
37715         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37716         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37717         unconditional.
37718         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37719         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37720         unconditional.
37721         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37723 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37725         [BZ #12140]
37726         * manual/memory.texi (Malloc Tunable Parameters): Add note
37727         about free list pointers overwriting some perturb bytes.
37728         Wording suggested by Roland McGrath.
37730 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37732         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37733         (lgamma_test): Likewise.
37734         (tgamma_test): Likewise.
37736 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37738         [BZ #14700]
37739         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37740         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37742 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37744         * NEWS: Mention BZ #14716.
37745         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37746         when removing AVAILABLE1_USES_J macro.
37748 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37750         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37751         (__bswap_64): __uint64_t for unsigned 64-bit int.
37753 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37755         * include/string.h (memmem): Declare libc hidden alias.
37756         * string/memmem.c (memmem): Define libc hidden alias.
37757         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37758         __read, __close instead of open, read, close.
37760 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37763         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37764         global and hidden.
37765         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37766         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37767         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37768         Likewise.
37769         (__rawmemchr_sse2): Likewise.
37770         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37771         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37772         (__strchr_sse2): Likewise.
37773         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37774         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37775         (__strcasecmp_sse2): Likewise.
37776         (__strncasecmp_sse2): Likewise.
37777         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37778         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37779         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37780         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37781         (__strrchr_sse2): Likewise.
37782         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37783         ifunc-impl-list.c.
37784         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37785         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37786         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37787         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37788         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37789         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37790         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37791         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37792         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37793         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37794         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37795         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37796         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37797         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37798         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37799         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37800         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37801         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37802         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37803         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37804         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37805         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37806         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37807         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37808         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37809         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37810         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37811         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37812         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37813         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37815         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37816         global and hidden.
37817         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37818         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37819         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37820         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37821         Likewise.
37822         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37823         Likewise.
37824         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37825         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37826         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37827         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37828         ifunc-impl-list.c.
37829         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37830         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37831         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37832         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37833         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37834         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37835         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37836         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37837         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37838         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37839         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37840         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37841         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37842         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37843         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37844         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37845         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37846         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37847         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37848         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37849         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37850         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37851         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37852         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37853         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37854         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37855         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37856         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37857         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37858         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37859         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37860         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37861         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37862         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37863         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37864         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37865         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37866         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37867         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37868         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37869         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37871         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37872         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37873         * include/ifunc-impl-list.h: New file.
37874         * misc/ifunc-impl-list.c: Likewise.
37875         * misc/Makefile (routines): Add ifunc-impl-list.
37876         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37877         * string/test-string.h: Include <ifunc-impl-list.h>.
37878         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37879         TEST_NAME]: New variables.
37880         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37881         are defined.
37882         (test_init): Call __libc_ifunc_impl_list to initialize
37883         func_list if TEST_IFUNC and TEST_NAME are defined.
37885         * string/Makefile (strop-tests): Add bcopy and bzero.
37886         * string/test-bcopy.c: New file.
37887         * string/test-bzero.c: Likewise.
37888         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37889         defined.
37890         * string/test-memset.c: Support bzero test if TEST_BZERO is
37891         defined.
37892         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37893         __libc_memmove.
37894         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37895         __libc_memset.
37896         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37897         of memset.
37899 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37901         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37902         * configure: Regenerated.
37904         * Makeconfig (+link-static-before-libc): Don't include
37905         $(link-static-libc).
37907         * libio/libio.h (_IO_pos_t): Remove.
37909 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37911         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37912         McGrath.
37914 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37916         * crypt/crypt-entry.c: Include fips-private.h.
37917         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37918         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37919         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37920         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37922 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37924         * crypt/crypt-private.h: Include stdbool.h.
37925         (_ufc_setup_salt_r): Return bool.
37926         * crypt/crypt-entry.c: Include errno.h.
37927         (__crypt_r): Return NULL with EINVAL for bad salt.
37928         * crypt/crypt_util.c (bad_for_salt): New.
37929         (_ufc_setup_salt_r): Check that salt is long enough and within
37930         the specified alphabet.
37931         * crypt/badsalttest.c: New file.
37932         * crypt/Makefile (tests): Add it.
37933         ($(objpfx)badsalttest): New.
37935 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37937         * NEWS: Add entry for BZ #14602.
37939 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37941         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37942         type-generic.
37943         * math/libm-test.inc: Update comment listing what functions and
37944         macros are tested.
37945         (isgreater_test): New function.
37946         (isgreaterequal_test): Likewise.
37947         (isless_test): Likewise.
37948         (islessequal_test): Likewise.
37949         (islessgreater_test): Likewise.
37950         (isunordered_test): Likewise.
37951         (main): Call the new functions.
37953 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37955         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37956         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37957         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37958         * sysdeps/i386/configure: Regenerated.
37959         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37960         * sysdeps/mach/configure: Regenerated.
37961         * sysdeps/mach/hurd/configure: Regenerated.
37962         * sysdeps/powerpc/configure: Regenerated.
37963         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37964         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37965         * sysdeps/s390/s390-32/configure: Regenerated.
37966         * sysdeps/s390/s390-64/configure: Regenerated.
37967         * sysdeps/sh/configure: Regenerated.
37968         * sysdeps/sparc/configure: Regenerated.
37969         * sysdeps/unix/sysv/linux/configure: Regenerated.
37970         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37971         * sysdeps/x86_64/configure: Regenerated.
37973         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37974         defined.  Don't check if MAP is NULL.
37976 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37978         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37979         (_G_stat64): Likewise.
37980         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37981         (_G_stat64): Likewise.
37982         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37983         instead of struct _G_stat64.
37984         * libio/fileops.c (mmap_remap_check): Likewise.
37985         (decide_maybe_mmap): Likewise.
37986         (_IO_new_file_seekoff): Likewise.
37987         (_IO_file_stat): Likewise.
37988         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37989         _G_off64_t.
37990         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37991         instead of struct _G_stat64.
37992         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37994 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
37996         [BZ #14602]
37997         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37998         Replace with ...
37999         (CHECK_EOL): New macro.
38000         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38001         CHECK_EOL.
38002         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38003         Replace with CHECK_EOL.
38004         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38005         Replace with CHECK_EOL.
38007 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38009         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38010         type-generic.
38011         * math/libm-test.inc: Update comment listing what functions and
38012         macros are tested.
38013         (finite_test): New function.
38014         (isinf_test): Likewise.
38015         (isnan_test): Likewise.
38016         (fpclassify_test): Test subnormal input.
38017         (isfinite_test): Likewise.
38018         (isnormal_test): Likewise.
38019         (main): Call the new functions.
38021 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38023         [BZ #14660]
38024         * Makerules (%.dynsym): Force C locale when running
38025         $(OBJDUMP) --dynamic-syms.
38027 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38029         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38030         <stdint.h>.
38032 2012-10-06  David S. Miller  <davem@davemloft.net>
38034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38035         upper 32-bits of the length value in %o2 since we use branch-on-register
38036         tests which consider the entire 64-bit register.
38038 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38040         * string/test-strstr.c (check2): Add a test for page boundary.
38042 2012-10-05  David S. Miller  <davem@davemloft.net>
38044         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38045         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38046         file.
38047         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38048         sysdep_routines.
38049         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38050         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38051         and bzero when HWCAP_SPARC_CRYPTO is present.
38053 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38055         [BZ #14602]
38056         * string/test-strstr.c (check2): New function.
38057         (test_main): Call check2.
38059         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38060         and bug-strchr1.
38061         * string/bug-strcasestr1.c (do_test): Moved to ...
38062         * string/test-strcasestr.c (check1): Here.  New function.
38063         (do_one_test): Break out result checking code into ...
38064         (check_result): This.  New function.
38065         (do_one_test): Call check_result.
38066         (test_main): Call check1.
38067         * string/bug-strchr1.c (do_test): Moved to ...
38068         * string/test-strchr.c (check1): Here.  New function.
38069         (do_one_test): Break out result checking code into ...
38070         (check_result): This.  New function.
38071         (do_one_test): Call check_result.
38072         (test_main): Call check1.
38073         * string/bug-strstr1.c (main): Moved to ...
38074         * string/test-strstr.c (check1): Here.  New function.
38075         (do_one_test): Break out result checking code into ...
38076         (check_result): This.  New function.
38077         (do_one_test): Call check_result.
38078         (test_main): Call check1.
38079         * string/bug-strcasestr1.c: Removed.
38080         * string/bug-strchr1.c: Likewise.
38081         * string/bug-strstr1.c: Likewise.
38083         * elf/Makefile (dl-routines): Add hwcaps.
38084         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38085         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38086         (_dl_important_hwcaps): Moved to ...
38087         * elf/dl-hwcaps.c: Here.  New file.
38088         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38090         [BZ #14557]
38091         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38092         if IS_IN_rtld isn't defined.
38094         * elf/dl-support.c (_dl_sysinfo_map): New.
38095         Include "get-dynamic-info.h" and "setup-vdso.h".
38096         (_dl_non_dynamic_init): Call setup_vdso.
38097         * elf/dynamic-link.h: Don't include <assert.h>.
38098         (elf_get_dynamic_info): Moved to ...
38099         * elf/get-dynamic-info.h: Here.  New file.
38100         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38101         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38102         * elf/setup-vdso.h: Here.  New file.
38103         * elf/rtld.c: Include "setup-vdso.h".
38104         (dl_main): Call setup_vdso.
38106 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38108         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38109         creal in comment listing functions tested.  List finite, isinf,
38110         isnan, isless, islessequal, isgreater, isgreaterequal,
38111         islessgreater, isunordered, lgamma_r and pow10 as functions and
38112         macros not tested.  Mention which functions not tested are aliases
38113         for other functions.  Fix typo.  Note that signs of NaNs are not
38114         tested.
38116         * scripts/config.guess: Update from config.git.
38117         * scripts/config.sub: Likewise.
38119 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38121         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38122         * misc/madvise.c (madvise): Renamed to __madvise.
38123         Make madvise a weak alias.
38124         * include/sys/mman.h: Declare __madvise.
38125         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38126         * sysdeps/unix/syscalls.list
38127         (madvise): Make __madvise the strong name, and madvise a weak alias.
38128         * sysdeps/unix/sysv/linux/syscalls.list
38129         (madvise, mmap): Remove redundant entries.
38130         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38131         * malloc/malloc.c (mtrim): Likewise.
38132         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38134 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38136         * sysdeps/mach/hurd/dl-cache.c: File removed.
38137         * config.h.in (USE_LDCONFIG): New #undef.
38138         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38139         * configure: Regenerated.
38140         * elf/Makefile (dl-routines): Add dl-cache only under
38141         [$(use-ldconfig) = yes].
38142         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38143         cache on [USE_LDCONFIG].
38144         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38145         [USE_LDCONFIG].
38146         * elf/rtld.c (dl_main): Likewise.
38148 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38150         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38151         _SC_LEVEL4_CACHE_LINESIZE.
38153 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38155         * sysdeps/unix/bsd/confstr.h: File removed.
38157 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38159         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38160         sys/sdt-config.h.
38162 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38164         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38165         Make 'mapoff' field ElfW(Off) rather than off_t.
38167 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38169         * nscd/Makefile: Remove nscd-cflags and all its users.
38170         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38171         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38173         [BZ #10631]
38174         * malloc.c (malloc_printerr): Clarify error message.
38176 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38178         [BZ #14648]
38179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38180         Set bit_FMA_Usable if FMA is supported.
38181         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38182         macro.
38183         (bit_FMA4_Usable): Updated.
38184         (index_FMA_Usable): New macro.
38185         (CPUID_FMA): Likewise
38186         (HAS_FMA): Defined with bit_FMA_Usable.
38188 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38190         * bits/types.h (__swblk_t): Type removed.
38191         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38192         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38193         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38194         (__SWBLK_T_TYPE): Likewise.
38195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38196         (__SWBLK_T_TYPE): Likewise.
38197         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38198         (__SWBLK_T_TYPE): Likewise.
38199         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38200         (__SWBLK_T_TYPE): Likewise.
38202 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38203             Honza Horak <hhorak@redhat.com>
38205         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38206         (xdr_mapname): Use YPMAXMAP as maxsize.
38207         (xdr_peername): Use YPMAXPEER as maxsize.
38208         (xdr_keydat): Use YPAXRECORD as maxsize.
38209         (xdr_valdat): Use YPMAXRECORD as maxsize.
38211 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38213         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38215         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38216         * csu/init-first.c: ... here.
38217         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38218         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38219         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38220         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38221         * sysdeps/i386/init-first.c: File removed.
38222         * sysdeps/sh/init-first.c: File removed.
38224 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38226         [BZ #14645]
38227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38228         if x * y might underflow to zero and z is zero.
38229         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38231         * math/libm-test.inc (min_subnorm_value): New variable.
38232         (fma_test): Add more tests.
38233         (fma_test_towardzero): Likewise.
38234         (fma_test_downward): Likewise
38235         (fma_test_upward): Likewise.
38236         (initialize): Set min_subnorm_value.
38238 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38240         [BZ #14638]
38241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38242         0 + 0.
38243         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38244         mode for addition resulting in exact zero.
38245         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38247         exact 0 + 0.
38248         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38250         * math/libm-test.inc (fma_test): Add more tests.
38251         (fma_test_towardzero): New function.
38252         (fma_test_downward): Likewise.
38253         (fma_test_upward): Likewise.
38254         (main): Call the new functions.
38256 2012-09-28  David S. Miller  <davem@davemloft.net>
38258         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38260 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38262         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38263         instead of SIGALRM.
38265         * sysdeps/gnu/_G_config.h: Moved to ...
38266         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38267         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38268         * sysdeps/generic/_G_config.h: ... here.
38270         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38272         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38274         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38275         Conditionalize target on [libnss_test1.so-version].
38277         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38279         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38280         (elfobjdir): Move out of conditionals.
38282         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38283         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38284         (__nss_lookup_function): Conditionalize label remove_from_tree on
38285         [!DO_STATIC_NSS || SHARED], matching its only use.
38287 2012-09-28  David S. Miller  <davem@davemloft.net>
38289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38290         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38291         file.
38292         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38293         sysdep_routines.
38294         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38295         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38296         when HWCAP_SPARC_CRYPTO is present.
38298 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38300         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38302 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38304         [BZ #6530]
38305         * stdio-common/vfprintf.c (process_string_arg): Revert
38306         2000-07-22 change.
38308 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38310         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38311         for testcase.
38312         * stdio-common/tst-sprintf.c: Include <locale.h>
38313         (main): Test sprintf's handling of incomplete multibyte
38314         characters.
38316 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38318         * elf/dl-runtime.c (VERSYMIDX): Removed.
38319         * elf/dl-version.c (VERSYMIDX): Likewise.
38320         * elf/do-rel.h (VERSYMIDX): Likewise.
38321         (VALIDX): Likewise.
38322         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38323         * elf/rtld.c (VALIDX): Likewise.
38324         (ADDRIDX): Likewise.
38325         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38326         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38327         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38328         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38329         (VALIDX): Likewise.
38330         (ADDRIDX): Likewise.
38332 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38334         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38336 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38338         [BZ #11438]
38339         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38340         to global scope.
38341         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38342         addresses are in the same scope as 192.0.2/24.
38343         * posix/gai.conf: Document new scope table defaults.
38345 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38347         [BZ #5298]
38348         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38349         for ftell.  Compute offsets from write pointers instead.
38350         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38352 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38354         [BZ #14543]
38355         * libio/Makefile (tests): New test case tst-fseek.
38356         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38357         combination works in wide mode.
38358         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38359         state when the external buffer state changes.
38361 2012-09-27  David S. Miller  <davem@davemloft.net>
38363         [BZ #14376]
38364         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38365         pass reloc->r_addend in as the 'high' argument to
38366         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38370 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38372         * rt/tst-aio2.c: Include <pthread.h>.
38373         * rt/tst-aio3.c: Likewise.
38375 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38377         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38379 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38381         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38382         contents on [SHARED].
38384 2012-09-26  Marek Polacek  <polacek@redhat.com>
38386         [BZ #14530]
38387         [BZ #13741]
38388         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38389         for C++ and GCC <4.3 as well as for non GCC compilers.
38391 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38395 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38397         * Makefile.in (all, install): Declare with .PHONY.
38398         Reported by Michael Hope <michael.hope@linaro.org>.
38400 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38402         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38403         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38404         system header.
38405         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38406         Likewise.
38407         (sydep_routines): Add the new and the internal functions.
38408         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38409         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38411         (GLIBC_2.17): Add the new function.
38412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38413         (GLIBC_2.17): Likewise.
38414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38415         (GLIBC_2.17): Likewise.
38416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38417         (GLIBC_2.17): Likewise.
38418         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38420 2012-09-25  Alan Modra  <amodra@gmail.com>
38422         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38423         Add release barrier before setting once_control to say
38424         initialisation is done.  Add hints on lwarx.  Use macro in
38425         place of isync.
38426         (clear_once_control): Add release barrier.
38428 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38430         [BZ #13629]
38431         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38432         specially.
38433         * math/s_clog10.c (__clog10): Likewise.
38434         * math/s_clog10f.c (__clog10f): Likewise.
38435         * math/s_clog10l.c (__clog10l): Likewise.
38436         * math/s_clogf.c (__clogf): Likewise.
38437         * math/s_clogl.c (__clogl): Likewise.
38438         * math/Makefile (libm-calls): Add x2y2m1.
38439         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38440         (__x2y2m1): Likewise.
38441         (__x2y2m1l): Likewise.
38442         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38443         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38444         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38445         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38446         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38447         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38448         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38449         * sysdeps/i386/fpu/libm-test-ulps: Update.
38450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38452         [BZ #14621]
38453         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38454         int as type of variable DEPTH.
38455         (glob): Use size_t instead of int as type of variables NEWCOUNT
38456         and OLD_PATHC.
38458 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38460         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38461         Add s_sincosf-sse2.
38462         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38463         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38464         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38465         macros for using routine as __sincosf_ia32.
38466         Use macro for function declaration and weak_alias.
38467         * sysdeps/i386/fpu/libm-test-ulps: Update.
38469         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38472         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38473         subnormal argument.
38474         * math/s_cexpf.c (__cexpf): Likewise.
38475         * math/s_csinf.c (__csinf): Likewise.
38476         * math/s_csinhf.c (__csinhf): Likewise.
38477         * math/s_ctanf.c (__ctanf): Likewise.
38478         * math/s_ctanhf.c (__ctanhf): Likewise.
38479         * math/s_ccosh.c (__ccoshf): Likewise.
38480         * math/s_cexp.c (__cexpl): Likewise.
38481         * math/s_csin.c (__csin): Likewise.
38482         * math/s_csinh.c (__csinh): Likewise.
38483         * math/s_ctan.c (__ctan): Likewise.
38484         * math/s_ctanh.c (ctanh): Likewise.
38485         * math/s_ccoshl.c (__ccoshl): Likewise.
38486         * math/s_cexpl.c (__cexpl): Likewise.
38487         * math/s_csinl.c (__csinl): Likewise.
38488         * math/s_csinhl.c (__csinhl): Likewise.
38489         * math/s_ctanl.c (__ctanl): Likewise.
38490         * math/s_ctanhl.c (__ctanhl): Likewise.
38492 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38494         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38495         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38496         (_IO_off_t): Define to __off_t, not _G_off_t.
38497         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38498         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38499         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38500         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38501         type of __dummy and __dummy2 fields.
38502         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38503         (_G_ssize_t): Likewise.
38504         (_G_off_t): Likewise.
38505         (_G_pid_t): Likewise.
38506         (_G_uid_t): Likewise.
38507         (_G_wchar_t): Likewise.
38508         (_G_wint_t): Likewise.
38509         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38510         (_G_ssize_t): Likewise.
38511         (_G_off_t): Likewise.
38512         (_G_pid_t): Likewise.
38513         (_G_uid_t): Likewise.
38514         (_G_wchar_t): Likewise.
38515         (_G_wint_t): Likewise.
38516         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38517         (_G_ssize_t): Likewise.
38518         (_G_off_t): Likewise.
38519         (_G_pid_t): Likewise.
38520         (_G_uid_t): Likewise.
38521         (_G_wchar_t): Likewise.
38522         (_G_wint_t): Likewise.
38524 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38526         * malloc/arena.c: Include malloc-sysdep.h.
38527         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38528         is sufficient to shrink the heap or an unmap is needed.
38529         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38530         new function check_may_shrink_heap.
38531         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38532         new function check_may_shrink_heap.
38534 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38536         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38537         comments.
38539 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38541         * catgets/test-gencat.sh: Add "set -e".
38542         * elf/tst-pathopt.sh: Likewise.
38543         * grp/tst_fgetgrent.sh: Likewise.
38544         * iconvdata/run-iconv-test.sh: Likewise.
38545         * intl/tst-gettext.sh: Likewise.
38546         * intl/tst-gettext2.sh: Likewise.
38547         * intl/tst-gettext4.sh: Likewise.
38548         * intl/tst-gettext6.sh: Likewise.
38549         * intl/tst-translit.sh: Likewise.
38550         * io/ftwtest-sh: Likewise.
38551         * libio/test-freopen.sh: Likewise.
38552         * malloc/tst-mtrace.sh: Likewise.
38553         * posix/globtest.sh: Likewise.
38554         * posix/tst-getconf.sh: Likewise.
38555         * posix/wordexp-tst.sh: Likewise.
38556         * stdio-common/tst-printf.sh: Likewise.
38557         * stdio-common/tst-unbputc.sh: Likewise.
38558         * stdlib/tst-fmtmsg.sh: Likewise.
38559         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38560         * catgets/Makefile: Do not specify -e option when running
38561         testsuite shell scripts.
38562         * elf/Makefile: Likewise.
38563         * grp/Makefile: Likewise.
38564         * iconvdata/Makefile: Likewise.
38565         * intl/Makefile: Likewise.
38566         * io/Makefile: Likewise.
38567         * libio/Makefile: Likewise.
38568         * malloc/Makefile: Likewise.
38569         * posix/Makefile: Likewise.
38570         * stdio-common/Makefile: Likewise.
38571         * stdlib/Makefile: Likewise.
38572         * sysdeps/x86_64/Makefile: Likewise.
38574         * io/ftwtest-sh: Add copyright header.
38575         * posix/globtest.sh: Likewise.
38576         * posix/tst-getconf.sh: Likewise.
38577         * posix/wordexp-tst.sh: Likewise.
38578         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38580 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38582         [BZ #13679]
38583         * Makeconfig (+link): Defined as $(+link-static) if
38584         $(build-shared) isn't yes.
38585         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38586         isn't yes.
38587         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38589         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38591         [BZ #14562]
38592         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38593         new chunk size with MALLOC_ALIGN_MASK.
38595 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38597         [BZ #5044]
38598         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38599         <rounding-mode.h>.
38600         (__printf_fphex): Determine rounding using get_rounding_mode and
38601         round_away.
38602         * stdio-common/tst-printf-round.c (struct hex_test): New
38603         structure.
38604         (hex_tests): New variable.
38605         (test_hex_in_one_mode): New function.
38606         (do_test): Also run tests for hex float output.
38608 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38610         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38611         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38612         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38613         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38614         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38615         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38616         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38617         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38619 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38621         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38622         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38623         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38624         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38626 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38628         [BZ #14579]
38629         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38630         mode only.
38631         * elf/tst-rtld-load-self.sh: New test.
38632         * elf/Makefile: Run it.
38634 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38636         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38637         (tst-writev-ENV): Remove.
38638         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38640 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38642         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38644 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38646         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38647         unconditional.
38648         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38649         Likewise.
38650         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38651         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38652         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38653         Likewise.
38655 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38657         [BZ #14587]
38658         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38659         * config.make.in (have-cpp-asm-debuginfo): Removed.
38660         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38661         * configure: Regenerated.
38663 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38665         [BZ #5044]
38666         * stdio-common/printf_fp.c: Include <stdbool.h> and
38667         <rounding-mode.h>.
38668         (___printf_fp): Determine rounding using get_rounding_mode and
38669         round_away.
38670         * stdio-common/tst-printf-round.c: New file.
38671         * stdio-common/Makefile (tests): Add tst-printf-round.
38672         (link-libm): New variable.
38673         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38675 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38677         [BZ #14576]
38678         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38679         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38680         Likewise.
38681         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38682         Likewise.
38684 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38686         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38687         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38688         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38689         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38691 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38693         [BZ #14518]
38694         * include/rounding-mode.h: New file.
38695         * sysdeps/generic/get-rounding-mode.h: Likewise.
38696         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38697         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38698         (MAX_VALUE): New macro.
38699         (MIN_VALUE): Likewise.
38700         (overflow_value): New function.
38701         (underflow_value): Likewise.
38702         (round_and_return): Use overflow_value and underflow_value to
38703         determine return values in overflow and underflow cases.  Use
38704         round_away to determine rounding depending on rounding mode.
38705         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38706         determine return values in overflow and underflow cases.
38707         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38708         (struct test_results): New structure.
38709         (struct test): Use struct test_results to store expected results
38710         for all rounding modes.
38711         (TEST): Include expected results for all rounding modes.
38712         (test_in_one_mode): New function.
38713         (do_test): Use test_in_one_mode to compute and check results.
38714         Check results for all rounding modes.
38715         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38716         $(link-libm).
38718 2012-12-09  Allan McRae  <allan@archlinux.org>
38720         * sysdeps/i386/fpu/libm-test-ulps: Update
38722 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38724         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38725         (_G_int32_t): Likewise.
38726         (_G_uint16_t): Likewise.
38727         (_G_uint32_t): Likewise.
38728         (_G_HAVE_BOOL): Likewise.
38729         (_G_HAVE_ATEXIT): Likewise.
38730         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38731         (_G_HAVE_IO_FILE_OPEN): Likewise.
38732         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38733         (_G_int32_t): Likewise.
38734         (_G_uint16_t): Likewise.
38735         (_G_uint32_t): Likewise.
38736         (_G_HAVE_BOOL): Likewise.
38737         (_G_HAVE_ATEXIT): Likewise.
38738         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38739         (_G_HAVE_IO_FILE_OPEN): Likewise.
38740         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38741         (_G_int32_t): Likewise.
38742         (_G_uint16_t): Likewise.
38743         (_G_uint32_t): Likewise.
38744         (_G_HAVE_BOOL): Likewise.
38745         (_G_HAVE_ATEXIT): Likewise.
38746         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38747         (_G_HAVE_IO_FILE_OPEN): Likewise.
38749 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38751         * csu/libc-tls.c: Update copyright years.
38753 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38755         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38756         [!_G_USING_THUNKS]: Remove conditional code.
38757         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38758         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38760         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38761         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38762         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38763         (_G_VTABLE_LABEL_PREFIX): Likewise.
38764         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38765         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38766         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38767         (_G_VTABLE_LABEL_PREFIX): Likewise.
38768         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38769         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38770         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38771         (_G_VTABLE_LABEL_PREFIX): Likewise.
38772         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38774 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38776         * libio/Makefile: Include ../Makeconfig before tests.
38777         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38778         only if $(build-shared) is yes.
38780         * iconv/gconv_db.c: Update copyright years.
38782 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38784         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38785         unwind info if defined PIC. Fix special cases description.
38786         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38788         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38789         DP_HI_MASK entry.
38790         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38792 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38794         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38796         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38797         is NULL.
38799         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38800         (LDLIBS-tst-chk4): This.
38801         (LDFLAGS-tst-chk5): Renamed to ...
38802         (LDLIBS-tst-chk5): This.
38803         (LDFLAGS-tst-chk6): Renamed to ...
38804         (LDLIBS-tst-chk6): This.
38805         (LDFLAGS-tst-lfschk4): Renamed to ...
38806         (LDLIBS-tst-lfschk4): This.
38807         (LDFLAGS-tst-lfschk5): Renamed to ...
38808         (LDLIBS-tst-lfschk5): This.
38809         (LDFLAGS-tst-lfschk6): Renamed to ...
38810         (LDLIBS-tst-lfschk6): This.
38812         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38813         on $(common-objpfx)soversions.mk.
38815 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38817         [BZ #10014]
38818         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38819         example host name.
38821 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38823         * malloc/arena.c (arena_get_retry): New function that gets
38824         another arena for the caller to try its request on.
38825         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38826         current arena cannot fulfill the request.
38827         (__libc_memalign): Likewise.
38828         (__libc_memalign): Likewise.
38829         (__libc_pvalloc): Likewise.
38830         (__libc_calloc): Likewise.
38832 2012-09-05  John Tobey  <john.tobey@gmail.com>
38834         [BZ #13542]
38835         * manual/arith.texi (Operations on Complex): Fix description
38836         of carg branch cut.
38838 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38840         [BZ #10014]
38841         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38842         host name.
38844         [BZ #10038]
38845         * manual/memory.texi (Memory): Make order of menu items match
38846         order of sections.
38848 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38850         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38851         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38852         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38854 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38856         * csu/libc-tls.c (static_dtv): Renamed to ...
38857         (_dl_static_dtv): This.  Make it global.
38858         (_dl_initial_dtv): Removed.
38859         (__libc_setup_tls): Updated.
38860         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38861         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38862         DL_INITIAL_DTV.
38864 2012-09-06  Petr Machata  <pmachata@redhat.com>
38866         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38867         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38868         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38869         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38871 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38873         [BZ #14545]
38874         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38875         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38876         freeing dtv[-1].
38878 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38880         [BZ #14544]
38881         * Makeconfig (link-static-before-libc): Replace $(+prector)
38882         with $(+prectorT).
38883         (link-static-after-libc): Replace $(+postctor) with
38884         $(+postctorT).
38885         (link-bounded): Replace $(+prector)/$(+postctor) with
38886         $(+prectorT)/$(+postctorT).
38887         (+prectorT): New macro.
38888         (+postctorT): Likewise.
38890 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38892         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38893         (round_str): Handle values above the maximum for IBM long double
38894         as inexact.
38895         * stdlib/tst-strtod-round.c (tests): Regenerated.
38897 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38899         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38900         assembler flag.
38901         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38902         zarch_nohighgprs around the zarch optimized routines.
38903         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38904         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38905         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38906         for zarch.
38908 2012-09-05  David S. Miller  <davem@davemloft.net>
38910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38912         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38913         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38914         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38915         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38916         entries.
38918 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38920         * malloc/arena.c: Fold copyright years.
38921         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38923 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38925         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38927 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38929         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38931 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38933         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38934         change internal state upon failure.
38936 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38938         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38939         * malloc/memusage.c (mmap): Likewise.
38940         (mmap64, mremap): Likewise.  Adjust name in comment.
38942 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38944         * libio/fileops.c: Fix typos in comments.
38945         * libio/oldfileops.c: Likewise.
38946         * libio/wfileops.c: Likewise.
38948 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38950         [BZ #1349]
38951         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38952         (tst-malloc-usable-ENV): Set environment for test case.
38953         * malloc/hooks.c (malloc_check_get_size): New function to get
38954         requested size.
38955         * malloc/malloc.c (musable): Use malloc_check_get_size.
38956         * malloc/tst-malloc-usable.c: New test case.
38958 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38960         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38962 2012-09-05  Allan McRae  <allan@archlinux.org>
38964         [BZ #13966]
38965         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38966         determine header location.
38967         * configure: Regenerated.
38969 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38971         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38972         float format.
38973         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38974         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38975         format.
38976         (test): Regenerate.
38978 2012-09-04  David S. Miller  <davem@davemloft.net>
38980         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38981         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38982         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38984 2012-09-04  Florian Weimer  <fweimer@redhat.com>
38986         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38987         failures.
38989         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38991 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
38993         [BZ #9914]
38994         * libio/iogetdelim.c: Include <limits.h>.
38995         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38996         + len + 1 would overflow.
38998 2012-09-03  Andreas Jaeger  <aj@suse.de>
39000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39001         * sysdeps/i386/fpu/libm-test-ulps: Update.
39003 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39005         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39006         Add s_sinf-sse2, s_conf-sse2.
39008         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39009         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39010         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39011         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39013         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39014         for using routine as __sinf_ia32.
39015         Use macro for function declaration and weak_alias.
39016         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39017         for using routine as __cosf_ia32.
39018         Use macro for function declaration and weak_alias.
39020         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39021         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39023         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39024         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39027         * math/libm-test.inc (cos_test): Add more test cases.
39028         (sin_test): Likewise.
39029         (sincos_test): Likewise.
39031 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39033         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39034         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39035         hidden.
39036         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39038 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39040         [BZ #14538]
39041         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39042         first element of the GOT.
39043         (elf_machine_load_address): Return the difference between
39044         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39046 2012-09-01  Allan McRae  <allan@archlinux.org>
39048         [BZ #13412]
39049         * configure.in (AWK): Require gawk version 3.0 or later.
39050         * configure: Regenerated.
39052 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39054         * sysdeps/unix/sysv/linux/kernel-features.h
39055         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39056         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39057         [__NR_clock_getres]: Make code unconditional.
39058         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39059         (clock_getcpuclockid): Remove code left unreachable by removal of
39060         conditionals.
39061         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39062         code unconditional.
39063         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39064         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39065         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39066         Make code unconditional.
39067         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39068         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39069         * sysdeps/unix/sysv/linux/clock_settime.c
39070         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39071         conditional code.
39072         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39073         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39075 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39077         [BZ #14476]
39078         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39079         scripts/test-installation.pl.
39081         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39082         and $ld_so_version if it is set.
39084 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39086         [BZ #14516]
39087         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39088         failure if reading from procfs failed.
39089         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39091 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39093         * sysdeps/unix/sysv/linux/kernel-features.h
39094         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39095         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39096         Remove conditional code.
39097         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39098         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39099         Remove conditional code.
39100         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39101         * sysdeps/unix/sysv/linux/i386/fxstat.c
39102         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39103         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39104         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39105         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39106         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39107         * sysdeps/unix/sysv/linux/i386/lxstat.c
39108         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39110         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39111         Remove conditional code.
39112         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39113         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39114         Remove conditional code.
39115         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39116         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39117         <kernel-features.h>.
39118         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39119         Remove.
39120         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39121         Remove conditional code.
39122         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39123         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39124         Remove conditional.
39126 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39128         [BZ #5400]
39129         * NEWS: Add fixed bug number.
39131 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39133         [BZ #14519]
39134         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39135         underflowing exponent in case of negative sign.
39136         * stdlib/tst-strtod-round-data: Add more tests.
39137         * stdlib/tst-strtod-round.c (tests): Regenerated.
39139         [BZ #3479]
39140         * stdlib/strtod_l.c (NDIG): Remove.
39141         (HEXNDIG): Likewise.
39142         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39143         smallest representable value.
39144         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39145         lie within an exact representation of 1/2 ulp of the result.
39146         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39147         unconditionally.
39148         (TENS_P9_IDX): Define unconditionally.
39149         (TENS_P9_SIZE): Likewise.
39150         (TENS_P10_IDX): Likewise.
39151         (TENS_P10_SIZE): Likewise.
39152         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39153         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39154         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39155         entries for 10^2^13 and 10^2^14.
39156         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39157         (TENS_P13_IDX): Define.
39158         (TENS_P13_SIZE): Likewise.
39159         (TENS_P14_IDX): Likewise.
39160         (TENS_P14_SIZE): Likewise.
39161         (_fpioconst_pow10): Change array size to
39162         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39163         unconditional.
39164         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39165         1024]: Add entries for 10^2^13 and 10^2^14.
39166         [LAST_POW10 > _LAST_POW10]: Remove #error.
39167         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39168         (_fpioconst_pow10): Change array size to
39169         FPIOCONST_POW10_ARRAY_SIZE.
39170         * stdlib/gen-fpioconst.c: New file.
39171         * stdlib/gen-tst-strtod-round.c: Likewise.
39172         * stdlib/tst-strtod-round-data: Likewise.
39173         * stdlib/tst-strtod-round.c: Likewise.
39174         * stdlib/Makefile (tests): Add tst-strtod-round.
39176         [BZ #14459]
39177         * stdlib/strtod_l.c: Include <stdint.h>.
39178         (NDEBUG): Do not define.
39179         (round_and_return): Change EXPONENT parameter to type intmax_t.
39180         Rearrange calculations to avoid internal overflow possibilities.
39181         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39182         Rearrange calculations to avoid internal overflow possibilities.
39183         Assert that number fits inside MPNSIZE limbs.
39184         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39185         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39186         calculations and add assertions to avoid internal overflow
39187         possibilities.  Add casts to avoid signed/unsigned operations.
39188         * stdlib/tst-strtod-overflow.c: New file.
39189         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39191 2012-08-25  Marek Polacek  <polacek@redhat.com>
39193         * time/time.h: Fix some typos in comments.
39195 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39197         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39198         * posix/tst-rfc3484-2.c: Likewise.
39199         * posix/tst-rfc3484-3.c: Likewise.
39201 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39203         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39204         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39206 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39208         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39209         #include of fxstatat64.c.
39211 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39213         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39214         * shadow/getspent_r.c: Likewise.
39215         * shadow/getspnam.c: Likewise.
39216         * shadow/getspnam_r.c: Likewise.
39217         * gshadow/getsgent.c: Likewise.
39218         * gshadow/getsgent_r.c: Likewise.
39219         * gshadow/getsgnam.c: Likewise.
39220         * gshadow/getsgnam_r.c: Likewise.
39221         * inet/getnetbyad.c: Likewise.
39222         * inet/getnetbyad_r.c: Likewise.
39223         * inet/getnetbynm.c: Likewise.
39224         * inet/getnetbynm_r.c: Likewise.
39225         * inet/getnetent.c: Likewise.
39226         * inet/getnetent_r.c: Likewise.
39227         * inet/getproto.c: Likewise.
39228         * inet/getproto_r.c: Likewise.
39229         * inet/getprtent.c: Likewise.
39230         * inet/getprtent_r.c: Likewise.
39231         * inet/getprtname.c: Likewise.
39232         * inet/getprtname_r.c: Likewise.
39233         * inet/getrpcbyname.c: Likewise.
39234         * inet/getrpcbyname_r.c: Likewise.
39235         * inet/getrpcbynumber.c: Likewise.
39236         * inet/getrpcbynumber_r.c: Likewise.
39237         * inet/getrpcent.c: Likewise.
39238         * inet/getrpcent_r.c: Likewise.
39239         * inet/getaliasent.c: Likewise.
39240         * inet/getaliasent_r.c: Likewise.
39241         * inet/getaliasname.c: Likewise.
39242         * inet/getaliasname_r.c: Likewise.
39243         * nscd/getgrgid_r.c: Likewise.
39244         * nscd/getgrnam_r.c: Likewise.
39245         * nscd/gethstbyad_r.c: Likewise.
39246         * nscd/gethstbynm3_r.c: Likewise.
39247         * nscd/getpwnam_r.c: Likewise.
39248         * nscd/getpwuid_r.c: Likewise.
39249         * nscd/getsrvbynm_r.c: Likewise.
39250         * nscd/getsrvbypt_r.c: Likewise.
39251         * nscd/gai.c: Likewise.
39253         * configure.in (build_nscd): New substituted variable, set
39254         by --disable-build-nscd and defaults to $use_nscd.
39255         * configure: Regenerated.
39256         * config.make.in (build-nscd): New substituted variable.
39257         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39258         Change conditional to require [$(build-nscd) = yes] as well.
39259         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39261         [BZ# 13696]
39262         * configure.in (use_nscd): New substituted variable, set by
39263         --disable-nscd.  If enabled, define USE_NSCD.
39264         * configure: Regenerated.
39265         * config.h.in: Add USE_NSCD.
39266         * config.make.in (use-nscd): New substituted variable.
39267         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39268         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39269         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39270         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39271         (CFLAGS-getgrnam_r.c): Likewise.
39272         (CFLAGS-initgroups.c): Likewise.
39273         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39274         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39275         Variables removed.
39276         * inet/getnetgrent_r.c
39277         (nscd_setnetgrent): New function, broken out of ...
39278         (setnetgrent): ... here.  Call it.
39279         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39280         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39281         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39282         * nscd/Makefile (routines, aux): Move definitions after include of
39283         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39284         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39285         Conditionalize on [USE_NSCD].
39286         (is_nscd, nscd_init_cb): Likewise.
39287         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39288         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39289         * nss/nss_db/db-init.c: Likewise.
39290         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39291         [USE_NSCD].
39292         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39293         (make_request): Use it.
39294         (cache_valid_p): New function.
39295         (__check_pf): Use it.
39296         * NEWS: Add item for --disable-nscd.
39298 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39300         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39301         to support sed >= 4.2.1-20-ga9bf076.
39302         * configure: Regenerated.
39304 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39306         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39307         Conditionalize whole body on [IREL].
39309 2012-08-22  Jeff Law <law@redhat.com>
39311         [BZ #14505]
39312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39313         if the family is PF_UNSPEC.
39315 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39317         * Makerules (lib-version): Rename from V.
39318         (install-lib-nosubdir): Change V to lib-version.
39320 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39322         [BZ #14252]
39323         * powerpc32/power6/wcschr.c: New file.
39324         * powerpc32/power6/wcscpy.c: New file.
39325         * powerpc32/power6/wcsrchr.c: New file.
39326         * powerpc64/power6/wcschr.c: New file.
39327         * powerpc64/power6/wcscpy.c: New file.
39328         * powerpc64/power6/wcsrchr.c: New file.
39330 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39332         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39333         (two_way_short_needle): Use it.
39334         * string/strstr.c (AVAILABLE1_USES_J): Define.
39335         * string/strcasestr.c: Likewise.
39337         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39338         array references.
39339         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39341         [BZ #11607]
39342         * NEWS: Add an entry.
39343         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39344         define their defaults.
39345         (two_way_short_needle): Detect end-of-string on-the-fly.
39346         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39347         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39348         * string/bug-strcasestr1.c: New test.
39349         * string/Makefile: Run it.
39351 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39353         [BZ #11607]
39354         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39355         the first character.
39357 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39359         * csu/elf-init.c (__libc_csu_irel): Function removed.
39360         * csu/libc-start.c (apply_irel): New function.
39361         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39363 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39365         * sysdeps/unix/sysv/linux/kernel-features.h
39366         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39367         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39368         <kernel-features.h>.
39369         [__NR_fadvise64_64]: Make code unconditional.
39370         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39371         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39372         !__NR_fadvise64_64)]: Likewise.
39373         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39374         !__NR_fadvise64_64))]: Likewise.
39375         [__NR_fadvise64]: Make code unconditional.
39376         [!__NR_fadvise64]: Remove conditional code.
39377         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39378         <kernel-features.h>.
39379         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39380         unconditional.
39381         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39382         conditional code.
39383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39384         not include <kernel-features.h>.
39385         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39386         unconditional.
39387         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39388         conditional code.
39389         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39390         include <kernel-features.h>.
39391         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39392         unconditional.
39393         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39394         conditional code.
39396 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39399         slight instruction rearrangements per scrollpipe analysis.
39400         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39402 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39404         * manual/syslog.texi (syslog; vsyslog, closelog):
39405         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39406         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39408         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39409         DSOCAPS to match condition on defining it.
39411 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39413         * sysdeps/unix/sysv/linux/kernel-features.h
39414         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39416         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39417         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39419         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39420         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39422         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39423         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39425         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39426         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39428         * sysdeps/unix/sysv/linux/kernel-features.h
39429         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39430         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39431         unconditional.
39432         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39433         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39434         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39435         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39436         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39437         Make code unconditional.
39438         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39439         (__mmap64) [!__NR_mmap2]: Likewise.
39440         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39441         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39442         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39443         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39444         [__NR_mmap2]: Make code unconditional.
39445         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39446         (__mmap64) [!__NR_mmap2]: Likewise.
39448 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39450         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39452 2012-08-18  Andreas Jaeger  <aj@suse.de>
39454         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39456 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39458         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39459         * include/unistd.h (__have_sock_cloexec): Likewise.
39460         (__have_pipe2): Likewise.
39461         (__have_dup3): Likewise.
39463 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39465         [BZ #9685]
39466         * include/unistd.h (__have_pipe2): Change define into an extern int.
39467         (__have_dup3): Likewise.
39468         * socket/have_sock_cloexec.c: Include fcntl.h.
39469         (__have_pipe2): New variable.
39470         (__have_dup3): Likewise.
39472 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39474         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39476 2012-08-17  Marek Polacek  <polacek@redhat.com>
39478         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39479         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39481 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39483         * configure.in: Add AC_SUBST for sysheaders.
39484         * configure: Regenerated.
39485         * config.make.in (sysheaders): New substituted variable.
39487         * sysdeps/unix/mkfifo.c: Moved ...
39488         * sysdeps/posix/mkfifo.c: ... here.
39489         * sysdeps/unix/mkfifoat.c: Moved ...
39490         * sysdeps/posix/mkfifoat.c: ... here.
39492         * sysdeps/unix/utime.c: Moved ...
39493         * sysdeps/posix/utime.c: ... here.
39495         * sysdeps/unix/time.c: Moved ...
39496         * sysdeps/posix/time.c: ... here.
39497         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39498         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39500         * sysdeps/unix/nice.c: Moved ...
39501         * sysdeps/posix/nice.c: ... here.
39503         * sysdeps/unix/alarm.c: Moved ...
39504         * sysdeps/posix/alarm.c: ... here.
39506         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39508 2012-08-17  Jeff Law <law@redhat.com>
39510         * intl/Makefile (codeset_mo): New variable.
39511         ($(codeset_mo)): New target.
39512         (tst-codeset.out): Depend on that.  Remove explicit rule.
39513         (tst-gettext3.out, tst-gettext5.out): Likewise.
39514         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39515         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39516         * intl/tst-codeset.sh: Remove.
39517         * intl/tst-gettext3.sh: Likewise.
39518         * intl/tst-gettext5.sh: Likewise.
39520 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39522         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39523         * sysdeps/unix/syscalls.list: ... here.
39525         * sysdeps/posix/getaddrinfo.c
39526         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39527         (gaiconf_init, gaiconf_reload): Use them.
39528         [!_STATBUF_ST_NSEC]
39529         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39530         Define using time_t rather than struct timespec.
39532         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39533         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39534         Macros removed.
39535         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39536         [!NO_THREADS].
39537         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39538         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39539         Likewise.
39541         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39542         __libc_cleanup_push argument.
39544         * bits/param.h: New file.
39545         * misc/sys/param.h: New file.
39546         * include/sys/param.h: New file.
39547         * misc/Makefile (headers): Add bits/param.h.
39548         * sysdeps/generic/sys/param.h: File removed.
39549         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39550         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39551         * sysdeps/mach/hurd/bits/param.h: New file.
39552         * sysdeps/mach/hurd/sys/param.h: File removed.
39554         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39555         last change.
39557         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39558         [_IO_MTSAFE_IO].
39559         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39560         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39561         New macros.
39563         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39564         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39565         rather than -D_IO_MTSAFE_IO conditionally.
39566         * stdio-common/Makefile (CPPFLAGS): Likewise.
39567         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39568         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39569         Use $(libio-mtsafe).
39570         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39571         of -D_IO_MTSAFE_IO.
39572         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39573         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39574         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39575         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39576         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39577         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39578         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39579         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39580         (CFLAGS-fread_u_chk.c): Likewise.
39581         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39582         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39583         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39584         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39585         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39586         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39587         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39588         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39589         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39591         * libio/Makefile: Test [$(libc-reentrant) = yes]
39592         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39594         * Makeconfig
39595         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39596         * sysdeps/pthread/configure: File removed.
39597         * sysdeps/pthread/Makeconfig: New file.
39598         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39599         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39601 2012-08-16  Gary Benson  <gbenson@redhat.com>
39603         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39604         unmapping the first object in a namespace.
39606 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39608         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39609         (__internal_setnetgrent): ... this.  Add internal_function to
39610         definition.  Add libc_hidden_def.
39611         (setnetgrent): Update caller.
39612         (internal_endnetgrent): Renamed to ...
39613         (__internal_endnetgrent): ... this.  Add internal_function to
39614         definition.  Add libc_hidden_def.
39615         (endnetgrent): Update caller.
39616         (internal_getnetgrent_r): Renamed to ...
39617         (__internal_getnetgrent_r): ... this.  Add internal_function to
39618         definition.  Add libc_hidden_def.
39619         (__getnetgrent_r): Update caller.
39620         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39622 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39624         * stdlib/longlong.h: Update from GCC.
39626 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39628         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39629         on _QL, which is set by umul_ppmm but never used.
39630         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39631         variables, which are set by GMP macros but never used.
39632         * stdio-common/_itowa.c (_itowa): Likewise.
39633         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39634         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39636 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39638         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39639         struct La_sh_regs is not constant.
39640         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39641         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39642         and struct La_sparc64_regs are not constant.
39644 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39646         * sysdeps/unix/sysv/linux/kernel-features.h
39647         (__ASSUME_POSIX_TIMERS): Remove.
39648         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39649         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39650         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39651         Make code unconditional.
39652         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39653         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39654         Make code unconditional.
39655         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39656         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39657         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39658         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39659         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39660         Make code unconditional.
39661         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39662         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39663         (__libc_missing_posix_timers): Remove.
39665 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39667         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39668         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39670         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39672         * elf/dl-sym.c: Include <stdlib.h>.
39674         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39675         constants, which avoids warnings in 32-bit builds.
39677         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39678         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39680         * misc/lseek.c: File moved to ...
39681         * io/lseek.c: ... here.
39683         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39685         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39686         shifting LEN more than 31 bits at once.
39688 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39690         [BZ #14195]
39691         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39692         segmentation fault for a case of two empty input strings.
39693         * string/test-strncasecmp.c (check1): Renamed to...
39694         (bz12205): ...this.
39695         (bz14195): Add new testcase for two empty input strings and N > 0.
39696         (test_main): Call new testcase, adapt for renamed function.
39698 2012-08-15  Andreas Jaeger  <aj@suse.de>
39700         [BZ #14090]
39701         * crypt/md5test2.c: New test, based on test supplied by Serge
39702         Belyshev <belyshev@depni.sinp.msu.ru>.
39703         * crypt/Makefile (xtests): Add md5test-giant..
39704         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39706 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39708         [BZ #14090]
39709         * crypt/md5.c (md5_process_block): Don't assume the buffer
39710         length is less than 2**32.
39711         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39712         length is less than 2**64.
39714 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39716         * string/str-two-way.h: Include <sys/param.h>.
39717         (MAX): Macro removed.
39719         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39720         Move #define and #undef of memmove to just before and after
39721         including <string.h>.
39723         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39724         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39725         and after including <string.h>.  Move declarations of
39726         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39727         to before #include "string/memmove.c".
39729         * include/dirent.h: Declare __getdirentries.
39731         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39732         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39734 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39736         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39737         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39738         * sysdeps/i386/configure: Regenerated.
39739         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39740         STABS_CURRENT_FILE, and STABS_FUN.
39741         (END): Remove call to STABS_FUN_END.
39742         (STABS_CURRENT_FILE1): Delete.
39743         (STABS_CURRENT_FILE): Likewise.
39744         (STABS_FUN): Likewise.
39745         (STABS_FUN_END): Likewise.
39746         (STABS_FUN2): Likewise.
39747         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39748         * sysdeps/x86_64/configure: Regenerated.
39750 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39752         * elf/dl-open.c: Include <atomic.h>.
39753         * elf/dl-lookup.c: Likewise.
39755 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39757         * sysdeps/unix/sysv/linux/kernel-features.h
39758         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39759         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39760         unconditionally.
39761         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39762         unconditionally.
39763         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39764         condition on __ASSUME_CLONE_THREAD_FLAGS.
39766 2012-08-14  Andreas Jaeger  <aj@suse.de>
39768         * sysdeps/i386/fpu/libm-test-ulps: Update.
39770 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39772         * include/atomic.h (atomic_exchange_and_add): Split into ...
39773         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39774         New atomic macros.
39776 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39780 2012-08-13  Jeff Law <law@redhat.com>
39782         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39783         null byte in the output string.
39785 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39787         * sysdeps/unix/sysv/linux/kernel-features.h
39788         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39789         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39790         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39791         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39792         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39793         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39794         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39796 2012-08-09  Jeff Law <law@redhat.com>
39798         [BZ #13939]
39799         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39800         When avoid_arena is set, don't retry in the that arena.  Pick the
39801         next one, whatever it might be.
39802         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39803         (arena_lock): Pass in new parameter to arena_get2.
39804         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39805         arena_get2.
39806         (__libc_malloc): Unify retrying after main arena failure with
39807         __libc_memalign version.
39808         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39810 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39812         [BZ #14166]
39813         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39814         to __redirect_strstr.
39815         (__strstr_sse42): Use typeof __redirect_strstr.
39816         (__strstr_ia32): Likewise.
39817         (__libc_strstr): New prototype.
39818         (strstr): Renamed to ...
39819         (__libc_strstr): This.
39820         (strstr): New strong alias of __libc_strstr.
39821         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39822         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39823         __redirect_time.
39824         Include <time.h>.
39825         (__libc_time): New prototype.
39826         (time_ifunc): Replace time with __libc_time.
39827         (time): New strong alias and hidden definition of __libc_time.
39828         (__GI_time): Remove strong alias.
39829         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39830         Include <stddef.h>.
39831         (memmove): Redefined to __redirect_memmove.
39832         (__memmove_sse2): Use typeof __redirect_memmove.
39833         (__memmove_ssse3): Likewise.
39834         (__memmove_ssse3_back): Likewise.
39835         (__libc_memmove): New prototype.
39836         (memmove): Renamed to ...
39837         (__libc_memmove): This.
39838         (memmove): New strong alias of __libc_memmove.
39840 2012-08-08  Mark Salter  <msalter@redhat.com>
39842         * elf/elf.h
39843         (R_MN10300_TLS_GD): Define.
39844         (R_MN10300_TLS_LD): Likewise.
39845         (R_MN10300_TLS_LDO): Likewise.
39846         (R_MN10300_TLS_GOTIE): Likewise.
39847         (R_MN10300_TLS_IE): Likewise.
39848         (R_MN10300_TLS_LE): Likewise.
39849         (R_MN10300_TLS_DTPMOD): Likewise.
39850         (R_MN10300_TLS_DTPOFF): Likewise.
39851         (R_MN10300_TLS_TPOFF): Likewise.
39852         (R_MN10300_SYM_DIFF): Likewise.
39853         (R_MN10300_ALIGN): Likewise.
39854         (R_MN10300_NUM): Update.
39856 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39858         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39859         Remove.
39861 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39863         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39865         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39866         sysdeps/unix -> sysdeps/posix move.
39867         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39869 2012-08-07      Allan McRae     <allan@archlinux.org>
39871         [BZ #14303]
39872         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39873         (SUNOS_CPP): Likewise.
39874         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39875         not found.
39876         (open_input): Call CPP using execvp.
39878 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39880         * sysdeps/unix/sysv/linux/kernel-features.h
39881         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39882         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39883         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39884         (__ASSUME_WAITID_SYSCALL): Likewise.
39885         * sysdeps/unix/sysv/linux/dl-execstack.c
39886         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39887         code unconditional.
39888         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39889         conditional code.
39890         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39891         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39892         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39893         code.
39894         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39895         unconditional.
39896         [__ASSUME_WAITID_SYSCALL]: Likewise.
39897         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39899 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39901         * sysdeps/unix/closedir.c: Renamed to ...
39902         * sysdeps/posix/closedir.c: ... here.
39903         * sysdeps/unix/dirfd.c: Renamed to ...
39904         * sysdeps/posix/dirfd.c: ... here.
39905         * sysdeps/unix/dirstream.h: Renamed to ...
39906         * sysdeps/posix/dirstream.h: ... here.
39907         * sysdeps/unix/fdopendir.c: Renamed to ...
39908         * sysdeps/posix/fdopendir.c: ... here.
39909         * sysdeps/unix/opendir.c: Renamed to ...
39910         * sysdeps/posix/opendir.c: ... here.
39911         * sysdeps/unix/readdir.c: Renamed to ...
39912         * sysdeps/posix/readdir.c: ... here.
39913         * sysdeps/unix/readdir_r.c: Renamed to ...
39914         * sysdeps/posix/readdir_r.c: ... here.
39915         * sysdeps/unix/rewinddir.c: Renamed to ...
39916         * sysdeps/posix/rewinddir.c: ... here.
39917         * sysdeps/unix/seekdir.c: Renamed to ...
39918         * sysdeps/posix/seekdir.c: ... here.
39919         * sysdeps/unix/telldir.c: Renamed to ...
39920         * sysdeps/posix/telldir.c: ... here.
39921         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39922         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39923         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39924         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39926         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39927         * bits/fcntl.h: ... here.
39929         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39930         not 0.
39931         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39932         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39933         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39934         (struct flock): Move l_start, l_len to the beginning.
39935         Use __pid_t for l_pid.
39936         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39937         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39938         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39939         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39940         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39941         [__USE_LARGEFILE64] (struct flock64): New type.
39942         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39944         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39945         * bits/dirent.h: ... here.
39947         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39948         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39950 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39952         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39953         Change from 2.6.0 to 2.6.16.
39954         * sysdeps/unix/sysv/linux/configure: Regenerated.
39955         * sysdeps/unix/sysv/linux/kernel-features.h
39956         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39957         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39958         version.
39959         (__ASSUME_UTIMES): Likewise.
39960         (__ASSUME_CLONE_STOPPED): Remove.
39961         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39962         architectures, not kernel version.
39963         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39964         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39965         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39966         (__ASSUME_WAITID_SYSCALL): Likewise.
39967         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39968         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39969         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39970         refer to older versions.
39972 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39974         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39975         Define alphasort64 as an alias.
39976         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39977         Define versionsort64 as an alias.
39978         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39979         Define scandir64 as an alias.
39980         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39981         Define scandirat64 as an alias.
39982         * dirent/alphasort64.c (alphasort64):
39983         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39984         * dirent/versionsort64.c: Likewise.
39985         * dirent/scandir64.c: Likewise.
39986         * dirent/scandirat64.c: Likewise.
39987         * sysdeps/wordsize-64/alphasort.c: File removed.
39988         * sysdeps/wordsize-64/alphasort64.c: File removed.
39989         * sysdeps/wordsize-64/scandir.c: File removed.
39990         * sysdeps/wordsize-64/scandir64.c: File removed.
39991         * sysdeps/wordsize-64/scandirat.c: File removed.
39992         * sysdeps/wordsize-64/scandirat64.c: File removed.
39993         * sysdeps/wordsize-64/versionsort.c: File removed.
39994         * sysdeps/wordsize-64/versionsort64.c: File removed.
39995         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39996         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39997         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39998         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39999         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40000         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40001         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40002         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40004         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40006         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40007         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40008         [defined __arch64__ || defined __sparcv9]
40009         (__INO_T_MATCHES_INO64_T): New macro.
40010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40011         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40012         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40013         * sysdeps/unix/sysv/linux/bits/dirent.h
40014         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40015         (_DIRENT_MATCHES_DIRENT64): New macro.
40017         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40018         Define lockf64 as an alias.
40019         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40020         Define fseeko64 as an alias.
40021         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40022         Define ftello64 as an alias.
40023         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40024         Define _IO_fgetpos64 and fgetpos64 as aliases.
40025         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40026         Define _IO_fsetpos64 and fsetpos64 as aliases.
40027         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40028         Conditionalize body on this.
40029         * libio/fseeko64.c: Likewise.
40030         * libio/ftello64.c: Likewise.
40031         * libio/iofgetpos64.c: Likewise.
40032         * libio/iofsetpos64.c: Likewise.
40033         * sysdeps/wordsize-64/lockf.c: File removed.
40034         * sysdeps/wordsize-64/lockf64.c: File removed.
40035         * sysdeps/wordsize-64/fseeko.c: File removed.
40036         * sysdeps/wordsize-64/fseeko64.c: File removed.
40037         * sysdeps/wordsize-64/ftello.c: File removed.
40038         * sysdeps/wordsize-64/ftello64.c: File removed.
40039         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40040         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40041         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40042         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40043         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40044         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40045         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40046         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40047         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40048         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40049         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40050         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40051         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40052         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40054         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40055         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40056         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40058         [defined __arch64__ || defined __sparcv9]
40059         (__OFF_T_MATCHES_OFF64_T): New macro.
40060         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40061         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40063         (__OFF_T_MATCHES_OFF64_T): New macro.
40065 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40067         * stdlib/secure-getenv.c (__secure_getenv): Replace
40068         GLIBC_2_16 with GLIBC_2_17.
40070 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40072         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40073         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40075 2012-08-03  David S. Miller  <davem@davemloft.net>
40077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40079 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40081         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40082         Remove.
40083         (__ASSUME_CORRECT_SI_PID): Likewise.
40084         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40085         (__ASSUME_TMPFS_NAME): Likewise.
40086         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40087         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40088         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40089         (HAVE_AUX_SECURE): Make definition unconditional.
40090         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40091         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40093 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40095         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40096         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40097         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40098         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40099         __eloop_threshold instead of SYMLOOP_MAX.
40101         * sysdeps/generic/eloop-threshold.h: New file.
40102         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40103         of MAXSYMLINKS.
40104         * elf/chroot_canon.c (chroot_canon): Likewise.
40106 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40108         [BZ #13717]
40109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40110         Change to 2.6.0 everywhere.
40111         * sysdeps/unix/sysv/linux/configure: Regenerated.
40112         * sysdeps/unix/sysv/linux/kernel-features.h
40113         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40114         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40115         kernel versions.
40116         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40117         (__ASSUME_FUTEX_REQUEUE): Remove.
40118         (__ASSUME_STATFS64): Define unconditionally.
40119         (__ASSUME_AT_SECURE): Likewise.
40120         (__ASSUME_CORRECT_SI_PID): Likewise.
40121         (__ASSUME_TGKILL): Define without depending on kernel version for
40122         i386.
40123         (__ASSUME_UTIMES): Likewise.
40124         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40125         kernel version.
40126         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40127         (__ASSUME_TMPFS_NAME): Likewise.
40128         * README: Update reference to Linux kernel versions.
40130 2012-08-02  Marek Polacek  <polacek@redhat.com>
40132         [BZ# 14150]
40133         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40134         libc_cv_asm_type_prefix with %.
40135         * configure: Regenerated.
40136         * include/libc-symbols.h: Remove comment about
40137         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40138         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40139         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40140         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40141         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40142         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40143         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40144         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40145         * elf/tst-unique2mod1.c: Likewise.
40146         * elf/tst-unique1mod2.c: Likewise.
40147         * elf/tst-unique1mod1.c: Likewise.
40148         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40149         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40150         Replace ASM_TYPE_DIRECTIVE with .type.
40151         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40152         * sysdeps/i386/sysdep.h: Likewise.
40153         * sysdeps/x86_64/sysdep.h: Likewise.
40154         * sysdeps/sh/sysdep.h: Likewise.
40155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40156         Do not define ASM_TYPE_DIRECTIVE.
40157         * sysdeps/powerpc/sysdep.h: Likewise.
40158         * sysdeps/powerpc/powerpc32/sysdep.h:
40159         Replace ASM_TYPE_DIRECTIVE with .type.
40160         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40161         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40162         * sysdeps/i386/fpu/e_powf.S: Likewise.
40163         * sysdeps/i386/fpu/e_expl.S: Likewise.
40164         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40165         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40166         * sysdeps/i386/fpu/e_pow.S: Likewise.
40167         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40168         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40169         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40170         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40171         * sysdeps/i386/fpu/e_log2.S: Likewise.
40172         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40173         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40174         * sysdeps/i386/fpu/e_powl.S: Likewise.
40175         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40176         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40177         * sysdeps/i386/fpu/e_logl.S: Likewise.
40178         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40179         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40180         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40181         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40182         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40183         * sysdeps/i386/fpu/e_log.S: Likewise.
40184         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40185         * sysdeps/i386/fpu/e_logf.S: Likewise.
40186         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40187         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40188         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40189         * sysdeps/i386/fpu/e_log10.S: Likewise.
40190         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40191         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40192         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40193         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40194         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40195         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40196         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40197         * sysdeps/i386/i686/strtok.S: Likewise.
40198         * sysdeps/i386/i386-mcount.S: Likewise.
40199         * sysdeps/i386/strtok.S: Likewise.
40200         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40201         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40202         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40203         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40204         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40205         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40206         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40207         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40208         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40209         * sysdeps/x86_64/_mcount.S: Likewise.
40210         * sysdeps/x86_64/strtok.S: Likewise.
40211         * sysdeps/sh/_mcount.S: Likewise.
40213 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40215         * libio/iofopen.c: Include <fcntl.h>.
40216         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40217         (_IO_fopen64, fopen64): Define as aliases.
40218         * libio/iofopen64.c: Include <fcntl.h>.
40219         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40220         Conditionalize body on this.
40221         * sysdeps/wordsize-64/iofopen.c: File removed.
40222         * sysdeps/wordsize-64/iofopen64.c: File removed.
40224 2012-08-01  Marek Polacek  <polacek@redhat.com>
40226         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40227         Use dlfcn directly instead of a variable.
40228         (binfmt-subdir): Do not define.
40229         (dlfcn): Likewise.
40231 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40233         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40234         Remove all definitions.
40235         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40236         <kernel-features.h>.
40237         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40238         (miss_F_GETOWN_EX): Remove all definitions.
40239         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40240         macro definition.
40241         [!__ASSUME_FCNTL64]: Remove conditional code.
40242         [__ASSUME_FCNTL64]: Make code unconditional.
40243         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40244         <kernel-features.h>.
40245         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40246         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40247         (lockf64) [__NR_fcntl64]: Make code unconditional.
40248         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40250         * sysdeps/unix/sysv/linux/kernel-features.h
40251         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40252         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40253         Make code unconditional.
40254         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40255         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40257         [__NR_vfork]: Make code unconditional.
40258         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40259         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40261         [__NR_vfork]: Make code unconditional.
40262         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40263         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40265 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40267         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40268         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40270         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40271         Define mkstemp64 as an alias.
40272         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40273         Define mkstemps64 as an alias.
40274         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40275         Define mkostemp64 as an alias.
40276         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40277         Define mkostemps64 as an alias.
40278         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40279         Conditionalize body on this.
40280         * misc/mkostemp64.c: Likewise.
40281         * misc/mkostemps64.c: Likewise.
40282         * misc/mkstemps64.c: Likewise.
40283         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40284         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40285         * sysdeps/wordsize-64/mkostemp.c: File removed.
40286         * sysdeps/wordsize-64/mkstemp.c: File removed.
40287         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40288         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40289         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40290         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40292         [BZ #14138]
40293         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40294         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40295         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40296         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40298         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40299         compat_symbol macros from <shlib-compat.h> rather than the underlying
40300         default_symbol_version and symbol_version macros, so that DEFAULT
40301         lines in shlib-versions are respected.
40302         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40304 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40306         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40307         Declare with warn_unused_result.
40308         (setgid, setregid, setegid, setresgid): Likewise.
40309         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40310         Likewise.
40311         * WUR-REPORT: Remove set*id functions.
40313 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40315         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40317 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40319         [BZ #10191]
40320         * include/sys/socket.h (__libc_accept, __libc_accept4):
40321         Add attribute_hidden.
40322         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40324         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40325         use of PTR_MANGLE.
40326         * inet/getnetgrent_r.c (setup): Likewise.
40328         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40330 2012-07-31  David S. Miller  <davem@davemloft.net>
40332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40334 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40336         [BZ #13629]
40337         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40338         value between 1.0 and 2.0 and smaller part has absolute value less
40339         than 1.0.
40340         * math/s_clog10.c (__clog10): Likewise.
40341         * math/s_clog10f.c (__clog10f): Likewise.
40342         * math/s_clog10l.c (__clog10l): Likewise.
40343         * math/s_clogf.c (__clogf): Likewise.
40344         * math/s_clogl.c (__clogl): Likewise.
40345         * math/libm-test.inc (clog_test): Add more tests.
40346         (clog10_test): Likewise.
40347         * sysdeps/i386/fpu/libm-test-ulps: Update.
40348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40350 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40352         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40353         Exit with zero in case no suitable GID is found, and write a
40354         message to standard error.
40356 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40358         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40359         rather than to 1.
40360         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40361         (MAXPATHLEN): Removed.
40362         (NOGROUP, NODEV): New macros.
40363         (setbit, clrbit, isset, isclr): New macros.
40364         (howmany, roundup, powerof2): New macros.
40365         (DEV_BSIZE): New macro.
40367         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40368         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40370         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40371         definition on [!__NO_LONG_DOUBLE_MATH].
40373         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40374         PTR_MANGLE and PTR_DEMANGLE.
40376         * socket/accept4.c (accept4): Rename to __libc_accept4.
40377         Define accept4 as a weak alias.
40379         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40380         on [_DIRENT_HAVE_D_TYPE].
40381         * io/ftw.c (ftw_dir): Likewise.
40383         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40385         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40387         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40388         Use the BSD numbers rather than the arbitrary ones we had.
40389         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40390         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40391         (SIGXCPU, SIGXFSZ): New macros.
40392         (_NSIG): Now 32.
40394         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40395         initializer on [_LIBC_REENTRANT].
40397         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40398         definitions inside [_POSIX_MAPPED_FILES].
40400         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40402         * dirent/opendir.c: Include <fcntl.h>.
40404         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40405         (__libc_getspecific): Likewise.
40406         (__libc_key_create): Likewise.
40408         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40409         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40410         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40411         (tmpfile64): Define as alias.
40412         * sysdeps/wordsize-64/tmpfile.c: File removed.
40413         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40414         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40415         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40417         * stdio-common/vfscanf.c: Include <stdbool.h>.
40418         * nss/makedb.c: Likewise.
40419         * stdio-common/_i18n_number.h: Likewise.
40420         * argp/argp-help.c: Likewise.
40421         * posix/wordexp.c: Likewise.
40422         * sysdeps/posix/spawni.c: Likewise.
40423         * nss/nss_files/files-initgroups.c: Likewise.
40424         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40425         * nss/nss_files/files-initgroups.c: Likewise.
40426         * nss/nss_db/db-netgrp.c: Likewise.
40427         * nss/nss_db/db-initgroups.c: Likewise.
40428         * io/fchmodat.c: Include <sys/stat.h>.
40430         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40431         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40433         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40434         [HAVE_MMAP].
40436         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40437         Add multiple inclusion protection.
40439 2012-07-27  David S. Miller  <davem@davemloft.net>
40441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40443 2012-07-27  Gary Benson  <gbenson@redhat.com>
40445         [BZ #14298]
40446         * elf/rtld.c: Include <stap-probe.h>.
40447         (dl_main): Added static probes "init_start" and "init_complete".
40448         * elf/dl-load.c: Include <stap-probe.h>.
40449         (lose): Take new parameter "nsid".
40450         Added static probe "map_failed".
40451         (_dl_map_object_from_fd): Pass namespace id to lose.
40452         Added static probe "map_start".
40453         (open_verify): Pass namespace id to lose.
40454         * elf/dl-open.c: Include <stap-probe.h>.
40455         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40456         and "reloc_complete".
40457         * elf/dl-close.c: Include <stap-probe.h>.
40458         (_dl_close_worker): Added static probes "unmap_start" and
40459         "unmap_complete".
40460         * elf/rtld-debugger-interface.txt: New file documenting the above.
40462 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40464         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40465         rather than a string variable.
40466         * sunrpc/rpc_main.c (h_output): Likewise.
40467         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40469 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40471         * inet/check_native.c: New file.
40473 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40475         [BZ #13629]
40476         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40477         if larger part has absolute value 1.0.
40478         * math/s_clog10.c (__clog10): Likewise.
40479         * math/s_clog10f.c (__clog10f): Likewise.
40480         * math/s_clog10l.c (__clog10l): Likewise.
40481         * math/s_clogf.c (__clogf): Likewise.
40482         * math/s_clogl.c (__clogl): Likewise.
40483         * math/libm-test.inc (clog_test): Add more tests.
40484         (clog10_test): Likewise.
40485         * sysdeps/i386/fpu/libm-test-ulps: Update.
40486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40488         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40489         (pltexit): Likewise.
40490         (La_regs): Likewise.
40491         (La_retval): Likewise.
40492         (int_retval): Likewise.
40493         Update #error for removed macros to refer only to definitions in
40494         tst-audit.h.
40495         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40496         macro.
40497         (pltexit): Likewise.
40498         (La_regs): Likewise.
40499         (La_retval): Likewise.
40500         (int_retval): Likewise.
40501         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40502         macro.
40503         (pltexit): Likewise.
40504         (La_regs): Likewise.
40505         (La_retval): Likewise.
40506         (int_retval): Likewise.
40507         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40508         macro.
40509         (pltexit): Likewise.
40510         (La_regs): Likewise.
40511         (La_retval): Likewise.
40512         (int_retval): Likewise.
40513         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40514         macro.
40515         (pltexit): Likewise.
40516         (La_regs): Likewise.
40517         (La_retval): Likewise.
40518         (int_retval): Likewise.
40519         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40520         macro.
40521         (pltexit): Likewise.
40522         (La_regs): Likewise.
40523         (La_retval): Likewise.
40524         (int_retval): Likewise.
40525         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40526         macro.
40527         (pltexit): Likewise.
40528         (La_regs): Likewise.
40529         (La_retval): Likewise.
40530         (int_retval): Likewise.
40531         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40532         macro definitions in tst-audit.h.
40533         * sysdeps/i386/tst-audit.h: New file.
40534         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40535         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40536         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40537         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40538         * sysdeps/sh/tst-audit.h: Likewise.
40539         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40540         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40541         * sysdeps/x86_64/tst-audit.h: Likewise.
40543 2012-07-26  Andreas Jaeger  <aj@suse.de>
40545         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40546         ptrace.
40548         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40549         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40550         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40551         PTRACE_O_MASK.
40552         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40553         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40554         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40556         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40557         value.
40559         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40560         _sigsys.
40561         (si_call_addr, si_syscall, si_arch): Define new macro.
40562         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40563         _sigsys.
40564         (si_call_addr, si_syscall, si_arch): Define new marcro.
40565         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40566         _sigsys.
40567         (si_call_addr, si_syscall, si_arch): Define new macro.
40568         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40569         _sigsys.
40570         (si_call_addr, si_syscall, si_arch): Define new macro.
40572 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40574         [BZ #13717]
40575         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40576         Change to 2.4.21 where previously 2.4.1.
40577         * sysdeps/unix/sysv/linux/configure: Regenerated.
40578         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40579         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40580         Linux kernel version.
40581         (__ASSUME_STD_AUXV): Remove.
40582         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40583         kernel version.
40584         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40585         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40586         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40587         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40588         (__ASSUME_NETLINK_SUPPORT): Likewise.
40589         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40590         (__no_netlink_support): Remove conditional definition.
40591         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40592         Remove.
40593         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40594         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40595         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40596         (if_nameindex_ioctl): Remove.
40597         (if_nameindex_netlink): Do not handle __no_netlink_support.
40598         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40599         code.
40600         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40601         Remove conditional code.
40602         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40603         code.
40604         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40605         unconditional.
40606         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40607         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40608         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40609         Remove.
40610         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40611         [!__ASSUME_STD_AUXV]: Remove conditional code.
40612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40613         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40614         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40616         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40617         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40618         code.
40619         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40621         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40622         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40623         conditional code.
40624         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40626         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40627         code.
40628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40629         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40630         conditional code.
40631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40632         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40633         code unconditional.
40634         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40635         conditional code.
40636         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40637         unconditional.
40638         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40639         conditional code.
40640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40641         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40642         unconditional.
40643         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40644         conditional code.
40645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40646         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40647         code unconditional.
40648         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40649         conditional code.
40650         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40651         unconditional.
40652         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40653         conditional code.
40654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40655         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40656         code unconditional.
40657         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40658         conditional code.
40659         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40660         unconditional.
40661         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40662         conditional code.
40664 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40666         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40667         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40668         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40669         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40670         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40671         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40672         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40673         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40674         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40675         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40676         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40677         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40678         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40679         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40680         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40681         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40682         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40683         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40684         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40686         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40687         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40688         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40690 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40692         * Versions.def: Add GLIBC_2.17.
40693         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40694         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40695         Introduce __libc_secure_getenv.
40696         * stdlib/Versions (2.17): Add secure_getenv
40697         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40698         * stdlib/secure-getenv.c: Rename __secure_getenv to
40699         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40700         symbol __secure_getenv for GLIBC_2.0.
40701         * stdlib/tst-secure-getenv.c: New.
40702         * stdlib/Makefile (tests): Add testcase.
40703         * manual/startup.texi (Environment Access): Document
40704         secure_getenv.
40705         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40706         __libc_secure_getenv.
40707         * inet/ruserpass.c (ruserpass): Likewise.
40708         * malloc/mtrace.c (mtrace): Likewise.
40709         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40710         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40711         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40712         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40713         HAVE_SECURE_GETENV.
40714         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40715         __secure_getenv to __libc_secure_getenv.
40716         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40718         Likewise.
40719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40720         Likewise.
40721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40723         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40729 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40731         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40732         (struct La_i86_retval): Likewise.
40733         (struct La_x86_64_regs): Likewise.
40734         (struct La_x86_64_retval): Likewise.
40735         (struct La_x32_regs): Likewise.
40736         (struct La_x32_retval): Likewise.
40737         (struct La_ppc32_regs): Likewise.
40738         (struct La_ppc32_retval): Likewise.
40739         (struct La_ppc64_regs): Likewise.
40740         (struct La_ppc64_retval): Likewise.
40741         (struct La_sh_regs): Likewise.
40742         (struct La_sh_retval): Likewise.
40743         (struct La_s390_32_regs): Likewise.
40744         (struct La_s390_32_retval): Likewise.
40745         (struct La_s390_64_regs): Likewise.
40746         (struct La_s390_64_retval): Likewise.
40747         (struct La_sparc32_regs): Likewise.
40748         (struct La_sparc32_retval): Likewise.
40749         (struct La_sparc64_regs): Likewise.
40750         (struct La_sparc64_retval): Likewise.
40751         (struct audit_ifaces): Remove architecture-specific pltenter and
40752         pltexit members.
40753         * sysdeps/i386/ldsodefs.h: New file.
40754         * sysdeps/powerpc/ldsodefs.h: Likewise.
40755         * sysdeps/s390/ldsodefs.h: Likewise.
40756         * sysdeps/sh/ldsodefs.h: Likewise.
40757         * sysdeps/sparc/ldsodefs.h: Likewise.
40758         * sysdeps/x86_64/ldsodefs.h: Likewise.
40760 2012-07-25  Marek Polacek  <polacek@redhat.com>
40762         [BZ #6808]
40763         * math/libm-test.inc (yn_test): Add another test.
40764         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40765         to ERANGE when the result is +-Inf.
40766         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40767         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40768         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40769         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40771 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40773         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40774         equal to 0.
40775         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40776         clock_t.
40777         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40779 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40781         * configure.in <sysdeps resolving>: Correct printing
40782         Implies_before.
40783         * configure: Regenerate.
40785 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40787         * math/w_ilogb.c: Include <limits.h>.
40788         * math/w_ilogbl.c: Likewise.
40790 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40792         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40793         va_copy.  Document allowing for unavailable va_copy only as
40794         pre-C99 compatibility.
40795         * manual/string.texi (Copying and Concatenation): Use va_copy
40796         instead of __va_copy in concat example.
40798 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40800         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40801         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40802         it if not null.
40804         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40805         with O_NOLINK passed to __file_name_lookup.
40807         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40808         with O_NOLINK passed to __file_name_lookup.
40810         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40811         negative N or less than NGIDS.
40813         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40814         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40815         enough.  Use memcpy instead of strncpy.
40817 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40819         * elf/Makefile (check-data): Remove.
40820         (localplt.data): New vpath directive.
40821         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40822         instead of $(check-data).
40823         * scripts/data/localplt-generic.data: Move to ...
40824         * sysdeps/generic/localplt.data: ... here.
40825         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40826         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40827         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40829         ... here.
40830         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40832         ... here.
40833         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40835         ... here.
40836         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40838         ... here.
40839         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40841         ... here.
40842         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40844         ... here.
40846 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40848         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40849         PPC32 and PPC64 files.
40850         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40851         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40853 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40855         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40856         __makecontext_ret to ...
40857         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40858         ... here and call exit if uc_link is NULL.  New file.
40859         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40860         __makecontext_ret.S.
40861         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40862         __makecontext_ret to ...
40863         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40864         ... here and call exit if uc_link is NULL.  New file.
40865         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40866         __makecontext_ret.S.
40868 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40870         * elf/elf.h (R_390_IRELATIVE): New definition.
40871         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40872         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40873         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40874         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40875         (elf_machine_lazy_rel): Likewise.
40876         * sysdeps/s390/dl-irel.h: New file.
40877         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40878         * sysdeps/s390/s390-64/memset.S: New asm code.
40879         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40880         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40881         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40882         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40883         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40884         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40885         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40886         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40887         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40888         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40889         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40890         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40891         * sysdeps/s390/s390-32/memset.S: New asm code.
40892         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40894 2012-07-17  Marek Polacek  <polacek@redhat.com>
40896         [BZ #14349]
40897         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40898         * sysdeps/s390/s390-64/configure.in: Likewise.
40899         * sysdeps/sparc/configure.in: Likewise.
40900         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40901         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40902         * sysdeps/i386/configure.in: Likewise.
40903         * sysdeps/x86_64/configure.in: Likewise.
40904         * sysdeps/sh/configure.in: Likewise.
40905         * sysdeps/s390/s390-32/configure: Regenerated.
40906         * sysdeps/s390/s390-64/configure: Likewise.
40907         * sysdeps/x86_64/configure: Likewise.
40908         * sysdeps/sh/configure: Likewise.
40909         * sysdeps/powerpc/powerpc64/configure: Likewise.
40910         * sysdeps/powerpc/powerpc32/configure: Likewise.
40911         * sysdeps/sparc/configure: Likwise.
40912         * sysdeps/i386/configure: Likewise.
40914         * elf/dl-open.c: Comment fixes.
40916 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40918         * Makefile [CXX] (check-data): Remove.
40919         [CXX] (c++-types.data): New vpath directive.
40920         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40921         vpath.  Do not allow for C++ type data being missing.
40922         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40923         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40924         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40925         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40926         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40927         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40928         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40930         ... here.
40931         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40933         ... here.
40934         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40936         ... here.
40937         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40939         ... here.
40940         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40942         ... here.
40943         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40945         ... here.
40946         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40948         ... here.
40949         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40952         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40953         definitions to architecture-specific files.
40954         (TLS_IE): Likewise.
40955         (TLS_LD): Likewise.
40956         (TLS_GD): Likewise.
40957         * sysdeps/i386/tls-macros.h: New file.
40958         * sysdeps/powerpc/tls-macros.h: Likewise.
40959         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40960         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40961         * sysdeps/sh/tls-macros.h: Likewise.
40962         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40963         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40964         * sysdeps/x86_64/tls-macros.h: Likewise.
40966 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40968         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40969         zero value for regular exit case.
40971         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40972         (__start_context): Preserve zero value for regular exit case.
40974 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40975             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40977         * manual/setjmp.texi (setcontext): Clarify normal process
40978         termination when uc_link is the null pointer.
40979         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40980         exit call.
40982 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
40984         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40985         preprocessor.  Test for each exception mask separately.
40987 2012-07-16  Andreas Jaeger  <aj@suse.de>
40989         * po/ru.po: Update from translation team.
40991 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
40993         * conform/data/string.h-data (NULL): Use macro-constant.  Require
40994         equal to 0.
40995         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40996         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40997         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40998         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41001 2012-07-13  Andreas Jaeger  <aj@suse.de>
41003         * po/fr.po: Update from translation team.
41005 2012-07-12  Marek Polacek  <polacek@redhat.com>
41007         [BZ #14173]
41008         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41009         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41010         loop condition.
41012 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41014         [BZ #13717]
41015         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41016         Change to 2.4.1 where previously 2.4.0.
41017         * sysdeps/unix/sysv/linux/configure: Regenerated.
41018         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41019         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41020         version.
41021         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41022         (__ASSUME_AT_CLKTCK): Remove.
41023         (__ASSUME_AT_PAGESIZE): Likewise.
41024         (__ASSUME_AT_XID): Likewise.
41025         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41026         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41027         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41028         unconditionally.
41029         (HAVE_AUX_PAGESIZE): Likewise.
41030         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41031         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41032         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41034 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41036         [BZ #14307]
41037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41038         the temporary buffer used to invoke __gethostbyname2_r,
41039         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41040         host_data / struct gaih_addrtuple.
41041         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41042         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41043         header file nss/nsswitch.h.
41044         * nss/nsswitch.h (global scope): Add definition of implementation
41045         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41046         resolv/nss_dns/dns-host.c).
41048 2012-07-11  Andreas Jaeger  <aj@suse.de>
41050         * po/fr.po: Update from translation team.
41052         * po/sv.po: Update from translation team
41053         * po/fr.po: Another update from translation team.
41055 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41057         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41058         for subnormals or multiply small sinh result by itself.
41059         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41062 2012-07-11  David S. Miller  <davem@davemloft.net>
41064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41066 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41068         [BZ #14347]
41069         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41070         (INTERNAL_MARK): Shift it here.
41072 2012-07-10  Marek Polacek  <polacek@redhat.com>
41074         [BZ #14151]
41075         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41076         libc_cv_asm_global_directive with .globl.
41077         * configure: Regenerated.
41078         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41079         with .globl.
41080         * sysdeps/i386/configure: Regenerated.
41081         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41082         with .globl.
41083         * sysdeps/x86_64/configure: Regenerated.
41084         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41085         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41086         * elf/tst-unique2mod2.c: Likewise.
41087         * elf/tst-unique2mod1.c: Likewise.
41088         * elf/tst-unique1mod2.c: Likewise.
41089         * elf/tst-unique1mod1.c: Likewise.
41090         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41091         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41092         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41093         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41094         * sysdeps/mach/sysdep.h: Likewise.
41095         * sysdeps/i386/sysdep.h: Likewise.
41096         * sysdeps/i386/i386-mcount.S: Likewise.
41097         * sysdeps/x86_64/_mcount.S: Likewise.
41098         * sysdeps/x86_64/sysdep.h: Likewise.
41099         * sysdeps/sh/_mcount.S: Likewise.
41100         * sysdeps/sh/sysdep.h: Likewise.
41101         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41102         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41103         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41104         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41105         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41106         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41107         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41108         * locale/localeinfo.h: Likewise.
41109         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41110         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41112 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41114         [BZ #14336]
41115         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41116         system".
41117         * manual/message.texi (The Uniforum approach): Likewise.
41118         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41119         (glibc iconv Implementation): Likewise.
41121 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41123         [BZ #14337]
41124         * math/s_clog.c (__clog): Avoid scaling a value down where that
41125         could result in underflow.
41126         * math/s_clog10.c (__clog10): Likewise.
41127         * math/s_clog10f.c (__clog10f): Likewise.
41128         * math/s_clog10l.c (__clog10l): Likewise.
41129         * math/s_clogf.c (__clogf): Likewise.
41130         * math/s_clogl.c (__clogl): Likewise.
41131         * math/libm-test.inc (clog_test): Add more tests.
41132         (clog10_test): Likewise.
41133         * sysdeps/i386/fpu/libm-test-ulps: Update.
41134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41136 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41138         [BZ #14283]
41139         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41140         by 7 not 8 to examine high bit of fractional part.
41142         [BZ #14042]
41143         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41144         for call to __mcount_internal.
41145         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41146         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41147         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41149 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41151         [BZ #14154]
41152         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41153         approximation for values within 0x1p-13f of an odd multiple of
41154         pi/4.
41155         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41156         exception.  Add more tests.
41157         * sysdeps/i386/fpu/libm-test-ulps: Update.
41159         [BZ #6778]
41160         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41161         inputs and return -1 for them.  Do not check for +Inf in case not
41162         reachable for +Inf.
41163         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41164         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41165         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41166         and return -1 for them.  Do not check for +Inf in case not
41167         reachable for +Inf.
41168         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41169         define.
41170         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41171         and return -1 for them.  Do not check for +Inf in case not
41172         reachable for +Inf.
41173         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41174         spurious underflow.
41175         * sysdeps/i386/fpu/libm-test-ulps: Update.
41176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41178 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41180         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41182 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41184         [BZ #14157]
41185         [BZ #14331]
41186         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41187         could result in spurious underflow.  Scale down values above
41188         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41189         * math/s_csqrtf.c (__csqrtf): Likewise.
41190         * math/s_csqrtl.c (__csqrtl): Likewise.
41191         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41192         spurious underflow.
41193         * sysdeps/i386/fpu/libm-test-ulps: Update.
41194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41196 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41198         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41199         xopen-msg.sed.
41200         * catgets/xopen-msg.awk: New file.
41201         * catgets/xopen-msg.sed: Removed.
41203         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41204         po2text.sed.
41205         * intl/po2test.awk: New file.
41206         * intl/po2test.sed: Removed.
41208 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41210         [BZ #14328]
41211         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41212         or multiply small sinh result by itself.
41213         * math/s_ctanf.c (__ctanf): Likewise.
41214         * math/s_ctanh.c (__ctanh): Likewise.
41215         * math/s_ctanhf.c (__ctanhf): Likewise.
41216         * math/s_ctanhl.c (__ctanhl): Likewise.
41217         * math/s_ctanl.c (__ctanl): Likewise.
41218         * math/libm-test.inc (ctan_test_tonearest): New function.
41219         (ctan_test_towardzero): Likewise.
41220         (ctan_test_downward): Likewise.
41221         (ctan_test_upward): Likewise.
41222         (ctanh_test_tonearest): Likewise.
41223         (ctanh_test_towardzero): Likewise.
41224         (ctanh_test_downward): Likewise.
41225         (ctanh_test_upward): Likewise.
41226         (main): Call these new functions.
41227         * sysdeps/i386/fpu/libm-test-ulps: Update.
41228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41230 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41232         * .gitignore: Delete /ports entry.
41234 2012-07-03  Andreas Jaeger  <aj@suse.de>
41236         * po/bg.po: Update from translation team.
41237         * po/cs.po: Likewise.
41238         * po/de.po: Likewise.
41239         * po/hr.po: Likewise.
41240         * po/nl.pl: Likewise.
41241         * po/pl.po: Likewise.
41242         * po/vi.po: Likewise.
41244 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41246         * Makeconfig [!+link] (+link-before-libc): New variable.
41247         [!+link] (+link-after-libc): Likewise.
41248         [!+link] (+link-tests): Likewise.
41249         [!+link] (+link): Define in terms of $(+link-before-libc) and
41250         $(+link-after-libc).
41251         [!+link-static] (+link-static-before-libc): New variable.
41252         [!+link-static] (+link-static-after-libc): Likewise.
41253         [!+link-static] (+link-static-tests): Likewise.
41254         [!+link-static] (+link-static): Define in terms of
41255         $(+link-static-before-libc) and $(+link-static-after-libc).
41256         [build-shared] (link-libc-before-gnulib): New variable.
41257         [build-shared] (link-libc-tests): Likewise.
41258         [build-shared] (link-libc): Define in terms of
41259         $(link-libc-before-gnulib).
41260         [!build-shared] (link-libc-tests): New variable.
41261         (link-libc-static-tests): New variable.
41262         [!gnulib] (gnulib-arch): New variable.
41263         [!gnulib] (gnulib-tests): Likewise.
41264         [!gnulib] (static-gnulib-arch): Likewise.
41265         [!gnulib] (static-gnulib-tests): Likewise.
41266         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41267         Define with "=" instead of ":=".
41268         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41269         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41270         * Rules (binaries-all-notests): New variable.
41271         (binaries-all-tests): Likewise.
41272         (binaries-static-notests): Likewise.
41273         (binaries-static-tests): Likewise.
41274         (binaries-all): Define using $(binaries-all-notests) and
41275         $(binaries-all-tests).
41276         (binaries-static): Define using $(binaries-static-notests) and
41277         $(binaries-static-tests).
41278         (binaries-shared-tests): New variable.
41279         (binaries-shared-notests): Likewise.
41280         (binaries-shared): Remove variable.
41281         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41282         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41283         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41284         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41285         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41286         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41287         * elf/Makefile (sln-modules): New variable.
41288         (extra-objs): Add $(sln-modules:=.o).
41289         (ldconfig-modules): Add static-stubs.
41290         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41291         * elf/static-stubs.c: New file.
41293         [BZ #14283]
41294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41295         by 7 not 8 to examine high bit of fractional part.  Use volatile
41296         variables when splitting into final array of floats if
41297         __FLT_EVAL_METHOD__ != 0.
41298         * math/libm-test.inc (cos_test): Add another test.
41299         (sin_test): Likewise.
41300         * sysdeps/i386/fpu/libm-test-ulps: Update.
41302         [BZ #14273]
41303         * math/libm-test.inc (cosh_test): Add more tests.
41305         * version.h (RELEASE): Set to "development".
41306         (VERSION): Set to "2.16.90".
41308 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41310         * NEWS: Update copyright. Remove last-updated date.
41311         Mention math library bug fixes and timezone data changes.
41312         * README: Mention GNU/Hurd, x32, and HPPA support status.
41314 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41316         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41318 2012-06-27  Andreas Jaeger  <aj@suse.de>
41320         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41322 2012-06-25  Andreas Jaeger  <aj@suse.de>
41324         * sysdeps/s390/fpu/libm-test-ulps: Update.
41326 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41327             Thomas Schwinge  <thomas@codesourcery.com>
41329         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41330         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41331         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41332         fanotify_mark.
41334 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41336         * sysdeps/mach/start.c: Remove file.
41337         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41338         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41339         * sysdeps/sh/init-first.c: Likewise.
41341         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41342         registers for frame unwinding purposes, add CFI directives.
41343         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41344         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41345         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41346         Likewise.
41348         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41349         __fortify_fail returning.
41350         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41352         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41353         sysdeps/sh/____longjmp_chk.S.
41354         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41355         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41356         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41357         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41359         * sysdeps/sh/abort-instr.h: New file.
41360         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41361         process in case exit returns.
41363         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41364         initialize the GOT register before use.
41366         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41367         calculation of ARGC > 4.
41369         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41370         meaningful names to some local labels.
41372 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41373             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41375         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41376         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41377         (__arch_compare_and_exchange_val_16_acq): Likewise.
41378         (__arch_compare_and_exchange_val_32_acq): Likewise.
41379         (atomic_exchange_and_add): Fix gUSA sequence.
41380         (atomic_add): Likewise.
41381         (atomic_add_negative): Likewise.
41382         (atomic_add_zero): Likewise.
41383         (atomic_bit_test_set): Likewise.
41385 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41387         [BZ #13579]
41388         * include/link.h (struct link_map): Add l_free_initfini.
41389         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41390         l_initfini.
41391         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41392         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41393         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41394         set.
41396 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41398         * configure.in: Use AC_LANG_SOURCE.
41399         * configure: Regenerate.
41401 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41403         * configure.in (libc_cv_localstatedir): New substituted variable.
41404         * configure: Regenerated.
41405         * config.make.in (localstatedir): New variable, substituted from
41406         libc_cv_localstatedir.
41407         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41408         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41409         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41410         * sysdeps/gnu/configure: Regenerated.
41412 2012-06-21  Jeff Law  <law@redhat.com>
41414         [BZ #14277]
41415         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41416         free.  Simplify list management for _LIBC case.
41418 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41420         [BZ #14273]
41421         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41422         Clear sign bit of 64-bit integer value before comparing against
41423         overflow value.
41425         * sysdeps/mach/configure: Regenerated.
41427 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41429         [BZ #14278]
41430         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41432 2012-06-21  Jeff Law  <law@redhat.com>
41434         [BZ #13882]
41435         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41436         uint16_t for elements in the "seen" array to avoid char overflows.
41437         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41438         * elf/dl-open.c (dl_open_worker): Likewise.
41440 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41442         * scripts/list-sources.sh: Scan PORTS for translations.
41443         * po/libc.pot: Regenerated.
41445 2012-06-21  Andreas Jaeger  <aj@suse.de>
41447         [BZ #12194]
41448         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41449         warning.
41450         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41451         * bits/byteswap-16.h (__bswap_16): Likewise.
41452         * bits/byteswap.h (__bswap_constant_16): Likewise.
41454 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41456         [BZ #14117]
41457         * sysdeps/i386/fpu_control.h: Removed.
41458         * sysdeps/x86_64/fpu_control.h: Moved to ...
41459         * sysdeps/x86/fpu_control.h: Here.
41461         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41462         (_FPU_SETCW): Likewise.
41464 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41466         [BZ #14117]
41467         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41468         * sysdeps/x86/fpu/bits/mathinline.h: This.
41469         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41471         [BZ #14050]
41472         [BZ #14117]
41473         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41474         functions if __x86_64__ is defined.
41476 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41478         * string/endian.h: Add !__ASSEMBLER__ condition for including
41479         conversion interfaces.
41481 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41483         [BZ #14241]
41484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41485         of ABS(x) in calculating zero to negative powers other than odd
41486         integers.
41487         * math/libm-test.inc (pow_test): Add more tests.
41489 2012-06-15  Andreas Jaeger  <aj@suse.de>
41491         * manual/contrib.texi (Contributors): Update entry of Liubov
41492         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41493         Machado Filho.
41495 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41497         * string/string.h: Add __wur to GNU version of strerror_r.
41499 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41501         [BZ #14229]
41502         * string/Makefile (tests): Add tst-strtok_r.
41503         * string/tst-strtok_r.c: New file.
41504         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41505         RAX_LP/RDX_LP on SAVE_PTR.
41507 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41509         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41511 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41513         * libm_test.inc (csqrt_test): Allow more spurious underflow
41514         exceptions.
41515         (j0_test): Likewise.
41516         (j1_test): Likewise.
41517         (y0_test): Likewise.
41518         (y1_test): Likewise.
41520 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41522         * po/Makefile (libc.pot): Use UTF-8 charset.
41524 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41526         [BZ #14210]
41527         Suppress sign-conversion warning from FD_SET.
41528         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41529         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41530         not unsigned long int.
41531         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41533 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41535         [BZ #14050]
41536         [BZ #14117]
41537         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41538         __extern_always_inline instead of __extern_inline.
41539         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41540         (__signbit): Likewise.
41541         (__signbitl): Support C++ namespace.
41542         (lrintf): New inline function.
41543         (lrint): Likewise.
41544         (llrintf): Likewise.
41545         (llrint): Likewise.
41546         (fmaxf): Likewise.
41547         (fmax): Likewise.
41548         (fminf): Likewise.
41549         (fmin): Likewise.
41550         (rint): Likewise.
41551         (rintf): Likewise.
41552         (ceil): Likewise.
41553         (ceilf): Likewise.
41554         (floor): Likewise.
41555         (floorf): Likewise.
41556         (nearbyint): Likewise.
41557         (nearbyintf): Likewise.
41559 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41561         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41562         non-default versions.
41564 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41566         [BZ #14218]
41567         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41569 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41571         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41572         (FE_UPWARD, FE_DOWNWARD): Don't define.
41573         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41574         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41576         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41577         reading it.
41578         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41579         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41581 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41583         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41585         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41586         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41588 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41590         [BZ #14117]
41591         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41592         * sysdeps/i386/fpu/Implies: New file.
41593         * sysdeps/x86_64/fpu/Implies: Likewise.
41594         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41595         * sysdeps/x86/fpu/bits/fenv.h: This.
41597         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41598         __SSE_MATH__.
41600 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41602         [BZ #14134]
41603         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41604         character 0xffff that matches the last element of the
41605         conversion table.
41607 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41609         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41610         fmodl commit.
41612 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41615         values higher than 25.6283.
41617 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41619         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41620         subnormal exponent extraction and add some __builtin_expect.
41621         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41622         Fix for subnormal mantissa calculation.
41624 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41626         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41627         cpu2 is -1 and errno is not ENOSYS.
41629 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41631         [BZ #14117]
41632         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41633         * sysdeps/x86/bits/string.h: This.
41634         * sysdeps/x86_64/bits/string.h: Removed.
41636         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41637         if not compiling for x86-64, but compiling for >= i486.
41639         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41640         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41642         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41643         New macro from Linux kernel 3.4.0.
41644         (FP_XSTATE_MAGIC2): Likewise.
41645         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41646         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41647         (struct _fpx_sw_bytes): New struct.
41648         (struct _xsave_hdr): Likewise.
41649         (struct _ymmh_state): Likewise.
41650         (struct _xstate): Likewise.
41652         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41653         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41654         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41655         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41656         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41657         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41659         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41660         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41661         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41662         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41663         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41664         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41666 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41668         [BZ #13743]
41669         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41670         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41671         (sysdep_headers): Include sys/platform/ppc.h.
41672         * sysdeps/powerpc/test-gettimebase.c: Test for
41673         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41674         * manual/Makefile (appendices): Include platform.texi.
41675         * manual/contrib.texi (Contributors): Update @node pointers.
41676         * manual/maint.texi (Maintenance): Likewise.
41677         (Platform): New node.
41678         * manual/platform.texi: New file.  Document the new features.
41680 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41681             Jakub Jelinek  <jakub@redhat.com>
41683         [BZ #14188]
41684         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41685         where __builtin_expect is unavailable.
41687 2012-06-03  David S. Miller  <davem@davemloft.net>
41689         * stdlib/longlong.h: Updated from GCC.
41691 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41693         [BZ #14042]
41694         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41695         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41696         __mcount_internal.
41697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41698         (GLIBC_2.16): Likewise.
41700 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41702         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41704 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41707         (default-abi): New variable.
41708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41709         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41710         variable.
41711         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41712         Likewise.
41713         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41714         Likewise.
41715         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41716         Likewise.
41718         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41719         definition.  Document in comment.
41721 2012-06-01  David S. Miller  <davem@davemloft.net>
41723         * stdlib/longlong.h: Updated from GCC.
41725 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41727         [BZ #14117]
41728         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41729         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41730         sys/debugreg.h sys/io.h here.
41731         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41732         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41733         sys/io.h.
41734         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41735         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41736         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41737         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41738         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41739         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41741         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41742         Define only if __x86_64__ is defined.
41744 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41746         [BZ #14048]
41747         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41748         Use int64_t for variable i.
41749         * math/libm-test.inc (fmod_test): Add more tests.
41751         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41752         z computation is not scheduled after fetestexcept.
41753         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41754         Use math_force_eval instead of asm to ensure calculation scheduled
41755         before exception test.
41756         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41757         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41759 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41762         computation is not scheduled after fetestexcept.
41764 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41766         [BZ #14117]
41767         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41768         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41770 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41772         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41773         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41775 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41777         [BZ #14117]
41778         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41779         <bits/wordsize.h>.
41780         (__WCHAR_MIN): Support __WORDSIZE == 64.
41781         (__WCHAR_MAX): Likewise.
41783         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41784         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41786         [BZ #14183]
41787         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41788         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41790         [BZ #14117]
41791         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41792         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41794         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41795         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41797         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41798         Defined to 1 if __x86_64__ isn't defined.
41799         (_STAT_VER_LINUX_OLD): New.
41800         (st_atime): Remove duplicate.
41801         (st_mtime): Likewise.
41802         (st_ctime): Likewise.
41804 2012-05-31  David S. Miller  <davem@davemloft.net>
41806         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41807         entries.
41809 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41811         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41812         gen-libm-test.pl.
41814         [BZ #14132]
41815         * elf/dl-reloc.c: Include <_itoa.h>.
41816         (_dl_reloc_bad_type): Remove use of INTUSE.
41817         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41818         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41819         * stdio-common/psiginfo.c (psiginfo): Likewise.
41820         * stdio-common/psignal.c (psignal): Likewise.
41821         * string/strsignal.c (strsignal): Likewise.
41822         * include/signal.h (_sys_siglist): Declare hidden proto.
41823         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41824         INTVARDEF with libc_hidden_data_def.
41825         * stdio-common/itoa-udigits.c: Likewise.
41826         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41827         (_itoa_lower_digits_internal): Remove declaration.
41828         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41829         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41830         (_sys_sigabbrev_internal): Remove aliases.
41831         (_sys_siglist): Define hidden alias.
41833 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41836         bits/sysctl.h.
41838 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41840         [BZ #14117]
41841         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41842         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41844         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41845         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41846         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41847         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41848         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41849         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41851         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41852         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41853         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41855         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41856         with __addr.
41857         (insw): Likewise.
41858         (insl): Likewise.
41859         (outsb): Likewise.
41860         (outsw): Likewise.
41861         (outsl): Likewise.
41863         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41864         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41865         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41867         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41868         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41869         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41870         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41871         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41872         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41874         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41875         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41877         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41878         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41880         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41881         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41882         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41884         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41885         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41886         to ...
41887         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41889         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41890         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41891         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41893         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41894         for x86-64.
41895         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41897 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41899         * math/math.h (M_El): Use two more decimal places.
41900         (M_LOG2El): Likewise.
41901         (M_LOG10El): Likewise.
41902         (M_LN2l): Likewise.
41903         (M_LN10l): Likewise.
41904         (M_PIl): Likewise.
41905         (M_PI_2l): Likewise.
41906         (M_PI_4l): Likewise.
41907         (M_1_PIl): Likewise.
41908         (M_2_PIl): Likewise.
41909         (M_2_SQRTPIl): Likewise.
41910         (M_SQRT2l): Likewise.
41911         (M_SQRT1_2l): Likewise.
41913 2012-05-31  David S. Miller  <davem@davemloft.net>
41915         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41916         values between float registers.
41917         * sysdeps/sparc/sparc64/memset.S: Likewise.
41918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41920 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41922         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41923         -D_FORTIFY_SOURCE=1.
41924         (CPPFLAGS-tst-longjmp_chk.c): Define.
41925         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41926         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41927         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41928         CFLAGS-tst-wchar-h.c.
41930 2012-05-31  Marek Polacek  <polacek@redhat.com>
41932         [BZ #14132]
41933         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41934         __endmntent_internal): Remove declaration.
41935         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41936         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41937         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41939 2012-05-30  David S. Miller  <davem@davemloft.net>
41941         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41942         (___Q_simulate_exceptions): Use real FP ops rather than writing
41943         into the %fsr.
41944         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41945         Likewise.
41947 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41949         [BZ #14117]
41950         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41951         * sysdeps/x86/bits/xtitypes.h: This.
41953         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41954         * sysdeps/x86/bits/wordsize.h: This.
41956         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41957         * sysdeps/x86/bits/huge_vall.h: This.
41959         * sysdeps/i386/bits/select.h: Removed.
41960         * sysdeps/x86_64/bits/select.h: Renamed to ...
41961         * sysdeps/x86/bits/select.h: This.
41963         * sysdeps/i386/bits/setjmp.h: Removed.
41964         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41965         * sysdeps/x86/bits/setjmp.h: This.
41967         * sysdeps/i386/bits/mathdef.h: Removed.
41968         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41969         * sysdeps/x86/bits/mathdef.h: This.
41971 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41973         [BZ #14132]
41974         * include/sys/socket.h (__connect_internal)
41975         (__libc_sa_len_internal): Remove declaration.
41976         (__connect, __libc_sa_len): Declare hidden_proto.
41977         (SA_LEN): Remove use of INTUSE.
41978         * socket/connect.c: Add libc_hidden_def.
41979         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41980         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41981         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41982         alias.
41983         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41984         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41985         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41986         of adding _internal alias.
41988 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41990         [BZ #14117]
41991         * sysdeps/i386/bits/link.h: Removed.
41992         * sysdeps/i386/bits/linkmap.h: Likewise.
41993         * sysdeps/x86_64/bits/link.h: Renamed to ...
41994         * sysdeps/x86/bits/link.h: This.
41995         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41996         * sysdeps/x86/bits/linkmap.h: This.
41998         * sysdeps/i386/bits/endian.h: Removed.
41999         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42000         * sysdeps/x86/bits/endian.h: This.
42002         * sysdeps/i386/bits/byteswap.h: Removed.
42003         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42004         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42005         * sysdeps/x86/bits/byteswap.h: This.
42006         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42007         * sysdeps/x86/bits/byteswap-16.h: This.
42008         * sysdeps/i386/Implies: Add x86.
42009         * sysdeps/x86_64/Implies: Likewise.
42011 2012-05-30  David S. Miller  <davem@davemloft.net>
42013         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42014         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42015         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42016         (FP_TRAPPING_EXCEPTIONS): Define.
42017         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42018         (FP_TRAPPING_EXCEPTIONS): Define.
42019         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42020         subnormals only when inexact has been signalled or underflow
42021         exceptions are enabled.
42022         (_FP_PACK_CANONICAL): Likewise.
42024 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42026         [BZ #14183]
42027         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42028         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42030 2012-05-30  Richard Henderson  <rth@twiddle.net>
42032         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42033         with #ifndef NOT_IN_libc.
42035         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42036         marked to avoid plt entry.
42038 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42040         [BZ #14112]
42041         * Makeconfig (default-abi): New macro.
42042         (abi-includes): Likewise.
42043         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42044         $(abi-$(default-abi)-lib-soname) for soname if defined.
42045         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42046         abi-variants.
42047         * Makefile (installed-stubs): Likewise.
42048         * include/stubs-biarch.h: Removed.
42049         * scripts/lib-names.awk: Only handle one library at a time.
42050         * scripts/soversions.awk: Remove WORDSIZE support.
42051         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42052         entries.
42053         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42054         Removed.
42055         (syscall-list-default-condition): Likewise.
42056         (syscall-list-default-condition): Likewise.
42057         (syscall-list-includes): Likewise.
42058         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42059         syscall-list-* with abi-*.  Handle undefined abi-variants.
42060         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42061         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42062         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42063         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42064         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42065         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42066         Removed.
42067         (syscall-list-32-options): Likewise.
42068         (syscall-list-32-condition): Likewise.
42069         (syscall-list-64-options): Likewise.
42070         (syscall-list-64-condition): Likewise.
42071         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42072         macro.
42073         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42074         Renamed to ...
42075         (abi-*): This.
42076         (abi-64-ld-soname): New macro.
42077         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42078         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42079         Renamed to ...
42080         (abi-*): This.
42081         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42082         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42084 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42086         * sysdeps/unix/sysv/linux/kernel-features.h
42087         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42088         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42089         include <kernel-features.h>.
42090         [!__NR_ftruncate64]: Remove conditional code.
42091         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42092         [__NR_ftruncate64]: Make code unconditional.
42093         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42094         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42095         include <kernel-features.h>.
42096         [!__NR_ftruncate64]: Remove conditional code.
42097         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42098         [__NR_ftruncate64]: Make code unconditional.
42099         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42101         include <kernel-features.h>.
42102         [!__NR_ftruncate64]: Remove conditional code.
42103         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42104         [__NR_ftruncate64]: Make code unconditional.
42105         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42107         include <kernel-features.h>.
42108         [!__NR_ftruncate64]: Remove conditional code.
42109         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42110         [__NR_ftruncate64]: Make code unconditional.
42111         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42113         * configure.in (libc_cv_fpie): Weaken to a compile test using
42114         LIBC_TRY_CC_OPTION.
42115         * configure: Regenerated.
42117 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42123         Refreshed.
42124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42130         Refreshed.
42132 2012-05-27  David S. Miller  <davem@davemloft.net>
42134         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42135         (___Q_zero): New.
42136         (__Q_simulate_exceptions): Return void.  Change to simulate
42137         exceptions by writing into the %fsr.
42138         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42139         (__Qp_handle_exceptions): Likewise.
42140         (numbers): Delete.
42141         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42142         __Qp_handle_exceptions.
42143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42144         __Qp_handle_exceptions.
42145         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42146         as unused and give dummy FP_RND_NEAREST initializer.
42147         (FP_INHIBIT_RESULTS): Define.
42148         (___Q_simulate_exceptions): Update declaration.
42149         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42150         formatting.
42151         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42152         as unused and give dummy FP_RND_NEAREST initializer.
42153         (__Qp_handle_exceptions): Update declaration.
42154         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42155         formatting.
42157 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42159         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42160         the temporary FPU control word.
42161         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42162         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42163         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42164         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42165         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42166         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42167         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42168         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42169         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42170         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42171         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42173 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42175         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42176         fields.
42178 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42180         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42181         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42182         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42183         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42184         Likewise.
42185         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42186         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42187         Likewise.
42189 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42191         * po/h.po: Update from translation team.
42193 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42195         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42197         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42198         handling of denormals.
42199         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42200         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42201         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42202         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42203         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42206         Likewise.
42208 2012-05-26  Marek Polacek  <polacek@redhat.com>
42210         [BZ #14152]
42211         * math/libm-test.inc (fma_test): Don't always expect underflow
42212         exception.
42214 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42216         [BZ #12416]
42217         * elf/tst-execstack.c: Include stackinfo.h.
42218         (do_test): Adjust test case to ensure that pthread_getattr_np
42219         behaviour remains the same after marking stack executable.
42221 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42223         * sysdeps/unix/sysv/linux/kernel-features.h
42224         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42225         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42226         kernel-features.h.
42227         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42228         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42229         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42230         kernel-features.h.
42231         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42232         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42234 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42236         * configure.in: Define the default includes to being none.
42237         * configure: Regenerated.
42239 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42241         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42242         * sysdeps/x86_64/setjmp.S: Likewise.
42243         * sysdeps/i386/bsd-setjmp.S: Likewise.
42244         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42245         * sysdeps/i386/setjmp.S: Likewise.
42246         * sysdeps/i386/__longjmp.S: Likewise.
42247         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42248         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42250         * include/stap-probe.h: New file.
42251         * configure.in: Handle --enable-systemtap.
42252         * configure: Regenerated.
42253         * config.h.in (USE_STAP_PROBE): New #undef.
42254         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42255         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42256         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42258 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42260         [BZ #13717]
42261         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42262         to 2.4.0 where earlier.
42263         * sysdeps/unix/sysv/linux/configure: Regenerated.
42264         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42265         <kernel-features.h>.
42266         [__ASSUME_32BITUIDS]: Make code unconditional.
42267         [!__ASSUME_32BITUIDS]: Remove conditional code.
42268         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42269         <kernel-features.h>.
42270         [__ASSUME_32BITUIDS]: Make code unconditional.
42271         [!__ASSUME_32BITUIDS]: Remove conditional code.
42272         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42273         [__ASSUME_32BITUIDS]: Make code unconditional.
42274         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42275         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42276         <kernel-features.h>.
42277         [__ASSUME_32BITUIDS]: Make code unconditional.
42278         [!__ASSUME_32BITUIDS]: Remove conditional code.
42279         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42280         <kernel-features.h>.
42281         [__ASSUME_32BITUIDS]: Make code unconditional.
42282         [!__ASSUME_32BITUIDS]: Remove conditional code.
42283         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42284         <kernel-features.h>.
42285         [__ASSUME_32BITUIDS]: Make code unconditional.
42286         [!__ASSUME_32BITUIDS]: Remove conditional code.
42287         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42288         <kernel-features.h>.
42289         [__ASSUME_32BITUIDS]: Make code unconditional.
42290         [!__ASSUME_32BITUIDS]: Remove conditional code.
42291         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42292         <kernel-features.h>.
42293         [__ASSUME_32BITUIDS]: Make code unconditional.
42294         [!__ASSUME_32BITUIDS]: Remove conditional code.
42295         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42296         <kernel-features.h>.
42297         [__ASSUME_32BITUIDS]: Make code unconditional.
42298         [!__ASSUME_32BITUIDS]: Remove conditional code.
42299         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42300         <kernel-features.h>.
42301         [__ASSUME_32BITUIDS]: Make code unconditional.
42302         [!__ASSUME_32BITUIDS]: Remove conditional code.
42303         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42304         <kernel-features.h>.
42305         [__ASSUME_32BITUIDS]: Make code unconditional.
42306         [!__ASSUME_32BITUIDS]: Remove conditional code.
42307         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42308         <kernel-features.h>.
42309         [__ASSUME_32BITUIDS]: Make code unconditional.
42310         [!__ASSUME_32BITUIDS]: Remove conditional code.
42311         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42312         <kernel-features.h>.
42313         [__ASSUME_32BITUIDS]: Make code unconditional.
42314         [!__ASSUME_32BITUIDS]: Remove conditional code.
42315         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42316         <kernel-features.h>.
42317         [__NR_setresgid] (__setresgid): Do not declare.
42318         [__ASSUME_32BITUIDS]: Make code unconditional.
42319         [!__ASSUME_32BITUIDS]: Remove conditional code.
42320         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42321         <kernel-features.h>.
42322         [__NR_setresuid] (__setresuid): Do not declare.
42323         [__ASSUME_32BITUIDS]: Make code unconditional.
42324         [!__ASSUME_32BITUIDS]: Remove conditional code.
42325         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42326         <kernel-features.h>.
42327         [__ASSUME_32BITUIDS]: Make code unconditional.
42328         [!__ASSUME_32BITUIDS]: Remove conditional code.
42329         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42330         <kernel-features.h>.
42331         [__ASSUME_32BITUIDS]: Make code unconditional.
42332         [!__ASSUME_32BITUIDS]: Remove conditional code.
42333         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42334         <kernel-features.h>.
42335         [__ASSUME_32BITUIDS]: Make code unconditional.
42336         [!__ASSUME_32BITUIDS]: Remove conditional code.
42337         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42338         <kernel-features.h>.
42339         [__ASSUME_32BITUIDS]: Make code unconditional.
42340         [!__ASSUME_32BITUIDS]: Remove conditional code.
42341         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42342         <kernel-features.h>.
42343         [__ASSUME_32BITUIDS]: Make code unconditional.
42344         [!__ASSUME_32BITUIDS]: Remove conditional code.
42345         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42346         <kernel-features.h>.
42347         [__ASSUME_32BITUIDS]: Make code unconditional.
42348         [!__ASSUME_32BITUIDS]: Remove conditional code.
42349         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42350         <kernel-features.h>.
42351         [__ASSUME_32BITUIDS]: Make code unconditional.
42352         [!__ASSUME_32BITUIDS]: Remove conditional code.
42353         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42354         <kernel-features.h>.
42355         [__ASSUME_32BITUIDS]: Make code unconditional.
42356         [!__ASSUME_32BITUIDS]: Remove conditional code.
42357         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42358         <kernel-features.h>.
42359         [__ASSUME_32BITUIDS]: Make code unconditional.
42360         [!__ASSUME_32BITUIDS]: Remove conditional code.
42361         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42362         <kernel-features.h>.
42363         [__ASSUME_32BITUIDS]: Make code unconditional.
42364         [!__ASSUME_32BITUIDS]: Remove conditional code.
42365         * sysdeps/unix/sysv/linux/kernel-features.h
42366         (__ASSUME_SETRESUID_SYSCALL): Remove.
42367         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42368         (__ASSUME_32BITUIDS): Likewise.
42369         (__ASSUME_LDT_WORKS): Likewise.
42370         (__ASSUME_O_DIRECTORY): Likewise.
42371         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42372         architecture but not kernel version.
42373         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42374         (__ASSUME_MMAP2_SYSCALL): Likewise.
42375         (__ASSUME_STAT64_SYSCALL): Likewise.
42376         (__ASSUME_IPC64): Likewise.
42377         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42378         <kernel-features.h>.
42379         [__ASSUME_32BITUIDS]: Make code unconditional.
42380         [!__ASSUME_32BITUIDS]: Remove conditional code.
42381         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42382         <kernel-features.h>.
42383         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42384         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42385         132096]: Remove conditional code.
42386         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42387         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42388         <kernel-features.h>.
42389         [__ASSUME_32BITUIDS]: Make code unconditional.
42390         [!__ASSUME_32BITUIDS]: Remove conditional code.
42391         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42392         <kernel-features.h>.
42393         [__ASSUME_32BITUIDS]: Make code unconditional.
42394         [!__ASSUME_32BITUIDS]: Remove conditional code.
42395         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42396         <kernel-features.h>.
42397         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42398         unconditional.
42399         (__setresgid): Do not declare.
42400         [__ASSUME_32BITUIDS]: Make code unconditional.
42401         [!__ASSUME_32BITUIDS]: Remove conditional code.
42402         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42403         <kernel-features.h>.
42404         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42405         unconditional.
42406         (__setresuid): Do not declare.
42407         [__ASSUME_32BITUIDS]: Make code unconditional.
42408         [!__ASSUME_32BITUIDS]: Remove conditional code.
42409         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42410         <kernel-features.h>.
42411         [__ASSUME_32BITUIDS]: Make code unconditional.
42412         [!__ASSUME_32BITUIDS]: Remove conditional code.
42413         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42414         <kernel-features.h>.
42415         [__ASSUME_32BITUIDS]: Make code unconditional.
42416         [!__ASSUME_32BITUIDS]: Remove conditional code.
42418 2012-05-25  Richard Henderson  <rth@twiddle.net>
42420         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42421         dl_hwcap to ifunc resolver.
42422         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42423         elf_ifunc_invoke.
42424         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42425         dl_hwcap to ifunc resolver.
42426         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42428 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42430         [BZ #14153]
42431         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42432         for |x| <= 2**-26, not 2**-57.
42433         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42434         exception.
42436 2012-05-24  Jeff Law  <law@redhat.com>
42438         * stdio-common/Makefile (tests): Add bug25.
42439         * stdio-common/bug25.c: New test.
42441 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42443         [BZ #13576]
42444         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42445         multiple of MALLOC_ALIGNMENT in size.
42446         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42448 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42450         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42451         Require >= 256.
42452         (FILENAME_MAX): Use macro-int-constant.
42453         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42454         (_IOFBF): Use macro-int-constant.
42455         (_IOLBF): Likewise.
42456         (_IONBF): Likewise.
42457         (SEEK_CUR): Likewise.
42458         (SEEK_END): Likewise.
42459         (SEEK_SET): Likewise.
42460         (TMP_MAX): Likewise.
42461         (EOF): Use macro-int-constant.  Require < 0.
42462         (NULL): Use macro-constant.  Require == 0.
42463         (stdin): Require type to be FILE *.
42464         (stdout): Likewise.
42465         (stderr): Likewise.
42466         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42467         macro-int-constant.
42468         (EXIT_SUCCESS): Likewise.
42469         (NULL): Use macro-constant.  Require == 0.
42470         (RAND_MAX): Use macro-int-constant.
42471         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42472         [C99-based standards] (strtof): Require function.
42473         [C99-based standards] (strtold): Likewise.
42474         [C99-based standards] (strtoll): Likewise.
42475         [C99-based standards] (strtoull): Likewise.
42476         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42477         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42478         [ISO || ISO99 || ISO11] (math.h): Likewise.
42479         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42480         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42481         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42483 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42485         [BZ #14132]
42486         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42487         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42488         * intl/dgettext.c (DCGETTEXT): Likewise.
42489         * intl/gettext.c (DCGETTEXT): Likewise.
42490         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42491         * posix/regex_internal.h (gettext): Likewise.
42492         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42493         Remove declaration.
42494         * include/argz.h (__argz_count_internal)
42495         (__argz_stringify_internal): Remove declaration.
42496         (__argz_count, __argz_stringify): Declare hidden proto.
42497         * intl/dcgettext.c: Remove use of INTDEF.
42498         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42499         * string/argz-stringify.c: Likewise.
42500         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42501         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42502         Declare hidden proto.
42503         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42504         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42505         Declare hidden proto.
42506         * include/stdio.h (__asprintf_internal): Don't declare.
42507         (__asprintf): Don't define as macro.  Declare hidden proto.
42508         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42509         (__fsetlocking): Declare hidden proto.
42510         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42511         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42512         hidden proto.
42513         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42514         (_IO_setlinebuf): Remove use of INTUSE.
42515         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42516         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42517         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42518         Remove declaration.
42519         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42520         (_IO_do_flush): Remove use of INTUSE.
42521         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42522         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42523         (_IO_adjust_column, _IO_least_wmarker)
42524         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42525         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42526         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42527         (_IO_default_doallocate, _IO_wdefault_doallocate)
42528         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42529         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42530         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42531         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42532         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42533         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42534         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42535         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42536         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42537         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42538         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42539         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42540         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42541         proto.
42542         (_IO_flush_all_internal, _IO_adjust_column_internal)
42543         (_IO_default_uflow_internal, _IO_default_finish_internal)
42544         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42545         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42546         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42547         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42548         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42549         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42550         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42551         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42552         (_IO_file_close_internal, _IO_file_close_it_internal)
42553         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42554         (_IO_file_init_internal, _IO_file_attach_internal)
42555         (_IO_file_fopen_internal, _IO_file_read_internal)
42556         (_IO_file_sync_internal, _IO_file_seek_internal)
42557         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42558         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42559         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42560         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42561         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42562         (_IO_list_all_internal, _IO_link_in_internal)
42563         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42564         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42565         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42566         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42567         (_IO_do_write_internal, _IO_padn_internal)
42568         (_IO_getline_info_internal, _IO_getline_internal)
42569         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42570         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42571         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42572         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42573         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42574         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42575         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42576         with libc_hidden_ver, remove use of INTUSE.
42577         * libio/genops.c: Likewise.
42578         * libio/freopen.c: Likewise.
42579         * libio/freopen64.c: Likewise.
42580         * libio/iofclose.c: Likewise.
42581         * libio/iofdopen.c: Likewise.
42582         * libio/iofflush.c: Likewise.
42583         * libio/iofflush_u.c: Likewise.
42584         * libio/iofgets.c: Likewise.
42585         * libio/iofgets_u.c: Likewise.
42586         * libio/iofopen.c: Likewise.
42587         * libio/iofopncook.c: Likewise.
42588         * libio/iofread.c: Likewise.
42589         * libio/iofread_u.c: Likewise.
42590         * libio/ioftell.c: Likewise.
42591         * libio/iofwrite.c: Likewise.
42592         * libio/iogetline.c: Likewise.
42593         * libio/iogets.c: Likewise.
42594         * libio/iogetwline.c: Likewise.
42595         * libio/iopadn.c: Likewise.
42596         * libio/iopopen.c: Likewise.
42597         * libio/ioseekoff.c: Likewise.
42598         * libio/ioseekpos.c: Likewise.
42599         * libio/iosetbuffer.c: Likewise.
42600         * libio/iosetvbuf.c: Likewise.
42601         * libio/ioungetc.c: Likewise.
42602         * libio/ioungetwc.c: Likewise.
42603         * libio/iovdprintf.c: Likewise.
42604         * libio/iovsprintf.c: Likewise.
42605         * libio/iovsscanf.c: Likewise.
42606         * libio/memstream.c: Likewise.
42607         * libio/obprintf.c: Likewise.
42608         * libio/oldfileops.c: Likewise.
42609         * libio/oldiofclose.c: Likewise.
42610         * libio/oldiofdopen.c: Likewise.
42611         * libio/oldiofopen.c: Likewise.
42612         * libio/oldiopopen.c: Likewise.
42613         * libio/oldstdfiles.c: Likewise.
42614         * libio/putc.c: Likewise.
42615         * libio/setbuf.c: Likewise.
42616         * libio/setlinebuf.c: Likewise.
42617         * libio/stdfiles.c: Likewise.
42618         * libio/strops.c: Likewise.
42619         * libio/vasprintf.c: Likewise.
42620         * libio/vscanf.c: Likewise.
42621         * libio/vsnprintf.c: Likewise.
42622         * libio/vswprintf.c: Likewise.
42623         * libio/wfiledoalloc.c: Likewise.
42624         * libio/wfileops.c: Likewise.
42625         * libio/wgenops.c: Likewise.
42626         * libio/wmemstream.c: Likewise.
42627         * libio/wstrops.c: Likewise.
42628         * libio/__fpurge.c: Likewise.
42629         * libio/__fsetlocking.c: Likewise.
42630         * assert/assert.c: Likewise.
42631         * debug/fgets_chk.c: Likewise.
42632         * debug/fgets_u_chk.c: Likewise.
42633         * debug/fread_chk.c: Likewise.
42634         * debug/fread_u_chk.c: Likewise.
42635         * debug/gets_chk.c: Likewise.
42636         * debug/obprintf_chk.c: Likewise.
42637         * debug/vasprintf_chk.c: Likewise.
42638         * debug/vdprintf_chk.c: Likewise.
42639         * debug/vsnprintf_chk.c: Likewise.
42640         * debug/vsprintf_chk.c: Likewise.
42641         * malloc/mtrace.c: Likewise.
42642         * misc/error.c: Likewise.
42643         * misc/syslog.c: Likewise.
42644         * stdio-common/asprintf.c: Likewise.
42645         * stdio-common/fxprintf.c: Likewise.
42646         * stdio-common/getw.c: Likewise.
42647         * stdio-common/isoc99_fscanf.c: Likewise.
42648         * stdio-common/isoc99_scanf.c: Likewise.
42649         * stdio-common/isoc99_vfscanf.c: Likewise.
42650         * stdio-common/isoc99_vscanf.c: Likewise.
42651         * stdio-common/isoc99_vsscanf.c: Likewise.
42652         * stdio-common/printf-prs.c: Likewise.
42653         * stdio-common/printf_fp.c: Likewise.
42654         * stdio-common/printf_fphex.c: Likewise.
42655         * stdio-common/printf_size.c: Likewise.
42656         * stdio-common/putw.c: Likewise.
42657         * stdio-common/scanf.c: Likewise.
42658         * stdio-common/sprintf.c: Likewise.
42659         * stdio-common/tmpfile.c: Likewise.
42660         * stdio-common/vfprintf.c: Likewise.
42661         * stdio-common/vfscanf.c: Likewise.
42662         * stdlib/strfmon_l.c: Likewise.
42663         * sunrpc/openchild.c: Likewise.
42664         * sunrpc/xdr_stdio.c: Likewise.
42665         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42666         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42668 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42670         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42672         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42673         in the third column, to generate for the shared library an IFUNC
42674         that uses _dl_vdso_vsym.
42675         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42676         * Makeconfig (object-suffixes-noshared): New variable.
42678         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42679         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42680         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42681         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42683         [BZ #14132]
42684         * include/sys/time.h (__gettimeofday): Remove macro.
42685         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42686         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42687         Remove INTDEF.
42688         (__gettimeofday): Add libc_hidden_def.
42689         (gettimeofday): Add libc_hidden_weak.
42690         * sysdeps/mach/gettimeofday.c: Likewise.
42691         * sysdeps/posix/gettimeofday.c: Likewise.
42692         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42693         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42694         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42695         (__gettimeofday_internal): Remove strong_alias.
42696         (__gettimeofday): Add libc_hidden_def.
42697         (gettimeofday): Add libc_hidden_weak.
42698         * sysdeps/unix/syscalls.list (gettimeofday):
42699         Remove __gettimeofday_internal alias.
42701 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42702             H.J. Lu  <hongjiu.lu@intel.com>
42704         [BZ #12495]
42705         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42706         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42707         (largebin_index_32_big): New.
42708         (largebin_index): Use it for 16-byte alignment.
42709         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42710         correction with front_misalign.
42712 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42716         Likewise.
42717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42718         Likewise.
42719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42720         Likewise.
42721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42722         Likewise.
42723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42724         Likewise.
42725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42726         Likewise.
42727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42728         Likewise.
42729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42730         Likewise.
42731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42732         Likewise.
42733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42734         Likewise.
42735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42736         Likewise.
42737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42738         Likewise.
42740         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42741         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42743 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42745         [BZ #10846]
42746         [BZ #14036]
42747         * math/libm-test.inc (exp_test): Add test from bug 14036.
42748         (pow_test): Add test from bug 10846.
42750         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42751         and other flags.
42752         (special_function): Do not include flags in test name.
42753         (parse_args): Likewise.
42754         * sysdeps/i386/fpu/libm-test-ulps: Update.
42755         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42756         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42757         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42760         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42761         exceptions.
42762         * math/libm-test.inc ("Philosophy"): Update comment about
42763         exception testing.
42764         (UNDERFLOW_EXCEPTION): New macro.
42765         (UNDERFLOW_EXCEPTION_OK): Likewise.
42766         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42767         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42768         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42769         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42770         (INVALID_EXCEPTION_OK): Update value.
42771         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42772         (OVERFLOW_EXCEPTION_OK): Likewise.
42773         (IGNORE_ZERO_INF_SIGN): Likewise.
42774         (test_exceptions): Handle underflow exceptions.
42775         (acos_test): Update for underflow exception expectations.
42776         (cexp_test): Likewise.
42777         (clog_test): Likewise.
42778         (clog10_test): Likewise.
42779         (csqrt_test): Likewise.
42780         (ctan_test): Likewise.
42781         (ctanh_test): Likewise.
42782         (exp_test): Likewise.
42783         (exp10_test): Likewise.
42784         (exp2_test): Likewise.
42785         (expm1_test): Likewise.
42786         (fma_test): Likewise.
42787         (j0_test): Likewise.
42788         (jn_test): Likewise.
42789         (nexttoward_test): Likewise.
42790         (pow_test): Likewise.
42791         (scalbn_test): Likewise.
42792         (scalbln_test): Likewise.
42793         (tan_test): Likewise.
42794         (y1_test): Likewise.
42795         * sysdeps/i386/fpu/libm-test-ulps: Update.
42796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42798 2012-05-23  David S. Miller  <davem@davemloft.net>
42800         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42801         (__libc_sigaction): Remove unused local variables.
42803 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42805         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42807 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42809         mktime: avoid signed integer overflow
42810         * time/mktime.c (__mktime_internal): Do not mishandle the case
42811         where diff == INT_MIN.
42813         mktime: simplify computation of average
42814         * time/mktime.c (ranged_convert): Use new time_t_avg function
42815         instead of rolling our own (probably-slower) code.
42817         mktime: do not assume signed right shift propagates sign bit
42818         * time/mktime.c (isdst_differ): New static function.
42819         (__mktime_internal): No need to normalize tm_isdst now.
42820         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42821         tm_isdst values.
42823         mktime: merge another wrapv change from gnulib
42824         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42825         from some compilers.
42827         mktime: remove incorrect attempt at unusual arithmetics
42828         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42829         The code didn't really work on such machines anyway.
42830         (TYPE_MINIMUM): Assume two's complement.
42831         (twos_complement_arithmetic): Verify that long_int and time_t
42832         are two's complement (or unsigned, in the latter case).
42834         mktime: check signed shifts on long_int and time_t, too
42835         * time/mktime.c (SHR): Check that shifts work as desired
42836         on the types long_int and time_t too, as SHR is used on
42837         such types.
42839         mktime: do not assume 'long' is wide enough
42840         * time/mktime.c (verify): Move decl up.
42841         (long_int): New type.
42842         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42843         to remove assumption in the code that 'long' is wide enough to
42844         store year values.  This assumption is not true on x32 and on
42845         some non-glibc platforms.
42847         mktime: merge wrapv change from gnulib
42848         * time/mktime.c (WRAPV): New macro.
42849         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42850         (guess_time_tm, __mktime_internal): Do not assume that signed
42851         integer overflow wraps around; modern compilers generate code
42852         where this assumption is no longer valid.
42854 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42856         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42857         Replace "jmp L(pseudo_end)" with "ret".
42858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42859         Likewise.
42861 2012-05-23  Andreas Jaeger  <aj@suse.de>
42863         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42864         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42866 2012-05-23  Andreas Jaeger  <aj@suse.de>
42867             Maximilian Attems  <max@stro.at>
42869         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42870         New macros.
42872 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42874         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42875         code so that pseudo_end is just ret and the stack pointer is
42876         correct also for static library in error case.
42878 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42880         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42881         move to syscalls.list.
42882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42887         * manual/install.texi (Running make install): Do not mention Linux
42888         kernel version for which pt_chown is not needed.
42889         (Linux): Do not mention problems with nscd with 2.0 kernels.
42890         * INSTALL: Regenerated.
42892 2012-05-23  Andreas Jaeger  <aj@suse.de>
42894         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42895         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42896         macro.
42897         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42898         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42899         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42900         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42901         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42902         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42903         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42904         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42905         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42906         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42907         * sysdeps/unix/sysv/linux/bits/in.h
42908         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42910 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42912         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42913         (PREPARE_VERSION): Just use assert instead, it will be elided
42914         under [NDEBUG] anyway.
42916 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42918         * sysdeps/unix/sysv/linux/Makefile: Include
42919         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42920         (sysdep_routines): Remove sysctl.
42921         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42922         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42923         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42924         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42925         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42927 2012-05-22  Andreas Jaeger  <aj@suse.de>
42929         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42930         that pseudo_end is just ret and the stack pointer is correct also
42931         for static library in error case.
42933 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42935         [BZ #14122]
42936         * nss/nsswitch.c (defconfig_entries): New variable.
42937         (__nss_database_lookup): Don't leak defconfig entries.
42938         (nss_parse_service_list): Don't leak on error paths.
42939         (free_database_entries): New function.
42940         (free_defconfig): New function.
42941         (free_mem): Move common code to free_database_entries.
42943 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42945         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42946         Add arch_prctl.
42947         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42949         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42950         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42952         New macro.
42953         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42954         (INTERNAL_SYSCALL_TYPES): Likewise.
42955         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42956         (LOAD_REGS_TYPES_[1-6]): Likewise.
42957         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42958         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42960 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42962         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42963         copysignl for GLIBC_2_0.
42964         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42965         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42967         logbl for GLIBC_2_0.
42968         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42969         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42971 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42974         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42976         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42977         Use "neg %eax".
42979         * time/mktime.c: Update copyright years.
42981 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
42983         mktime: merge comment-quoting-style change from gnulib
42984         * time/mktime.c: Quote 'like this' in comments.
42985         The GNU coding standards suggest that we no longer quote `like this',
42986         as "`" and "'" are typically rendered asymmetrically nowadays.
42987         The typical gnulib style is to quote 'like this' when quoting
42988         code, and "like this" when quoting English.
42990         * time/mktime.c (compile-command): Add "-I.".
42992         mktime: merge mktime-internal.h change from gnulib
42993         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42995         mktime: merge time_r change from gnulib
42996         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42998         mktime: merge DEBUG change from gnulib
42999         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43000         case system <time.h> has a #define.
43002         mktime: merge <sys/types.h> change from gnulib
43003         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43004         since <time.t> is now guaranteed to define time_t.
43006         mktime: merge HAVE_CONFIG_H change from gnulib
43007         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43009 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43012         Use "neg %eax".
43014         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43015         __rlim_t cast.
43016         (struct rusage): Use anonymous union to pad each field to
43017         __syscall_slong_t.
43019 2012-05-21  David S. Miller  <davem@davemloft.net>
43021         * Makefules (o-iterator): Remove .s cases.
43022         (compile-command.s): Delete.
43023         (COMPILE.s): Delete.
43024         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43026 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43028         * configure.in (libc_cv_predef_stack_protector): Only consider
43029         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43030         * configure: Regenerated.
43032 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43035         New macro.  Use R*LP on int and pointer.
43036         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43037         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43038         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43039         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43041         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43042         [__WORDSIZE_TIME64_COMPAT32] instead of
43043         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43044         (struct utmp): Likewise.
43045         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43046         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43047         Renamed to ...
43048         (__WORDSIZE_TIME64_COMPAT32): This.
43049         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43050         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43051         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43052         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43053         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43054         (__WORDSIZE_TIME64_COMPAT32): New macro.
43056 2012-05-21  Andreas Jaeger  <aj@suse.de>
43058         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43059         only if [SHARED]. Add prototype for __wcschr_ia32.
43061 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43063         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43064         of %rbp unmolested in the jmp_buf while mangling the low bits.
43065         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43066         unmolested high bits of %rbp while demangling the low bits.
43067         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43069 2012-05-21  Andreas Jaeger  <aj@suse.de>
43071         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43072         * sunrpc/svc_simple.c: Use it for registerrpc.
43073         * sunrpc/xcrypt.c: Use it for passwd2des.
43075         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43077 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43079         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43080         Don't define if [__SYSCALL_WORDSIZE != 32].
43081         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43082         New macro.
43084 2012-05-21  Bruno Haible  <bruno@clisp.org>
43085             Andreas Jaeger  <aj@suse.de>
43087         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43088         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43089         inptr and inend for must_buffer_ch.
43090         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43091         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43092         * stdio-common/Makefile (tests): Remove bug15.
43093         (bug15-ENV): Remove macro.
43094         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43095         anymore.
43097 2012-05-19  Andreas Jaeger  <aj@suse.de>
43098             Roland McGrath  <roland@hack.frob.com>
43100         * manual/contrib.texi: Completely rewritten. It contains now an
43101         alphabetical list of contributors and their contributions.
43103 2012-05-21  Richard Henderson  <rth@twiddle.net>
43105         * misc/getauxval.c (__getauxval): Use unsigned long int.
43106         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43107         (getauxval): Use unsigned long int.
43109 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43111         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43113 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43115         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43116         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43117         __alignof__ (long double).
43119 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43123 2012-05-20  Richard Henderson  <rth@twiddle.net>
43125         * misc/getauxval.c: New file.
43126         * misc/sys/auxv.h: New file.
43127         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43128         (routines): Add getauxval.
43129         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43130         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43131         * elf/dl-sysdep.c (_dl_auxv): Remove.
43132         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43133         * elf/dl-support.c (_dl_auxv): New variable.
43134         (_dl_aux_init): Initialize it.
43135         * manual/startup.texi (Auxiliary Vector): New node.
43136         * sysdeps/generic/bits/hwcap.h: New file.
43137         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43138         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43139         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43140         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43141         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43142         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43144         Update.
43145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43148         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43154 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43158 2012-05-19  David S. Miller  <davem@davemloft.net>
43160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43162 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43164         [BZ #14123]
43165         * math/s_ccosh.c: Include <float.h>
43166         (__ccosh): Avoid internal overflow calculating sinh and cosh
43167         values before multiplying by sin and cos values.
43168         * math/s_ccoshf.c: Likewise.
43169         * math/s_ccoshl.c: Likewise.
43170         * math/s_csin.c: Likewise.
43171         * math/s_csinf.c: Likewise.
43172         * math/s_csinl.c: Likewise.
43173         * math/s_csinh.c: Likewise.
43174         * math/s_csinhf.c: Likewise.
43175         * math/s_csinhl.c: Likewise.
43176         * math/libm-test.inc (ccos_test): Add more tests.
43177         (ccosh_test): Likewise.
43178         (csin_test): Likewise.
43179         (csinh_test): Likewise.
43180         * sysdeps/i386/fpu/libm-test-ulps: Update.
43181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43183 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43185         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43186         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43188         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43190 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43192         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43193         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43194         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43195         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43196         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43197         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43198         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43199         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43200         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43201         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43202         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43203         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43204         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43205         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43206         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43207         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43208         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43209         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43210         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43211         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43212         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43213         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43214         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43215         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43216         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43217         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43218         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43219         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43220         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43221         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43222         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43224 2012-05-18  Andreas Jaeger  <aj@suse.de>
43226         * csu/.gitignore: Delete.
43228 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43230         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43231         (timex): Use __syscall_slong_t.
43233 2012-05-18  Andreas Jaeger  <aj@suse.de>
43234             Carlos O'Donell  <carlos_odonell@mentor.com>
43236         * manual/install.texi (Configuring and compiling): Update
43237         description about files modified in the source directory.
43238         * INSTALL: Regenerated.
43240 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43242         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43243         value.  Use "or" to set return value to -1.
43244         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43245         negate return value.
43247 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43249         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43250         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43251         failure if the compiler has Graphite support disabled.
43252         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43253         Likewise.
43254         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43255         (CFLAGS-memmove.c): Likewise.
43256         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43257         Likewise.
43259 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43261         * sysdeps/x86_64/x32/_itoa.h: New file.
43263         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43264         getdents system call only if kernel and user dirents have the
43265         same d_ino and d_off.
43267         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43268         LLONG_MAX != LONG_MAX.
43269         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43270         (_fitoa_word): Likewise.
43272         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43273         years.
43274         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43275         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43276         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43278         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43279         include <bits/wordsize.h>.  Check __x86_64__ instead of
43280         __WORDSIZE.
43281         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43282         if __x86_64__ is defined.  Use anonymous union on fpstate.
43284         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43285         anonymous union.
43287 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43289         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43290         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43291         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43292         Refer to _rtld_local_ro instead of _rtld_global_ro.
43293         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43294         Likewise.
43295         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43296         Likewise.
43297         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43298         Likewise.
43299         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43300         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43301         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43303         * sysdeps/powerpc/powerpc32/dl-machine.c
43304         (__elf_machine_runtime_setup) [PROF]: Don't reference
43305         _dl_prof_resolve.
43307 2012-05-18  Andreas Jaeger  <aj@suse.de>
43309         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43310         function only available for GCCs before 3.4 since GCC 3.4
43311         introduced a builtin.
43312         (lrint): Likewise.
43313         (llrintf): Likewise.
43314         (llrint): Likewise.
43315         (fmaxf): Likewise.
43316         (fmax): Likewise.
43317         (fminf): Likewise.
43318         (fmin): Likewise.
43319         (rint): Likewise.
43320         (rintf): Likewise.
43321         (nearbyint): Likewise.
43322         (nearbyintf): Likewise.
43323         (ceil): Likewise.
43324         (ceilf): Likewise.
43325         (floor): Likewise.
43326         (floorf): Likewise.
43328 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43330         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43331         on both fields and cast pointer to __syscall_ulong_t.
43333         * bits/types.h (__fsword_t): New type.
43334         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43335         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43337         (__FSWORD_T_TYPE): Likewise.
43338         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43339         (__FSWORD_T_TYPE): Likewise.
43340         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43341         (__FSWORD_T_TYPE): Likewise.
43342         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43343         (__FSWORD_T_TYPE): Likewise.
43344         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43345         __SWORD_TYPE with __fsword_t.
43346         (statfs64): Likewise.
43348 2012-05-17  David S. Miller  <davem@davemloft.net>
43350         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43352 2012-05-17  Andreas Jaeger  <aj@suse.de>
43354         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43355         warning.
43357 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43359         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43361 2012-05-17  Andreas Jaeger  <aj@suse.de>
43363         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43364         when it is used.
43366 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43368         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43370 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43372         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43373         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43375 2012-05-17  Andreas Jaeger  <aj@suse.de>
43376             Carlos O'Donell  <carlos_odonell@mentor.com>
43378         [BZ #14059]
43379         * sysdeps/x86_64/multiarch/init-arch.h
43380         (bit_YMM_Usable): Rename to...
43381         (bit_AVX_Usable): ... this.
43382         (bit_FMA4_Usable): New macro.
43383         (bit_XMM_state): New macro.
43384         (bit_YMM_state): New macro.
43385         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43386         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43387         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43388         (CPUID_OSXSAVE): New macro.
43389         (CPUID_AVX): New macro.
43390         (CPUID_FMA4): New macro.
43391         (index_YMM_Usable): Rename to...
43392         (index_AVX_Usable): ... this.
43393         (HAS_AVX): Use HAS_ARCH_FEATURE.
43394         (HAS_FMA4): Likewise.
43395         (HAS_YMM_USABLE): Remove.
43396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43397         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43398         are present.
43399         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43400         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43401         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43402         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43403         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43405 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43407         * math/libm-test.c: Support platforms without multiple rounding modes.
43408         * math/bug-nextafter.c: Support platforms without FP exceptions.
43409         * math/bug-nexttoward.c: Likewise.
43410         * math/test-fenv.c: Likewise.
43411         * math/test-misc.c: Likewise.
43412         * stdlib/bug-getcontext.c: Likewise.
43414 2012-05-17  Andreas Jaeger  <aj@suse.de>
43416         * manual/examples/search.c (critter_cmp): Change signature to
43417         avoid warnings.
43418         * manual/string.texi (Collation Functions): Likewise.
43420 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43422         * bits/types.h: Fold copyright years.
43423         * bits/typesizes.h: Likewise.
43424         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43425         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43427         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43428         * time/time.h: Likewise.
43430 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43432         [BZ #208]
43433         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43434         in instead of returning them.  Return void.
43435         (__libc_mallinfo): Accumulate over all arenas.
43436         (__malloc_stats): Adjust for change in int_mallinfo interface.
43438 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43440         [BZ #10375]
43441         * configure.in (NM): Add AC_CHECK_TOOL for it.
43442         (libc_extra_cflags): New substituted variable.
43443         Check for -fstack-protector being used implicitly.
43444         * configure: Regenerated.
43445         * config.make.in (config-extra-cflags): New variable,
43446         gets @libc_extra_cflags@.
43447         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43449         [BZ #10375]
43450         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43451         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43452         * configure: Regenerated.
43453         * config.make.in (CPPUNDEFS): New substituted variable.
43454         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43455         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43456         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43458 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43460         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43461         (mq_attr): Use __syscall_slong_t.
43463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43465         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43466         Check __x86_64__ instead of __WORDSIZE.
43467         (_STAT_VER_LINUX): Likewise.
43468         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43469         __syscall_ulong_t and __syscall_slong_t.
43470         (stat64): Likewise.
43472 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43474         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43476 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43478         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43480 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43482         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43483         __syscall_ulong_t.
43485         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43486         include <bits/wordsize.h>.  Check __x86_64__ instead of
43487         __WORDSIZE.
43488         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43489         defined.
43490         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43492         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43493         include <bits/wordsize.h>.  Check __x86_64__ instead of
43494         __WORDSIZE.
43495         (user_regs_struct): Use "__extension__ unsigned long long"
43496         instead of "unsigned long" if __x86_64__ is defined.
43497         (user): Likewise.  Pad after pointer field if __ILP32__ is
43498         defined.
43500 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43502         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43503         versions 5 to 9.
43504         * configure: Regenerated.
43505         * manual/install.texi (texinfo): Increase version requirement to
43506         4.5 or later.
43507         * INSTALL: Regenerated.
43509         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43511 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43513         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43515         * sysdeps/x86_64/x32/ffs.c: New file.
43517         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43518         __syscall_ulong_t.
43519         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43520         defined.  Use __syscall_ulong_t.
43521         (shminfo): Use __syscall_ulong_t.
43522         (shm_info): Likewise.
43524         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43525         __syscall_ulong_t.
43527         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43528         <bits/wordsize.h>.
43529         (msgqnum_t): Use __syscall_ulong_t.
43530         (msglen_t): Likewise.
43531         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43532         __syscall_ulong_t.
43534         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43535         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43537         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43539         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43540         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43542         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43543         __syscall_slong_t.
43545         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43546         include <bits/wordsize.h>.  Check __x86_64__ instead of
43547         __WORDSIZE.
43549         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43550         "unsigned long long int" if __x86_64__ is defined.
43551         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43553         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43554         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43555         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43557         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43558         <stdint.h>.
43559         (GET_PC): Cast to uintptr_t first.
43560         (GET_FRAME): Likewise.
43561         (GET_STACK): Likewise.
43563         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43564         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43565         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43566         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43567         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43568         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43569         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43570         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43571         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43572         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43573         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43574         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43575         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43576         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43577         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43578         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43579         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43580         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43581         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43582         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43583         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43584         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43585         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43586         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43587         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43588         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43589         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43590         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43591         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43593 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43595         * Makerules (+depfiles): Also collect depfiles from .oS in
43596         $(extra-objs).
43597         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43598         .oS, $(libnldbl-routines)).
43600         * Makerules (native-compile-mkdep-flags): Define.
43601         * sunrpc/Makefile (extra-objs): Add $(addprefix
43602         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43603         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43604         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43605         calling $(make-target-directory).
43607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43609         * bits/types.h (__snseconds_t): Removed.
43610         * time/time.h (struct timespec): Replace __snseconds_t with
43611         __syscall_slong_t.
43612         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43613         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43614         Likewise.
43615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43616         (__SNSECONDS_T_TYPE): Likewise.
43617         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43618         (__SNSECONDS_T_TYPE): Likewise.
43619         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43620         (__SNSECONDS_T_TYPE): Likewise.
43622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43624         * sysdeps/mach/hurd/bits/typesizes.h
43625         (__SYSCALL_SLONG_TYPE): New macro.
43626         (__SYSCALL_ULONG_TYPE): Likewise.
43628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43630         * bits/types.h (__syscall_slong_t): New type.
43631         (__syscall_ulong_t): Likewise.
43633         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43634         (__SYSCALL_ULONG_TYPE): Likewise.
43635         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43636         (__SYSCALL_SLONG_TYPE): Likewise.
43637         (__SYSCALL_ULONG_TYPE): Likewise.
43638         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43639         (__SYSCALL_SLONG_TYPE): Likewise.
43640         (__SYSCALL_ULONG_TYPE): Likewise.
43641         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43642         (__SYSCALL_SLONG_TYPE): Likewise.
43643         (__SYSCALL_ULONG_TYPE): Likewise.
43645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43647         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43648         Add sigaltstack-offsets.sym.
43649         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43650         <sigaltstack-offsets.h>.
43651         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43652         longjmp_msg pointer.
43653         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43654         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43655         signal stack.
43656         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43658 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43660         * elf/stackguard-macros.h: Remove file.
43661         * sysdeps/generic/stackguard-macros.h: New file.
43662         * sysdeps/i386/stackguard-macros.h: Likewise.
43663         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43664         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43665         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43666         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43667         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43668         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43669         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43670         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43671         <elf/stackguard-macros.h>.
43673         [BZ #14109]
43674         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43675         __aligned__ in attribute.
43676         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43677         (gregset_t): Likewise.
43679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43681         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43682         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43683         * sysdeps/x86_64/x32/Implies-after: New file.
43685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43687         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43688         and access return value for _dl_profile_fixup.  Use R10_LP to
43689         load frame size.
43691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43693         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43697         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43698         * sysdeps/x86_64/x32/sysdep.h: New file.
43700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43702         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43703         * sysdeps/x86_64/setjmp.S: Likewise.
43705 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43707         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43708         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43709         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43710         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43711         remove unused global constant.
43713 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43715         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43716         include of <not-cancel.h>.
43718 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43720         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43722 2012-05-15  Jeff Law  <law@redhat.com>
43723             Andreas Jaeger  <aj@suse.de>
43725         [BZ #13594]
43726         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43727         out from...
43728         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43729         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43730         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43731         code changing __hst_map_handle.map.
43733 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43735         * configure.in (sysnames): Look for Implies-before and Implies-after
43736         files.
43737         * configure: Regenerated.
43739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43741         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43742         8-byte data alignment with LP_SIZE alignment.
43744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43746         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43747         into R10_LP.
43749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43751         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43755         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43756         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43757         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43758         Likewise.
43759         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43763         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43764         (stackinfo_sub_sp): Likewise.
43766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43768         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43769         RAX_LP.
43771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43773         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43774         into R*_LP.
43776 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43778         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43779         sizes into R*_LP.
43781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43783         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43787         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43788         into R11_LP and load __x86_64_shared_cache_size_half into
43789         R8_LP.
43791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43793         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43794         R8_LP.
43796 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43798         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43799         logb for POWER7.
43800         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43801         logbf for POWER7.
43802         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43803         logbl for POWER7.
43804         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43805         powerpc32/power7/fpu/s_logb.c via #include.
43806         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43807         powerpc32/power7/fpu/s_logbf.c via #include.
43808         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43809         powerpc32/power7/fpu/s_logbl.c via #include.
43811 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43813         * README.libm: Remove file.
43815 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43817         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43818         count for x32.  Use R*_LP and omit operand-size suffix.
43820 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43822         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43823         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43824         * sysdeps/x86_64/x32/shlib-versions: New file.
43826 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43828         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43829         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43830         Use _dl_fatal_printf instead.
43832 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43834         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43835         set if not set by the user.  Do not allow for being unset.
43836         * sysdeps/unix/sysv/linux/configure: Regenerated.
43838 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43840         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43841         the `q' suffix from lea and replace .quad with ASM_ADDR.
43843 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43846         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43847         instead of $17.
43848         (PTR_DEMANGLE): Likewise.
43850 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43852         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43853         (LP_OP): Likewise.
43854         (ASM_ADDR): Likewise.
43855         (RAX_LP): Likewise.
43856         (RBP_LP): Likewise.
43857         (RBX_LP): Likewise.
43858         (RCX_LP): Likewise.
43859         (RDI_LP): Likewise.
43860         (RSI_LP): Likewise.
43861         (RSP_LP): Likewise.
43862         (R8_LP): Likewise.
43863         (R9_LP): Likewise.
43864         (R10_LP): Likewise.
43865         (R10_LP): Likewise.
43866         (R11_LP): Likewise.
43867         (R12_LP): Likewise.
43868         (R13_LP): Likewise.
43869         (R14_LP): Likewise.
43870         (R15_LP): Likewise.
43872 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43874         * sysdeps/x86_64/x32/dl-machine.h: New file.
43876 2012-05-14  Andreas Jaeger  <aj@suse.de>
43878         * manual/Makefile (subdir): Remove export of subdir.
43879         (all): Remove target.
43880         (.PHONY): Remove all from list.
43881         (mkinstalldirs): Remove.
43882         (.PHONY): Remove installdirs from list.
43883         ($(inst_infodir)/libc.info): Use make-target-directory.
43884         (installdirs): Remove.
43885         (subdir_%): Remove.
43886         (glibc-targets): Remove.
43887         (lib): Remove.
43888         (stubs): Remove.
43889         ($(objpfx)stubs ../po/manual.pot): Remove.
43890         ($(objpfx)stamp%): Remove.
43891         (make-target-directory): Remove.
43892         (subdir_install): Remove.
43893         (routines): Remove.
43894         (aux): Remove.
43895         (sources): Remove.
43896         (objects): Remove.
43897         (headers): Remove.
43899         [BZ #13750]
43900         * manual/.gitignore: Remove, it's not needed anymore.
43901         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43902         all files in it.
43903         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43904         directory.
43905         (texis): Renamed to $(objpfx)texis.
43906         (texis-path): New, contains path to generated files.
43907         (chapters.%): Use texis-path for complete path, add extra argument
43908         libc-texinfo.sh.
43909         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43910         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43911         (summary,texi, stamp-summary): Use complete path of
43912         files. Generate files in build dir.
43913         (dir-add.texi): Build in build dir.
43914         (libm-err.texi,stamp-libm-err): Likewise.
43915         (version.texi, stamp-version): Likewise.
43916         (.%c.texi): Likewise.
43917         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43918         (mostlyclean): Remove target.
43919         (realclean): Remove target.
43920         (generated): Add new variable with contents from mostlyclean and
43921         realclean, remove entries duplicated in common-mostlyclean, add
43922         stamp-libm-err and stamp-version.
43923         (generated-dirs): Add libc directory.
43924         ($(inst_infodir)/libc.info): Install files from build dir.
43926         * manual/install.texi (Configuring and compiling): Adjust since
43927         the info files are not part of the tar ball anymore.
43929 2012-05-14  Andreas Jaeger  <aj@suse.de>
43931         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43932         variable.
43934 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43936         [BZ #13717]
43937         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43938         to 2.2.0 where earlier.
43939         * sysdeps/unix/sysv/linux/configure: Regenerated.
43940         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43941         Remove conditional code.
43942         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43943         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43944         Remove conditional code.
43945         [!__NR_lchown]: Likewise.
43946         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43947         [__NR_lchown]: Likewise.
43948         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43949         comment referencing __ASSUME_LCHOWN_SYSCALL.
43950         * sysdeps/unix/sysv/linux/i386/sigaction.c
43951         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43952         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43953         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43954         Remove conditional code.
43955         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43956         (__protocol_available): Remove #if 0 code.
43957         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43958         conditional code.
43959         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43960         * sysdeps/unix/sysv/linux/kernel-features.h
43961         (__ASSUME_GETCWD_SYSCALL): Don't define.
43962         (__ASSUME_REALTIME_SIGNALS): Likewise.
43963         (__ASSUME_PREAD_SYSCALL): Likewise.
43964         (__ASSUME_PWRITE_SYSCALL): Likewise.
43965         (__ASSUME_POLL_SYSCALL): Likewise.
43966         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43967         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43968         non-SPARC.
43969         (__ASSUME_SIOCGIFNAME): Don't define.
43970         (__ASSUME_MSG_NOSIGNAL): Likewise.
43971         (__ASSUME_SENDFILE): Define unconditionally.
43972         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43973         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43974         conditional code.
43975         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43976         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43977         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43978         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43979         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43980         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43981         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43983         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43984         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43986         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43987         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43989         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43990         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43992         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43993         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43995         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43996         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43998         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43999         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44001         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44002         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44004         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44005         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44006         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44007         Remove conditional code.
44008         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44009         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44010         Remove conditional code.
44011         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44012         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44013         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44014         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44015         Remove conditional code.
44016         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44017         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44018         Remove conditional code.
44019         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44020         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44021         Remove conditional code.
44022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44023         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44024         Remove conditional code.
44025         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44026         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44027         Remove conditional code.
44028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44029         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44030         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44032         * sysdeps/unix/sysv/linux/sigaction.c
44033         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44034         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44035         * sysdeps/unix/sysv/linux/sigpending.c
44036         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44037         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44038         * sysdeps/unix/sysv/linux/sigprocmask.c
44039         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44040         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44041         * sysdeps/unix/sysv/linux/sigsuspend.c
44042         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44043         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44044         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44045         (__libc_missing_rt_sigs): Remove.
44046         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44047         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44048         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44049         Remove conditional code.
44050         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44051         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44052         return 1.
44053         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44054         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44055         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44056         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44058 2012-05-14  Andreas Jaeger  <aj@suse.de>
44060         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44061         it's not used in glibc.
44062         (__coshm1): Likewise.
44063         (__acosh1p): Likewise.
44064         (__sgn): Likewise.
44066         * manual/string.texi (Copying and Concatenation): Add missing
44067         variable in concat example.
44068         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44072         [BZ #14103]
44073         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44074         __builtin_clzl with __builtin_clzll.
44076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44078         [BZ #14104]
44079         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44080         libc_freeres_ptr.
44082 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44084         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44085         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44086         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44087         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44089 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44091         * NEWS: Update ia64 info.
44093 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44095         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44096         used as bcopy.
44098 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44100         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44101         * sysdeps/unix/syscalls.list (dup3): Likewise.
44102         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44103         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44105 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44107         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44108         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44110 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44112         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44113         thread pointer.
44114         (TLS_IE): Use mov/add instead of movq/addq to load thread
44115         pointer.
44116         (TLS_GD_PREFIX): New.
44117         (TLS_GD): Use it.
44119 2012-05-11  David S. Miller  <davem@davemloft.net>
44121         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44122         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44123         (_FPU_SETCW): Likewise.
44125 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44127         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44128         is 32-byte aligned.
44130 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44132         [BZ #11837]
44133         * iconvdata/gb18030.c: Update tables.
44134         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44135         characters specially.
44136         (BODY for TO_LOOP): Add encoding of missing ranges.
44138 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44140         [BZ #13673]
44141         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44142         * sysdeps/mach/hurd/dup3.c: Likewise.
44143         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44144         * sysdeps/powerpc/memmove.c:: Likewise.
44146 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44148         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44149         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44151 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44153         * elf/elf.h (R_X86_64_RELATIVE64): New.
44154         (R_X86_64_NUM): Updated.
44155         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44156         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44157         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44158         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44159         tst-quad1pie tst-quad2pie
44160         (modules-names): Add tst-quadmod1 tst-quadmod2.
44161         ($(objpfx)tst-quad1): New dependency.
44162         ($(objpfx)tst-quad2): Likewise.
44163         ($(objpfx)tst-quad1pie): Likewise.
44164         ($(objpfx)tst-quad2pie): Likewise.
44165         * sysdeps/x86_64/tst-quad1.c: New file.
44166         * sysdeps/x86_64/tst-quad1pie.c: New file.
44167         * sysdeps/x86_64/tst-quad2.c: Likewise.
44168         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44169         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44170         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44171         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44172         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44174 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44176         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44177         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44178         * streams/stropts.h (t_scalar_t): Define type.
44180         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44181         (_PATH_PRESERVE): Set to "/var/lib".
44182         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44184         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44185         instead of int.
44187         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44188         if __dir_mkfile succeeded.
44190         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44191         checking for _hurd_dtablesize.  Unlock it right after having
44192         finished _hurd_dtable allocation.
44194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44196         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44197         * sysdeps/mach/hurd/configure: Regenerated.
44198         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44199         special-casing to...
44200         * sysdeps/gnu/configure.in: ... this new file.
44201         * sysdeps/unix/sysv/linux/configure: Regenerated.
44202         * sysdeps/gnu/configure: New generated file.
44204         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44205         for Linux: use nsec instead of usec, as well as:
44206         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44207         members of type struct timespec.
44208         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44209         New macros.
44210         (struct stat64): Likewise.
44211         (_STATBUF_ST_NSEC): New macro.
44212         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44214         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44215         __strtoul_internal rather than strtoul.
44217 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44219         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44220         and reject them.
44222 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44224         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44225         which preserves existing values.
44226         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44230         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44231         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44232         greater than FD_SETSIZE.
44234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44236         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44237         allocated, call __vm_protect to finish enabling the existing space, and
44238         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44239         allocate the remainder.
44241 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44243         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44244         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44248         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44249         sysdeps/mach/hurd/readlink.c.
44251         * posix/tst-sysconf.c (posix_options): Only use
44252         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44253         _POSIX_SYNCHRONIZED_IO when they are defined
44254         * sysdeps/mach/hurd/bits/posix_opt.h:
44255         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44256         (_XOPEN_REALTIME): Undefine macro.
44257         (_XOPEN_REALTIME_THREADS): Undefine macro.
44258         (_XOPEN_SHM): Undefine macro.
44259         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44260         macro to -1.
44261         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44262         macro to -1.
44263         (_POSIX_ASYNC_IO): Undefine macro.
44264         (_POSIX_PRIORITIZED_IO): Undefine macro.
44265         (_POSIX_SPIN_LOCKS): Define macro to -1.
44267         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44268         SA_NODEFER, SA_RESETHAND.
44269         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44270         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44271         F_DUPFD_CLOEXEC.
44273 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44275         * elf/Makefile (pldd-modules): Define unconditionally.
44277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44279         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44281 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44283         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44284         Return ENOENT when name is empty.
44285         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44289         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44291         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44293 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44295         Fix mlock in all cases except non-readable pages.
44296         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44297         instead of VM_PROT_ALL as parameter to __vm_wire function.
44299         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44300         (__mkdir): When path is `/', just fail with EEXIST.
44301         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44305         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44306         <sys/uio.h> (for writev).
44307         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44308         and <sys/param.h> (for MIN).
44310 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44312         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44313         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44314         if interrupted.
44316 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44318         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44319         Depend on against $(link-rpcuserlibs).
44321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44323         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44324         (__libc_stack_end): Do not use attribute_relro.
44325         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44326         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44327         to libthread-provided value.
44328         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44329         attribute_relro.
44331 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44333         [BZ #3748]
44334         * bits/libc-lock.h (__libc_once_get): New macro.
44335         * sysdeps/mach/bits/libc-lock.h: Likewise.
44336         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44338         instead of using implementation details.
44340         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44341         * libio/freopen.c: Likewise.
44342         * libio/freopen64.c: Likewise.
44343         * misc/syslog.c: Likewise.
44344         * nscd/connections.c: Likewise.
44345         * nscd/netgroupcache.c: Likewise.
44346         * sysdeps/posix/getcwd.c: Likewise.
44348 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44350         * math/w_ilogbf.c: Add #include <limits.h>.
44352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44354         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44355         path instead of returning without unlocking.
44357         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44358         immediate-write ioctls.
44359         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44363         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44364         __builtin_frame_address instead of making assumptions about the
44365         location of the return address relative to DATA.  Force early load of
44366         the return address.
44367         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44368         __builtin_frame_address.
44370         dup3 for GNU Hurd.
44371         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44372         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44373         implement dup3 and do some further code clean-ups.
44374         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44375         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44379         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44381         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44382         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44383         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44384         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44385         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44386         d->port.lock.
44388         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44389         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44390         when handler == SIG_ERR, not when handler != SIG_ERR.
44392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44394         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44395         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44396         definitions.
44398         accept4 for GNU Hurd.
44399         * include/sys/socket.h (__libc_accept4): New prototype.
44400         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44401         to implement __libc_accept4.
44402         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44403         __libc_accept4.
44404         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44406         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44407         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44408         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44409         signal-defines.sym.
44411 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44413         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44417         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44418         assertion on O_CLOEXEC flag.
44419         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44420         * hurd/intern-fd.c: Likewise.
44421         * hurd/port2fd.c: Likewise.
44423 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44425         [BZ #3906]
44426         * bits/in.h (IPV6_PKTINFO): Define new macro.
44427         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44429 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44431         [BZ #13954]
44432         [BZ #13955]
44433         [BZ #13956]
44434         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44435         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44436         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44437         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44438         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44439         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44440         * math/libm-test.inc (logb_test) : Additional logb tests.
44442 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44443             Andreas Jaeger  <aj@suse.de>
44445         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44446         * configure: Regenerated.
44447         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44448         * config.make.in (link-obsolete-rpc): New substituted variable.
44449         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44450         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44451         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44452         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44453         so that libc.a contains the symbols.
44454         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44455         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44456         * sunrpc/auth_none.c: Likewise.
44457         * sunrpc/auth_unix.c: Likewise.
44458         * sunrpc/authdes_prot.c: Likewise.
44459         * sunrpc/authuxprot.c: Likewise.
44460         * sunrpc/clnt_gen.c: Likewise.
44461         * sunrpc/clnt_perr.c: Likewise.
44462         * sunrpc/clnt_raw.c: Likewise.
44463         * sunrpc/clnt_simp.c: Likewise.
44464         * sunrpc/clnt_tcp.c: Likewise.
44465         * sunrpc/clnt_udp.c: Likewise.
44466         * sunrpc/clnt_unix.c: Likewise.
44467         * sunrpc/des_crypt.c: Likewise.
44468         * sunrpc/des_soft.c: Likewise.
44469         * sunrpc/get_myaddr.c: Likewise.
44470         * sunrpc/key_call.c: Likewise.
44471         * sunrpc/key_prot.c: Likewise.
44472         * sunrpc/netname.c: Likewise.
44473         * sunrpc/pm_getmaps.c: Likewise.
44474         * sunrpc/pm_getport.c: Likewise.
44475         * sunrpc/pmap_clnt.c: Likewise.
44476         * sunrpc/pmap_prot.c: Likewise.
44477         * sunrpc/pmap_prot2.c: Likewise.
44478         * sunrpc/pmap_rmt.c: Likewise.
44479         * sunrpc/publickey.c: Likewise.
44480         * sunrpc/rpc_cmsg.c: Likewise.
44481         * sunrpc/rpc_common.c: Likewise.
44482         * sunrpc/rpc_dtable.c: Likewise.
44483         * sunrpc/rpc_prot.c: Likewise.
44484         * sunrpc/rpc_thread.c: Likewise.
44485         * sunrpc/rtime.c: Likewise.
44486         * sunrpc/svc.c: Likewise.
44487         * sunrpc/svc_auth.c: Likewise.
44488         * sunrpc/svc_raw.c: Likewise.
44489         * sunrpc/svc_run.c: Likewise.
44490         * sunrpc/svc_tcp.c: Likewise.
44491         * sunrpc/svc_udp.c: Likewise.
44492         * sunrpc/svc_unix.c: Likewise.
44493         * sunrpc/svcauth_des.c: Likewise.
44494         * sunrpc/xcrypt.c: Likewise.
44495         * sunrpc/xdr.c: Likewise.
44496         * sunrpc/xdr_array.c: Likewise.
44497         * sunrpc/xdr_float.c: Likewise.
44498         * sunrpc/xdr_intXX_t.c: Likewise.
44499         * sunrpc/xdr_mem.c: Likewise.
44500         * sunrpc/xdr_rec.c: Likewise.
44501         * sunrpc/xdr_ref.c: Likewise.
44502         * sunrpc/xdr_sizeof.c: Likewise.
44503         * sunrpc/xdr_stdio.c: Likewise.
44505 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44507         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44508         change.  Update copyright years.
44510 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44512         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44514 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44515             Joseph Myers  <joseph@codesourcery.com>
44516             Paul Pluzhnikov  <ppluzhnikov@google.com>
44518         [BZ #14012]
44519         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44520         requiring rpcgen.
44521         [cross-compiling] (extra-libs): Likewise.
44522         [cross-compiling] (extra-libs-others): Likewise.
44523         [cross-compiling] (librpcsvc-routines): Likewise.
44524         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44525         [cross-compiling] (omit-deps): Likewise.
44526         (sunrpc-CPPFLAGS): New variable.
44527         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44528         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44529         (cross-rpcgen-objs): New variable.
44530         (extra-objs): Append $(cross-rpcgen-objs).
44531         ($(cross-rpcgen-objs)): New rule.
44532         ($(objpfx)cross-rpcgen): Likewise.
44533         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44534         comment.
44535         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44536         ($(objpfx)x%.stmp): Likewise.
44537         * sunrpc/proto.h [IS_IN_build] (_): Define.
44538         [IS_IN_build] (_libc_intl_domainname): Likewise.
44540 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44542         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44543         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44544         and R_X86_64_TPOFF64.
44546 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44548         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44549         sysdeps/unix/sysv/syscalls.list.
44550         (stime): Likewise.
44551         (utime): Likewise.
44552         * sysdeps/unix/sysv/syscalls.list: Remove file.
44554 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44556         [BZ #3440]
44557         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44558         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44559         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44560         (__LC_IDENTIFICATION): Make these macros useful in #if
44561         expressions, as required by C99.
44563 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44565         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44566         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44567         after this.
44569 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44571         * stdlib/longlong.h: Updated from GCC.
44573 2012-05-09  Andreas Jaeger  <aj@suse.de>
44575         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44576         default is first entry.
44577         (run_mode): Set type.
44578         (main): Remove informal message about syslog.
44579         (options): Fix typo.
44581         [BZ #14053]
44582         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44583         to asm.
44584         (lrint): Likewise.
44585         (llrintf): Likewise.
44586         (llrint): Likewise.
44587         (rint): Likewise.
44588         (rintf): Likewise.
44589         (nearbyint): Likewise.
44590         (nearbyintf): Likewise.
44592 2012-05-09  Andreas Jaeger  <aj@suse.de>
44593             Pedro Alves  <palves@redhat.com>
44595         * nscd/nscd.c (run_mode): Use enum.
44596         (main): Cleanup coding style issue.
44598 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44599             Andreas Jaeger  <aj@suse.de>
44601         * nscd/nscd.c (go_background): Replaced with...
44602         (run_mode): ... this.
44603         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44604         (options): Add -F --foreground.
44605         (main): Implement it.
44606         (parse_opt): Parse it.
44608 2012-05-09  Andreas Jaeger  <aj@suse.de>
44610         [BZ #14083]
44611         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44612         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44613         -Wconversion warning.
44614         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44615         Likewise.
44617 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44619         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44620         == 0.
44621         (LC_ALL): Use macro-int-constant.
44622         (LC_COLLATE): Likewise.
44623         (LC_CTYPE): Likewise.
44624         (LC_MESSAGES): Likewise.
44625         (LC_MONETARY): Likewise.
44626         (LC_NUMERIC): Likewise.
44627         (LC_TIME): Likewise.
44628         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44629         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44630         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44631         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44632         Specify type.
44633         [C99-based standards] (float_t): Expect type.
44634         [C99-based standards] (double_t): Expect type.
44635         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44636         type.
44637         [C99-based standards] (HUGE_VALL): Likewise.
44638         [C99-based standards] (INFINITY): Likewise.
44639         [C99-based standards] (NAN): Likewise.
44640         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44641         [C99-based standards] (FP_NAN): Likewise.
44642         [C99-based standards] (FP_NORMAL): Likewise.
44643         [C99-based standards] (FP_SUBNORMAL): Likewise.
44644         [C99-based standards] (FP_ZERO): Likewise.
44645         [C99-based standards] (FP_FAST_FMA): Use
44646         optional-macro-int-constant.  Specify type.  Require == 1.
44647         [C99-based standards] (FP_FAST_FMAF): Likewise.
44648         [C99-based standards] (FP_FAST_FMAL): Likewise.
44649         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44650         [C99-based standards] (FP_ILOGBNAN): Likewise.
44651         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44652         Specify type.
44653         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44654         [C99-based standards] (math_errhandling): Specify type.
44655         [ISO99 || ISO11] (signgam): Do not allow.
44656         [non-C99-based standards] (copysignf): Do not allow.
44657         [non-C99-based standards] (exp2f): Likewise.
44658         [non-C99-based standards] (log2f): Likewise.
44659         [non-C99-based standards] (modff): Allow.
44660         [non-C99-based standards] (erff): Do not allow.
44661         [non-C99-based standards] (erfcf): Likewise.
44662         [non-C99-based standards] (gammaf): Likewise.
44663         [non-C99-based standards] (hypotf): Likewise.
44664         [non-C99-based standards] (j0f): Likewise.
44665         [non-C99-based standards] (j1f): Likewise.
44666         [non-C99-based standards] (jnf): Likewise.
44667         [non-C99-based standards] (lgammaf): Likewise.
44668         [non-C99-based standards] (tgammaf): Likewise.
44669         [non-C99-based standards] (y0f): Likewise.
44670         [non-C99-based standards] (y1f): Likewise.
44671         [non-C99-based standards] (ynf): Likewise.
44672         [non-C99-based standards] (isnanf): Likewise.
44673         [non-C99-based standards] (acoshf): Likewise.
44674         [non-C99-based standards] (asinhf): Likewise.
44675         [non-C99-based standards] (atanhf): Likewise.
44676         [non-C99-based standards] (cbrtf): Likewise.
44677         [non-C99-based standards] (expm1f): Likewise.
44678         [non-C99-based standards] (ilogbf): Likewise.
44679         [non-C99-based standards] (log1pf): Likewise.
44680         [non-C99-based standards] (logbf): Likewise.
44681         [non-C99-based standards] (nextafterf): Likewise.
44682         [non-C99-based standards] (remainderf): Likewise.
44683         [non-C99-based standards] (rintf): Likewise.
44684         [non-C99-based standards] (scalbf): Likewise.
44685         [non-C99-based standards] (copysignl): Likewise.
44686         [non-C99-based standards] (exp2l): Likewise.
44687         [non-C99-based standards] (log2l): Likewise.
44688         [non-C99-based standards] (modfl): Allow.
44689         [non-C99-based standards] (erfl): Do not allow.
44690         [non-C99-based standards] (erfcl): Likewise.
44691         [non-C99-based standards] (gammal): Likewise.
44692         [non-C99-based standards] (hypotl): Likewise.
44693         [non-C99-based standards] (j0l): Likewise.
44694         [non-C99-based standards] (j1l): Likewise.
44695         [non-C99-based standards] (jnl): Likewise.
44696         [non-C99-based standards] (lgammal): Likewise.
44697         [non-C99-based standards] (tgammal): Likewise.
44698         [non-C99-based standards] (y0l): Likewise.
44699         [non-C99-based standards] (y1l): Likewise.
44700         [non-C99-based standards] (ynl): Likewise.
44701         [non-C99-based standards] (isnanl): Likewise.
44702         [non-C99-based standards] (acoshl): Likewise.
44703         [non-C99-based standards] (asinhl): Likewise.
44704         [non-C99-based standards] (atanhl): Likewise.
44705         [non-C99-based standards] (cbrtl): Likewise.
44706         [non-C99-based standards] (expm1l): Likewise.
44707         [non-C99-based standards] (ilogbl): Likewise.
44708         [non-C99-based standards] (log1pl): Likewise.
44709         [non-C99-based standards] (logbl): Likewise.
44710         [non-C99-based standards] (nextafterl): Likewise.
44711         [non-C99-based standards] (remainderl): Likewise.
44712         [non-C99-based standards] (rintl): Likewise.
44713         [non-C99-based standards] (scalbl): Likewise.
44714         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44715         [non-C99-based standards] (FP_*): Do not allow.
44716         [C99-based standards] (FP_*): Change to
44717         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44718         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44719         allow.
44720         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44721         (SIG_ERR): Likewise.
44722         [X/Open-based standards] (SIG_HOLD): Likewise.
44723         (SIG_IGN): Likewise.
44724         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44725         positive value.
44726         (SIGFPE): Likewise.
44727         (SIGILL): Likewise.
44728         (SIGINT): Likewise.
44729         (SIGSEGV): Likewise.
44730         (SIGTER): Likewise.
44731         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44732         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44733         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44734         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44735         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44736         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44737         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44738         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44739         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44740         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44741         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44742         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44743         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44744         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44745         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44746         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44747         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44748         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44749         [X/Open-based standards] (SIGTRAP): Likewise.
44750         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44751         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44752         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44753         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44754         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44755         allow.
44757 2012-05-08  Ian Wienand  <ianw@vmware.com>
44759         [BZ #14080]
44760         * time/tzset.c (__tzset_parse_tz): Update default rules for
44761         daylight time changes in the Energy Policy Act of 2005.
44763 2012-05-09  Andreas Jaeger  <aj@suse.de>
44765         [BZ #13983]
44766         * elf/ldconfig.c (parse_conf): Change string to make clear that
44767         ldconfig only issued a warning if ld.so.conf does not exist.
44769 2012-05-08  David S. Miller  <davem@davemloft.net>
44771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44772         movxtod instead of popping the value on the stack.
44774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44776 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44778         * config.h.in: Add HAVE_ARM_PCS_VFP.
44780 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44782         [BZ #13979]
44783         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44784         checking but the checks are disabled for any reason.
44786 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44788         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44789         and ELF64_R_TYPE with ELFW(R_TYPE).
44791 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44793         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44794         (ulimit): Likewise.
44796         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44797         (settimeofday): Likewise.
44799 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44801         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44802         a struct th_u2 inside the union, and move tu_block/tu_code into
44803         a new th_u3 union of tu_block/tu_code inside of that.  Move
44804         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44805         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44806         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44807         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44808         (th_stuff): Change to th_u1.tu_stuff.
44809         (th_data): Define.
44810         (th_msg): Change to th_u1.th_u2.tu_data.
44812 2012-05-07  David S. Miller  <davem@davemloft.net>
44814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44816         [BZ #14074]
44817         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44818         (SETUP_PIC_REG): Use it.
44819         (SETUP_PIC_REG_LEAF): Use it.
44821 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44823         [BZ #13885]
44824         [BZ #13923]
44825         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44826         USE_AS_EXPM1L.
44827         (EXPL_FINITE): Likewise.
44828         (FLDLOG): Likewise.
44829         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44830         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44831         e_expl.S.
44832         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44833         USE_AS_EXPM1L.
44834         (EXPL_FINITE): Likewise.
44835         (FLDLOG): Likewise.
44836         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44837         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44838         e_expl.S.
44839         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44840         test of -max_value argument for long double.
44841         * sysdeps/i386/fpu/libm-test-ulps: Update.
44842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44844 2012-05-06  David S. Miller  <davem@davemloft.net>
44846         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44847         quad soft-float symbols whose references which are compiler
44848         generated.
44849         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44851 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44853         [BZ #13884]
44854         [BZ #13914]
44855         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44856         USE_AS_EXP10L.
44857         (EXPL_FINITE): Likewise.
44858         (FLDLOG): Likewise.
44859         (c0): Likewise.
44860         (c1): Likewise.
44861         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44862         Adjust comments for base varying.
44863         (__expl_finite): Change alias to EXPL_FINITE.
44864         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44865         e_expl.S.
44866         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44867         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44868         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44869         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44870         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44871         USE_AS_EXP10L.
44872         (EXPL_FINITE): Likewise.
44873         (FLDLOG): Likewise.
44874         (c0): Likewise.
44875         (c1): Likewise.
44876         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44877         Adjust comments for base varying.
44878         (__expl_finite): Change alias to EXPL_FINITE.
44879         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44880         tests for bugs.
44881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44883         [BZ #14064]
44884         * math/libm-test.inc (check_float_internal): Correct ulp
44885         calculation for subnormal expected results.
44887 2012-05-06  Andreas Jaeger  <aj@suse.de>
44889         * Makeconfig (+math-flags): New, set to -frounding-math.
44890         (+cflags): Add +math-flags so that all of glibc gets compiled with
44891         it.
44893         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44895 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44897         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44898         Disable one test.
44900         [BZ #13787]
44901         [BZ #13922]
44902         [BZ #14036]
44903         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44904         (__ieee754_expl): Allow for and saturate large arguments.
44905         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44906         (u_threshold): Likewise.
44907         (__exp): Call __ieee754_exp before checking for overflow and
44908         underflow.
44909         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44910         (u_threshold): Likewise.
44911         (__expf): Call __ieee754_expf before checking for overflow and
44912         underflow.
44913         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44914         (u_threshold): Likewise.
44915         (__expl): Call __ieee754_expl before checking for overflow and
44916         underflow.
44917         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44918         (__ieee754_expl): Allow for and saturate large arguments.
44919         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44920         missing overflow exception on overflow.
44921         (expm1_test): Do not allow missing overflow exception on overflow.
44923         * sysdeps/i386/fpu/e_expl.c: Move to ...
44924         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44925         rather than using inline asm.
44926         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44927         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44928         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44930         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44931         (nice): Likewise.
44932         (poll): Likewise.
44933         (signal): Likewise.
44934         (time): Likewise.
44935         (times): Likewise.
44937 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44939         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44940         sysdeps/unix/common/syscalls.list.
44941         (fchmod): Likewise.
44942         (fchown): Likewise.
44943         (ftruncate): Likewise.
44944         (getrusage): Likewise.
44945         (gettimeofday): Likewise.
44946         (setpgid): Likewise.
44947         (setregid): Likewise.
44948         (setreuid): Likewise.
44949         (sigaction): Likewise.
44950         (truncate): Likewise.
44951         (vhangup): Likewise.
44952         * sysdeps/unix/common/syscalls.list: Remove file.
44953         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44954         * sysdeps/unix/sysv/linux/Implies: Likewise.
44956 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44958         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44960         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44961         Moved to ...
44962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44963         Here.
44964         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44965         to ...
44966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44967         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44968         to ...
44969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44970         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44971         to ...
44972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44973         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44974         to ...
44975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44976         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44977         to ...
44978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44979         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44980         to ...
44981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44982         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44983         to ...
44984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44985         Here.
44986         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44987         to ...
44988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44989         Here.
44990         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44991         to ...
44992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44993         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44994         Moved to ...
44995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44996         Here.
44997         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44998         to ...
44999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45001 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45003         * sysdeps/unix/common/bits/dirent.h: Remove file.
45004         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45006         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45007         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45008         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45009         * sysdeps/unix/bsd/isatty.c: Likewise.
45010         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45011         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45012         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45014 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45016         [BZ #13563]
45017         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45018         long double comparison inaccuracies.
45019         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45022 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45024         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45025         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45027 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45029         [BZ #14049]
45030         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45031         nonzero digits before rounding a hex value.
45032         * stdlib/tst-strtod.c (tests): Add another test.
45034 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45036         * sysdeps/s390/fpu/libm-test-ulps: Update.
45038 2012-05-03  Andreas Jaeger  <aj@suse.de>
45040         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45041         does not get optimized out.
45042         (malloc_opt_barrier): New.
45044 2012-05-03  Andreas Jaeger  <aj@suse.de>
45045             Roland McGrath  <roland@hack.frob.com>
45047         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45048         intermediate file deletion.
45049         (generated): Add .symlist files.
45051 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45053         [BZ #13775]
45054         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45055         Redirect under this condition.
45056         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45057         [__USE_GNU] (__dprintf_chk): Not under this condition.
45058         [__USE_GNU] (__vdprintf_chk): Likewise.
45059         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45060         under this condition.
45061         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45062         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45063         [__USE_XOPEN2K8] (vdprintf): Likewise.
45064         [__USE_GNU] (__dprintf_chk): Not under this condition.
45065         [__USE_GNU] (__vdprintf_chk): Likewise.
45066         [__USE_GNU] (dprintf): Likewise.
45067         [__USE_GNU] (vdprintf): Likewise.
45069 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45071         * elf/Makefile (common-generated): Set this instead of generated for
45072         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45073         $(all-built-dso)-derived lists.
45075 2012-05-03  Andreas Jaeger  <aj@suse.de>
45077         * sysdeps/i386/fpu/libm-test-ulps: Update.
45079         * FAQ: Removed.
45080         * FAQ.in: Likewise.
45081         * scripts/gen-FAQ.pl: Likewise.
45082         * manual/install.texi (Installation): Point to online location of
45083         FAQ.
45084         * Makefile (files-for-dist): Remove FAQ.
45085         (FAQ): Remove.
45087 2012-05-02  Allan McRae  <allan@archlinux.org>
45089         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45090         (LDFLAGS-reldepmod5.so): Likewise.
45091         (LDFLAGS-reldep6mod1.so): Likewise.
45092         (LDFLAGS-reldep6mod4.so): Likewise.
45093         (LDFLAGS-reldep8mod3.so): Likewise.
45094         (LDFLAGS-unload4mod1.so): Likewise.
45095         (LDFLAGS-unload4mod2.so): Likewise.
45096         (LDFLAGS-tst-initorder): Likewise.
45097         (LDFLAGS-tst-initordera2.so): Likewise.
45098         (LDFLAGS-tst-initordera3.so): Likewise.
45099         (LDFLAGS-tst-initordera4.so): Likewise.
45100         (LDFLAGS-tst-initorderb2.so): Likewise.
45101         (LDFLAGS-noload): Likewise.
45102         (LDFLAGS-next): Likewise.
45103         (LDFLAGS-order2mod1.so): Likewise.
45104         (LDFLAGS-order2mod2.so): Likewise.
45105         (LDFLAGS-tst-initorder2): Likewise.
45106         (LDFLAGS-tst-initorder2a.so): Likewise.
45107         (LDFLAGS-tst-initorder2b.so): Likewise.
45108         (LDFLAGS-tst-initorder2c.so): Likewise.
45109         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45111 2012-05-02  David S. Miller  <davem@davemloft.net>
45113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45115 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45117         [BZ #14055]
45118         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45120 2012-05-02  Andreas Jaeger  <aj@suse.de>
45122         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45123         since we manipulate rounding mode.
45124         (CPPFLAGS-test-idouble.c): Likewise.
45125         (CPPFLAGS-test-ifloat.c): Likewise.
45126         (CFLAGS-test-ldouble.c): Likewise.
45127         (CFLAGS-test-double.c): Likewise.
45128         (CFLAGS-test-float.c): Likewise.
45129         (CFLAGS-test-misc.c): Likewise.
45130         (CFLAGS-test-test-fenv.c): Likewise.
45132 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45134         [BZ #2550]
45135         [BZ #2570]
45136         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45137         comparisons to determine direction to adjust input.
45139 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45141         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45142         output to the target.
45144         * scripts/localplt.awk: New file.
45145         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45146         (check-localplt-CFLAGS): Variable removed.
45147         ($(all-built-dso:=.jmprel)): New static pattern rule.
45148         (generated): Add those targets.
45149         (localplt-built-dso): New variable.
45150         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45152         * elf/check-localplt.c: File removed.
45154         * scripts/check-execstack.awk: New file.
45155         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45156         (check-execstack-CFLAGS): Variable removed.
45157         ($(objpfx)check-execstack.h): Target removed.
45158         ($(objpfx)execstack-default): New target.
45159         (generated): Add that instead of check-execstack.h.
45160         ($(all-built-dso:=.phdr)): New static pattern rule.
45161         (generated): Add those targets.
45162         * elf/check-execstack.c: File removed.
45164         * scripts/check-textrel.awk: New file.
45165         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45166         (check-textrel-CFLAGS): Variable removed.
45167         (all-built-dso): Use := to define.o
45168         ($(all-built-dso:=.dyn)): New static pattern rule.
45169         (generated): Add those targets.
45170         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45171         * config.make.in (READELF): New substituted variable.
45172         * elf/check-textrel.c: File removed.
45174 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45176         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45177         allow.
45178         * conform/data/ctype.h-data [C99-based standards] (isblank):
45179         Expect function.
45180         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45181         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45182         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45183         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45184         Specify type.  Require positive value.
45185         (EILSEQ): Likewise.
45186         (ERANGE): Likewise.
45187         [ISO || POSIX] (EILSEQ): Do not expect.
45188         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45189         Specify type.  Require positive value.
45190         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45191         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45192         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45193         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45194         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45195         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45196         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45197         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45198         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45199         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45200         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45201         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45202         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45203         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45204         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45205         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45206         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45207         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45208         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45209         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45210         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45211         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45212         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45213         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45214         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45215         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45216         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45217         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45218         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45219         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45220         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45221         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45222         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45223         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45224         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45225         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45226         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45227         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45228         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45229         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45230         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45231         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45232         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45233         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45234         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45235         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45236         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45237         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45238         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45239         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45240         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45241         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45242         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45243         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45244         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45245         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45246         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45247         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45248         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45249         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45250         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45251         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45252         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45253         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45254         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45255         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45256         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45257         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45258         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45259         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45260         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45261         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45262         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45263         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45264         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45265         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45266         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45267         Require >= 2.
45268         (FLT_ROUNDS): Expect as macro, not constant.
45269         (FLT_MANT_DIG): Use macro-int-constant.
45270         (DBL_MANT_DIG): Likewise.
45271         (LDBL_MANT_DIG): Likewise.
45272         (FLT_DIG): Likewise.
45273         (DBL_DIG): Likewise.
45274         (LDBL_DIG): Likewise.
45275         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45276         (DBL_MIN_EXP): Likewise.
45277         (LDBL_MIN_EXP): Likewise.
45278         (FLT_MAX_EXP): Use macro-int-constant.
45279         (DBL_MAX_EXP): Likewise.
45280         (LDBL_MAX_EXP): Likewise.
45281         (FLT_MAX_10_EXP): Likewise.
45282         (DBL_MAX_10_EXP): Likewise.
45283         (LDBL_MAX_10_EXP): Likewise.
45284         (FLT_MAX): Use macro-constant.
45285         (DBL_MAX): Likewise.
45286         (LDBL_MAX): Likewise.
45287         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45288         (DBL_EPSILON): Likewise.
45289         (LDBL_EPSILON): Likewise.
45290         (FLT_MIN): Likewise.
45291         (DBL_MIN): Likewise.
45292         (LDBL_MIN): Likewise.
45293         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45294         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45295         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45296         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45297         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45298         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45299         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45300         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45301         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45302         [ISO11] (FLT_TRUE_MIN): Likewise.
45303         [ISO11] (LDBL_TRUE_MIN): Likewise.
45304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45305         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45306         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45307         (SCHAR_MAX): Likewise.
45308         (UCHAR_MAX): Likewise.
45309         (CHAR_MIN): Likewise.
45310         (CHAR_MAX): Likewise.
45311         (MB_LEN_MAX): Use macro-int-constant.
45312         (SHRT_MIN): Use macro-int-constant.  Specify type.
45313         (SHRT_MAX): Likewise.
45314         (USHRT_MAX): Likewise.
45315         (INT_MAX): Likewise.
45316         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45317         bound negative.
45318         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45319         bound with "U".
45320         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45321         bound with "L".
45322         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45323         bound negative.  Suffix upper bound with "L".
45324         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45325         bound with "UL".
45326         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45327         Specify type.
45328         [C99-based standards] (LLONG_MAX): Likewise.
45329         [C99-based standards] (ULLONG_MAX): Likewise.
45330         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45331         == 0.
45332         [ISO11] (max_align_t): Require type.
45333         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45335         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45336         from $CFLAGS, without defining away __attribute__ calls.
45337         (checknamespace): Use $CFLAGS_namespace.
45339         * conform/conformtest.pl (@keywords): Only include C99 keywords
45340         for standards based on C99 or C11.
45342         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45343         Disable tests.
45344         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45345         UNIX98]: Likewise.
45347         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45348         usability of symbols in #if.
45350         * conform/conformtest.pl: If macro or constant types start
45351         "promoted:", expect the symbol to be of the following type
45352         promoted by the integer promotions.
45354         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45355         in one place.  Also handle "macro-constant".
45357         * conform/conformtest.pl: Only accept expected macro values with
45358         "==".  Parse all "macro" lines in one place.
45359         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45361         * conform/conformtest.pl: Handle braced types on "constant" lines
45362         instead of handling "typed-constant".
45363         * conform/data/signal.h-data: Use "constant" instead of
45364         "typed-constant".
45366         * conform/conformtest.pl: Handle "optional-" at start of lines in
45367         one place rather than duplicating several cases.  Handle each
45368         format of "macro" line with initial "optional-".
45370         * conform/conformtest.pl: Only accept expected constant or
45371         optional-constant values with "==".  Parse all "constant" lines in
45372         one place.  Parse all "optional-constant" lines in one place.
45373         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45374         * conform/data/fmtmsg.h-data: Likewise.
45375         * conform/data/netinet/in.h-data: Likewise.
45376         * conform/data/tar.h-data: Likewise.
45377         * conform/data/limits.h-data: Use "==" form on "constant" and
45378         "optional-constant" lines.
45380         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45381         Use -std=c99 for XOPEN2K.
45382         (@knownproblems): Remove.
45383         (newtoken): Don't check %isknown.
45385         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45386         Do not expect macro.
45387         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45388         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45389         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45390         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45391         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45392         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45393         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45394         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45395         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45396         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45397         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45398         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45399         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45400         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45401         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45402         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45403         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45404         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45405         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45406         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45407         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45408         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45409         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45410         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45411         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45412         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45413         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45414         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45415         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45416         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45417         [XPG3] (acosh): Likewise.
45418         [XPG3] (asinh): Likewise.
45419         [XPG3] (atanh): Likewise.
45420         [XPG3] (cbrt): Likewise.
45421         [XPG3] (expm1): Likewise.
45422         [XPG3] (ilogb): Likewise.
45423         [XPG3] (log1p): Likewise.
45424         [XPG3] (logb): Likewise.
45425         [XPG3] (nextafter): Likewise.
45426         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45427         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45428         [XPG3] (remainder): Likewise.
45429         [XPG3] (rint): Likewise.
45430         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45431         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45432         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45433         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45434         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45435         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45436         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45437         [UNIX98 || XOPEN2K] (scalb): Expect.
45438         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45439         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45440         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45441         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45442         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45443         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45444         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45445         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45446         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45447         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45448         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45449         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45450         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45451         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45452         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45453         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45454         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45455         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45456         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45457         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45458         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45459         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45460         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45461         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45462         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45463         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45464         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45465         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45466         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45467         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45468         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45469         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45470         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45471         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45472         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45473         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45474         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45475         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45476         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45477         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45478         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45479         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45480         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45481         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45482         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45483         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45484         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45485         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45486         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45487         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45488         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45489         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45490         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45491         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45492         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45493         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45494         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45495         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45496         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45497         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45498         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45499         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45500         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45501         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45502         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45503         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45504         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45505         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45506         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45507         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45508         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45509         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45510         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45511         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45512         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45513         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45514         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45515         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45516         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45517         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45518         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45519         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45520         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45521         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45522         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45523         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45524         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45525         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45526         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45527         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45528         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45529         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45530         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45531         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45532         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45533         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45534         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45535         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45536         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45537         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45538         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45539         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45540         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45541         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45542         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45543         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45544         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45545         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45546         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45547         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45548         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45549         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45550         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45551         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45552         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45553         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45554         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45555         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45556         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45557         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45558         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45559         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45560         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45561         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45562         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45563         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45564         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45565         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45566         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45567         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45568         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45569         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45570         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45571         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45572         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45573         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45574         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45576         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45577         _XOPEN_SOURCE_EXTENDED for XPG4.
45579         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45581         * Makeconfig (localtime): Remove variable.
45582         (inst_localtime-file): Likewise.
45584 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45587         Update.
45588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45589         Update.
45590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45591         Update.
45592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45593         Update.
45594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45595         Update.
45596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45597         Update.
45598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45599         Update.
45600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45601         Update.
45602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45603         Update.
45605 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45607         [BZ #2550]
45608         [BZ #2570]
45609         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45610         comparisons to determine direction to adjust input.
45611         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45612         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45613         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45614         Likewise.
45615         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45616         Likewise.
45617         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45618         Likewise.
45619         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45620         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45621         Likewise.
45622         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45623         Likewise.
45624         * math/libm-test.inc (nexttoward_test): Add more tests.
45626 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45628         [BZ #14040]
45629         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45630         in version GLIBC_2.1, not GLIBC_2.0.
45631         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45632         Likewise.
45634 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45636         [BZ #13942]
45637         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45638         (1 - x) * (1 + x).
45639         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45640         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45641         * math/libm-test.inc (acos_test): Add more tests.
45642         (asin_test): Likewise.
45643         * sysdeps/i386/fpu/libm-test-ulps: Update.
45644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45646         [BZ #14034]
45647         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45648         of square root.
45649         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45650         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45651         * math/libm-test.inc (acos_test_tonearest): New function.
45652         (acos_test_towardzero): Likewise.
45653         (acos_test_downward): Likewise.
45654         (acos_test_upward): Likewise.
45655         (asin_test_tonearest): Likewise.
45656         (asin_test_towardzero): Likewise.
45657         (asin_test_downward): Likewise.
45658         (asin_test_upward): Likewise.
45659         (main): Call the new functions.
45660         * sysdeps/i386/fpu/libm-test-ulps: Update.
45661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45663         [BZ #13884]
45664         [BZ #13924]
45665         * math/e_exp10.c: Include <float.h>.
45666         (__ieee754_exp10): Handle underflow here rather than multiplying
45667         large negative argument by M_LN10.
45668         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45669         of __ieee754_expf.
45670         * math/e_exp10l.c: Include <float.h>.
45671         (__ieee754_exp10l): Handle underflow here rather than multiplying
45672         large negative argument by M_LN10l.
45673         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45674         spurious overflow exception on underflow.
45676 2012-04-29  Marek Polacek  <polacek@redhat.com>
45678         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45679         (__fortify_function): New macro.
45680         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45681         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45682         __extern_always_inline.
45683         * libio/bits/stdio2.h: Likewise.
45684         * libio/bits/stdio.h: Likewise.
45685         * string/string.h: Likewise.
45686         * string/bits/string3.h: Likewise.
45687         * include/stdio.h: Likewise.
45688         * stdlib/bits/stdlib.h: Likewise.
45689         * stdlib/stdlib.h: Likewise.
45690         * rt/bits/mqueue2.h: Likewise.
45691         * rt/mqueue.h: Likewise.
45692         * posix/bits/unistd.h: Likewise.
45693         * posix/unistd.h: Likewise.
45694         * io/bits/poll2.h: Likewise.
45695         * io/bits/fcntl2.h: Likewise.
45696         * io/fcntl.h: Likewise.
45697         * io/sys/poll.h: Likewise.
45698         * misc/bits/syslog.h: Likewise.
45699         * misc/bits/syslog-ldbl.h: Likewise.
45700         * misc/sys/syslog.h: Likewise.
45701         * socket/bits/socket2.h: Likewise.
45702         * socket/sys/socket.h: Likewise.
45703         * debug/tst-chk1.c: Likewise.
45704         * wcsmbs/bits/wchar2.h: Likewise.
45705         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45706         * wcsmbs/wchar.h: Likewise.
45708 2012-04-29  Andreas Jaeger  <aj@suse.de>
45710         * Makerules (tests): Remove enable-check-abi protection.
45711         (check-abi-warn): Remove.
45712         (check-abi-%): Remove check-abi-warn usage.
45714         * configure.in: Remove check-abi configure option.
45715         * configure: Regenerated.
45716         * config.make.in (enable-check-abi): Remove.
45718 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45720         [BZ #14033]
45721         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45722         double functions to double *_finite functions.
45724         [BZ #13941]
45725         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45726         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45727         LDBL_MIN_EXP.
45728         * stdio-common/Makefile (tests): Add tst-sprintf3.
45729         * stdio-common/tst-sprintf3.c: New file.
45731         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45732         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45734 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45736         * conform/conformtest.pl: Remove duplicate typed-constant
45737         handling.
45739 2012-04-28  David S. Miller  <davem@davemloft.net>
45741         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45742         (check-abi-%): Remove AWK script prerequisite and explicit
45743         abilist directory.
45744         (check-abi): Rewrite to just diff the symlist with the abilist.
45745         (config-tls, config-abi-config): Delete, no longer used.
45746         (update-abi-%): Remove AWK script and explicit abilist directory.
45747         (update-abi): Rewrite to simply compare and conditionally copy the
45748         symlist and the sysdep abilist file.  Remove update-abi-config
45749         checks.
45750         * abilist/ld.abilist: Remove.
45751         * abilist/libBrokenLocale.abilist: Remove.
45752         * abilist/libanl.abilist: Remove.
45753         * abilist/libcrypt.abilist: Remove.
45754         * abilist/libdl.abilist: Remove.
45755         * abilist/librt.abilist: Remove.
45756         * abilist/libthread_db.abilist: Remove.
45757         * abilist/libutil.abilist: Remove.
45758         * scripts/extract-abilist.awk: Remove.
45759         * scripts/merge-abilist.awk: Remove.
45760         * sysdeps/generic/libcidn.abilist: New file.
45761         * sysdeps/generic/libnss_compat.abilist: New file.
45762         * sysdeps/generic/libnss_db.abilist: New file.
45763         * sysdeps/generic/libnss_dns.abilist: New file.
45764         * sysdeps/generic/libnss_files.abilist: New file.
45765         * sysdeps/generic/libnss_hesiod.abilist: New file.
45766         * sysdeps/generic/libnss_nis.abilist: New file.
45767         * sysdeps/generic/libnss_nisplus.abilist: New file.
45768         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45769         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45770         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45771         file.
45772         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45773         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45774         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45775         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45776         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45777         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45778         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45779         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45780         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45781         file.
45782         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45783         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45784         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45785         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45786         file.
45787         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45788         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45789         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45790         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45791         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45792         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45793         file.
45794         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45795         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45796         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45797         file.
45798         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45799         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45800         New file.
45801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45802         New file.
45803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45804         New file.
45805         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45806         New file.
45807         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45808         New file.
45809         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45810         New file.
45811         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45812         New file.
45813         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45814         New file.
45815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45816         New file.
45817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45818         New file.
45819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45820         New file.
45821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45822         New file.
45823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45824         New file.
45825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45826         file.
45827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45828         New file.
45829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45830         New file.
45831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45832         file.
45833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45834         New file.
45835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45836         New file.
45837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45838         file.
45839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45840         New file.
45841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45842         New file.
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45844         New file.
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45846         New file.
45847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45848         New file.
45849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45850         New file.
45851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45853         file.
45854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45855         New file.
45856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45857         file.
45858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45859         file.
45860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45861         file.
45862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45863         file.
45864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45865         file.
45866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45867         New file.
45868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45869         file.
45870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45871         file.
45872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45873         New file.
45874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45875         file.
45876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45878         file.
45879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45880         New file.
45881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45882         file.
45883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45884         file.
45885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45886         file.
45887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45888         file.
45889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45890         file.
45891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45892         New file.
45893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45894         file.
45895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45896         file.
45897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45898         New file.
45899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45900         file.
45901         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45902         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45903         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45904         file.
45905         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45906         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45907         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45908         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45909         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45910         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45911         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45912         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45913         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45914         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45917         file.
45918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45919         New file.
45920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45921         file.
45922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45923         file.
45924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45925         file.
45926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45927         file.
45928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45929         file.
45930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45931         New file.
45932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45933         New file.
45934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45935         file.
45936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45937         New file.
45938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45939         file.
45940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45942         file.
45943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45944         New file.
45945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45946         file.
45947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45948         file.
45949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45950         file.
45951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45952         file.
45953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45954         file.
45955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45956         New file.
45957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45958         New file.
45959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45960         file.
45961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45962         New file.
45963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45964         file.
45966 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45968         * conform/conformtest.pl: Fix typo in handling typed-constant from
45969         allow-header.
45971 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45973         * README: Cut down references to pre-2.6 Linux kernels and
45974         Linuxthreads.  Update lists of configurations in libc and ports
45975         and sort alphabetically.  Say "or newer" with Linux kernel version
45976         requirements.
45978         * config.h.in [IS_IN_build]: Allow compiling without optimization.
45980 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45982         [BZ #887]
45983         * math/libm-test.inc (logb_test_downward): New test to expose
45984         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45985         rounding mode.
45987 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45989         [BZ #14027]
45990         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45991         to be done.
45992         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45993         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45995 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
45997         * sysdeps/unix/i386/brk.S: Remove file.
45998         * sysdeps/unix/i386/dl-brk.S: Likewise.
45999         * sysdeps/unix/i386/pipe.S: Likewise.
46000         * sysdeps/unix/i386/sigreturn.S: Likewise.
46001         * sysdeps/unix/i386/syscall.S: Likewise.
46002         * sysdeps/unix/i386/vfork.S: Likewise.
46003         * sysdeps/unix/i386/wait.S: Likewise.
46005         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46006         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46008         * configure.in (arm*-none*): Do not allow without
46009         --enable-hacker-mode.
46010         (netbsd*): Remove case setting base_os.
46011         (386bsd*): Likewise.
46012         (freebsd*): Likewise.
46013         (bsdi*): Likewise.
46014         (osf*): Likewise.
46015         (sunos*): Likewise.
46016         (ultrix*): Likewise.
46017         (newsos*): Likewise.
46018         (dynix*): Likewise.
46019         (*bsd*): Likewise.
46020         (sysv*): Likewise.
46021         (isc*): Likewise.
46022         (esix*): Likewise.
46023         (sco*): Likewise.
46024         (minix*): Likewise.
46025         (irix4*): Likewise.
46026         (irix6*): Likewise.
46027         (solaris[2-9]*): Likewise.
46028         (none): Likewise.
46029         * configure: Regenerated.
46031 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46033         [BZ #11521]
46034         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46035         overflow or cancellation in calculating denominator.
46036         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46037         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46038         down expression to avoid unexpected rounding in newer GCCs.
46039         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46041 2012-04-26  David S. Miller  <davem@davemloft.net>
46043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46044         long-double compat symbols.
46045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46059 2012-04-25  David S. Miller  <davem@davemloft.net>
46061         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46062         HWCAP_* values only after the memory barriers have been defined.
46063         (atomic_full_barrier): Define.
46064         (atomic_read_barrier): Define.
46065         (atomic_write_barrier): Define.
46067 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46069         * shlib-versions: Add libgcc_s version information.
46070         * sysdeps/generic/libgcc_s.h: Remove.
46071         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46072         libgcc_s.h.
46073         * sysdeps/gnu/unwind-resume.c: Likewise.
46074         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46076 2012-04-25  David S. Miller  <davem@davemloft.net>
46078         * sysdeps/unix/sparc/brk.S: Delete.
46079         * sysdeps/unix/sparc/dl-brk.S: Delete.
46080         * sysdeps/unix/sparc/pipe.S: Delete.
46081         * sysdeps/unix/sparc/sysdep.S: Delete.
46082         * sysdeps/unix/sparc/sysdep.h: Delete.
46083         * sysdeps/unix/sparc/vfork.S: Delete.
46084         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46085         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46086         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46087         (ret_ERRVAL, r0, r1, MOVE): Define.
46088         (JUMPTARGET): Remove.
46089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46090         sysdeps/unix/sparc/sysdep.h
46091         (ENTRY, END): Remove.
46092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46094 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46096         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46097         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46098         -DIS_IN_build.
46100         * timezone/README: Update upstream location and email address for
46101         tzcode and tzdata.
46102         * timezone/zdump.c: Update from tzcode 2012b.
46103         * timezone/zic.c: Likewise.
46105         * configure.in (libc_cv_as_needed): Remove test.
46106         * configure: Regenerated.
46107         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46108         conditional definition.
46109         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46110         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46111         * config.make.in (have-as-needed): Remove variable.
46113 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46114             Paul Pluzhnikov  <ppluzhnikov@google.com>
46116         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46117         strings correctly.
46119 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46121         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46122         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46123         * sysdeps/sh/strlen.S: Likewise.
46125 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46127         * sysdeps/unix/fork.S: Remove file.
46128         * sysdeps/unix/i386/fork.S: Likewise.
46129         * sysdeps/unix/sparc/fork.S: Likewise.
46131         * sysdeps/unix/system.c: Remove file.
46132         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46134         * sysdeps/unix/getegid.S: Remove file.
46135         * sysdeps/unix/geteuid.S: Likewise.
46137 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46139         * scripts/check-localplt.awk: New file.
46140         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46141         of diff.
46142         * scripts/data/localplt-generic.data: Add a comment.
46144         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46145         NODE when __dir_mkfile failed.
46146         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46147         Reported by Ludovic Courtès <ludo@gnu.org>.
46149 2012-04-24  Andreas Jaeger  <aj@suse.de>
46151         * Makerules (common-clean): Also remove gen-as-const-headers
46152         files.
46154 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46156         * Makerules (native-compile): Do not change working directory for
46157         build.  Use $(OUTPUT_OPTION) in command.
46158         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46160 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46162         [BZ #13886]
46163         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46164         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46165         * math/libm-test.inc (floor_test): Add more tests.
46166         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46168 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46170         * sysdeps/unix/getdents.c: Remove file.
46171         * sysdeps/unix/sysv/getdents.c: Likewise.
46172         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46174         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46175         sysdeps/unix/mman/syscalls.list.
46176         (mmap): Likewise.
46177         (mprotect): Likewise.
46178         (msync): Likewise.
46179         (munmap): Likewise.
46180         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46181         * sysdeps/unix/mman/syscalls.list: Remove.
46182         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46184         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46185         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46186         * configure: Regenerated.
46187         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46188         $(libgcc_s_suffix).
46189         * config.make.in (libgcc_s_suffix): Remove variable.
46191 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46193         * sysdeps/unix/sysv/gethostname.c: Move to ...
46194         * sysdeps/posix/gethostname.c: ... here.
46196         * sysdeps/unix/execve.S: Remove file.
46198         * sysdeps/unix/_exit.S: Remove file.
46200 2012-04-23  Andreas Jaeger  <aj@suse.de>
46202         [BZ #13739]
46203         * manual/Makefile: Remove make dist support, there's no
46204         need for a stand-alone documentation tar ball.
46205         (TEXI2DVI): Define always, it's not in Makeconfig.
46206         (dist): Removed.
46207         (tar-it): Removed.
46208         (edition): Removed.
46209         (glibc-doc-$(edition).tar): Removed
46210         (%.Z): Removed.
46211         (%.gz): Removed.
46212         (%.uu): Removed.
46213         (ETAGS): Remove, it's in Makeconfig.
46214         (move-if-change): Remove, it's in Makeconfig.
46216 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46218         [BZ #13970]
46219         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46220         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46221         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46222         (strtod_l, strtof_l, strtold_l): Remove __wur.
46223         It is not necessarily an error to ignore strtol's return value.
46224         One can reliably look at the stored endptr to decide whether
46225         the number had valid syntax.
46227 2012-04-21  Andreas Jaeger  <aj@suse.de>
46229         [BZ #13739]
46230         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46232 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46234         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46235         * sysdeps/unix/sysv/Versions: Remove file.
46237 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46239         [BZ #13927]
46240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46242 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46244         [BZ #7064]
46245         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46246         version from __vm86.
46248 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46250         * sysdeps/unix/common/lxstat.c: Remove file.
46251         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46253         * sysdeps/unix/sysv/Makefile: Remove file.
46255         * sysdeps/unix/sysv/direct.h: Remove file.
46257         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46258         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46259         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46260         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46261         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46262         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46263         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46265         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46267         * sysdeps/unix/xmknod.c: Remove file.
46268         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46270         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46272         * sysdeps/unix/sysv/i386/time.S: Remove file.
46274         * sysdeps/unix/fxstat.c: Remove file.
46275         * sysdeps/unix/xstat.c: Likewise.
46276         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46278         * sysdeps/unix/sysv/sigaction.c: Remove file.
46280         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46281         (sysdep_headers): Remove variable.
46282         [termio.h not in sysdep_headers] (generated): Likewise.
46283         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46284         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46285         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46286         * sysdeps/unix/sysv/tcflow.c: Likewise.
46287         * sysdeps/unix/sysv/tcflush.c: Likewise.
46288         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46289         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46290         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46291         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46292         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46294         * sysdeps/unix/siglist.c: Remove file.
46296         * sysdeps/unix/getppid.S: Remove file.
46298         * sysdeps/unix/mkdir.c: Remove file.
46299         * sysdeps/unix/rmdir.c: Likewise.
46301 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46303         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46304         ERR_MAX value.
46305         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46306         errlist-compat value.
46308 2012-04-18  David S. Miller  <davem@davemloft.net>
46310         * sysdeps/generic/memcopy.h (reg_char): Delete.
46311         * debug/strcat_chk.c: Use char, not reg_char.
46312         * debug/strcpy_chk.c: Likewise.
46313         * debug/strncat_chk.c: Likewise.
46314         * debug/strncpy_chk.c: Likewise.
46315         * string/memchr.c: Likewise.
46316         * string/memrchr.c: Likewise.
46317         * string/rawmemchr.c: Likewise.
46318         * string/strcat.c: Likewise.
46319         * string/strchr.c: Likewise.
46320         * string/strchrnul.c: Likewise.
46321         * string/strcmp.c: Likewise.
46322         * string/strcpy.c: Likewise.
46323         * string/strncat.c: Likewise.
46324         * string/strncmp.c: Likewise.
46325         * string/strncpy.c: Likewise.
46327 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46329         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46330         __builtin_memcopy is called when src and dest ranges are known to not
46331         overlap.
46333 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46335         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46336         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46337         fwd_align_merge macro call.
46338         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46339         bwd_align_merge macro call.
46340         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46342 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46344         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46345         bwd_align_merge macros.
46346         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46347         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46348         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46350 2012-04-18  David S. Miller  <davem@davemloft.net>
46352         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46354 2012-04-18  Andreas Jaeger  <aj@suse.de>
46356         [BZ# 6794]
46357         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46358         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46359         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46361         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46362         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46363         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46365         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46366         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46367         Adjust for changed ldbl-128 files.
46369         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46370         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46371         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46373 2012-04-17  David S. Miller  <davem@davemloft.net>
46375         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46377 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46379         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46380         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46381         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46382         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46383         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46384         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46386 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46388         [BZ #6794]
46389         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46390         * math/libm-test.inc: Add ilogb errno and exception tests.
46391         * math/w_ilogb.c: New file: ilogb wrapper.
46392         * math/w_ilogbf.c: New file: ilogbf wrapper.
46393         * math/w_ilogbl.c: New file: ilogbl wrapper.
46394         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46395         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46396         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46397         exception being thrown with 0.0 as argument.
46398         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46399         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46400         exception being thrown with 0.0 as argument.
46401         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46402         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46403         exception being thrown with 0.0 as argument.
46404         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46405         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46406         exception being thrown with 0.0 as argument.
46407         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46408         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46409         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46410         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46411         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46412         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46413         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46414         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46415         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46417 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46419         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46420         with altivec.
46422 2012-04-16  Marek Polacek  <polacek@redhat.com>
46424         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46426 2012-04-16  Marek Polacek  <polacek@redhat.com>
46428         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46429         operands of fdivp instruction.
46431 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46433         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46434         * elf/tst-auditmod3b.c: Likewise.
46435         * elf/tst-auditmod4b.c: Likewise.
46436         * elf/tst-auditmod5b.c: Likewise.
46437         * elf/tst-auditmod6b.c: Likewise.
46438         * elf/tst-auditmod6c.c: Likewise.
46439         * elf/tst-auditmod7b.c: Likewise.
46440         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46441         * sysdeps/x86_64/preconfigure.in: Likewise.
46442         * sysdeps/x86_64/preconfigure: Regenerated.
46444 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46446         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46447         __ILP32__.
46449 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46452         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46454 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46456         [BZ #13973]
46457         * locale/iso-639.def: Fix gl language name. Spotted by
46458         Yaron Shahrabani.
46460 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46462         [BZ #2074]
46463         * libio/libio.h (__io_write_fn): Update comment.
46465 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46467         [BZ #2074]
46468         * stdio.texi (Hook Functions): The user provided writer function
46469         is not allowed to return -1.
46471 2012-04-11  David S. Miller  <davem@davemloft.net>
46473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46475 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46477         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46478         Add a leading slash to rtkaio.
46480 2012-04-11  Jim Meyering  <meyering@redhat.com>
46482         [BZ #11959]
46483         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46484         It is not necessarily an error to ignore fwrite's return
46485         value.  One can reliably use ferror to test for errors after
46486         the fact.
46488 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46490         * bits/types.h (__snseconds_t): New type.
46491         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46493         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46494         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46495         (__SNSECONDS_T_TYPE): Likewise.
46496         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46497         (__SNSECONDS_T_TYPE): Likewise.
46498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46499         (__SNSECONDS_T_TYPE): Likewise.
46501 2012-04-10  Andreas Jaeger  <aj@suse.de>
46503         [BZ #2636]
46504         * manual/time.texi (Processor Time): Return type of times is
46505         elapsed real time since an arbitrary point in the past.
46506         (CPU Time): Move CLK_TCK from here...
46507         (Processor Time): ...to here.  Correct description.
46508         * manual/conf.texi (Constants for Sysconf): Correct description of
46509         _SC_CLK_TCK.
46511 2012-04-10  David S. Miller  <davem@davemloft.net>
46513         [BZ #13967]
46514         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46515         where the is a gap between DT_REL(A) and DT_JMPREL.
46517 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46519         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46520         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46521         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46523 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46525         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46526         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46527         (dl_main): Handle --inhibit-cache.
46528         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46529         _dl_inhibit_cache.
46530         * elf/dl-load.c (_dl_map_object): Use it.
46531         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46533 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46535         [BZ #13872]
46536         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46537         (__ieee754_powl): Saturate large exponents rather than testing for
46538         overflow of y*log2(x).
46539         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46540         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46541         exceptions.
46543         [BZ #11521]
46544         * math/s_ctan.c: Include <float.h>.
46545         (__ctan): Avoid internal overflow or cancellation in calculating
46546         denominator.
46547         * math/s_ctanf.c: Likewise.
46548         * math/s_ctanl.c: Likewise.
46549         * math/s_ctanh.c: Likewise.
46550         * math/s_ctanhf.c: Likewise.
46551         * math/s_ctanhl.c: Likewise.
46552         * math/libm-test.inc (ctan_test): Add more tests.
46553         (ctanh_test): Likewise.
46554         * sysdeps/i386/fpu/libm-test-ulps: Update.
46555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46557 2012-04-09  Andreas Jaeger  <aj@suse.de>
46559         [BZ #6894]
46560         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46561         is an optional BSD extension.
46563         [BZ #10254]
46564         * manual/stdio.texi (Opening Streams): Document additional fopen
46565         parameters.
46567 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46569         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46570         %eax without telling the compiler.
46572 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46574         [BZ # 13963]
46575         * manual/install.texi: Use sourceware.org.
46577 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46579         [BZ #13873]
46580         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46581         (__ieee754_pow): Generate overflow and underflow using huge*huge
46582         and tiny*tiny rather than just returning constant infinity or zero
46583         for large exponents.
46584         * math/libm-test.inc (pow_test): Require overflow exceptions for
46585         applicable cases of large exponents.
46587         [BZ #706]
46588         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46589         (__ieee754_pow): Use iterative multiplication algorithm only for
46590         integer exponents with absolute value below 1024.  Check for odd
46591         integer exponents when using algorithm for real exponents.
46592         * math/libm-test.inc (pow_test): Add more tests.
46593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46595 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46597         [BZ #13705]
46598         * math/libm-test.inc (exp_test): Do not allow overflow exception
46599         on underflow test.
46601 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46603         [BZ #13705]
46604         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46605         instead of __kernel_standard_f.
46607 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46609         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46610         * sysdeps/x86_64/memset_chk.S: Likewise.
46612 2012-04-08  Andreas Jaeger  <aj@suse.de>
46614         [BZ #10153]
46615         * manual/startup.texi (Environment Access): Describe return value
46616         for putenv and setenv.
46618         [BZ #6895]
46619         * manual/filesys.texi (Directory Entries): Add description for
46620         DT_LNK.
46622         [BZ #6890]
46623         * manual/filesys.texi (Directory Entries): Clarify that it's file
46624         system not operating system in the description of DT_UNKNOWN.
46626         [BZ #6578]
46627         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46629 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46631         [BZ #6649]
46632         * manual/llio.texi (Opening and Closing Files): Add cross
46633         reference to explain mode argument.
46635 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46637         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46638         * sysdeps/x86_64/memset_chk.S: Likewise.
46640 2012-04-07  David S. Miller  <davem@davemloft.net>
46642         * elf/elf.h (R_SPARC_WDISP10): Define.
46643         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46644         R_SPARC_SIZE32.
46645         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46646         R_SPARC_SIZE64 and R_SPARC_H34.
46648 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46650         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46651         conditions and remove no longer applicable assertion.
46653 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46655         * bits/byteswap.h: Include <features.h>.
46656         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46657         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46659 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46661         * bits/byteswap.h (__bswap_16): Removed.
46662         Include <bits/byteswap-16.h> to get __bswap_16.
46663         * sysdeps/i386/bits/byteswap.h: Likewise.
46664         * sysdeps/s390/bits/byteswap.h: Likewise.
46665         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46666         * bits/byteswap-16.h: New file.
46667         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46668         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46669         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46670         * string/Makefile (headers): Add bits/byteswap-16.h.
46672 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46674         [BZ #13895]
46675         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46676         extra indirection.
46677         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46678         * nss/tst-nss-static.c: New.
46680 2012-04-06  Robert Millan  <rmh@gnu.org>
46682         [BZ #6486]
46683         * manual/llio.texi (File Position Primitive): lseek
46684         refers to WHENCE when it really means OFFSET.
46686 2012-04-06  Andreas Jaeger  <aj@suse.de>
46688         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46689         strncmp declarations.
46691         * abilist/libc.abilist: Add __poll and __ppoll.
46693 2012-04-05  David S. Miller  <davem@davemloft.net>
46695         * scripts/check-local-headers.sh: Accept a host triplet in the
46696         path matched by the exclude regexp.
46698         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46699         definition.
46700         * sysdeps/powerpc/powerpc32/dl-machine.h
46701         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46702         * sysdeps/s390/s390-32/dl-machine.h
46703         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46704         * sysdeps/sparc/sparc32/dl-machine.h
46705         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46706         * sysdeps/sparc/sparc64/dl-machine.h
46707         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46709         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46710         lazy binding.
46711         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46712         undefined symbol errors.
46714         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46715         DT_NEEDED entries.
46717 2012-04-05  Michael Matz  <matz@suse.de>
46719         [BZ #13592]
46720         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46722 2012-04-05  Andreas Jaeger  <aj@suse.de>
46724         [BZ #13908]
46725         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46726         comment.
46728 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46730         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46731         which ROUND is no valid rounding mode.
46733 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46735         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46736         read again.
46737         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46739 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46741         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46742         an exception using FPU order intentionally.
46744 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46746         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46747         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46748         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46749         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46751 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46753         [BZ #12340]
46754         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46755         EINVAL when BUFLEN is too smal.
46757 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46759         [BZ #13553]
46760         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46761         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46763 2012-04-03  Andreas Jaeger  <aj@suse.de>
46765         [BZ #13938]
46766         * manual/setjmp.texi (System V contexts): Fix sentence.
46768         [BZ #13926]
46769         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46770         New macro for this case.
46771         [!__GNUC__] (__bswap_64): New inline function for this case.
46772         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46773         * bits/byteswap.h: Likewise.
46774         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46775         ull, guard with __GLIBC_HAVE_LONG_LONG.
46777         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46778         __GLIBC_HAVE_LONG_LONG.
46780         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46781         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46783 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46785         [BZ #13691]
46786         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46787         inptr and inend, rather than using last_ch.
46789 2012-04-02  David S. Miller  <davem@davemloft.net>
46791         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46792         * stdio-common/printf-parse.h (read_int): Change return type to
46793         'int', return -1 on INT_MAX overflow.
46794         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46795         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46796         overflows INT_MAX.  Check for overflow of in-format-string precision
46797         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46798         SIZE_MAX not INT_MAX for integer overflow test.
46799         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46800         skip the construct in the format string but do not record anything.
46801         * stdio-common/bug22.c: Adjust to test both width/prevision
46802         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46803         explicitly for proper errno values.
46805 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46807         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46808         CHAR_MAX.
46809         * string/test-strcmp.c [! WIDE]: Likewise.
46810         * time/tst-mktime2.c: Likewise for INT_MAX.
46811         * string/test-string.h: #include <sys/param.h> for MIN.
46813         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46814         * sysdeps/i386/init-first.c (init): Likewise.
46815         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46816         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46817         * sysdeps/sh/init-first.c (init): Likewise.
46819 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46821         * po/ru.po: Update from translation team.
46822         * po/vi.po: Likewise.
46824 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46826         * resolv/nss_dns/dns-host.c: Merge copyright years.
46828 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46830         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46831         Optimize memcpy with prefetch if
46832         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46833         src, dst pointers have unequal 16 byte alignments.
46835 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46837         [BZ #13928]
46838         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46839         from a CNAME entry and return the minimum ttl for the query.
46840         (gaih_getanswer_slice): Likewise.
46842 2012-03-30  Jeff Law  <law@redhat.com>
46844         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46845         due to long keys.
46846         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46847         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46849         * resolv/nss_dns/dns-host.c: Update copyright year.
46851 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46853         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46854         requests to save a system call.  Fix check that all bytes are sent.
46856         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46857         comments for sendmmsg.
46859 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46861         [BZ #13691]
46862         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46863         with only 1 character between 0x0041 and 0x01b0.
46864         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46865         * wcsmbs/tst-mbsnrtowcs.c: New file.
46867 2012-03-29  David S. Miller  <davem@davemloft.net>
46869         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46870         small copies by hand.
46872 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46874         [BZ #13761]
46875         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46876         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46877         group memberships.
46879 2012-03-28  David S. Miller  <davem@davemloft.net>
46881         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46882         that branches into memcpy.
46883         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46884         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46885         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46886         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46887         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46888         bits.
46889         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46890         implementation too.
46891         * sysdeps/sparc/mempcpy.S: New file.
46893         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46894         the IFUNC routine in the libc case.
46895         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46897         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46898         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46899         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46900         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46901         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46902         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46903         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46904         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46906         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46907         loop to 256 bytes instead of 64 bytes and fix test signedness.
46909         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46910         * sysdeps/sparc/sparc32/Makefile: rather than here...
46911         * sysdeps/sparc/sparc64/Makefile: and here.
46913 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46915         * malloc/mallocbug.c: Avoid warnings about unused variables.
46917 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46919         [BZ #13760]
46920         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46921         in the right place. Discard and retry query if response is
46922         larger than input buffer size.
46924 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46926         [BZ #369]
46927         [BZ #2678]
46928         [BZ #3866]
46929         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46930         x for large integer exponent.
46931         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46932         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46933         sign of result as needed afterwards.
46934         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46935         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46936         result for underflowing pow the same as for overflow.
46937         (__kernel_standard_l): Handle powl overflow and underflow here
46938         rather than calling __kernel_standard.
46939         * math/libm-test.inc (pow_test): Add more tests.
46941         [BZ #3868]
46942         [BZ #13879]
46943         [BZ #13910]
46944         [BZ #13911]
46945         [BZ #13912]
46946         [BZ #13913]
46947         [BZ #13915]
46948         [BZ #13916]
46949         [BZ #13917]
46950         [BZ #13918]
46951         [BZ #13919]
46952         [BZ #13920]
46953         [BZ #13921]
46954         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46955         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46956         (__kernel_standard_l): New function.
46957         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46958         __kernel_standard.
46959         * math/w_acosl.c (__acosl): Likewise.
46960         * math/w_asinl.c (__asinl): Likewise.
46961         * math/w_atan2l.c (__atan2l): Likewise.
46962         * math/w_atanhl.c (__atanhl): Likewise.
46963         * math/w_coshl.c (__coshl): Likewise.
46964         * math/w_exp10l.c (__exp10l): Likewise.
46965         * math/w_exp2l.c (__exp2l): Likewise.
46966         * math/w_fmodl.c (__fmodl): Likewise.
46967         * math/w_hypotl.c (__hypotl): Likewise.
46968         * math/w_j0l.c (__j0l, __y0l): Likewise.
46969         * math/w_j1l.c (__j1l, __y1l): Likewise.
46970         * math/w_jnl.c (__jnl, __ynl): Likewise.
46971         * math/w_lgammal.c (__lgammal): Likewise.
46972         * math/w_log10l.c (__log10l): Likewise.
46973         * math/w_log2l.c (__log2l): Likewise.
46974         * math/w_logl.c (__logl): Likewise.
46975         * math/w_powl.c (__powl): Likewise.
46976         * math/w_remainderl.c (__remainderl): Likewise.
46977         * math/w_scalbl.c (sysv_scalbl): Likewise.
46978         * math/w_sinhl.c (__sinhl): Likewise.
46979         * math/w_sqrtl.c (__sqrtl): Likewise.
46980         * math/w_tgammal.c (__tgammal): Likewise.
46981         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46982         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46983         * math/libm-test.inc (acos_test): Add more tests.
46984         (acosh_test): Likewise.
46985         (asin_test): Likewise.
46986         (atanh_test): Likewise.
46987         (exp_test): Likewise.
46988         (exp10_test): Likewise.
46989         (exp2_test): Likewise.
46990         (expm1_test): Likewise.
46991         (lgamma_test): Likewise.
46992         (log_test): Likewise.
46993         (log10_test): Likewise.
46994         (log1p_test): Likewise.
46995         (log2_test): Likewise.
46996         (pow_test): Do not allow some spurious overflow exceptions.
46997         (sqrt_test): Add more tests.
46998         (tgamma_test): Likewise.
46999         (y0_test): Likewise.
47000         (y1_test): Likewise.
47001         (yn_test): Likewise.
47003 2012-03-27  Anton Blanchard  <anton@samba.org>
47005         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47006         MAP_HUGETLB.
47007         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47008         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47009         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47011 2012-03-27  David S. Miller  <davem@davemloft.net>
47013         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47015         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47016         have-as-vis3 check.
47018 2012-03-27  Andreas Jaeger  <aj@suse.de>
47020         * sysdeps/x86_64/elf/configure.in: Moved to ...
47021         * sysdeps/x86_64/configure.in: ... here.
47022         * sysdeps/x86_64/elf/start.S: Moved to ...
47023         * sysdeps/x86_64/start.S: ... here.
47024         * sysdeps/x86_64/elf/configure: Delete.
47026         * sysdeps/x86_64/configure.in: Merge contents from
47027         sysdeps/i386/configure.in (without i686 check).
47029         * sysdeps/i386/elf/Versions: Merge into ...
47030         * sysdeps/i386/Versions: ... this.
47031         * sysdeps/i386/elf/Versions: Delete file.
47032         * sysdeps/i386/elf/start.S: Moved to ...
47033         * sysdeps/i386/start.S: ...here.
47034         * sysdeps/i386/elf/configure.in: Merge into...
47035         * sysdeps/i386/configure.in: ...here.
47036         * sysdeps/i386/elf/configure.in: Delete file.
47037         * sysdeps/i386/elf/configure: Delete file.
47039         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47040         * debug/backtracesyms.c: ... here.
47041         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47042         * debug/backtracesymsfd.c: ... here.
47043         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47044         * sysdeps/generic/ifunc-sel.h: ... here.
47046         * sysdeps/unix/i386/start.c: Delete file.
47047         * sysdeps/unix/sparc/start.c: Delete file.
47048         * sysdeps/unix/start.c: Delete file.
47050         * sysdeps/sh/elf/configure.in: Moved to ...
47051         * sysdeps/sh/configure.in: ... here.
47052         * sysdeps/sh/elf/start.S: Moved to ...
47053         * sysdeps/sh/start.S: ... here.
47054         * sysdeps/sh/elf/configure: Delete file.
47056         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47057         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47058         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47059         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47060         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47061         * sysdeps/powerpc/powerpc64/start.S: here.
47062         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47063         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47064         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47065         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47066         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47068         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47069         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47070         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47071         * sysdeps/powerpc/powerpc32/start.S: ... here.
47072         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47073         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47074         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47076         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47077         * sysdeps/powerpc/ifunc-sel.h: ... here.
47078         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47079         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47081         * sysdeps/sparc/elf/configure.in: Moved to ...
47082         * sysdeps/sparc/configure.in: ... here.
47083         * sysdeps/sparc/elf/configure: Delete file.
47084         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47085         * sysdeps/sparc/sparc32/start.S: ... here.
47086         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47087         * sysdeps/sparc/sparc64/start.S: ... here.
47088         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47089         * sysdeps/sparc/sparc32/Makefile: ... this.
47090         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47091         * sysdeps/sparc/sparc64/Makefile: ... this.
47093         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47094         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47095         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47096         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47097         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47098         * sysdeps/s390/s390-32/setjmp.S: ... here.
47099         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47100         * sysdeps/s390/s390-32/configure.in: ... here.
47101         * sysdeps/s390/s390-32/elf/configure: Delete file.
47102         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47103         * sysdeps/s390/s390-32/start.S: ... here.
47105         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47106         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47107         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47108         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47109         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47110         * sysdeps/s390/s390-64/setjmp.S: ... here.
47111         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47112         * sysdeps/s390/s390-64/configure.in: ... here
47113         * sysdeps/s390/s390-64/elf/configure: Delete file.
47114         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47115         * sysdeps/s390/s390-64/start.S: ... here.
47116         * sysdeps/s390/s390-64/elf/configure: Delete.
47118         * configure.in: Remove support for elf directories in sysdeps.
47120         * configure: Regenerated.
47121         * sysdeps/i386/configure: Regenerated.
47122         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47123         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47124         * sysdeps/s390/s390-32/configure: Regenerated.
47125         * sysdeps/s390/s390-64/configure: Regenerated.
47126         * sysdeps/sh/configure: Regenerated.
47127         * sysdeps/sparc/configure: Regenerated.
47128         * sysdeps/x86_64/configure: Regenerated.
47130 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47135         denormal result into account.
47137 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47139         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47140         Reported by Allan McRae <allan@archlinux.org>.
47142 2012-03-23  Jeff Law  <law@redhat.com>
47144         * nss/getnssent.c (__nss_getent): Fix typo.
47146 2012-03-23  David S. Miller  <davem@davemloft.net>
47148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47150 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47152         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47153         to pad to uint64_t for each field.
47154         (dl_tls_index): Replace unsigned long with uint64_t.
47156 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47157         Paul Pluzhnikov  <ppluzhnikov@google.com>
47159         [BZ #6528]
47160         * grp/Makefile (otherlibs): Don't set it.
47161         * inet/Makefile (otherlibs): Likewise.
47162         * login/Makefile (otherlibs): Likewise.
47163         * nscd/Makefile (otherlibs): Likewise.
47164         * posix/Makefile (otherlibs): Likewise.
47165         * pwd/Makefile (otherlibs): Likewise.
47166         * rt/Makefile (otherlibs): Likewise.
47167         * sunrpc/Makefile (otherlibs): Likewise.
47168         * nss/Makefile (otherlibs): Likewise.
47169         Add libnss_files to routines and static-only-routines.
47170         ($(objpfx)getent): Remove rule.
47171         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47172         static-only-routines.
47174 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47176         [BZ #13892]
47177         * math/s_cexp.c: Include <float.h>.
47178         (__cexp): Handle exp result overflowing not necessarily
47179         overflowing both real and imaginary parts of result.
47180         * math/s_cexpf.c: Likewise.
47181         * math/s_cexpl.c: Likewise.
47182         * math/libm-test.inc (cexp_test): Add more tests.
47183         * sysdeps/i386/fpu/libm-test-ulps: Update.
47184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47186 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47188         * include/link.h (ELFW): New macro.
47189         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47190         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47192 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47194         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47195         with uint64_t.
47197 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47199         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47200         declaration.
47201         (struct La_x32_retval): Likewise.
47203 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47205         * sysdeps/x86_64/preconfigure.in: New file.
47206         * sysdeps/x86_64/preconfigure: New generated file.
47208 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47210         [BZ #13824]
47211         * math/e_exp2l.c: Include <float.h>.
47212         (__ieee754_exp2l): Handle overflow and underflow cases
47213         separately.  Only pass fractional part of argument to
47214         __ieee754_expl.
47215         * math/libm-test.inc (exp2_test): Add more tests.
47217         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47218         negating x to take absolute value.
47219         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47220         Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47222         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47223         Likewise.
47224         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47225         computing low part if x was negated.
47226         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47228 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47230         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47231         la_x32_gnu_pltexit.
47232         (pltexit): Cast int_retval to ptrdiff_t.
47233         * elf/tst-auditmod3b.c: Likewise.
47234         * elf/tst-auditmod4b.c: Likewise.
47235         * elf/tst-auditmod5b.c: Likewise.
47236         * elf/tst-auditmod6b.c: Likewise.
47237         * elf/tst-auditmod6c.c: Likewise.
47238         * elf/tst-auditmod7b.c: Likewise.
47240         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47241         and x32_gnu_pltexit.
47243         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47244         __ELF_NATIVE_CLASS.
47245         (La_x32_regs): New macro.
47246         (La_x32_retval): Likewise.
47247         (la_x32_gnu_pltenter): New function prototype.
47248         (la_x32_gnu_pltexit): Likewise.
47250 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47253         exponent.
47255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47257         * configure.in (libc_cv_cc_nofma): Check for option to disable
47258         generation of FMA instructions.
47259         * configure: Regenerate.
47260         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47261         * sysdeps/ieee754/dbl-64/Makefile: New file.
47262         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47263         Remove brandred-fma4.
47264         (CFLAGS-brandred-fma4.c): Remove.
47265         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47266         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47267         define.
47268         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47269         define.
47271 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47273         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47274         LLONG_MAX != LONG_MAX.
47275         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47276         (_fitoa_word): Likewise.
47277         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47278         LLONG_MAX != LONG_MAX.
47279         * stdio-common/_itowa.h: Include <_itoa.h>.
47280         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47281         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47282         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47283         only if not defined.
47284         (_ITOA_WORD_TYPE): Likewise.
47285         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47286         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47288 2012-03-21  David S. Miller  <davem@davemloft.net>
47290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47292 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47294         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47295         of x86_64 when setting libc_cv_slibdir, libdir and
47296         libc_cv_localedir.
47297         * sysdeps/unix/sysv/linux/configure: Regenerated.
47299 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47301         * manual/lang.texi (Old Varargs): Remove section.
47302         (How Variadic): Update menu.
47303         (va_start): Do not mention varargs.h.
47305 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47306             Joseph Myers  <joseph@codesourcery.com>
47308         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47309         link test.
47310         * configure: Regenerated.
47312 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47314         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47315         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47316         conformtest.pl
47318 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47320         * NOTES: Remove.
47321         * Makefile (files-for-dist): Remove NOTES.
47322         (NOTES): Remove rule.
47323         * README: Don't refer to NOTES.
47324         * manual/creature.texi: Don't include macros.texi.
47325         * manual/intro.texi (creature.texi): Remove comment referring to
47326         NOTES.
47328         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47329         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47330         * configure: Regenerated.
47331         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47332         LIBC_TRY_CC_OPTION.
47333         (libc_cv_as_i686): Likewise.
47334         (libc_cv_cc_avx): Likewise.
47335         (libc_cv_cc_sse2avx): Likewise.
47336         (libc_cv_cc_fma4): Likewise.
47337         (libc_cv_cc_novzeroupper): Likewise.
47338         * sysdeps/i386/configure: Regenerated.
47340         [BZ #13883]
47341         * sysdeps/i386/fpu/s_cexp.S: Remove.
47342         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47343         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47344         * math/libm-test.inc (cexp_test): Add more tests.
47345         * sysdeps/i386/fpu/libm-test-ulps: Update.
47346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47348 2012-03-21  Allan McRae  <allan@archlinux.org>
47350         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47352 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47354         [BZ #13871]
47355         * math/w_exp2.c: Do not include <float.h>.
47356         (o_threshold, u_threshold): Remove.
47357         (__exp2): Calculate result before checking finiteness and calling
47358         __kernel_standard.
47359         * math/w_exp2f.c: Likewise.
47360         * math/w_exp2l.c: Likewise.
47361         * math/libm-test.inc (exp2_test): Require overflow exception for
47362         1e6 input.
47364         [BZ #3866]
47365         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47366         range of signed 64-bit integers before using fistpll.  Remove
47367         checks for whether integers fit in mantissa bits.
47368         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47369         the range of signed 32-bit integers before using fistpl.  Remove
47370         checks for whether integers fit in mantissa bits.
47371         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47372         (__ieee754_powl): Test for y outside the range of signed 64-bit
47373         integers before using fistpll.  Reduce 64-bit values to 63-bit
47374         ones as needed.
47375         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47376         divide-by-zero is raised for zero to large negative powers.
47377         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47378         (__ieee754_powl): Test for y outside the range of signed 64-bit
47379         integers before using fistpll.  Reduce 64-bit values to 63-bit
47380         ones as needed.
47381         * math/libm-test.inc (pow_test): Add more tests.
47383 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47385         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47386         <stdio-common/_itoa.h>.
47387         * debug/segfault.c: Likewise.
47388         * elf/dl-cache.c: Likewise.
47389         * elf/dl-minimal.c: Likewise.
47390         * elf/dl-misc.c: Likewise.
47391         * elf/dl-sysdep.c: Likewise.
47392         * elf/dl-version.c: Likewise.
47393         * elf/rtld.c: Likewise.
47394         * hurd/hurdsock.c: Likewise.
47395         * hurd/lookup-retry.c: Likewise.
47396         * malloc/malloc.c: Likewise.
47397         * malloc/mtrace.c: Likewise.
47398         * nscd/nscd_getgr_r.c: Likewise.
47399         * nscd/nscd_getpw_r.c: Likewise.
47400         * nscd/nscd_getserv_r.c: Likewise.
47401         * posix/getopt_init.c: Likewise.
47402         * posix/wordexp.c: Likewise.
47403         * stdio-common/_itoa.c: Likewise.
47404         * stdio-common/printf_fphex.c: Likewise.
47405         * stdio-common/vfprintf.c: Likewise.
47406         * string/_strerror.c: Likewise.
47407         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47408         * sysdeps/i386/i686/hp-timing.h: Likewise.
47409         * sysdeps/mach/_strerror.c: Likewise.
47410         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47411         * sysdeps/mach/hurd/sethostid.c: Likewise.
47412         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47413         * sysdeps/mach/xpg-strerror.c: Likewise.
47414         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47415         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47416         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47417         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47418         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47419         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47420         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47421         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47422         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47423         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47424         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47425         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47426         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47427         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47428         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47429         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47430         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47431         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47432         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47433         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47434         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47436         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47438         * stdio-common/_itoa.h: Moved to ...
47439         * sysdeps/generic/_itoa.h: Here.
47441         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47443         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47444         instead of "_itoa.h" and "_itowa.h".
47445         * stdio-common/vfprintf.: Likewise.
47447 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47449         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47450         <bits/wordsize.h>.
47451         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47452         (__signbit): Likwise.
47453         (llrintf): Likwise.
47454         (llrint): Likwise.
47456 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47458         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47459         __WORDSIZE != 64.
47461 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47463         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47464         OVERFLOW_EXCEPTION_OK.
47465         * math/libm-test.inc ("Philosophy"): Update comment about
47466         exception testing.
47467         (OVERFLOW_EXCEPTION): Define.
47468         (OVERFLOW_EXCEPTION_OK): Likewise.
47469         (INVALID_EXCEPTION_OK): Renumber.
47470         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47471         (IGNORE_ZERO_INF_SIGN): Likewise.
47472         (test_exceptions): Handle FE_OVERFLOW.
47473         (exp10_test): Expect overflow exceptions.
47474         (exp2_test): Likewise.
47475         (expm1_test): Likewise.
47476         (nextafter_test): Likewise.
47477         (pow_test): Likewise.
47478         (scalbn_test): Likewise.
47479         (scalbln_test): Likewise.
47481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47483         * sysdeps/x86_64/bits/atomic.h
47484         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47485         64bit integer.
47486         (atomic_exchange_acq): Likewise.
47487         (__arch_exchange_and_add_body): Likewise.
47488         (__arch_add_body): Likewise.
47489         (atomic_add_negative): Likewise.
47490         (atomic_add_zero): Likewise.
47492 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47494         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47495         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47497 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47499         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47500         Check __x86_64__ instead of __WORDSIZE.
47502 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47504         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47506 2012-03-19  David S. Miller  <davem@davemloft.net>
47508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47510         * sysdeps/sparc/fpu/fenv_private.h: New file.
47511         * sysdeps/sparc/fpu/math_private.h: Use it.
47512         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47513         Remove.
47514         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47515         (libc_feholdexcept_setroundl): Remove.
47516         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47517         Remove.
47518         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47519         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47521 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47523         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47524         int64_t instead of long int.
47525         (INSERT_WORDS64): Likwise.
47527 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47529         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47530         _Unwind_GetCFA return to _Unwind_Ptr first.
47532 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47534         [BZ #13629]
47535         * math/s_clog.c: Include <float.h>.
47536         (__clog): Scale large or subnormal inputs.
47537         * math/s_clogf.c: Likewise.
47538         * math/s_clogl.c: Likewise.
47539         * math/s_clog10.c: Include <float.h>.
47540         (M_LOG10_2): Define.
47541         (__clog10): Scale large or subnormal inputs.
47542         * math/s_clog10f.c: Likewise.
47543         * math/s_clog10l.c: Likewise.
47544         * math/libm-test.inc (clog_test): Add more tests.
47545         (clog10_test): Likewise.
47546         * sysdeps/i386/fpu/libm-test-ulps: Update.
47547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47549         [BZ #11451]
47550         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47551         x and y.
47552         * math/libm-test.inc (atan2_test): Add another test.
47554         * Makerules (common-objdir-compile): Remove.
47555         * sysdeps/unix/Makefile (config-generated): Do not add
47556         $(unix-generated) to variable.
47557         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47558         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47559         Remove rule.
47560         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47561         Likewise.
47562         [generic bits/local_lim.h] (before-compile): Do not append to
47563         variable.
47564         [generic bits/local_lim.h] (common-generated): Likewise.
47565         [generic sys/param.h] (before-compile): Do not append to variable.
47566         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47567         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47568         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47569         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47570         include.
47571         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47572         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47573         [generic sys/param.h] ($(addprefix
47574         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47575         [generic sys/param.h] (common-generated): Do not append to
47576         variable.
47577         [generic sys/param.h] (sysdep_headers): Likewise.
47578         [generic bits/errno.h] (before-compile): Do not append to
47579         variable.
47580         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47581         rule.
47582         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47583         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47584         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47585         [generic bits/errno.h] (common-generated): Do not append to
47586         variable.
47587         [generic bits/ioctls.h] (before-compile): Do not append to
47588         variable.
47589         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47590         rule.
47591         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47592         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47593         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47594         rule.
47595         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47596         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47597         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47598         [generic bits/ioctls.h] (common-generated): Do not append to
47599         variable.
47600         [generic sys/syscall.h] (syscall.h): Remove variable.
47601         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47602         rule.
47603         [generic sys/syscall.h] (before-compile): Do not append to
47604         variable.
47605         [generic sys/syscall.h] (common-generated): Likewise.
47606         * sysdeps/unix/errnos-tmpl.c: Remove file.
47607         * sysdeps/unix/errnos.awk: Likewise.
47608         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47609         * sysdeps/unix/ioctls.awk: Likewise.
47610         * sysdeps/unix/mk-local_lim.c: Likewise.
47611         * sysdeps/unix/snarf-ioctls: Likewise.
47613 2012-03-19  Richard Henderson  <rth@twiddle.net>
47615         * sysdeps/i386/fpu/fenv_private.h: New file.
47616         * sysdeps/i386/fpu/math_private.h: Use it.
47617         (math_opt_barrier, math_force_eval): Remove.
47618         (libc_feholdexcept_setround_53bit): Remove.
47619         (libc_feupdateenv_53bit): Remove.
47620         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47621         (math_opt_barrier, math_force_eval): Remove.
47622         (libc_feholdexcept): Remove.
47623         (libc_feholdexcept_setround): Remove.
47624         (libc_fetestexcept, libc_fesetenv): Remove.
47625         (libc_feupdateenv_test): Remove.
47626         (libc_feupdateenv, libc_feholdsetround): Remove.
47627         (libc_feresetround): Remove.
47629         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47630         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47632         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47633         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47634         (libc_feupdateenv_testl): New.
47635         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47636         (libc_feupdateenv_testf): New.
47637         (libc_feupdateenv): Use libc_feupdateenv_test.
47638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47639         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47641         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47642         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47643         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47644         (libc_feresetround_noex): New.
47645         (libc_feresetround_noexf): New.
47646         (libc_feresetround_noexl): New.
47647         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47648         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47649         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47650         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47651         SET_RESTORE_ROUND.
47652         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47653         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47654         (__cos): Likewise.
47655         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47656         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47657         SET_RESTORE_ROUND_NOEX.
47658         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47659         SET_RESTORE_ROUND_NOEXF.
47660         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47661         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47662         (libc_feholdsetroundf): New.
47663         (libc_feresetround, libc_feresetroundf): New.
47665         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47666         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47667         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47669         * sysdeps/generic/math_private.h: Include <fenv.h>.
47670         (default_libc_feholdexcept): New.
47671         (default_libc_feholdexcept_setround): New.
47672         (default_libc_fesetenv, default_libc_feupdateenv): New.
47673         (libc_feholdexcept): Only define if undefined.
47674         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47675         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47676         (libc_feholdexcept_setroundl): Likewise.
47677         (libc_feholdexcept_setround_53bit): Likewise.
47678         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47679         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47680         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47681         (libc_feupdateenv_53bit): Likewise.
47682         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47683         (libc_feholdexcept): Convert from macro to inline function.
47684         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47685         (libc_fesetenv, libc_feupdateenv): Likewise.
47687         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47688         not previously defined.
47689         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47690         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47691         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47692         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47693         * sysdeps/ieee754/flt-32/math_private.h: New file.
47694         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47695         math_private.h below SET_FLOAT_WORD.
47696         (__isnan, __isinf_ns, __finite): Remove.
47697         (__isnanf, __isinf_nsf, __finitef): Remove.
47699 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47703 2012-03-17  David S. Miller  <davem@davemloft.net>
47705         [BZ #6471]
47706         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47707         for 2.16.
47709 2012-03-16  David S. Miller  <davem@davemloft.net>
47711         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47712         warnings.
47714         [BZ #6471]
47715         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47716         properly.
47717         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47718         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47719         sysdep_routines when subdir is sysvipc.
47720         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47721         __getshmlba helper.
47723         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47725 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47727         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47728         [__LP64__].
47730 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47732         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47733         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47734         (__lround): Renamed to ...
47735         (__llround): This.  Replace long int with long long int.
47736         Define lround functions as aliases of llround functions.
47737         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47739 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47741         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47742         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47743         adresses to uintptr_t.  Replace "long int" and "unsigned long
47744         int" with "greg_t" on va_arg.
47746 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47748         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47749         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47751         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47752         Move e_machine check before EI_CLASS check.  Handle x32
47753         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47754         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47755         SKIP_EM_IA_64 and include
47756         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47758         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47759         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47760         (add_system_dir): New macro.
47762         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47763         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47765 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47767         [BZ #2551]
47768         [BZ #2552]
47769         [BZ #2553]
47770         [BZ #2554]
47771         [BZ #2562]
47772         [BZ #2563]
47773         [BZ #2565]
47774         [BZ #2566]
47775         [BZ #2576]
47776         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47777         (y0): Likewise.
47778         * math/w_j0f.c (j0f): Likewise.
47779         (y0f): Likewise.
47780         * math/w_j0l.c (__j0l): Likewise.
47781         (__y0l): Likewise.
47782         * math/w_j1.c (j1): Likewise.
47783         (y1): Likewise.
47784         * math/w_j1f.c (j1f): Likewise.
47785         (y1f): Likewise.
47786         * math/w_j1l.c (__j1l): Likewise.
47787         (__y1l): Likewise.
47788         * math/w_jn.c (jn): Likewise.
47789         (yn): Likewise.
47790         * math/w_jnf.c (jnf): Likewise.
47791         (ynf): Likewise.
47792         * math/w_jnl.c (__jnl): Likewise.
47793         (__ynl): Likewise.
47794         * math/libm-test.inc (j0_test): Add more tests.
47795         (j1_test): Likewise.
47796         (jn_test): Likewise.  Add trailing semicolon to existing test.
47797         (y0_test): Likewise.
47798         (y1_test): Likewise.
47799         * sysdeps/i386/fpu/libm-test-ulps: Update.
47800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47802         [BZ #13851]
47803         [BZ #13854]
47804         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47805         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47806         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47807         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47808         (__tanl): Set errno for infinite argument.
47809         * sysdeps/i386/fpu/mptan.c: Remove.
47810         * sysdeps/i386/fpu/s_tan.S: Likewise.
47811         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47812         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47813         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47814         * math/libm-test.inc (tan_test): Add more tests and enable more
47815         tests for double and long double.
47816         * sysdeps/i386/fpu/libm-test-ulps: Update.
47817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47819 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47821         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47822         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47824 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47826         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47827         * configure.in: Use it for both main tree and add-ons.
47828         * configure: Regenerated.
47830 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47832         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47834 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47836         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47837         in comment.
47839         [BZ #13851]
47840         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47841         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47842         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47843         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47844         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47845         infinite argument.
47846         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47847         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47848         != 0 for prec == 2.
47849         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47850         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47851         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47852         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47853         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47854         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47855         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47856         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47857         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47858         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47859         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47860         * math/libm-test.inc (cos_test): Add more tests and enable more
47861         tests for long double.
47862         (sin_test): Likewise.
47863         (sincos_test): Likewise.
47864         * sysdeps/i386/fpu/libm-test-ulps: Update.
47865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47867 2012-03-16  David S. Miller  <davem@davemloft.net>
47869         * sysdeps/sparc/fpu/math_private.h: New file.
47871 2012-03-15  David S. Miller  <davem@davemloft.net>
47873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47874         file.
47875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47877         file.
47878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47883         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47884         sysdep routines.
47885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47887         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47888         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47890         * sysdeps/sparc/sparc-ifunc.h: New file.
47891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47892         sparc-ifunc.h
47893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47895         Likewise.
47896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47897         Likewise.
47898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47902         Likewise.
47903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47908         Likewise.
47909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47910         Likewise.
47911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47915         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47916         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47917         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47918         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47929         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47930         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47931         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47932         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47933         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47934         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47936 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47938         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47939         scaling.
47940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47942 2012-03-15  Andreas Jaeger  <aj@suse.de>
47944         [BZ #13852]
47945         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47946         ieee754/flt-32 implementation for sin, cos and sincos.
47947         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47948         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47949         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47950         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47951         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47952         ieee754/flt-32 implementation for tan.
47954         * math/libm-test.inc (cos_test): Enable some large input tests for
47955         float as well
47956         (sin_test): Likewise.
47957         (sincos_test): Likewise.
47958         (tan_test): Add tests for large input.
47960         * sysdeps/i386/fpu/libm-test-ulps: Update.
47962 2012-03-15  Andreas Jaeger  <aj@suse.de>
47964         [BZ #13658]
47965         * math/libm-test.inc (cos_test): Add more test cases.
47966         (sin_test): Likewise.
47967         (sincos_test): Likewise.
47969 2012-03-15  Andreas Jaeger  <aj@suse.de>
47971         [BZ #13837]
47972         * math/libm-test.inc (cos_test): Add a test case for large input
47973         value.
47974         (sin_test): Likewise.
47975         (sincos_test): Likewise.
47977 2012-03-15  Andreas Jaeger  <aj@suse.de>
47978             Joseph Myers  <joseph@codesourcery.com>
47980         [BZ #13658]
47981         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47982         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47983         * sysdeps/i386/fpu/branred.c: Likewise.
47984         * sysdeps/i386/fpu/dosincos.c: Likewise.
47985         * sysdeps/i386/fpu/mpa.c: Likewise.
47986         * sysdeps/i386/fpu/s_cos.S: Likewise.
47987         * sysdeps/i386/fpu/s_sin.S: Likewise.
47988         * sysdeps/i386/fpu/s_sincos.S: Likewise.
47989         * sysdeps/i386/fpu/sincos32.c: Likewise.
47991         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47992         Define.
47993         (libc_feupdateenv_53bit): Define.
47994         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47995         Define.
47996         (libc_feupdateenv_53bit): Define.
47998         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47999         53 bit (without extend i386 double precision).
48001         * math/libm-test.inc (sincos_test): Add tests for large input.
48002         (sin): Likewise.
48003         (cos): Likewise.
48005         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48007 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48011 2012-03-15  David S. Miller  <davem@davemloft.net>
48013         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48014         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48015         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48016         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48029         file.
48030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48032         file.
48033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48035         file.
48036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48038         file.
48039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48040         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48041         fmin/fmax sysdep routines.
48042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48044 2012-03-14  David S. Miller  <davem@davemloft.net>
48046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48050         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48051         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48066         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48067         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48069         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48071         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48072         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48073         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48074         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48075         routines.
48076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48077         file.
48078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48080         file.
48081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48083         file.
48084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48086         file.
48087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48089         file.
48090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48092         file.
48093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48094         file.
48095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48096         file.
48097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48098         file.
48099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48100         New file.
48101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48102         file.
48103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48104         file.
48105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48107         file.
48108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48110         file.
48111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48113         file.
48114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48116         VIS3 routines.
48118         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48119         New file.
48121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48123         * sysdeps/sparc/configure.in: New file.
48124         * sysdeps/sparc/configure: Generate.
48125         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48126         * configure: Regenerate.
48127         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48128         * config.make.in (have-as-vis3): New.
48129         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48130         available use -Av9d instead of -Av9a.
48131         * sysdeps/sparc/sparc64/Makefile: Likewise.
48132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48134         New file.
48135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48136         file.
48137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48138         New file.
48139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48140         file.
48141         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48142         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48143         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48144         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48145         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48147         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48148         fzeros/fnegs to load 0x80000000 into a float register instead of
48149         using the stack.
48150         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48152 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48155         bits/syscall.h.
48156         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48157         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48158         ($(inst_includedir)/bits/syscall.h): Remove rule.
48159         ($(objpfx)bits/syscall.d): Include instead of
48160         $(objpfx)syscall-list.d.
48161         (generated): Change syscall-list.h and syscall-list.d to
48162         bits/syscall.h and bits/syscall.d.
48164 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48166         [BZ #13846]
48167         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48169 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48171         [BZ #13841]
48172         * math/s_csqrt.c: Include <float.h>.
48173         (__csqrt): Scale large or subnormal inputs.
48174         * math/s_csqrtf.c: Likewise.
48175         * math/s_csqrtl.c: Likewise.
48176         * math/libm-test.inc (csqrt_test): Add more tests.
48177         * sysdeps/i386/fpu/libm-test-ulps: Update.
48178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48180         [BZ #13840]
48181         * math/libm-test.inc (hypot_test): Add more tests.
48183 2012-03-13  David S. Miller  <davem@davemloft.net>
48185         [BZ #13840]
48186         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48187         double-precision for the calculation instead of scaling.
48189 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48191         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48192         manipulate bits before adding and subtracting TWO52[sx].
48193         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48194         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48195         Likewise.
48196         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48198 2012-03-13  David S. Miller  <davem@davemloft.net>
48200         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48201         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48202         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48203         rtld-global-offsets.h
48204         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48206         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48207         large parameters.
48209         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48211         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48212         'err' in the ifdef scope in which it is actually used.
48214         * nss/nss_db/db-init.c: Include string.h
48216 2012-03-12  David S. Miller  <davem@davemloft.net>
48218         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48219         masking out of the most significant byte of random value used.
48220         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48221         Fix coding style in previous change.
48223         * sysdeps/unix/sysv/linux/kernel-features.h
48224         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48225         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48226         expression.
48227         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48228         later.
48230 2012-03-11  David S. Miller  <davem@davemloft.net>
48232         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48233         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48234         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48235         for 'resultvar' otherwise things get truncated on 64-bit.
48237         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48238         Fix masking out of the most significant byte of random value used.
48240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48242 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48246 2012-03-09  David S. Miller  <davem@davemloft.net>
48248         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48249         variables with appropriate CPP guards.
48250         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48251         from the frame pointer, not the stack pointer.  Correct layout
48252         comments.  Fix test on resulting framesize and the management of
48253         the outregs buffer for pltexit.  Preserve floating point return
48254         values across _dl_call_pltexit call.
48255         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48256         framesize and the management of the outregs buffer for pltexit.
48257         Preserve floating point return values across _dl_call_pltexit
48258         call.
48259         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48260         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48261         (la_sparc64_gnu_pltexit): New functions.
48262         (print_exit): Fix format string for return register value.
48264 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48266         * sunrpc/Makefile (others): Add rpcgen.
48267         ($(objpfx)rpcgen): Remove special build rule and dependency on
48268         libc.
48269         * sunrpc/rpcgen.c: New file.
48271 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48273         [BZ #13673]
48274         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48275         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48276         * sysdeps/i386/crti.S: Likewise.
48277         * sysdeps/i386/crtn.S: Likewise.
48278         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48279         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48280         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48281         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48282         * sysdeps/sh/crti.S: Likewise.
48283         * sysdeps/sh/crtn.S: Likewise.
48284         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48286         [BZ #13673]
48287         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48288         with URL.
48289         * locale/programs/locfile-kw.gperf: Likewise.
48290         * locale/programs/charmap-kw.h: Regenerated.
48291         * locale/programs/locfile-kw.h: Likewise.
48293         [BZ #13673]
48294         * intl/plural.y: Replace FSF snail mail address with URL.
48295         * intl/plural.c: Regenerated.
48297 2012-03-09  Richard Henderson  <rth@twiddle.net>
48299         * include/math_private.h: Remove file.
48300         * math/math_private.h: Move file ...
48301         * sysdeps/generic/math_private.h: ... here.
48303         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48304         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48305         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48307         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48308         and <math_private.h>.
48309         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48310         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48311         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48312         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48313         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48314         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48315         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48316         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48317         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48318         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48319         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48320         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48321         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48322         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48323         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48324         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48325         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48326         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48327         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48328         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48329         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48330         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48331         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48333         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48334         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48335         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48336         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48337         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48338         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48339         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48340         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48341         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48342         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48343         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48344         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48345         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48346         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48347         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48348         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48349         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48350         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48351         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48352         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48353         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48354         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48355         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48356         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48357         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48358         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48359         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48360         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48361         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48362         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48363         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48364         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48365         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48366         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48367         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48368         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48369         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48370         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48371         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48372         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48373         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48374         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48375         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48376         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48377         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48378         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48379         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48380         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48381         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48382         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48383         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48384         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48385         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48387         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48388         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48389         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48390         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48391         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48392         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48393         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48394         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48395         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48396         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48397         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48398         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48399         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48400         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48401         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48402         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48403         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48404         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48405         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48406         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48407         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48408         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48409         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48410         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48411         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48412         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48413         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48414         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48415         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48416         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48417         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48418         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48419         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48420         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48421         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48422         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48423         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48424         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48425         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48426         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48427         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48428         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48429         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48430         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48431         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48432         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48433         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48434         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48435         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48436         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48437         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48438         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48439         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48440         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48441         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48442         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48443         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48444         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48445         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48446         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48447         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48448         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48449         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48450         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48451         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48452         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48453         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48454         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48455         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48456         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48457         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48458         * sysdeps/ieee754/k_standard.c: Likewise.
48459         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48460         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48461         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48462         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48463         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48464         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48465         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48466         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48467         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48468         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48469         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48471         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48472         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48473         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48474         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48475         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48476         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48477         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48478         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48479         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48480         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48481         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48482         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48483         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48484         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48485         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48486         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48487         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48488         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48489         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48490         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48491         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48492         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48493         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48494         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48495         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48496         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48497         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48498         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48499         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48500         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48501         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48502         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48503         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48504         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48505         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48506         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48507         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48508         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48509         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48510         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48511         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48512         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48513         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48514         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48515         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48523         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48525         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48526         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48527         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48528         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48532         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48533         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48534         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48535         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48536         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48537         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48538         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48539         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48540         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48541         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48542         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48543         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48544         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48545         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48546         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48547         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48548         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48549         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48550         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48551         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48552         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48553         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48554         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48555         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48556         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48557         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48558         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48560         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48561         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48562         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48563         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48564         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48565         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48566         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48567         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48570         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48571         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48572         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48574         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48575         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48576         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48577         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48578         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48579         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48580         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48581         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48582         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48583         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48584         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48585         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48586         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48587         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48588         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48589         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48590         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48591         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48592         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48593         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48594         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48595         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48596         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48598         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48599         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48600         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48601         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48602         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48603         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48605         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48606         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48608         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48609         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48610         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48615         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48617         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48619         * sysdeps/ieee754/s_lib_version.c: Likewise.
48620         * sysdeps/ieee754/s_matherr.c: Likewise.
48621         * sysdeps/ieee754/s_signgam.c: Likewise.
48622         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48623         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48624         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48625         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48626         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48627         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48628         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48629         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48630         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48631         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48632         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48633         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48634         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48635         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48636         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48637         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48638         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48639         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48640         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48641         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48644 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48646         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48647         * sunrpc/rpc_main.c: Likewise.
48648         * sunrpc/rpc_svcout.c: Likewise.
48650 2012-03-09  David S. Miller  <davem@davemloft.net>
48652         * include/math_private.h: New file.
48654 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48656         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48657         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48658         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48659         from <bits/socket_type.h>.
48660         (enum __socket_type): Don't define here.
48661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48663         bits/socket_type.h.
48665         [BZ #13566]
48666         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48667         checking __USE_GNU.
48669         * Makerules ($(inst_includedir)/%.h): New rule.
48670         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48671         (install-others): Remove variable setting.
48672         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48674 2012-03-08  Richard Henderson  <rth@twiddle.net>
48676         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48677         from macro to inline function; merge with the
48678         !__LIBC_INTERNAL_MATH_INLINES version.
48679         (__ieee754_sqrtf): Likewise.
48681         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48682         to inline function.
48683         (__rintf, __floor, __floorf): Likewise.
48685         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48686         macro to inline function.
48687         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48689         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48690         not <math/math_private.h>.
48692 2012-03-08  David S. Miller  <davem@davemloft.net>
48694         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48695         copyright year.
48696         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48698 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48700         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48701         normalization.
48702         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48703         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48705 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48707         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48708         be defined individually, they must be defined as a block.  Define
48709         S for printing a string instead of hidint the different by using a
48710         macro for adding the 'l'.
48711         * stdio-common/tst-fphex-wide.c: Adjust.
48713 2012-03-07  Marek Polacek  <polacek@redhat.com>
48715         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48717 2012-03-08  Marek Polacek  <polacek@redhat.com>
48719         [BZ #13806]
48720         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48721         * stdio-common/tst-fphex.c: Define a few macros to make the
48722         test reusable.  Use them.
48723         * stdio-common/tst-fphex-wide.c: New file.
48725 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48727         [BZ #6911]
48728         * manual/macros.texi (gnusystems): New macro.
48729         (nongnusystems): Likewise.
48730         (gnulinuxhurdsystems): Likewise.
48731         (gnuhurdsystems): Likewise..
48732         (gnulinuxsystems): Likewise.
48733         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48734         variants of the GNU system, not "GNU system".
48735         * manual/conf.texi: Likewise.
48736         * manual/errno.texi: Likewise.  Update example of errno macro
48737         expansion.
48738         * manual/filesys.texi: Likewise.
48739         (getumask): Document as specific to GNU/Hurd.
48740         * manual/install.texi: Likewise.  Reword some references to
48741         GNU/Linux.
48742         * manual/intro.texi: Likewise.
48743         * manual/io.texi: Likewise.
48744         (File Name Portability): Detail which constraints are inapplicable
48745         to all GNU systems and which are only inapplicable to GNU/Hurd.
48746         * manual/job.texi: Likewise.
48747         * manual/llio.texi: Likewise.
48748         (O_NOCTTY): Document as present on GNU/Linux.
48749         * manual/maint.texi: Likewise.
48750         * manual/memory.texi: Likewise.
48751         * manual/pattern.texi: Likewise.
48752         * manual/pipe.texi: Likewise.
48753         * manual/process.texi: Likewise.
48754         * manual/resource.texi: Likewise.
48755         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48756         child on GNU/Hurd.
48757         * manual/setjmp.texi: Likewise.
48758         * manual/signal.texi: Likewise.
48759         * manual/startup.texi: Likewise.
48760         * manual/stdio.texi: Likewise.
48761         * manual/terminal.texi: Likewise.
48762         (ONLCR): Document as POSIX.
48763         (OXTABS): Document availability on GNU/Linux as XTABS.
48764         (ONOEOT): Document availability separately from other bits.
48765         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48766         * manual/time.texi: Likewise.
48767         * manual/users.texi: Likewise.
48768         * INSTALL: Regenerated.
48769         * sysdeps/gnu/errlist.c: Regenerated.
48771         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48772         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48773         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48774         puts.
48775         * configure: Regenerated.
48777 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48779         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48780         default includes instead of AC_HEADER_CHECK.
48781         * sysdeps/i386/configure: Regenerated.
48783         [BZ #10716]
48784         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48785         * math/s_cacoshf.c (__cacoshf): Likewise.
48786         * math/s_cacoshl.c (__cacoshl): Likewise.
48787         * math/s_casinh.c (__casinh): Set signs of result from argument.
48788         * math/s_casinhf.c (__casinhf): Likewise.
48789         * math/s_casinhl.c (__casinhl): Likewise.
48790         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48791         (casinh_test): Add more tests.
48792         * sysdeps/i386/fpu/libm-test-ulps: Update.
48793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48795 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48797         * po/zh_TW.po: Update from translation team.
48799         * login/Makefile (distribute): Remove variable.
48800         * catgets/Makefile: Likewise.
48801         * mach/Makefile: Likewise.
48802         * malloc/Makefile: Likewise.
48803         * misc/Makefile: Likewise.
48804         * iconv/Makefile: Likewise.
48805         * nscd/Makefile: Likewise.
48806         * hurd/Makefile: Likewise.
48807         * manual/Makefile: Likewise.
48808         * locale/Makefile: Likewise.
48809         * intl/Makefile: Likewise.
48810         * conform/Makefile: Likewise.
48811         * nss/Makefile: Likewise.
48812         * time/Makefile: Likewise.
48813         * soft-fp/Makefile: Likewise.
48814         * dirent/Makefile: Likewise.
48815         * gmon/Makefile: Likewise.
48816         * po/Makefile: Likewise.
48817         * rt/Makefile: Likewise.
48818         * socket/Makefile: Likewise.
48819         * math/Makefile: Likewise.
48820         * signal/Makefile: Likewise.
48821         * debug/Makefile: Likewise.
48822         * elf/Makefile: Likewise.
48823         * timezone/Makefile: Likewise.
48824         * stdlib/Makefile: Likewise.
48825         * iconvdata/Makefile: Likewise.
48826         * sunrpc/Makefile: Likewise.
48827         * io/Makefile: Likewise.
48828         * argp/Makefile: Likewise.
48829         * inet/Makefile: Likewise.
48830         * hesiod/Makefile: Likewise.
48831         * grp/Makefile: Likewise.
48832         * csu/Makefile: Likewise.
48833         * wctype/Makefile: Likewise.
48834         * crypt/Makefile: Likewise.
48835         * libio/Makefile: Likewise.
48836         * string/Makefile: Likewise.
48837         * nis/Makefile: Likewise.
48838         * resolv/Makefile: Likewise.
48839         * stdio-common/Makefile: Likewise.
48840         * wcsmbs/Makefile: Likewise.
48841         * dlfcn/Makefile: Likewise.
48842         * posix/Makefile: Likewise.
48844         [BZ #6959]
48845         * timezone/Makefile: Don't install timezone files, just the programs
48846         and scripts.
48848 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48850         * nss/databases.def: Add missing gshadow entry.
48852         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48854 2012-03-06  Marek Polacek  <polacek@redhat.com>
48856         [BZ #13726]
48857         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48858         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48859         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48860         * stdio-common/tst-long-dbl-fphex.c: New file.
48862 2012-03-06  David S. Miller  <davem@davemloft.net>
48864         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48865         (set_obp_int): New function.
48866         (get_obp_int): New function.
48867         (__get_clockfreq_via_dev_openprom): Likewise.
48868         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48869         Avoid unused variable warnings on 'val' and use builtin_expect.
48870         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48871         __builtin_expect.
48872         (INLINE_CLONE_SYSCALL): Likewise.
48874 2012-03-05  David S. Miller  <davem@davemloft.net>
48876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48878 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48882         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48883         only for |x| >= 40.
48884         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48886 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48888         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48889         Replace gettimeofday with __vdso_gettimeofday.
48891         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48892         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48893         __vdso_clock_gettime and __vdso_getcpu.
48895         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48896         time with __vdso_time.
48898 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48900         * manual/lang.texi (size_t): Note types to which size_t may be
48901         equivalent with the GNU C Library, but do not describe when
48902         differences between them are significant.
48904 2012-03-05  Andreas Jaeger  <aj@suse.de>
48906         * sysdeps/i386/fpu/libm-test-ulps: Update.
48908 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48910         [BZ #3976]
48911         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48912         (__ieee754_pow): Save and restore rounding mode and use
48913         round-to-nearest for main computations.
48914         * math/libm-test.inc (pow_test_tonearest): New function.
48915         (pow_test_towardzero): Likewise.
48916         (pow_test_downward): Likewise.
48917         (pow_test_upward): Likewise.
48918         (main): Call the new functions.
48919         * sysdeps/i386/fpu/libm-test-ulps: Update.
48920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48922         [BZ #3976]
48923         * math/libm-test.inc (cosh_test_tonearest): New function.
48924         (cosh_test_towardzero): Likewise.
48925         (cosh_test_downward): Likewise.
48926         (cosh_test_upward): Likewise.
48927         (sinh_test_tonearest): Likewise.
48928         (sinh_test_towardzero): Likewise.
48929         (sinh_test_downward): Likewise.
48930         (sinh_test_upward): Likewise.
48931         (main): Call the new functions.
48932         * sysdeps/i386/fpu/libm-test-ulps: Update.
48933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48935 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48937         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48938         default stack guard is set in last bytes.
48939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48941 2012-03-05  Kees Cook  <keescook@chromium.org>
48943         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48945         [BZ #13656]
48946         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48947         possibly allocate from heap instead of stack.
48948         * stdio-common/bug-vfprintf-nargs.c: New file.
48949         * stdio-common/Makefile (tests): Add nargs overflow test.
48951 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48955 2012-03-03  Marek Polacek  <polacek@redhat.com>
48957         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48958         * math/math_private.h: Likewise.
48959         * stdlib/tst-strtod.c: Likewise.
48960         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48961         * sysdeps/x86_64/bits/atomic.h: Likewise.
48963 2012-03-02  David S. Miller  <davem@davemloft.net>
48965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48969         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48970         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48971         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48972         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48974 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48976         [BZ #13792]
48977         * manual/examples/README: New file, says the example source files
48978         can be used under GPL>=2.
48979         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48980         line containing just "*/".
48981         * manual/examples/add.c: Add copyright header (GPL>=2).
48982         * manual/examples/argp-ex1.c: Likewise.
48983         * manual/examples/argp-ex2.c: Likewise.
48984         * manual/examples/argp-ex3.c: Likewise.
48985         * manual/examples/argp-ex4.c: Likewise.
48986         * manual/examples/atexit.c: Likewise.
48987         * manual/examples/db.c: Likewise.
48988         * manual/examples/dir.c: Likewise.
48989         * manual/examples/dir2.c: Likewise.
48990         * manual/examples/execinfo.c: Likewise.
48991         * manual/examples/filecli.c: Likewise.
48992         * manual/examples/filesrv.c: Likewise.
48993         * manual/examples/fmtmsgexpl.c: Likewise.
48994         * manual/examples/genpass.c: Likewise.
48995         * manual/examples/inetcli.c: Likewise.
48996         * manual/examples/inetsrv.c: Likewise.
48997         * manual/examples/isockad.c: Likewise.
48998         * manual/examples/longopt.c: Likewise.
48999         * manual/examples/memopen.c: Likewise.
49000         * manual/examples/memstrm.c: Likewise.
49001         * manual/examples/mkfsock.c: Likewise.
49002         * manual/examples/mkisock.c: Likewise.
49003         * manual/examples/mygetpass.c: Likewise.
49004         * manual/examples/pipe.c: Likewise.
49005         * manual/examples/popen.c: Likewise.
49006         * manual/examples/rprintf.c: Likewise.
49007         * manual/examples/search.c: Likewise.
49008         * manual/examples/select.c: Likewise.
49009         * manual/examples/setjmp.c: Likewise.
49010         * manual/examples/sigh1.c: Likewise.
49011         * manual/examples/sigusr.c: Likewise.
49012         * manual/examples/stpcpy.c: Likewise.
49013         * manual/examples/strdupa.c: Likewise.
49014         * manual/examples/strftim.c: Likewise.
49015         * manual/examples/strncat.c: Likewise.
49016         * manual/examples/subopt.c: Likewise.
49017         * manual/examples/swapcontext.c: Likewise.
49018         * manual/examples/termios.c: Likewise.
49019         * manual/examples/testopt.c: Likewise.
49020         * manual/examples/testpass.c: Likewise.
49021         * manual/examples/timeval_subtract.c: Likewise.
49023         [BZ #13792]
49024         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49025         function to ...
49026         * manual/timeval_subtract.c.texi: ... here, new file.
49028 2012-03-02  David S. Miller  <davem@davemloft.net>
49030         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49032 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49034         [BZ #3976]
49035         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49036         (__sin): Save and restore rounding mode and use round-to-nearest
49037         for all computations.
49038         (__cos): Save and restore rounding mode and use round-to-nearest
49039         for all computations.
49040         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49041         <fenv.h>.
49042         (tan): Save and restore rounding mode and use round-to-nearest for
49043         all computations.
49044         * math/libm-test.inc (cos_test_tonearest): New function.
49045         (cos_test_towardzero): Likewise.
49046         (cos_test_downward): Likewise.
49047         (cos_test_upward): Likewise.
49048         (sin_test_tonearest): Likewise.
49049         (sin_test_towardzero): Likewise.
49050         (sin_test_downward): Likewise.
49051         (sin_test_upward): Likewise.
49052         (tan_test_tonearest): Likewise.
49053         (tan_test_towardzero): Likewise.
49054         (tan_test_downward): Likewise.
49055         (tan_test_upward): Likewise.
49056         (main): Call the new functions.
49057         * sysdeps/i386/fpu/libm-test-ulps: Update.
49058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49060         [BZ #10135]
49061         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49062         small n, then large n, before computing and testing k+n.
49063         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49064         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49065         Likewise.
49066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49067         Likewise.
49068         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49069         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49070         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49071         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49072         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49073         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49074         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49075         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49076         * math/libm-test.inc (scalbn_test): Add more tests.
49077         (scalbln_test): Likewise.
49079         * manual/filesys.texi (mode_t): Describe constraints on size and
49080         signedness, not exact equivalence to a particular type.
49081         (ino_t): Likewise.
49082         (ino64_t): Likewise.
49083         (dev_t): Likewise.
49084         (nlink_t): Likewise.
49085         (blkcnt_t): Likewise.
49086         (blkcnt64_t): Likewise.
49087         * manual/llio.texi (off_t): Likewise.
49089         [BZ #3976]
49090         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49091         (__ieee754_exp): Save and restore rounding mode and use
49092         round-to-nearest for all computations.
49093         * math/libm-test.inc (exp_test_tonearest): New function.
49094         (exp_test_towardzero): Likewise.
49095         (exp_test_downward): Likewise.
49096         (exp_test_upward): Likewise.
49097         (main): Call the new functions.
49098         * sysdeps/i386/fpu/libm-test-ulps: Update.
49099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49101 2012-03-01  Chris Demetriou  <cgd@google.com>
49103         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49104         have predictable order.
49106 2012-03-01  David S. Miller  <davem@davemloft.net>
49108         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49110         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49111         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49112         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49113         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49115         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49116         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49117         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49119         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49120         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49121         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49122         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49123         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49127         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49128         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49129         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49131         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49132         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49133         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49134         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49135         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49136         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49137         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49138         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49139         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49140         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49141         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49142         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49144         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49145         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49147         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49148         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49149         * sysdeps/sparc/elf/configure: Regenerated.
49151 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49153         * configure.in (AS, LD): Require binutils 2.20 or later.
49154         * configure: Regenerated.
49155         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49156         as required minimum version.
49157         * INSTALL: Regenerated.
49159         [BZ #2541]
49160         [BZ #4108]
49161         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49162         before squaring exponent.
49163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49164         bottom long double and 27 bits of top long double before squaring
49165         exponent.
49166         * math/libm-test.inc (erfc_test): Add more tests.
49167         * sysdeps/i386/fpu/libm-test-ulps: Update.
49168         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49171 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49173         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49174         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49175         containing bit-fields.
49176         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49177         * soft-fp/single.h (_FP_UNION_S): Likewise.
49178         * soft-fp/double.h (_FP_UNION_D): Likewise.
49180 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49182         [BZ #13786]
49183         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49184         not include ../strcmp.S.
49185         [USE_AS_STRNCASECMP_L]: Likewise.
49186         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49187         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49188         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49189         (__strncasecmp_l_ia32): Define as alias to
49190         __strncasecmp_l_nonascii.
49192         [BZ #5794]
49193         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49194         * sysdeps/i386/fpu/libm-test-ulps: Update.
49195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49197         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49200 2012-02-29  Jeff Law  <law@redhat.com>
49202         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49203         out of bounds read.
49205 2012-02-29  Marek Polacek  <polacek@redhat.com>
49207         [BZ #13706]
49208         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49209         * elf/Makefile: Add rules to run tst-unused-dep.out.
49211 2012-02-28  David S. Miller  <davem@davemloft.net>
49213         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49214         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49215         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49216         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49217         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49218         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49220 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49222         * math/libm-test.inc (llround_test): Move one test from
49223         lround_test.  Use TEST_f_L in moved test.
49224         (lround_test): Move misplaced test to llround_test.  Add testcase
49225         from bug 2561.
49227 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49229         * sysdeps/x86_64/fpu/e_expf.S: New file.
49230         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49232 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49234         [BZ #13637]
49235         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49236         of remain_len that may cause incomplete multi-byte character and
49237         false match.
49238         * posix/bug-regex33.c: New file.
49239         * posix/Makefile (tests): Add bug-regex33.
49241 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49243         * manual/macros.texi: New file.
49244         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49245         * manual/libc.texinfo: Include macros.texi.
49246         * manual/creatute.texi: Likewise.
49247         * manual/install.texi: Likewise.
49248         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49249         @glibcadj{} in references to the GNU C Library.
49250         * manual/charset.texi: Likewise.
49251         * manual/conf.texi: Likewise.
49252         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49253         when not using those macros.
49254         * manual/creature.texi: Likewise.
49255         * manual/crypt.texi: Likewise.
49256         * manual/errno.texi: Likewise.
49257         * manual/filesys.texi: Likewise.
49258         * manual/header.texi: Likewise.
49259         * manual/install.texi: Likewise.
49260         * manual/intro.texi: Likewise.
49261         * manual/io.texi: Likewise.
49262         * manual/job.texi: Likewise.
49263         * manual/lang.texi: Likewise.
49264         * manual/libc.texiinfo: Likewise.
49265         * manual/llio.texi: Likewise.
49266         * manual/locale.texi: Likewise.
49267         * manual/maint.texi: Likewise.
49268         * manual/math.texi: Likewise.
49269         * manual/memory.texi: Likewise.
49270         * manual/message.texi: Likewise.
49271         * manual/nss.texi: Likewise.
49272         * manual/pattern.texi: Likewise.
49273         * manual/process.texi: Likewise.
49274         * manual/resource.texi: Likewise.
49275         * manual/search.texi: Likewise.
49276         * manual/setjmp.texi: Likewise.
49277         * manual/signal.texi: Likewise.
49278         * manual/socket.texi: Likewise.
49279         * manual/startup.texi: Likewise.
49280         * manual/stdio.texi: Likewise.
49281         * manual/string.texi: Likewise.
49282         * manual/sysinfo.texi: Likewise.
49283         * manual/syslog.texi: Likewise.
49284         * manual/terminal.texi: Likewise.
49285         * manual/time.texi: Likewise.
49286         * manual/users.texi: Likewise.
49287         * INSTALL: Regenerated.
49288         * NOTES: Regenerated.
49289         * sysdeps/gnu/errlist.c: Regenerated.
49291 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49293         * include/dirent.h: Include <dirstream.h> before
49294         <dirent/dirent.h>.
49296 2012-02-28  David S. Miller  <davem@davemloft.net>
49298         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49299         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49300         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49301         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49303 2012-02-27  David S. Miller  <davem@davemloft.net>
49305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49307         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49308         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49311         frame pointer instead of stack pointer relative arg slot.
49312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49313         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49314         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49316 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49318         [BZ #3992]
49319         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49321 2012-02-27  David S. Miller  <davem@davemloft.net>
49323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49327         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49328         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49329         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49330         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49332 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49334         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49335         later.  Allow versions 5-9.
49336         * configure: Regenerated.
49337         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49338         required minimum version and 4.6 as recommended version.  Do not
49339         mention bugs in GCC 2.7 and 2.8.
49340         * INSTALL: Regenerated.
49342 2012-02-27  David S. Miller  <davem@davemloft.net>
49344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49348         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49349         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49350         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49351         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49353         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49354         manipulate bits before adding and subtracting TWO112[sx].
49355         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49357 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49359         [BZ #13775]
49360         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49361         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49362         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49363         being in POSIX, because they are in 1003.1-2008.
49365         * rt/tst-aio.c: Include <fcntl.h>.
49366         * rt/tst-aio7.c: Likewise.
49367         * rt/tst-aio64.c: Likewise.
49369         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49371 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49373         * manual/install.texi (--with-headers): Describe headers as
49374         interface headers, not private headers.
49375         (Specific advice for GNU/Linux systems): Describe use of headers
49376         from "make headers_install", not private headers from older
49377         kernels.
49378         * INSTALL: Regenerated.
49379         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49380         Change to 2.6.19.
49381         * sysdeps/unix/sysv/linux/configure: Regenerated.
49383         * manual/llio.texi (fclean): Remove documentation.
49385         * manual/Makefile (libc-texi-generated): New variable.  Include
49386         version.texi.
49387         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49388         $(libc-texi-generated), not duplicated list of files.
49389         (version.texi, stamp-version): New rules.
49390         (realclean): Remove $(libc-texi-generated), not individual files
49391         from that list.  Do not remove dir-add.texinfo.
49392         * manual/libc.texinfo: Comment out uses of edition numbers and
49393         references to printed manual.  Remove last-updated dates.
49394         (EDITION): Comment out.
49395         (ISBN): Likewise.
49396         (VERSION, UPDATED): Remove.
49397         (version.texi): Include.
49399 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49401         * sysdeps/posix/spawni.c: Include <signal.h>.
49402         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49403         * sysdeps/pthread/aio_fsync.c: Likewise.
49405 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49407         * conform/Makefile (tests): Run only when not cross-compiling and
49408         when fast-check is not defined.
49410         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49411         * conform/data/limits.h-data: Fixes for POSIX2008.
49412         * conform/run-conformtest.sh: Run all tests.
49413         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49414         headers.
49415         * include/bits/dlfcn.h: Likewise.
49416         * include/langinfo.h: Likewise.
49417         * include/monetary.h: Likewise.
49418         * include/sys/poll.h: Likewise.
49420         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49421         for __USE_GNU.
49422         * posix/spawn.h: Define __need_sigset_t.
49423         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49424         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49425         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49426         to get sigevent_t only.
49427         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49428         only for __USE_GNU.
49429         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49430         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49431         process_vm_writev only for __USE_GNU.
49432         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49434         * conform/Makefile: For now ignore errors from run-conformtest.
49435         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49436         POSIX to avoid namespace pollution.  Don't prepend headers.
49437         * conform/data/aio.h-data: Fixes for POSIX testing.
49438         * conform/data/fcntl.h-data: Likewise.
49439         * conform/data/glob.h-data: Likewise.
49440         * conform/data/grp.h-data: Likewise.
49441         * conform/data/pthread.h-data: Likewise.
49442         * conform/data/pwd.h-data: Likewise.
49443         * conform/data/signal.h-data: Likewise.
49444         * conform/data/spawn.h-data: Likewise.
49445         * conform/data/stdio.h-data: Likewise.
49446         * conform/data/stdlib.h-data: Likewise.
49447         * conform/data/stropts.h-data: Likewise.
49448         * conform/data/sys/mman.h-data: Likewise.
49449         * conform/data/sys/stat.h-data: Likewise.
49450         * conform/data/sys/types.h-data: Likewise.
49451         * conform/data/sys/wait.h-data: Likewise.
49452         * conform/data/time.h-data: Likewise.
49453         * conform/data/unistd.h-data: Likewise.
49454         * conform/data/utime.h-data: Likewise.
49456         * io/sys/stat.h: fchmod was always in POSIX.
49457         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49458         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49459         * rt/aio.h: Define __need_timespec before including <time.h>.
49460         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49461         struct.  Add forward declaration of pthread_attr_t and use it in
49462         sigevent.
49463         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49464         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49465         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49466         always remove CLK_TCK definition.
49468 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49470         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49472 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49474         * conform/run-conformtest.sh: New file.
49475         * conform/Makefile: Run run-conformtest for tests.
49476         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49477         support.
49479         * conform/data/uchar.h-data: New file.
49480         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49481         * conform/data/arpa/inet.h-data: Likewise.
49482         * conform/data/assert.h-data: Likewise.
49483         * conform/data/complex.h-data: Likewise.
49484         * conform/data/cpio.h-data: Likewise.
49485         * conform/data/ctype.h-data: Likewise.
49486         * conform/data/dirent.h-data: Likewise.
49487         * conform/data/dlfcn.h-data: Likewise.
49488         * conform/data/errno.h-data: Likewise.
49489         * conform/data/fcntl.h-data: Likewise.
49490         * conform/data/float.h-data: Likewise.
49491         * conform/data/fmtmsg.h-data: Likewise.
49492         * conform/data/fnmatch.h-data: Likewise.
49493         * conform/data/ftw.h-data: Likewise.
49494         * conform/data/glob.h-data: Likewise.
49495         * conform/data/grp.h-data: Likewise.
49496         * conform/data/iconv.h-data: Likewise.
49497         * conform/data/inttypes.h-data: Likewise.
49498         * conform/data/langinfo.h-data: Likewise.
49499         * conform/data/libgen.h-data: Likewise.
49500         * conform/data/limits.h-data: Likewise.
49501         * conform/data/locale.h-data: Likewise.
49502         * conform/data/math.h-data: Likewise.
49503         * conform/data/monetary.h-data: Likewise.
49504         * conform/data/mqueue.h-data: Likewise.
49505         * conform/data/ndbm.h-data: Likewise.
49506         * conform/data/net/if.h-data: Likewise.
49507         * conform/data/netdb.h-data: Likewise.
49508         * conform/data/netinet/in.h-data: Likewise.
49509         * conform/data/nl_types.h-data: Likewise.
49510         * conform/data/poll.h-data: Likewise.
49511         * conform/data/pthread.h-data: Likewise.
49512         * conform/data/pwd.h-data: Likewise.
49513         * conform/data/regex.h-data: Likewise.
49514         * conform/data/sched.h-data: Likewise.
49515         * conform/data/search.h-data: Likewise.
49516         * conform/data/semaphore.h-data: Likewise.
49517         * conform/data/setjmp.h-data: Likewise.
49518         * conform/data/signal.h-data: Likewise.
49519         * conform/data/spawn.h-data: Likewise.
49520         * conform/data/stdarg.h-data: Likewise.
49521         * conform/data/stdio.h-data: Likewise.
49522         * conform/data/stdlib.h-data: Likewise.
49523         * conform/data/string.h-data: Likewise.
49524         * conform/data/strings.h-data: Likewise.
49525         * conform/data/stropts.h-data: Likewise.
49526         * conform/data/sys/ipc.h-data: Likewise.
49527         * conform/data/sys/mman.h-data: Likewise.
49528         * conform/data/sys/msg.h-data: Likewise.
49529         * conform/data/sys/resource.h-data: Likewise.
49530         * conform/data/sys/select.h-data: Likewise.
49531         * conform/data/sys/sem.h-data: Likewise.
49532         * conform/data/sys/shm.h-data: Likewise.
49533         * conform/data/sys/socket.h-data: Likewise.
49534         * conform/data/sys/stat.h-data: Likewise.
49535         * conform/data/sys/statvfs.h-data: Likewise.
49536         * conform/data/sys/time.h-data: Likewise.
49537         * conform/data/sys/timeb.h-data: Likewise.
49538         * conform/data/sys/times.h-data: Likewise.
49539         * conform/data/sys/types.h-data: Likewise.
49540         * conform/data/sys/uio.h-data: Likewise.
49541         * conform/data/sys/un.h-data: Likewise.
49542         * conform/data/sys/utsname.h-data: Likewise.
49543         * conform/data/sys/wait.h-data: Likewise.
49544         * conform/data/syslog.h-data: Likewise.
49545         * conform/data/tar.h-data: Likewise.
49546         * conform/data/termios.h-data: Likewise.
49547         * conform/data/utime.h-data: Likewise.
49548         * conform/data/utmpx.h-data: Likewise.
49549         * conform/data/varargs.h-data: Likewise.
49550         * conform/data/wchar.h-data: Likewise.
49551         * conform/data/wctype.h-data: Likewise.
49552         * conform/data/wordexp.h-data: Likewise.
49554         * include/stropts.h: New file.
49555         * include/uchar.h: New file.
49556         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49557         * include/assert.h: Likewise.
49558         * include/ctype.h: Likewise.
49559         * include/dirent.h: Likewise.
49560         * include/dlfcn.h: Likewise.
49561         * include/fcntl.h: Likewise.
49562         * include/fnmatch.h: Likewise.
49563         * include/glob.h: Likewise.
49564         * include/grp.h: Likewise.
49565         * include/libio.h: Likewise.
49566         * include/locale.h: Likewise.
49567         * include/math.h: Likewise.
49568         * include/net/if.h: Likewise.
49569         * include/netdb.h: Likewise.
49570         * include/netinet/in.h: Likewise.
49571         * include/pthread.h: Likewise.
49572         * include/pwd.h: Likewise.
49573         * include/regex.h: Likewise.
49574         * include/sched.h: Likewise.
49575         * include/search.h: Likewise.
49576         * include/setjmp.h: Likewise.
49577         * include/signal.h: Likewise.
49578         * include/stdio.h: Likewise.
49579         * include/stdlib.h: Likewise.
49580         * include/string.h: Likewise.
49581         * include/sys/cdefs.h: Likewise.
49582         * include/sys/mman.h: Likewise.
49583         * include/sys/msg.h: Likewise.
49584         * include/sys/resource.h: Likewise.
49585         * include/sys/select.h: Likewise.
49586         * include/sys/socket.h: Likewise.
49587         * include/sys/stat.h: Likewise.
49588         * include/sys/statvfs.h: Likewise.
49589         * include/sys/time.h: Likewise.
49590         * include/sys/times.h: Likewise.
49591         * include/sys/uio.h: Likewise.
49592         * include/sys/utsname.h: Likewise.
49593         * include/sys/wait.h: Likewise.
49594         * include/termios.h: Likewise.
49595         * include/time.h: Likewise.
49596         * include/ulimit.h: Likewise.
49597         * include/unistd.h: Likewise.
49598         * include/utime.h: Likewise.
49599         * include/wchar.h: Likewise.
49600         * include/wctype.h: Likewise.
49601         * include/wordexp.h: Likewise.
49603         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49605         * time/time.h: TIME_UTC must be a macro.
49606         Make timespec_get available for ISO C11 only as well.
49608 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49610         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49611         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49613 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49615         * configure.in: Use -o not -a in test for unsupported multi-arch.
49617 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49619         * manual/texinfo.tex: Update to version 2012-01-19.16.
49621 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49623         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49625 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49627         [BZ #13738]
49628         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49629         * manual/fdl-1.3.texi: New file.
49630         * manual/fdl-1.1.texi: File removed.
49632         [BZ #13738]
49633         * manual/libc.texinfo (FDL_VERSION): New @set.
49634         Use it for mention of FDL in cover text.
49635         (Documentation License): Use it in @include file name.
49637 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49638             Roland McGrath  <roland@hack.frob.com>
49640         [BZ #5461]
49641         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49642         (not LONG_LONG_MAX and LONG_LONG_MIN.
49643         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49644         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49645         name.
49646         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49648 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49650         [BZ #2547]
49651         [BZ #11365]
49652         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49653         manipulate bits before adding and subtracting TWO23[sx].
49654         * math/libm-test.inc (nearbyint_test): Add more tests.
49656 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49658         [BZ #2548]
49659         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49660         bits before adding and subtracting TWO23[sx].
49661         * math/libm-test.inc (rint_test): Add more tests.
49662         (rint_test_tonearest): Likewise.
49663         (rint_test_towardzero): Likewise.
49664         (rint_test_downward): Likewise.
49665         (rint_test_upward: Likewise.
49667 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49669         [BZ #10110]
49670         * include/stdc-predef.h: New file.  Extracted from features.h.
49671         * include/features.h: Include stdc-predef.h.
49672         * Makefile (headers): Add stdc-predef.h.
49673         * CONFORMANCE (Compiler limitations): Update.
49675 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49677         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49679 2012-02-21  David S. Miller  <davem@davemloft.net>
49681         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49682         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49684 2012-02-20  David S. Miller  <davem@davemloft.net>
49686         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49687         using a normal save/restore sequence, rather than allocating a
49688         dummy stack frame just to store a frame pointer and restore.
49689         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49691 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49693         * manual/install.texi: Fix stray word in line-wrapped comment.
49695 2012-02-20  David S. Miller  <davem@davemloft.net>
49697         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49698         both binutils and gcc support GOTDATA.
49700         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49701         "rd %pc" in the PIC register setup sequences.
49703         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49704         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49705         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49706         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49707         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49708         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49709         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49710         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49711         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49712         (SYSCALL_ERROR_HANDLER): Likewise.
49713         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49714         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49715         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49716         (SYSCALL_ERROR_HANDLER): Likewise.
49718         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49719         (HAVE_GCC_GOTDATA): New.
49720         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49721         relocation support in both binutils and gcc.
49722         * sysdeps/sparc/elf/configure: Regenerate.
49724         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49725         * sysdeps/sparc/sparc32/elf/configure: Delete.
49726         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49727         * sysdeps/sparc/sparc64/elf/configure: Delete.
49728         * sysdeps/sparc/elf/configure.in: New file.
49729         * sysdeps/sparc/elf/configure: Generate.
49731         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49732         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49733         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49734         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49735         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49737 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49739         * manual/install.texi: Do not mention specific glibc version
49740         numbers.
49741         * manual/libc.texinfo (VERSION, UPDATED): Update.
49742         (@copying): Use @copyright{} and range of years.
49744 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49746         [BZ #13695]
49747         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49748         [crti.S not in sysdirs] (generated): Do not append.
49749         [crti.S not in sysdirs] (omit-deps): Likewise.
49750         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49751         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49752         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49753         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49754         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49755         Likewise.
49756         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49757         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49758         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49759         * csu/defs.awk: Remove file.
49760         * sysdeps/generic/initfini.c: Likewise.
49761         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49762         variable.
49763         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49764         Likewise.
49766 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49768         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49769         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49770         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49771         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49772         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49773         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49774         <bits/epoll.h>.
49775         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49776         (__EPOLL_PACKED): Define to empty if not defined by
49777         <bits/epoll.h>.
49778         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49780         bits/epoll.h.
49782 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49784         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49785         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49786         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49787         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49788         <bits/timerfd.h>.
49789         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49791         bits/timerfd.h.
49793 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49795         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49796         in C locale.
49797         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49798         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49799         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49802 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49804         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49805         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49807 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49809         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49810         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49811         defined.
49812         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49813         Likewise.
49814         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49815         entry for 2.16.
49817 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49819         * math/w_acos.c: Use non-signaling floating-point comparisons.
49820         * math/w_acosf.c: Likewise.
49821         * math/w_acosh.c: Likewise.
49822         * math/w_acoshf.c: Likewise.
49823         * math/w_acoshl.c: Likewise.
49824         * math/w_acosl.c: Likewise.
49825         * math/w_asin.c: Likewise.
49826         * math/w_asinf.c: Likewise.
49827         * math/w_asinl.c: Likewise.
49828         * math/w_atanh.c: Likewise.
49829         * math/w_atanhf.c: Likewise.
49830         * math/w_atanhl.c: Likewise.
49831         * math/w_exp2.c: Likewise.
49832         * math/w_exp2f.c: Likewise.
49833         * math/w_exp2l.c: Likewise.
49834         * math/w_j0.c: Likewise.
49835         * math/w_j0f.c: Likewise.
49836         * math/w_j0l.c: Likewise.
49837         * math/w_j1.c: Likewise.
49838         * math/w_j1f.c: Likewise.
49839         * math/w_j1l.c: Likewise.
49840         * math/w_jn.c: Likewise.
49841         * math/w_jnf.c: Likewise.
49842         * math/w_log.c: Likewise.
49843         * math/w_log10.c: Likewise.
49844         * math/w_log10f.c: Likewise.
49845         * math/w_log10l.c: Likewise.
49846         * math/w_log2.c: Likewise.
49847         * math/w_log2f.c: Likewise.
49848         * math/w_log2l.c: Likewise.
49849         * math/w_logf.c: Likewise.
49850         * math/w_logl.c: Likewise.
49851         * math/w_sqrt.c: Likewise.
49852         * math/w_sqrtf.c: Likewise.
49853         * math/w_sqrtl.c: Likewise.
49854         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49855         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49856         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49857         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49858         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49860 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49862         [BZ #9739]
49863         * manual/string.texi (strnlen): Use correct parameter name in
49864         equivalent expression.
49866 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49868         [BZ #11174]
49869         * manual/users.texi (seteuid): Consistently use neweuid for
49870         argument name.
49872 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49874         [BZ #13704]
49875         * manual/nss.texi (Services in the NSS configuration): Correct
49876         list of services in example configuration file.
49878 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49880         [BZ #11322]
49881         * manual/arith.texi: Remove statements about negative zero
49882         behaving identically to zero.
49884 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49886         [BZ #5993]
49887         * manual/install.texi: Do not document upgrading from libc5.
49889 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49891         [BZ #4596]
49892         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49894 2012-02-18  David S. Miller  <davem@davemloft.net>
49896         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49897         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49898         %o7 across the call.
49899         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49900         instead.
49901         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49902         SETUP_PIC_REG_LEAF.
49903         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49904         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49905         * sysdeps/sparc/crtn.S: Likewise.
49907 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49909         * aout/Makefile: Remove.
49911 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49913         [BZ #13058]
49914         * manual/examples/argp-ex1.c (main): Format definition in GNU
49915         style.
49916         * manual/examples/argp-ex2.c (main): Likewise.
49917         * manual/examples/argp-ex3.c (main): Likewise.
49918         * manual/examples/argp-ex4.c (main): Likewise.
49919         * manual/examples/longopt.c (main): Use new-style prototype
49920         definition.
49921         * manual/examples/strncat.c (main): Specify return type and use
49922         (void) for arguments.
49923         * manual/examples/subopt.c (main): Use char **argv argument.
49925 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49927         [BZ #5077]
49928         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49929         rounding modes.
49931 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49933         [BZ #6907]
49934         * manual/string.texi (strchr): Change when strchrnul is
49935         recommended.
49937 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49939         [BZ #174]
49940         * manual/locale.texi (setlocale): Document LOCPATH.
49942 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49944         [BZ #10210]
49945         * manual/process.texi (execle): Move @dots{} before last argument.
49947 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49949         [BZ #12047]
49950         * manual/charset.texi (Generic Charset Conversion): Fix typo
49951         (LC_TYPE -> LC_CTYPE).
49953 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49955         [BZ #5805]
49956         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49957         (scalbnf): Likewise.
49958         (scalbnl): Likewise.
49959         (scalbln): Likewise.
49960         (scalblnf): Likewise.
49961         (scalblnl): Likewise.
49962         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49963         (vwarnx): Likewise.
49964         (verr): Likewise.
49965         (verrx): Likewise.
49966         * manual/filesys.texi (telldir): Use braces around return type.
49967         * manual/llio.texi (mmap): Add space after comma.
49968         (mmap64): Likewise.
49969         * manual/math.texi (jn): Use @var{} on parameter names.
49970         (jnf): Likewise.
49971         (jnl): Likewise.
49972         (yn): Likewise.
49973         (ynf): Likewise.
49974         (ynl): Likewise.
49975         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49976         line.
49977         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49978         "...".
49979         (sched_get_priority_min): Remove semicolon on @deftypefun line.
49980         (sched_get_priority_max): Likewise.
49981         * manual/signal.texi (sigvec): Add space after comma.
49982         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49983         names.
49984         (if_indextoname): Likewise.
49985         (if_freenameindex): Likewise.
49986         (sendto): Use ',' instead of '.' in prototype.
49987         * manual/startup.texi (syscall): Use @dots{} instead of literal
49988         "...".
49989         * manual/stdio.texi (__fpending): Separate initial words of
49990         paragraph from @deftypefun line.
49991         * manual/syslog.texi (syslog): Use @dots{} instead of literal
49992         "...".
49993         (vsyslog): Use @var{} on parameter names.
49994         * manual/terminal.texi (stty): Use @var{} on parameter names.
49995         * manual/users.texi (getutmp): Use @var{} on parameter names.
49996         (getutmpx): Likewise.
49998 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50000         [BZ #6884]
50001         * manual/stdio.texi (fopen): Fix typos in description of
50002         ",ccs=STRING".
50004 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50006         [BZ #4026]
50007         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50008         get clock_id definition.
50010 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50012         [BZ #4822]
50013         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50014         (madvise): Cast every argument to void on its own.
50016 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50018         [BZ #9902]
50019         * manual/startup.texi (Exit Status): Fix typo.
50021 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50023         [BZ #10140]
50024         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50025         * manual/examples/argp-ex2.c: Likewise.
50026         * manual/examples/argp-ex3.c: Likewise.
50028 2012-02-16  Richard Henderson  <rth@redhat.com>
50030         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50031         * sysdeps/s390/s390-32/initfini.c: Remove.
50032         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50033         * sysdeps/s390/s390-64/initfini.c: Remove.
50035 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50037         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50038         compiler output for sysdeps/generic/initfini.c.
50039         * sysdeps/sh/elf/initfini.c: Remove file.
50041 2012-02-16  David S. Miller  <davem@davemloft.net>
50043         [BZ #11494]
50044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50046         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50047         * sysdeps/sparc/crti.S: New file.
50048         * sysdeps/sparc/crtn.S: New file.
50049         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50050         * sysdeps/sparc/sparc64/Makefile: Likewise.
50052 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50054         [BZ #3335]
50055         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50057 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50059         [BZ #4822]
50060         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50062         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50063         (write, read, close): Likewise.
50064         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50066 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50068         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50069         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50070         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50071         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50072         <bits/signalfd.h>.
50073         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50075         bits/signalfd.h.
50077 2012-02-14  Marek Polacek  <polacek@redhat.com>
50079         * sysdeps/x86_64/crti.S: New file.
50080         * sysdeps/x86_64/crtn.S: New file.
50081         * sysdeps/x86_64/elf/initfini.c: Remove file.
50083 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50085         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50086         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50087         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50088         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50089         <bits/inotify.h>.
50090         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50092         bits/inotify.h.
50094 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50096         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50097         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50098         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50099         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50100         <bits/eventfd.h>.
50101         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50103         bits/eventfd.h.
50105 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50107         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50108         __feraiseexcept instead of feraiseexcept.
50110         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50111         nanosleep invocations.
50112         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50113         strings, and add error checking for a nanosleep invocations.
50115 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50117         Replace FSF snail mail address with URLs, as per GNU coding standards.
50118         Most of the snail mail addresses were wrong anyway, and omitting
50119         them makes the source code easier to maintain.  Almost all of the
50120         changes are to license notices and to locale LC_IDENTIFICATION
50121         addresses, except for this one:
50122         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50123         not its snail mail address.
50125 2012-02-09  Richard Henderson  <rth@twiddle.net>
50127         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50128         of kernel-features.h.
50130         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50132 2012-02-08  Marek Polacek  <polacek@redhat.com>
50134         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50135         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50136         * sysdeps/gnu/_G_config.h: Likewise.
50137         * sysdeps/generic/_G_config.h: Likewise.
50139 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50141         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50142         tests.
50143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50145         * sysdeps/powerpc/powerpc32/crti.S: New file.
50146         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50147         * sysdeps/powerpc/powerpc64/crti.S: New file.
50148         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50150         * Makeconfig (have-initfini): Don't set.
50151         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50152         * configure.in (nopic_initfini): Don't substitute.
50153         * config.h.in (HAVE_INITFINI): Don't #undef.
50154         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50155         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50157 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50159         Support crti.S and crtn.S provided directly by architectures.
50160         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50161         [crti.S in sysdirs] (omit-deps): Likewise.
50162         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50163         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50164         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50165         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50166         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50167         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50168         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50169         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50170         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50171         compiler output for sysdeps/generic/initfini.c.
50172         * sysdeps/i386/elf/Makefile: Remove file.
50173         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50175 2012-02-07  Marek Polacek  <polacek@redhat.com>
50177         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50178         * sysdeps/gnu/_G_config.h: Likewise.
50179         * sysdeps/mach/hurd/_G_config.h: Likewise.
50181 2012-02-07  Marek Polacek  <polacek@redhat.com>
50183         * math/Makefile (tests): Add tst-CMPLX2.
50184         * math/tst-CMPLX2.c: New file.
50186 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50188         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50190         * math/libm-test.inc (jn_test): Add missing L suffix.
50192 2012-02-06  Marek Polacek  <polacek@redhat.com>
50194         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50195         * sysdeps/i386/fpu/e_powf.S: Likewise.
50196         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50197         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50198         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50199         * sysdeps/i386/fpu/e_pow.S: Likewise.
50200         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50201         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50202         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50203         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50204         * sysdeps/i386/fpu/e_log2.S: Likewise.
50205         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50206         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50207         * sysdeps/i386/fpu/e_powl.S: Likewise.
50208         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50209         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50210         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50211         * sysdeps/i386/fpu/e_logl.S: Likewise.
50212         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50213         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50214         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50215         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50216         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50217         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50218         * sysdeps/i386/fpu/e_log.S: Likewise.
50219         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50220         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50221         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50222         * sysdeps/i386/fpu/e_logf.S: Likewise.
50223         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50224         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50225         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50226         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50227         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50228         * sysdeps/i386/fpu/e_log10.S: Likewise.
50229         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50230         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50231         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50232         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50233         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50234         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50235         * sysdeps/i386/asm-syntax.h: Likewise.
50236         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50237         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50238         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50239         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50240         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50241         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50242         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50243         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50244         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50245         * sysdeps/powerpc/sysdep.h: Likewise.
50246         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50247         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50249 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50251         [BZ #411]
50252         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50254 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50256         * sysdeps/i386/sysdep.h: Include <features.h>.
50257         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50258         version.
50260 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50262         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50263         Define.
50264         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50265         LOAD_PIC_REG_STR.
50267 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50269         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50270         (SETUP_PIC_REG): Use GET_PC_THUNK.
50271         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50272         macro.
50274 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50276         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50277         for non-PIC compilation.
50278         (SETUP_PIC_REG): Add .p2align directive.
50279         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50280         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50281         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50282         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50283         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50284         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50285         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50286         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50287         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50288         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50289         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50290         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50291         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50292         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50293         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50294         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50295         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50296         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50297         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50298         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50299         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50300         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50301         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50302         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50303         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50305         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50306         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50307         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50308         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50309         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50310         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50311         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50312         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50313         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50314         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50315         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50316         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50317         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50318         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50319         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50321 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50323         * math/tst-CMPLX.c: Include <stdio.h>.
50325 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50327         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50328         float.
50329         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50330         * sysdeps/sparc/bits/mathdef.h: Likewise.
50332 2012-01-31  Marek Polacek  <polacek@redhat.com>
50334         * libio/libio.h: Don't define _PARAMS.
50335         * locale/programs/config.h: Don't define PARAMS.
50336         * stdlib/strtol_l.c: Likewise.
50337         (__strtol_l): Remove PARAMS from the prototype.
50339 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50341         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50342         names.  Just use the correct names.  Remove unnecessary wrapper
50343         functions.
50344         * malloc/arena.c: Likewise.
50345         * malloc/hooks.c: Likewise.
50347         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50348         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50349         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50351 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50353         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50354         into tail calls.
50355         (update_get_addr): New function.
50356         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50357         GET_ADDR_MODULE parameter.
50359 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50361         * crypt/cert.c: Remove __STDC__ conditionals.
50362         * crypt/crypt-entry.c: Likewise.
50363         * crypt/crypt_util.c: Likewise.
50364         * libio/filedoalloc.c: Likewise.
50365         * libio/fileops.c: Likewise.
50366         * libio/genops.c: Likewise.
50367         * libio/iofclose.c: Likewise.
50368         * libio/iofdopen.c: Likewise.
50369         * libio/iofopen.c: Likewise.
50370         * libio/iofopen64.c: Likewise.
50371         * libio/iogetdelim.c: Likewise.
50372         * libio/iopopen.c: Likewise.
50373         * libio/obprintf.c: Likewise.
50374         * libio/oldfileops.c: Likewise.
50375         * libio/oldiofclose.c: Likewise.
50376         * libio/oldiofdopen.c: Likewise.
50377         * libio/oldiofopen.c: Likewise.
50378         * libio/oldiopopen.c: Likewise.
50379         * libio/wfiledoalloc.c: Likewise.
50380         * libio/wgenops.c: Likewise.
50381         * locale/programs/xmalloc.c: Likewise.
50382         * misc/syslog.c: Likewise.
50383         * stdio-common/xbug.c: Likewise.
50384         * string/memchr.c: Likewise.
50385         * string/memcmp.c: Likewise.
50386         * string/memrchr.c: Likewise.
50387         * string/rawmemchr.c: Likewise.
50388         * sysdeps/posix/getcwd.c: Likewise.
50389         * time/strftime_l.c: Likewise.
50391 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50393         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50394         * config.make.in (config-cflags-sse2avx): Define.
50395         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50396         Fix typo.
50398 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50400         * scripts/config.guess: Update from upstream config git repository.
50401         * scripts/config.sub: Likewise.
50403 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50405         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50406         (EM_NUM): Update.
50407         (R_TILEPRO_*, R_TILEGX_*): New macros.
50409         * scripts/firstversions.awk: Fix bug in version range handling.
50411         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50413         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50415         * include/sys/epoll.h: New file.
50416         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50417         libc_hidden_def.
50419 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50421         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50422         Avoid unnecessary __WORDSIZE == 64 test.
50423         (fmaxf): Use VEX format if possible.
50424         (fmax): Likewise.
50425         (fminf): Likewise.
50426         (fmin): Likewise.
50428         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50429         * math/math_private.h: Remove libc_fegetround* and
50430         libc_fesetround*.
50431         * sysdeps/i386/configure.in: Check for -msse2avx.
50432         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50433         also if SSE2AVX is defined.
50434         Remove libc_fegetround* and libc_fesetround*.
50435         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50436         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50438         of HAS_YMM_USABLE.
50439         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50440         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50441         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50442         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50443         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50445         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50447 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50449         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50450         size is not set.
50451         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50453 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50455         [BZ #13618]
50456         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50457         relocation.
50458         * Makeconfig (libm): Define.
50459         * elf/Makefile: Add rules to build and run tst-relsort1.
50460         * elf/tst-relsort1.c: New file.
50461         * elf/tst-relsort1mod1.c: New file.
50462         * elf/tst-relsort1mod2.c: New file.
50464 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50466         * math/s_ldexp.c: Remove __STDC__ conditionals.
50467         * math/s_ldexpf.c: Likewise.
50468         * math/s_ldexpl.c: Likewise.
50469         * math/s_nextafter.c: Likewise.
50470         * math/s_nexttowardf.c: Likewise.
50471         * math/s_significand.c: Likewise.
50472         * math/s_significandf.c: Likewise.
50473         * math/s_significandl.c: Likewise.
50474         * math/w_jnl.c: Likewise.
50475         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50476         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50477         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50478         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50479         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50480         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50481         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50482         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50483         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50484         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50485         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50486         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50487         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50488         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50489         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50490         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50491         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50492         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50493         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50494         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50495         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50496         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50497         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50498         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50499         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50500         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50501         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50502         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50503         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50504         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50505         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50506         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50507         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50508         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50509         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50510         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50511         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50512         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50513         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50514         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50515         * sysdeps/ieee754/k_standard.c: Likewise.
50516         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50517         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50518         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50519         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50520         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50521         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50522         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50523         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50524         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50525         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50526         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50527         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50528         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50529         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50530         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50531         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50532         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50533         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50534         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50535         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50536         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50537         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50538         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50539         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50540         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50541         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50542         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50543         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50545         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50546         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50547         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50548         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50549         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50550         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50551         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50552         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50553         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50554         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50555         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50556         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50557         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50558         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50559         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50560         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50561         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50562         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50564         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50565         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50566         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50567         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50568         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50569         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50570         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50571         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50572         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50573         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50574         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50575         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50576         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50577         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50578         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50579         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50580         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50581         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50582         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50583         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50584         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50585         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50586         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50587         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50588         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50589         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50590         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50591         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50592         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50593         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50594         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50595         * sysdeps/ieee754/s_matherr.c: Likewise.
50596         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50597         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50598         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50599         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50601 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50603         * crypt/md5.h: Remove __STDC__ conditionals.
50604         * libio/libioP.h: Likewise.
50605         * locale/programs/config.h: Likewise.
50606         * sysdeps/generic/sysdep.h: Likewise.
50607         * sysdeps/i386/asm-syntax.h: Likewise.
50608         * sysdeps/s390/asm-syntax.h: Likewise.
50609         * sysdeps/unix/sysdep.h: Likewise.
50610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50613 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50615         * libio/libio.h: Remove __STDC__ conditionals.
50616         * malloc/obstack.h: Likewise.
50617         * math/complex.h: Likewise.
50618         * math/math.h: Likewise.
50619         * sysdeps/generic/_G_config.h: Likewise.
50620         * sysdeps/gnu/_G_config.h: Likewise.
50621         * sysdeps/mach/hurd/_G_config.h: Likewise.
50622         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50623         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50624         * sysdeps/sparc/bits/mathdef.h: Likewise.
50626 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50628         [BZ #13583]
50629         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50630         Clean up HAS_* macros.
50631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50632         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50633         possible.
50634         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50635         HAS_AVX.
50636         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50637         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50638         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50639         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50640         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50642 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50644         * elf/tst-unique3.cc (gets): Remove declaration.
50645         * elf/tst-unique3lib.cc (gets): Likewise.
50646         * elf/tst-unique3lib2.cc (gets): Likewise.
50647         * elf/tst-unique4.cc (gets): Likewise.
50649 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50651         * include/stdio.h: Add C++ protection.  Add gets declarations and
50652         definitions.
50653         * debug/tst-chk1.c: Don't declare gets here.
50654         * stdio-common/tst-gets.c: Likewise.
50656 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50658         * posix/glob: Remove directory.
50660 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50662         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50664 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50666         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50667         of the non-standard EPFNOSUPPORT.
50669 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50671         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50672         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50673         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50675 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50677         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50679 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50681         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50682         transient errors.
50683         * nscd/grpcache.c (cache_addgr): Likewise.
50684         * nscd/hstcache.c (cache_addhst): Likewise.
50685         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50686         * nscd/pwdcache.c (cache_addpw): Likewise.
50687         * nscd/servicescache.c (cache_addserv): Likewise.
50689 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50691         * malloc/malloc.c: Various cleanups.
50692         * malloc/hooks.c: Likewise.
50694         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50695         * stdlib/bug-fmtmsg1.c: New file.
50697         * stdlib/fmtmsg.c (init): Add missing unlock.
50698         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50700 2012-01-12  Marek Polacek  <polacek@redhat.com>
50702         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50703         and _GNU_SOURCE.
50705 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50707         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50708         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50709         macro to ensure uniqueness of label name.
50710         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50711         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50713 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50715         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50717         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50718         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50719         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50720         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50722 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50724         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50726         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50727         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50728         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50730         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50732         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50733         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50734         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50737         * math/bits/math-finite.h: Add ldexp support.
50739 2012-01-10  Marek Polacek  <polacek@redhat.com>
50741         * locale/programs/localedef.h (show_archive_content): Add noreturn
50742         attribute.
50744 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50746         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50748 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50750         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50752         * io/Makefile (headers): Add bits/poll2.h.
50754 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50757         typo #include statement.
50759 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50761         * include/sys/cdefs.h: Define __attribute_alloc_size.
50762         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50763         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50764         * elf/pldd.c: Likewise.
50765         * iconv/iconv_charmap.c: Likewise.
50766         * iconv/iconvconfig.c: Likewise.
50767         * iconv/strtab.c: Likewise.
50768         * locale/programs/locale.c: Likewise.
50769         * locale/programs/localedef.h: Likewise.
50770         * locale/programs/simple-hash.c: Likewise.
50771         * nscd/nscd.h: Likewise.
50772         * nss/makedb.c: Likewise.
50773         * sysdeps/generic/ldconfig.h: Likewise.
50774         * locale/programs/localedef.c: Remove xmalloc prototype.
50775         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50777 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50779         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50780         appropriate.
50782 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50784         * math/Makefile (tests): Add tst-CMPLX.
50785         * math/tst-CMPLX.c: New file.
50787         * math/complex.h (CMPLXL): Fix typo.
50789         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50790         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50791         GLIBC_2.16.
50792         * debug/tst-chk1.c: Add poll and ppoll tests.
50793         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50794         * include/sys/poll.h: Add hidden proto for ppoll.
50795         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50796         * sysdeps/mach/hurd/ppoll.c: Likewise.
50797         * io/ppoll.c: Likewise.
50798         * debug/poll_chk.c: New file.
50799         * debug/ppoll_chk.c: New file.
50800         * include/bits/poll2.h: New file.
50801         * io/bits/poll2.h: New file.
50803         [BZ #1350]
50804         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50806         * configure.in: static is always set to yes.  Remove.
50807         * config.make.in: Don't set build-static.
50808         * Makeconfig: Remove use of build-static.
50809         * dlfcn/Makefile: Likewise.
50810         * elf/Makefile: Likewise.
50811         * math/Makefile: Likewise.
50812         * misc/Makefile: Likewise.
50813         * nptl/Makefile: Likewise.
50814         * sysdeps/mach/hurd/Makefile: Likewise.
50816         * configure.in: PWD_P is not used anymore.
50817         * config.make.in: Remove PWD_P entry.
50819         * configure.in: Remove last remnants of RANLIB.
50820         No need to check for signed size_t anymore.
50821         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50822         and IA-64.
50823         Remove __builtin_expect test because we require at least gcc 3.4.
50824         * aclocal.m4: Likewise.
50826         * wcsmbs/mbrtoc16.c: Implement using towc function.
50827         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50828         * wcsmbs/wcsmbsload.c: Likewise.
50829         * iconv/gconv_simple.c: Likewise.
50830         * iconv/gconv_int.h: Likewise.
50831         * iconv/gconv_builtin.h: Likewise.
50832         * iconv/iconv_prog.c: Remove CHAR16 handling.
50834         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50836         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50838         * configure.in: Remove --with-elf and --enable-bounded options.
50839         Dont set base_machine for ia64.  More non-ELF conditions removed.
50840         Remove testing and setting of leading underscore information.
50841         * config.make.in (build-bounded): Set to no.
50842         * config.h.in: Remove NO_UNDERSCORES entry.
50843         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50844         them.
50845         * csu/start.c: Remove !NO_UNDERSCORE code.
50846         * locale/localeinfo.h: Likewise.
50847         * sysdeps/generic/machine-gmon.h: Likewise.
50848         * sysdeps/generic/sysdep.h: Likewise.
50849         * sysdeps/i386/sysdep.h: Likewise.
50850         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50851         * sysdeps/mach/sysdep.h: Likewise.
50852         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50853         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50854         * sysdeps/sh/sysdep.h: Likewise.
50855         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50856         * sysdeps/unix/i386/sysdep.S: Likewise.
50857         * sysdeps/unix/sparc/start.c: Likewise.
50858         * sysdeps/unix/sparc/sysdep.S: Likewise.
50859         * sysdeps/unix/sparc/sysdep.h: Likewise.
50860         * sysdeps/unix/start.c: Likewise.
50861         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50862         * sysdeps/x86_64/sysdep.h: Likewise.
50864 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50866         [BZ #13553]
50867         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50868         for non-gcc.
50869         * argp/argp-fmtstream.h: Use const instead __const.
50870         * argp/argp.h: Likewise.
50871         * assert/assert.h: Likewise.
50872         * bits/fenv.h: Likewise.
50873         * bits/sched.h: Likewise.
50874         * bits/sigset.h: Likewise.
50875         * bits/sigthread.h: Likewise.
50876         * catgets/nl_types.h: Likewise.
50877         * conform/data/pthread.h-data: Likewise.
50878         * crypt/crypt-private.h: Likewise.
50879         * crypt/crypt.h: Likewise.
50880         * crypt/crypt_util.c: Likewise.
50881         * ctype/ctype.h: Likewise.
50882         * debug/execinfo.h: Likewise.
50883         * debug/mbsnrtowcs_chk.c: Likewise.
50884         * debug/mbsrtowcs_chk.c: Likewise.
50885         * debug/wcsnrtombs_chk.c: Likewise.
50886         * debug/wcsrtombs_chk.c: Likewise.
50887         * debug/wcstombs_chk.c: Likewise.
50888         * dirent/dirent.h: Likewise.
50889         * dlfcn/dlfcn.h: Likewise.
50890         * elf/neededtest4.c: Likewise.
50891         * grp/grp.h: Likewise.
50892         * gshadow/gshadow.h: Likewise.
50893         * iconv/gconv.h: Likewise.
50894         * iconv/gconv_int.h: Likewise.
50895         * iconv/gconv_simple.c: Likewise.
50896         * iconv/iconv.h: Likewise.
50897         * iconv/loop.c: Likewise.
50898         * iconv/skeleton.c: Likewise.
50899         * include/aio.h: Likewise.
50900         * include/aliases.h: Likewise.
50901         * include/argz.h: Likewise.
50902         * include/arpa/inet.h: Likewise.
50903         * include/assert.h: Likewise.
50904         * include/dirent.h: Likewise.
50905         * include/dlfcn.h: Likewise.
50906         * include/execinfo.h: Likewise.
50907         * include/fcntl.h: Likewise.
50908         * include/fenv.h: Likewise.
50909         * include/glob.h: Likewise.
50910         * include/grp.h: Likewise.
50911         * include/libintl.h: Likewise.
50912         * include/mntent.h: Likewise.
50913         * include/netdb.h: Likewise.
50914         * include/pwd.h: Likewise.
50915         * include/rpc/netdb.h: Likewise.
50916         * include/sched.h: Likewise.
50917         * include/search.h: Likewise.
50918         * include/shadow.h: Likewise.
50919         * include/signal.h: Likewise.
50920         * include/stdio.h: Likewise.
50921         * include/stdlib.h: Likewise.
50922         * include/string.h: Likewise.
50923         * include/sys/socket.h: Likewise.
50924         * include/sys/stat.h: Likewise.
50925         * include/sys/statfs.h: Likewise.
50926         * include/sys/statvfs.h: Likewise.
50927         * include/sys/syslog.h: Likewise.
50928         * include/sys/time.h: Likewise.
50929         * include/sys/uio.h: Likewise.
50930         * include/time.h: Likewise.
50931         * include/unistd.h: Likewise.
50932         * include/utmp.h: Likewise.
50933         * include/wchar.h: Likewise.
50934         * include/wctype.h: Likewise.
50935         * inet/aliases.h: Likewise.
50936         * inet/arpa/inet.h: Likewise.
50937         * inet/netinet/ether.h: Likewise.
50938         * inet/netinet/in.h: Likewise.
50939         * intl/libintl.h: Likewise.
50940         * io/bits/fcntl2.h: Likewise.
50941         * io/fcntl.h: Likewise.
50942         * io/ftw.h: Likewise.
50943         * io/sys/poll.h: Likewise.
50944         * io/sys/stat.h: Likewise.
50945         * io/sys/statfs.h: Likewise.
50946         * io/sys/statvfs.h: Likewise.
50947         * io/utime.h: Likewise.
50948         * libio/bits/stdio.h: Likewise.
50949         * libio/bits/stdio2.h: Likewise.
50950         * libio/libio.h: Likewise.
50951         * libio/libioP.h: Likewise.
50952         * libio/stdio.h: Likewise.
50953         * locale/lc-ctype.c: Likewise.
50954         * locale/locale.h: Likewise.
50955         * login/utmp.h: Likewise.
50956         * malloc/arena.c: Likewise.
50957         * malloc/malloc.c: Likewise.
50958         * malloc/malloc.h: Likewise.
50959         * malloc/mcheck.c: Likewise.
50960         * malloc/mtrace.c: Likewise.
50961         * math/bits/mathcalls.h: Likewise.
50962         * math/fenv.h: Likewise.
50963         * math/math_private.h: Likewise.
50964         * misc/bits/error.h: Likewise.
50965         * misc/bits/syslog.h: Likewise.
50966         * misc/err.h: Likewise.
50967         * misc/error.h: Likewise.
50968         * misc/fstab.h: Likewise.
50969         * misc/mntent.h: Likewise.
50970         * misc/regexp.h: Likewise.
50971         * misc/search.h: Likewise.
50972         * misc/sgtty.h: Likewise.
50973         * misc/sys/mman.h: Likewise.
50974         * misc/sys/syslog.h: Likewise.
50975         * misc/sys/uio.h: Likewise.
50976         * misc/sys/xattr.h: Likewise.
50977         * misc/ttyent.h: Likewise.
50978         * nis/rpcsvc/ypclnt.h: Likewise.
50979         * nss/nss.h: Likewise.
50980         * posix/bits/unistd.h: Likewise.
50981         * posix/fnmatch.h: Likewise.
50982         * posix/glob.h: Likewise.
50983         * posix/sched.h: Likewise.
50984         * posix/spawn.h: Likewise.
50985         * posix/sys/wait.h: Likewise.
50986         * posix/unistd.h: Likewise.
50987         * posix/wordexp.h: Likewise.
50988         * pwd/pwd.h: Likewise.
50989         * resolv/netdb.h: Likewise.
50990         * resource/sys/resource.h: Likewise.
50991         * rt/aio.h: Likewise.
50992         * rt/bits/mqueue2.h: Likewise.
50993         * rt/mqueue.h: Likewise.
50994         * shadow/shadow.h: Likewise.
50995         * signal/signal.h: Likewise.
50996         * socket/send.c: Likewise.
50997         * socket/sendto.c: Likewise.
50998         * socket/sys/socket.h: Likewise.
50999         * stdio-common/printf.h: Likewise.
51000         * stdlib/bits/stdlib.h: Likewise.
51001         * stdlib/fmtmsg.h: Likewise.
51002         * stdlib/monetary.h: Likewise.
51003         * stdlib/stdlib.h: Likewise.
51004         * stdlib/ucontext.h: Likewise.
51005         * streams/stropts.h: Likewise.
51006         * string/argz.h: Likewise.
51007         * string/bits/string2.h: Likewise.
51008         * string/string.h: Likewise.
51009         * string/strings.h: Likewise.
51010         * sunrpc/rpc/auth.h: Likewise.
51011         * sunrpc/rpc/auth_des.h: Likewise.
51012         * sunrpc/rpc/clnt.h: Likewise.
51013         * sunrpc/rpc/netdb.h: Likewise.
51014         * sunrpc/rpc/pmap_clnt.h: Likewise.
51015         * sunrpc/rpc/xdr.h: Likewise.
51016         * sysdeps/generic/inttypes.h: Likewise.
51017         * sysdeps/generic/net/if.h: Likewise.
51018         * sysdeps/generic/sys/swap.h: Likewise.
51019         * sysdeps/gnu/net/if.h: Likewise.
51020         * sysdeps/gnu/utmpx.h: Likewise.
51021         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51022         * sysdeps/i386/i486/bits/string.h: Likewise.
51023         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51024         * sysdeps/s390/bits/string.h: Likewise.
51025         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51026         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51027         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51028         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51029         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51030         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51031         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51032         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51033         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51034         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51035         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51036         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51037         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51038         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51039         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51040         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51041         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51042         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51043         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51044         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51045         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51046         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51047         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51048         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51049         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51050         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51051         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51052         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51053         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51054         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51055         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51056         * sysvipc/sys/ipc.h: Likewise.
51057         * sysvipc/sys/msg.h: Likewise.
51058         * sysvipc/sys/sem.h: Likewise.
51059         * sysvipc/sys/shm.h: Likewise.
51060         * termios/termios.h: Likewise.
51061         * time/sys/time.h: Likewise.
51062         * time/time.h: Likewise.
51063         * wcsmbs/bits/wchar2.h: Likewise.
51064         * wcsmbs/uchar.h: Likewise.
51065         * wcsmbs/wchar.h: Likewise.
51066         * wctype/wctype.h: Likewise.
51068         [BZ #13551]
51069         * Makeconfig: Remove all but ELF support including AIX support.
51070         * Makerules: Likewise.
51071         * config.h.in: Likewise.
51072         * config.make.in: Likewise.
51073         * configure: Likewise.
51074         * configure.in: Likewise.
51075         * csu/Makefile: Likewise.
51076         * csu/version.c: Likewise.
51077         * debug/Makefile: Likewise.
51078         * dlfcn/Makefile: Likewise.
51079         * elf/Makefile: Likewise.
51080         * extra-lib.mk: Likewise.
51081         * iconv/Makefile: Likewise.
51082         * include/libc-symbols.h: Likewise.
51083         * include/shlib-compat.h: Likewise.
51084         * resolv/Makefile: Likewise.
51085         * resolv/res_libc.c: Likewise.
51086         * rt/Makefile: Likewise.
51087         * sysdeps/i386/asm-syntax.h: Likewise.
51088         * sysdeps/i386/sysdep.h: Likewise.
51089         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51090         * sysdeps/mach/sysdep.h: Likewise.
51091         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51092         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51093         * sysdeps/s390/asm-syntax.h: Likewise.
51094         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51095         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51096         * sysdeps/sh/sysdep.h: Likewise.
51097         * sysdeps/unix/sparc/sysdep.h: Likewise.
51098         * sysdeps/wordsize-32/divdi3.c: Likewise.
51099         * sysdeps/x86_64/sysdep.h: Likewise.
51101         * argp/Versions: Remove _argp_unlock_xxx.
51103         [BZ #13559]
51104         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51105         * abilist/libBrokenLocale.abilist: Likewise.
51106         * abilist/libanl.abilist: Likewise.
51107         * abilist/libc.abilist: Likewise.
51108         * abilist/libcrypt.abilist: Likewise.
51109         * abilist/libdl.abilist: Likewise.
51110         * abilist/libm.abilist: Likewise.
51111         * abilist/libnsl.abilist: Likewise.
51112         * abilist/libpthread.abilist: Likewise.
51113         * abilist/libresolv.abilist: Likewise.
51114         * abilist/librt.abilist: Likewise.
51115         * abilist/libthread_db.abilist: Likewise.
51116         * abilist/libutil.abilist: Likewise.
51117         * abilist/libnss_db.abilist: New file.
51119         * scripts/abilist.awk: Add support for indirect functions.
51121         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51123         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51125         * shlib-versions: Remove entries for ports architectures.
51127         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51128         files in ports.
51129         * elf/stackguard-macros.h: Remove support for IA-64.
51130         * elf/tst-auditmod1.c: Likewise.
51131         * sysdeps/generic/ldsodefs.h: Likewise.
51133         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51134         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51135         configure files.
51137         [BZ #13552]
51138         * configure.in: Remove --enable-omitfp support.
51139         * FAQ.in: Adjust.
51140         * config.make.in: Likewise.
51141         * Makeconfig: Likewise.
51142         * manual/install.texi: Likewise.
51144         In case anyone cares, the IA-64 architecture could move to ports.
51145         * sysdeps/ia64/*: Removed.
51146         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51147         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51149         [BZ #13555]
51150         * configure.in: Remove entries for unsupported architectures.
51152         [BZ #13533]
51153         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51154         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51155         routines.
51156         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51157         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51158         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51159         fall back to using wcrtomb.
51160         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51161         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51162         renaming.
51163         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51164         * wcsmbs/tst-c16c32-1.c: New file.
51166         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51167         local variable.
51169         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51171         * elf/tst-unique3.cc: Add explicit declaration of gets.
51172         * elf/tst-unique3lib.cc: Likewise.
51173         * elf/tst-unique3lib2.cc: Likewise.
51174         * elf/tst-unique4.cc: Likewise.
51176         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51178 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51180         [BZ #13566]
51181         * assert/assert.h (static_assert): Don't define for C++.
51182         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51183         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51185 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51187         * iconv/loop.c (single loop): Fix assertion in storing of
51188         remaining bytes.
51190         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51192 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51194         * posix/getconf.c: Update copyright year.
51195         * nss/getent.c: Likewise.
51196         * nss/makedb.c: Likewise.
51197         * iconv/iconvconfig.c: Likewise.
51198         * iconv/iconv_prog.c: Likewise.
51199         * elf/ldconfig.c: Likewise.
51200         * elf/pldd.c: Likewise.
51201         * elf/sotruss.ksh: Likewise.
51202         * catgets/gencat.c: Likewise.
51203         * csu/version.c: Likewise.
51204         * elf/ldd.bash.in: Likewise.
51205         * elf/sprof.c (print_version): Likewise.
51206         * locale/programs/locale.c: Likewise.
51207         * locale/programs/localedef.c: Likewise.
51208         * login/programs/pt_chown.c: Likewise.
51209         * nscd/nscd.c (print_version): Likewise.
51210         * debug/xtrace.sh: Likewise.
51211         * malloc/memusage.sh: Likewise.
51212         * malloc/mtrace.pl: Likewise.
51213         * debug/catchsegv.sh: Likewise.
51215 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51217         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51218         pure attribute.
51220 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51222         [BZ #13533]
51223         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51224         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51225         transformations.
51226         * iconv/gconv_int.h: Likewise.
51227         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51228         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51229         from libc for GLIBC_2.16.
51230         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51231         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51232         * wcsmbs/uchar.h: Really define mbstate_t.
51233         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51234         * wcsmbs/c16rtomb.c: New file.
51235         * wcsmbs/mbrtoc16.c: New file.
51236         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51237         for C/POSIX locale.
51238         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51239         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51241         * wcsmbs/wchar.h: Add missing __restrict.
51243 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51245         [BZ #13532]
51246         * time/Makefile (routines): Add timespec_get.
51247         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51248         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51249         timespec for ISO C11.
51250         * time/timespec_get.c: New file.
51251         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51252         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51254         [BZ #13531]
51255         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51256         * stdlib/stdlib.h: Declare aligned_alloc.
51257         * Versions.def: Add GLIBC_2.16 for libc.
51258         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51260         [BZ 13527]
51261         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51262         ISO C11.
51264         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51265         code.
51267         [BZ #13528]
51268         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51270         [BZ #13529]
51271         * assert/assert.h (static_assert): Define.
51273         * version.h: Update for 2.16 development version.
51275         [BZ #13526]
51276         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51277         _ISOC11_SOURCE.
51279         * version.h (RELEASE): Bump for 2.15 release.
51280         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51282         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51283         Patch by Marek Polacek <mpolacek@redhat.com>.
51285         * bits/byteswap.h: Protect long long constants with __extension__.
51286         * sysdeps/i386/bits/byteswap.h: Likewise.
51287         * sysdeps/ia64/bits/byteswap.h: Likewise.
51288         * sysdeps/s390/bits/byteswap.h: Likewise.
51289         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51291 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51293         [BZ #13540]
51294         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51295         destination buffer.
51296         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51298 2011-12-23  Marek Polacek  <polacek@redhat.com>
51300         * elf/dl-addr.c (determine_info): Add inline keyword.
51301         * elf/tst-auditmod4b.c (check_avx): Likewise.
51302         * elf/tst-auditmod6b.c (check_avx): Likewise.
51303         * elf/tst-auditmod6c.c (check_avx): Likewise.
51304         * elf/tst-auditmod7b.c (check_avx): Likewise.
51306 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51308         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51309         !__SSE_MATH__.
51311 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51313         [BZ #13540]
51314         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51315         processing for last bytes.
51317 2011-08-06  Bruno Haible  <bruno@clisp.org>
51319         [BZ #13061]
51320         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51321         U+0385, not to U+1FEE.
51323         [BZ #13062]
51324         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51325         entry for U+00A5 U+0301.
51327 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51329         [BZ #13166]
51330         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51331         buffer for the output is too small.
51333         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51334         optimization.
51336         [BZ #13185]
51337         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51338         SSE flags if possible.
51340 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51342         [BZ #13540]
51343         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51344         processing for last bytes.
51346 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51348         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51349         (syscall-list-default-options, syscall-list-default-condition)
51350         (syscall-list-includes): Define.
51351         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51352         list of ABIs and options and #if conditions for each ABI.  Do not
51353         handle common syscalls between ABIs specially.
51354         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51355         Remove.
51356         (syscall-list-variants, syscall-list-32bit-options)
51357         (syscall-list-32bit-condition, syscall-list-64bit-options)
51358         (syscall-list-64bit-condition): Define.
51359         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51360         (syscall-list-variants, syscall-list-32bit-options)
51361         (syscall-list-32bit-condition, syscall-list-64bit-options)
51362         (syscall-list-64bit-condition): Define.
51363         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51364         Remove.
51365         (syscall-list-variants, syscall-list-32bit-options)
51366         (syscall-list-32bit-condition, syscall-list-64bit-options)
51367         (syscall-list-64bit-condition): Define.
51368         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51369         Remove.
51370         (syscall-list-variants, syscall-list-32bit-options)
51371         (syscall-list-32bit-condition, syscall-list-64bit-options)
51372         (syscall-list-64bit-condition): Define.
51374 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51376         * locale/iso-639.def: Add brx entry.
51378         [BZ #13328]
51379         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51380         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51382         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51383         __feraiseexcept_renamed.
51385 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51387         [BZ #13538]
51388         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51389         EPOLLET with unsigned values.
51390         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51391         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51393         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51394         to large cancellation.
51395         * math/s_cacoshf.c: Likewise.
51396         * math/s_cacoshl.c: Likewise.
51398 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51400         [BZ #13305]
51401         [BZ #12786]
51402         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51403         * math/s_cacoshf.c: Likewise.
51404         * math/s_cacoshl.c: Likewise.
51406 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51408         [BZ #13439]
51409         * iconv/gconv.h: Define __GCONV_SWAP.
51410         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51411         * iconvdata/utf-16.c: Likewise.
51412         * iconvdata/utf-32.c: Likewise.
51414 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51416         [BZ #13524]
51417         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51418         numerator after shifting it by one limb.
51420 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51422         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51423         under [__USE_EXTERN_INLINES].
51425 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51427         [BZ #13446]
51428         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51430 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51432         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51433         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51434         optimized code.
51435         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51436         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51437         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51438         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51439         for strncasecmp/strncasecmp_l compilation.
51440         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51441         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51443 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51445         [BZ #13484]
51446         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51447         of __asm__.
51449 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51451         [BZ #13506]
51452         * time/tzfile.c (__tzfile_read): Check values from file header.
51454 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51456         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51457         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51458         * powerpc/powerpc32/dl-start.S: Likewise.
51459         * powerpc/powerpc32/elf/start.S: Likewise.
51460         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51461         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51462         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51463         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51464         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51465         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51466         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51467         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51468         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51469         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51470         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51471         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51472         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51473         * powerpc/powerpc32/memset.S: Likewise.
51474         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51475         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51476         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51477         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51478         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51479         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51480         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51481         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51482         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51483         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51484         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51485         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51486         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51488 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51490         * math/libm-test.inc: Added more nearbyint tests.
51491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51492         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51493         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51494         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51496 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51498         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51499         FD_CLOEXEC.
51501 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51503         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51504         Add wcscpy-ssse3 wcscpy-c.
51505         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51506         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51507         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51508         * sysdeps/x86_64/wcschr.S: New file.
51509         * sysdeps/x86_64/wcsrchr.S: New file.
51510         * string/test-strcmp.c: Remove checking of wcscmp function for
51511         wrong alignments.
51512         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51513         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51514         wcsrchr-sse2 wcsrchr-c.
51515         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51516         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51517         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51518         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51519         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51520         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51521         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51522         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51523         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51524         * wcsmbc/wcschr.c (WCSCHR): New macro.
51526 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51528         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51529         * wcsmbs/test-wcsrchr.c: New file.
51530         * string/test-strrchr.c: Add wcsrchr support.
51531         (WIDE): New macro.
51532         * wcsmbs/test-wcscpy.c: New file.
51533         * string/test-strcpy.c: Add wcscpy support.
51534         (WIDE): New macro.
51536 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51538         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51539         the inner loop.
51541 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51543         [BZ #13472]
51544         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51546 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51548         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51549         Minor optimizations.
51551         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51552         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51553         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51555 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51557         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51558         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51559         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51560         for gcc to avoid warnings.
51561         * inet/Makefile (tests): Add tst-checks.
51562         * inet/tst-checks.c: New file.
51564         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51565         warning.
51567         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51568         __wmemcmp_sse2.
51570         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51571         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51573         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51575 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51577         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51578         problem.
51580         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51582 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51584         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51585         conditional on GCC version.
51586         (__arch_compare_and_exchange_val_8_acq)
51587         (__arch_compare_and_exchange_val_16_acq)
51588         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51589         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51590         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51592 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51594         * sysdeps/sh/backtrace.c: New file.
51596 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51598         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51599         parenthesis.
51601 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51603         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51604         falling back to utime.
51606 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51608         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51609         expectations for float.
51611 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51613         * locale/weight.h (findidx): Add parameter len.
51614         * locale/weightwc.h (findidx): Likewise.
51615         * posix/fnmatch_loop.c (FCT): Adjust caller.
51616         * posix/regcomp.c (build_equiv_class): Likewise.
51617         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51618         * posix/regexec.c (check_node_accept_bytes): Likewise.
51619         * string/strcoll_l.c (STRCOLL): Likewise.
51620         * string/strxfrm_l.c (STRXFRM): Likewise.
51622 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51624         * Makefile.in: Remove CVSOPT handling.
51625         * configure.in: Remove use of AC_REVISION.
51626         * iconvdata/Makefile (distribute): No need to filter out CVS.
51627         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51628         handling.
51630 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51632         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51633         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51634         [USE_AS_STRNCASECMP_L]: Likewise.
51635         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51636         NO_TLS_DIRECT_SEG_REFS.
51637         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51638         Fix argument offsets for non-PIC.
51639         [USE_AS_STRNCASECMP_L]: Likewise.
51640         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51641         NO_TLS_DIRECT_SEG_REFS.
51643 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51645         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51646         O_CLOEXEC.
51647         * locale/loadlocale.c (_nl_load_locale): Likewise.
51649 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51651         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51652         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51653         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51654         (SYSCALL_GETTIME): Set errno on error.
51656         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51657         count references to noai6ai_cached.
51659 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51661         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51663         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51664         FD_CLOEXEC for /proc/self/maps.
51666         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51667         FD_CLOEXEC for /proc/meminfo.
51669         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51670         gai.conf.
51672         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51673         FD_CLOEXEC for given file.
51675         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51677         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51678         FD_CLOEXEC for /etc/hosts.
51679         (_gethtent): Likewise.
51681         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51683         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51684         cancellation and set FD_CLOEXEC for /etc/netgroup.
51686         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51687         reading /etc/publickey.
51689         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51690         allow cancellation when reading /etc/group.
51692         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51693         cancellation.
51694         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51696         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51697         when using data file.
51699         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51701         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51702         (write_nis_obj): Use "c" and "e" in fopen.
51704         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51706         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51708         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51710         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51712         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51713         locale.alias.
51715         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51717         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51719         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51721         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51722         file parsing and set FD_CLOEXEC.
51724 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51726         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51728 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51730         * malloc/arena.c (arena_get2): Don't call reused_arena when
51731         _int_new_arena failed.
51733 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51735         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51736         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51737         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51738         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51739         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51740         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51741         to compile strcasecmp and strncasecmp.
51742         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51743         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51747 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51749         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51750         locale-defines.sym to gen-as-const-headers.
51751         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51752         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51753         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51754         to compile strcasecmp and strncasecmp.
51755         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51756         strcasecmp_l and strncasecmp_l.
51757         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51758         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51759         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51760         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51761         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51762         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51763         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51764         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51765         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51766         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51767         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51769 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51771         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51772         result of SYSDEP_GETTIME_CPU to retval.
51773         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51774         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51776         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51777         variable.
51779         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51780         mantissa words.
51781         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51783         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51784         from unused variable.
51786         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51787         DWARF definitions.
51788         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51789         for assembling.
51791         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51792         over namespaces.
51794         * sunrpc/rpc_prot.c (rejected): Fix case value.
51796         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51797         unsigned long long int to avoid warnings in shift.
51799         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51800         of use of trans.
51801         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51802         variable tmp.
51804         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51805         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51806         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51808         * nis/nis_table.c (nis_list): Use variable of correct type for
51809         result of __follow_path call.
51811 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51813         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51814         of math functions ceil, trunc, floor, round, and sqrt, when
51815         avaliable on the platform.
51816         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51817         name clash.
51818         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51819         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51820         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51822 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51824         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51825         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51827 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51829         * include/unistd.h: Fix __readlink return type.
51830         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51832 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51834         * stdlib/ucontext.h: Undo last change for makecontext.
51836 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51838         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51840         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51841         * setjmp/setjmp.h: Mark functions as non-leaf.
51842         * setjmp/bits/setjmp2.h: Likewise.
51843         * stdlib/ucontext.h: Likewise.
51845 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51847         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51848         (reused_arena): Don't check arena limit.
51849         (arena_get2): Atomically check arena limit.
51851 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51853         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51854         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51856         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51857         instructions.
51859 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51861         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51862         handler when locking.
51864         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51865         Fix size of allocated buffer.
51867 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51869         [BZ #10103]
51870         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51871         declarations for long double functions.
51872         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51874         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51876 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51878         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51879         installed.
51881         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51882         is disabled.
51884 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51886         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51888 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51890         * include/alloca.h (stackinfo_alloca_round): Define.
51891         (extend_alloca): Use it.
51892         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51893         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51894         here.
51896         * scripts/check-local-headers.sh: Ignore libaudit.h.
51898         * nscd/Makefile (extra-objs): Make recursively expanded.
51900 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51902         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51903         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51905         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51906         * posix/tst-rfc3484-2.c: Likewise.
51907         * posix/tst-rfc3484-3.c: Likewise.
51909         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51910         process_vm_writev.
51911         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51912         process_vm_writev.
51913         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51914         process_vm_writev from libc using GLIBC_2.15 version.
51916         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51918 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51920         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51921         stack usage.
51923 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51925         [BZ #13367]
51926         * nss/getent.c (initgroups_keys): Show error message in case no group
51927         names are given.
51929         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51930         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51931         __bump_nl_timestamp.
51932         * nscd/connections (nscd_init): When host database is served open
51933         netlink socket and request notification about configuration changes.
51934         (main_loop_poll): Track netlink file descriptor and bump timestamp
51935         in case data becomes available.
51936         (main_loop_epoll): Likewise.
51937         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51938         (database_pers_head): Add extra_data fileds.
51939         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51940         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51941         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51942         Adjust caller.
51943         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51944         in6ai data, call __free_in6ai.
51945         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51946         Add -DHAVE_NETLINK.
51947         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51948         interface information.  Reuse previous data if netlink timestamp
51949         is not changed.
51950         (__bump_nl_timestamp): New function.
51951         (__free_in6ai): New function.
51953 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51955         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51956         close_not_cancel_no_status here.
51957         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51959 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51961         [BZ #13276]
51962         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51963         return value.
51965         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51966         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51967         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51969 2011-07-03  Andreas Jaeger  <aj@suse.de>
51971         [BZ #10709]
51972         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51973         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51974         * math/libm-test.inc (sin_test): Add test case.
51976 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51978         [BZ #13337]
51979         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51980         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51982         * elf/chroot_canon.c (chroot_canon): Cleanups.
51984         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51986         [BZ #13335]
51987         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51988         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51990         * string/test-strchr.c: Make usable for strchrnul testing.
51991         * string/test-strchrnul.c: New file.
51992         * string/Makefile (strop-tests): Add strchrnul.
51994         * po/it.po: Update from translation team.
51995         * po/es.po: Likewise.
51997 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
51999         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52000         the three constants needed as parameters.  Drop the others.
52001         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52002         __m128i_strloadu_tolower.
52003         Create and initialize variable zero and use it in all the places
52004         where _mm_setzero_si128 was used.
52006         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52007         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52008         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52009         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52010         anymore.
52011         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52012         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52013         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52014         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52015         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52016         __mpranred, __mptan.
52017         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52018         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52019         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52020         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52021         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52022         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52023         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52024         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52025         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52027 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52029         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52030         redefine if SHARED.
52031         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52034         wide char related routines to wcsmbs subdir.
52036 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52038         [BZ #13344]
52039         * misc/sys/cdefs.h (__THROWNL): Define.
52040         * posix/unistd.h: Use __THREADNL instead of __THREAD
52041         for memory synchronization functions.
52043 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52045         [BZ #13349]
52046         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52047         doesn't exist.
52048         * manual/stdio.texi (Obstack Streams): Node removed.
52050 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52052         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52053         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52054         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52056         * math/math_private.h (math_force_eval): Allow non-addressable
52057         arguments.
52058         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52060 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52062         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52063         file is not needed.
52065         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52066         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52067         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52068         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52069         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52070         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52071         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52072         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52073         Add AVX variants.
52074         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52075         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52076         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52077         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52078         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52079         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52080         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52081         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52082         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52083         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52084         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52085         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52086         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52087         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52088         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52089         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52090         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52091         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52092         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52094         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52095         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52097         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52098         place.  Use VEX encoding when compiling for AVX.
52100 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52102         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52103         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52105         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52107 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52109         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52110         useless if() expression.
52111         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52112         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52113         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52114         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52115         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52116         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52117         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52118         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52119         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52120         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52121         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52122         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52123         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52124         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52125         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52126         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52127         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52128         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52129         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52131         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52133 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52135         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52136         condition.
52137         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52139 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52141         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52142         .text section.  Avoid duplicate constants.
52143         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52144         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52145         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52147         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52150         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52151         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52152         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52153         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52154         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52155         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52156         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52157         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52158         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52159         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52160         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52161         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52162         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52163         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52164         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52165         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52166         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52167         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52168         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52169         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52170         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52171         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52172         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52173         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52174         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52175         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52176         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52177         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52178         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52179         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52180         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52181         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52182         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52183         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52184         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52185         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52186         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52187         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52189 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52191         * sysdeps/x86_64/dla.h: Move to ...
52192         * sysdeps/x86_64/fpu/dla.h: ...here.
52193         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52194         situations.  Use __builtin_fma only for gcc 4.6 and up.
52196         * config.make.in: Add have-mfma4 entry.
52197         * configure.in: Substitute libc_cv_cc_fma4.
52198         * math/Makefile (dbl-only-routines): Add sincostab.
52199         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52200         Use __sincostab not sincos.
52201         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52202         name is a macro.
52203         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52207         using __copysign.
52208         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52209         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52210         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52211         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52212         and __inv.
52213         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52214         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52215         __copysign.
52216         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52217         define aliases when function name is a macro.
52218         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52219         sysdeps/ieee754/dbl-64/sincos.tbl.
52220         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52221         fma4-enabled routines.
52222         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52223         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52224         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52225         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52226         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52227         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52228         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52229         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52230         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52231         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52232         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52233         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52234         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52235         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52236         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52237         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52238         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52239         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52240         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52241         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52242         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52243         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52244         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52245         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52246         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52247         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52248         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52249         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52250         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52251         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52253         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52254         rename.
52255         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52256         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52257         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52258         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52259         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52260         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52261         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52262         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52264 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52266         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52268 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52270         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52272         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52273         prediction.
52274         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52276         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52277         Remove unused variable magic_bits.
52278         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52280         * string/strnlen.c: Define and use STRNLEN macro.
52281         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52282         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52283         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52284         * wcsmbs/wcslen.c: Define and use WCSLEN.
52285         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52286         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52287         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52288         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52289         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52290         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52291         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52293 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52296         strnlen-sse2-no-bsf.
52297         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52298         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52299         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52300         Add strnlen support.
52301         (USE_AS_STRNLEN): New macro.
52302         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52303         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52304         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52305         * sysdeps/x86_64/wcslen.S: New file.
52307 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52309         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52310         XMM-moves are used for copying on small sizes.
52312 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52314         * wcsmbs/Makefile (strop-tests): Add wcschr.
52315         * wcsmbs/test-wcschr.c: New file.
52316         * string/test-strchr.c: Update.
52317         Add wcschr support.
52318         (WIDE): New macro.
52320 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52322         * wcsmbs/Makefile (strop-tests): Add wcslen.
52323         * wcsmbs/test-wcslen.c: New file.
52324         * string/test-strlen.c: Update.
52325         Add wcslen support.
52326         (WIDE): New macro.
52328 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52330         * po/it.po: Update from translation team.
52332 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52334         * sysdeps/x86_64/wcscmp.S: Update.
52335         Fix wrong comparison semantics.
52336         wcscmp shall use signed comparison not unsigned.
52337         Don't use substraction to avoid overflow bug.
52338         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52339         * wcsmbc/wcscmp.c: Likewise.
52340         * string/test-strcmp.c: Likewise.
52341         Add new tests to check cases with negative values.
52343 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52345         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52346         * sysdeps/x86_64/dla.h: ...here.  New file.
52347         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52348         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52349         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52350         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52351         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52352         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52353         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52354         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52355         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52357 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52360         __ynl_finite aliases.
52362 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52366         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52367         define DLA_FMA.
52368         [DLA_FMA] (EMULV): Use DLA_FMA.
52369         [DLA_FMA] (MUL12): Use EMULV.
52370         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52371         that are not needed.
52372         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52377         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52378         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52380 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52382         * math/s_nan.c: Undef __nan.
52383         * math/s_nanf.c: Undef __nanf.
52384         * math/s_nanl.c: Undef __nanl.
52385         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52386         "math_private.h".
52388 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52390         * math/s_catan.c: Add branch predictions.
52391         * math/s_catanf.c: Likewise.
52392         * math/s_catanh.c: Likewise.
52393         * math/s_catanhf.c: Likewise.
52394         * math/s_catanhl.c: Likewise.
52395         * math/s_catanl.c: Likewise.
52396         * math/s_cexp.c: Likewise.
52397         * math/s_cexpf.c: Likewise.
52398         * math/s_cexpl.c: Likewise.
52399         * math/s_clog.c: Likewise.
52400         * math/s_clog10.c: Likewise.
52401         * math/s_clog10f.c: Likewise.
52402         * math/s_clog10l.c: Likewise.
52403         * math/s_clogf.c: Likewise.
52404         * math/s_clogl.c: Likewise.
52405         * math/s_csqrt.c: Likewise.
52406         * math/s_csqrtf.c: Likewise.
52407         * math/s_csqrtl.c: Likewise.
52408         * math/s_ctanf.c: Likewise.
52409         * math/s_ctanh.c: Likewise.
52410         * math/s_ctanhf.c: Likewise.
52411         * math/s_ctanhl.c: Likewise.
52412         * math/s_ctanl.c: Likewise.
52414         * math/math_private.h: Define __nan, __nanf, __nanl.
52415         * math/s_cacosh.c: Include <math_private.h>.
52416         * math/s_cacoshl.c: Likewise.
52417         * math/s_casinh.c: Likewise.
52418         * math/s_casinhf.c: Likewise.
52419         * math/s_casinhl.c: Likewise.
52420         * math/s_ccos.c: Rely entire on ccosh.
52421         * math/s_ccosf.c: Rely entire on ccoshf.
52422         * math/s_ccosl.c: Rely entirely on ccoshl.
52423         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52424         Remove tests for FE_INVALID.
52425         * math/s_ccoshf.c: Likewise.
52426         * math/s_ccoshl.c: Likewise.
52427         * math/s_csin.c: Likewise.
52428         * math/s_csinf.c: Likewise.
52429         * math/s_csinh.c Likewise.
52430         * math/s_csinhf.c: Likewise.
52431         * math/s_csinhl.c: Likewise.
52432         * math/s_csinl.c: Likewise.
52433         * math/s_ctan.c: Likewise.
52434         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52435         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52436         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52438 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52441         compilation problems.
52443         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52444         __builtin_expect.
52446 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52448         * sysdeps/i386/configure.in: Test for -mfma4 option.
52449         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52450         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52451         COMMON_CPUID_INDEX_80000001.
52452         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52453         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52454         use it if FMA3 is not supported.
52455         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52457         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52458         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52460 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52462         [BZ #12892]
52463         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52464         it would create a cycle with a link time dependency.
52466 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52468         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52469         instruction.
52470         * string/Makefile (strop-tests): Add rawmemchr.
52471         * string/test-rawmemchr.c: New file.
52473         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52474         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52475         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52476         when compiling str{,n}casecmp and when AVX is available.  Hook up
52477         new optimized code in initializers.
52479 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52481         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52482         __feraiseexcept instead of feraiseexcept.
52484 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52486         * math/math_private.h: Define defaults for libc_fetestexcept and
52487         libc_feupdateenv.
52488         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52489         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52490         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52491         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52492         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52493         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52494         libc_fetestexcept and libc_feupdateenv.
52496         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52497         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52498         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52499         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52500         libc_feholdexcept_setround.
52502         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52503         Add s_nearbyint-c and s_nearbyintf-c.
52504         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52505         nearbyintf inlines.
52506         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52507         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52508         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52509         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52511         * math/math_private.h: Define defaults for libc_fegetround,
52512         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52513         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52514         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52515         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52516         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52517         standard functions.
52518         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52519         Remove comments and hacks for old compiler versions.
52520         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52521         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52522         libc_feholdexceptl.
52524 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52526         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52527         (__feraiseexcept_renamed): Add __NTH.
52528         (feraiseexcept): Add __NTH.  Rename local variables to fix
52529         namespace violations.
52531 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52533         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52535         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52537         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52538         recently added interfaces.
52539         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52541         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52542         about macro parameter expansion.
52544         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52545         __NO_MATH_INLINES is defined.  Cleanups.
52547         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52548         and __floorf is target has SSE4.1.
52549         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52550         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52551         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52552         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52554         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52555         name.
52556         (floorf): Likewise.
52558         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52560 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52562         * misc/sys/cdefs.h: Fix last change.
52564         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52565         database lookup.
52567 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52569         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52571         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52572         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52573         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52574         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52575         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52576         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52577         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52578         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52579         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52580         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52581         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52582         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52583         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52584         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52585         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52586         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52587         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52588         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52589         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52590         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52591         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52592         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52594         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52595         ceil, ceilf, floor, floorf.
52597         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52598         Perform IRELATIVE relocations last.
52600         * elf/do-rel.h: Add another parameter nrelative, replacing the
52601         local variable with the same name.  Change name of the function
52602         to end in Rel or Rela (uppercase).
52603         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52604         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52605         elf_dynamic_do_##reloc function.
52607 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52609         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52610         is sufficient, at least on modern CPUs.
52612         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52614         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52615         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52617         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52618         __expl_finite.
52619         * math/bits/math-finite.h: Add entries for exp.
52620         * math/e_expl.c: Add __*_finite alias.
52621         * sysdeps/i386/fpu/e_exp.S: Likewise.
52622         * sysdeps/i386/fpu/e_expf.S: Likewise.
52623         * sysdeps/i386/fpu/e_expl.c: Likewise.
52624         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52625         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52626         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52628         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52629         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52630         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52632         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52633         is sufficient, at least on modern CPUs.
52635         * ctype/ctype-info.c (__ctype_init): Define.
52636         * include/ctype.h (__ctype_init): Declare.
52637         (__ctype_b_loc): The variable is always initialized.
52638         (__ctype_toupper_loc): Likewise.
52639         (__ctype_tolower_loc): Likewise.
52640         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52641         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52643 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52645         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52647         * configure.in: Also look in $cxxmachine/include for C++ system
52648         headers.
52650 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52652         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52653         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52654         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52655         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52656         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52657         (USE_AS_WMEMCMP): New macro.
52658         Fixing indents.
52659         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52660         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52661         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52662         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52663         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52664         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52665         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52666         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52667         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52668         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52669         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52670         (USE_AS_WMEMCMP): New macro.
52671         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52672         * sysdeps/string/test-memcmp.c: Update.
52673         Fix simple_wmemcmp.
52674         Add new tests.
52675         * wcsmbs/wmemcmp.c: Update.
52676         (WMEMCMP): New macro.
52677         Fix overflow bug.
52679 2011-10-12  Andreas Jaeger  <aj@suse.de>
52681         [BZ #13268]
52682         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52684 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52686         * libio/iofwide.c (do_length): Avoid warning.
52688         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52690 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52692         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52694         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52695         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52696         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52697         * sysdeps/i386/i686/fpu/e_log.S: New file.
52698         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52699         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52701         * ctype/ctype.h: Add support for inlined isXXX functions when
52702         compiling C++ code.
52704 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52706         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52708         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52710 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52712         [BZ #13291]
52713         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52715 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52717         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52718         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52719         feraiseexcept.
52721         * sysdeps/x86_64/memrchr.S: Check for zero size.
52723         * string/stratcliff.c: Add memrchr tests.
52725 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52727         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52728         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52729         rawmemchr-sse2 rawmemchr-sse2-bsf.
52730         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52731         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52732         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52733         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52734         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52735         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52736         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52737         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52738         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52739         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52740         * string/memrchr.c (MEMRCHR): New macro.
52742 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52744         Add integration with gcc's -ffinite-math-only and optimize wrapper
52745         functions in libm.
52746         * Versions.def: Define GLIBC_2.15 version for libm.
52747         * math/Makefile (headers): Add bits/math-finite.h.
52748         * math/bits/math-finite.h: New file.
52749         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52750         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52751         * math/e_acoshl.c: Add __*_finite alias.
52752         * math/e_acosl.c: Likewise.
52753         * math/e_asinl.c: Likewise.
52754         * math/e_atan2l.c: Likewise.
52755         * math/e_atanhl.c: Likewise.
52756         * math/e_coshl.c: Likewise.
52757         * math/e_exp10.c: Likewise.
52758         * math/e_exp10f.c: Likewise.
52759         * math/e_exp10l.c: Likewise.
52760         * math/e_exp2l.c: Likewise.
52761         * math/e_fmodl.c: Likewise.
52762         * math/e_gammal_r.c: Likewise.
52763         * math/e_hypotl.c: Likewise.
52764         * math/e_j0l.c: Likewise.
52765         * math/e_j1l.c: Likewise.
52766         * math/e_jnl.c: Likewise.
52767         * math/e_lgammal_r.c: Likewise.
52768         * math/e_log10l.c: Likewise.
52769         * math/e_log2l.c: Likewise.
52770         * math/e_logl.c: Likewise.
52771         * math/e_powl.c: Likewise.
52772         * math/e_sinhl.c: Likewise.
52773         * math/e_sqrtl.c: Likewise.
52774         * math/e_scalb.c: Completely rewritten and optimized.
52775         * math/e_scalbf.c: Likewise.
52776         * math/e_scalbl.c: Likewise.
52777         * math/w_acos.c: Likewise.
52778         * math/w_acosf.c: Likewise.
52779         * math/w_acosl.c: Likewise.
52780         * math/w_acosh.c: Likewise.
52781         * math/w_acoshf.c: Likewise.
52782         * math/w_acoshl.c: Likewise.
52783         * math/w_asin.c: Likewise.
52784         * math/w_asinf.c: Likewise.
52785         * math/w_asinl.c: Likewise.
52786         * math/w_atan2.c: Likewise.
52787         * math/w_atan2f.c: Likewise.
52788         * math/w_atan2l.c: Likewise.
52789         * math/w_atanh.c: Likewise.
52790         * math/w_atanhf.c: Likewise.
52791         * math/w_atanhl.c: Likewise.
52792         * math/w_exp10.c: Likewise.
52793         * math/w_exp10f.c: Likewise.
52794         * math/w_exp10l.c: Likewise.
52795         * math/w_fmod.c: Likewise.
52796         * math/w_fmodf.c: Likewise.
52797         * math/w_fmodl.c: Likewise.
52798         * math/w_j0.c: Likewise.
52799         * math/w_j0f.c: Likewise.
52800         * math/w_j0l.c: Likewise.
52801         * math/w_j1.c: Likewise.
52802         * math/w_j1f.c: Likewise.
52803         * math/w_j1l.c: Likewise.
52804         * math/w_jn.c: Likewise.
52805         * math/w_jnf.c: Likewise.
52806         * math/w_log.c: Likewise.
52807         * math/w_logf.c: Likewise.
52808         * math/w_logl.c: Likewise.
52809         * math/w_log10.c: Likewise.
52810         * math/w_log10f.c: Likewise.
52811         * math/w_log10l.c: Likewise.
52812         * math/w_log2.c: Likewise.
52813         * math/w_log2f.c: Likewise.
52814         * math/w_log2l.c: Likewise.
52815         * math/w_pow.c: Likewise.
52816         * math/w_powf.c: Likewise.
52817         * math/w_powl.c: Likewise.
52818         * math/w_remainder.c: Likewise.
52819         * math/w_remainderf.c: Likewise.
52820         * math/w_remainderl.c: Likewise.
52821         * math/w_scalb.c: Likewise.
52822         * math/w_scalbf.c: Likewise.
52823         * math/w_scalbl.c: Likewise.
52824         * math/w_sqrt.c: Likewise.
52825         * math/w_sqrtf.c: Likewise.
52826         * math/w_sqrtl.c: Likewise.
52827         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52828         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52829         used.
52830         * math/math_private.h: Declare __kernel_standard_f.
52831         * math/w_cosh.c: Remove cruft and optimize a bit.
52832         * math/w_coshf.c: Likewise.
52833         * math/w_coshl.c: Likewise.
52834         * math/w_exp2.c: Likewise.
52835         * math/w_exp2f.c: Likewise.
52836         * math/w_exp2l.c: Likewise.
52837         * math/w_hypot.c: Likewise.
52838         * math/w_hypotf.c: Likewise.
52839         * math/w_hypotl.c: Likewise.
52840         * math/w_lgamma.c: Likewise.
52841         * math/w_lgamma_r.c: Likewise.
52842         * math/w_lgammaf.c: Likewise.
52843         * math/w_lgammaf_r.c: Likewise.
52844         * math/w_lgammal.c: Likewise.
52845         * math/w_lgammal_r.c: Likewise.
52846         * math/w_sinh.c: Likewise.
52847         * math/w_sinhf.c: Likewise.
52848         * math/w_sinhl.c: Likewise.
52849         * math/w_tgamma.c: Likewise.
52850         * math/w_tgammaf.c: Likewise.
52851         * math/w_tgammal.c: Likewise.
52852         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52853         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52854         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52855         Minor optimizations.  Pretty printing.  Remove cruft.
52856         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52857         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52858         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52859         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52860         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52861         * sysdeps/i386/fpu/e_asin.S: Likewise.
52862         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52863         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52864         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52865         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52866         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52867         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52868         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52869         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52870         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52871         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52872         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52873         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52874         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52875         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52876         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52877         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52878         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52879         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52880         * sysdeps/i386/fpu/e_log.S: Likewise.
52881         * sysdeps/i386/fpu/e_log10.S: Likewise.
52882         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52883         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52884         * sysdeps/i386/fpu/e_log2.S: Likewise.
52885         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52886         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52887         * sysdeps/i386/fpu/e_logf.S: Likewise.
52888         * sysdeps/i386/fpu/e_logl.S: Likewise.
52889         * sysdeps/i386/fpu/e_pow.S: Likewise.
52890         * sysdeps/i386/fpu/e_powf.S: Likewise.
52891         * sysdeps/i386/fpu/e_powl.S: Likewise.
52892         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52893         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52894         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52895         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52896         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52897         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52898         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52899         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52900         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52901         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52902         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52903         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52904         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52905         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52906         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52907         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52908         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52909         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52910         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52911         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52912         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52914         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52915         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52916         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52917         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52918         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52919         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52920         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52921         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52922         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52923         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52924         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52925         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52926         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52927         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52928         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52929         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52930         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52931         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52932         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52933         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52934         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52935         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52936         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52937         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52938         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52939         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52940         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52941         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52942         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52943         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52944         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52945         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52946         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52947         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52948         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52949         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52950         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52951         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52952         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52953         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52954         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52955         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52956         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52957         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52958         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52959         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52960         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52961         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52962         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52963         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52964         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52965         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52966         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52967         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52968         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52970         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52972         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52973         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52974         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52977         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52978         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52981         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52983         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52984         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52986         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52987         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52989         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52991         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52992         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52993         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52994         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52995         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52996         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52997         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52998         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52999         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53000         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53001         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53002         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53003         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53004         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53005         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53006         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53007         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53008         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53009         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53010         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53011         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53012         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53013         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53014         (__isnanf): Likewise.
53015         (__isinf_ns): Likewise.
53016         (__isinf_nsf): Likewise.
53017         (__finite): Likewise.
53018         (__finitef): Likewise.
53019         (__ieee754_sqrt): Define as macro.
53020         (__ieee754_sqrtf): Define as macro.
53021         (__ieee754_sqrtl): Define as macro.
53022         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53023         inlined copy.
53024         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53025         __FINITE_MATH_ONLY__ consistent.
53026         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53028 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53030         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53031         of rawmemchr.
53033         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53035 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53037         * po/ja.po: Update from translation team.
53039 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53041         * locale/programs/locarchive.c (prepare_address_space): New function.
53042         (create_archive, enlarge_archive, open_archive): Use it.
53044         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53045         inside [SHARED], where it is used.
53047         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53049         * nss/getent.c (netgroup_keys): Remove unused variable.
53050         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53052 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53054         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53055         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53057         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53058         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53059         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53060         * math/Makefile (libm-calls): Add s_isinf_ns.
53061         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53062         * math/multc3.c: Likewise.
53063         * math/s_casin.c: Likewise.
53064         * math/s_casinf.c: Likewise.
53065         * math/s_casinl.c: Likewise.
53066         * math/s_ccos.c: Likewise.
53067         * math/s_ccosf.c: Likewise.
53068         * math/s_ccosl.c: Likewise.
53069         * math/s_ctan.c: Likewise.
53070         * math/s_ctanf.c: Likewise.
53071         * math/s_ctanh.c: Likewise.
53072         * math/s_ctanhf.c: Likewise.
53073         * math/s_ctanhl.c: Likewise.
53074         * math/s_ctanl.c: Likewise.
53075         * math/w_fmod.c: Likewise.
53076         * math/w_fmodf.c: Likewise.
53077         * math/w_fmodl.c: Likewise.
53078         * math/w_remainder.c: Likewise.
53079         * math/w_remainderf.c: Likewise.
53080         * math/w_remainderl.c: Likewise.
53081         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53082         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53083         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53084         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53085         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53086         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53087         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53088         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53090         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53091         of the number.
53092         * stdio-common/printf_fphex.c: Likewise.
53093         * stdio-common/printf_size.c: Likewise.
53095         * math/e_exp10.c: Include math_private.h using <...> not "...".
53096         * math/e_exp10f.c: Likewise.
53097         * math/e_exp10l.c: Likewise.
53098         * math/e_exp2l.c: Likewise.
53099         * math/e_j0l.c: Likewise.
53100         * math/e_j1l.c: Likewise.
53101         * math/e_jnl.c: Likewise.
53102         * math/e_lgammal_r.c: Likewise.
53103         * math/e_rem_pio2l.c: Likewise.
53104         * math/e_scalb.c: Likewise.
53105         * math/e_scalbf.c: Likewise.
53106         * math/e_scalbl.c: Likewise.
53107         * math/k_cosl.c: Likewise.
53108         * math/k_sinl.c: Likewise.
53109         * math/k_tanl.c: Likewise.
53110         * math/s_cacoshf.c: Likewise.
53111         * math/s_catan.c: Likewise.
53112         * math/s_catanf.c: Likewise.
53113         * math/s_catanh.c: Likewise.
53114         * math/s_catanhf.c: Likewise.
53115         * math/s_catanhl.c: Likewise.
53116         * math/s_catanl.c: Likewise.
53117         * math/s_ccosh.c: Likewise.
53118         * math/s_ccoshf.c: Likewise.
53119         * math/s_ccoshl.c: Likewise.
53120         * math/s_cexp.c: Likewise.
53121         * math/s_cexpf.c: Likewise.
53122         * math/s_cexpl.c: Likewise.
53123         * math/s_clog.c: Likewise.
53124         * math/s_clog10.c: Likewise.
53125         * math/s_clog10f.c: Likewise.
53126         * math/s_clog10l.c: Likewise.
53127         * math/s_clogf.c: Likewise.
53128         * math/s_clogl.c: Likewise.
53129         * math/s_csin.c: Likewise.
53130         * math/s_csinf.c: Likewise.
53131         * math/s_csinh.c: Likewise.
53132         * math/s_csinhf.c: Likewise.
53133         * math/s_csinhl.c: Likewise.
53134         * math/s_csinl.c: Likewise.
53135         * math/s_csqrt.c: Likewise.
53136         * math/s_csqrtf.c: Likewise.
53137         * math/s_csqrtl.c: Likewise.
53138         * math/s_ctan.c: Likewise.
53139         * math/s_ctanf.c: Likewise.
53140         * math/s_ctanh.c: Likewise.
53141         * math/s_ctanhf.c: Likewise.
53142         * math/s_ctanhl.c: Likewise.
53143         * math/s_ctanl.c: Likewise.
53144         * math/s_ldexp.c: Likewise.
53145         * math/s_ldexpf.c: Likewise.
53146         * math/s_ldexpl.c: Likewise.
53147         * math/s_significand.c: Likewise.
53148         * math/s_significandf.c: Likewise.
53149         * math/s_significandl.c: Likewise.
53150         * math/w_acos.c: Likewise.
53151         * math/w_acosf.c: Likewise.
53152         * math/w_acosh.c: Likewise.
53153         * math/w_acoshf.c: Likewise.
53154         * math/w_acoshl.c: Likewise.
53155         * math/w_acosl.c: Likewise.
53156         * math/w_asin.c: Likewise.
53157         * math/w_asinf.c: Likewise.
53158         * math/w_asinl.c: Likewise.
53159         * math/w_atan2.c: Likewise.
53160         * math/w_atan2f.c: Likewise.
53161         * math/w_atan2l.c: Likewise.
53162         * math/w_atanh.c: Likewise.
53163         * math/w_atanhf.c: Likewise.
53164         * math/w_atanhl.c: Likewise.
53165         * math/w_cosh.c: Likewise.
53166         * math/w_coshf.c: Likewise.
53167         * math/w_coshl.c: Likewise.
53168         * math/w_dremf.c: Likewise.
53169         * math/w_exp10.c: Likewise.
53170         * math/w_exp10f.c: Likewise.
53171         * math/w_exp10l.c: Likewise.
53172         * math/w_exp2.c: Likewise.
53173         * math/w_exp2f.c: Likewise.
53174         * math/w_fmod.c: Likewise.
53175         * math/w_fmodf.c: Likewise.
53176         * math/w_fmodl.c: Likewise.
53177         * math/w_hypot.c: Likewise.
53178         * math/w_hypotf.c: Likewise.
53179         * math/w_hypotl.c: Likewise.
53180         * math/w_j0.c: Likewise.
53181         * math/w_j0f.c: Likewise.
53182         * math/w_j0l.c: Likewise.
53183         * math/w_j1.c: Likewise.
53184         * math/w_j1f.c: Likewise.
53185         * math/w_j1l.c: Likewise.
53186         * math/w_jn.c: Likewise.
53187         * math/w_jnf.c: Likewise.
53188         * math/w_jnl.c: Likewise.
53189         * math/w_lgamma.c: Likewise.
53190         * math/w_lgamma_r.c: Likewise.
53191         * math/w_lgammaf.c: Likewise.
53192         * math/w_lgammaf_r.c: Likewise.
53193         * math/w_lgammal.c: Likewise.
53194         * math/w_lgammal_r.c: Likewise.
53195         * math/w_log.c: Likewise.
53196         * math/w_log10.c: Likewise.
53197         * math/w_log10f.c: Likewise.
53198         * math/w_log10l.c: Likewise.
53199         * math/w_log2.c: Likewise.
53200         * math/w_log2f.c: Likewise.
53201         * math/w_log2l.c: Likewise.
53202         * math/w_logf.c: Likewise.
53203         * math/w_logl.c: Likewise.
53204         * math/w_pow.c: Likewise.
53205         * math/w_powf.c: Likewise.
53206         * math/w_powl.c: Likewise.
53207         * math/w_remainder.c: Likewise.
53208         * math/w_remainderf.c: Likewise.
53209         * math/w_remainderl.c: Likewise.
53210         * math/w_scalb.c: Likewise.
53211         * math/w_scalbf.c: Likewise.
53212         * math/w_scalbl.c: Likewise.
53213         * math/w_sinh.c: Likewise.
53214         * math/w_sinhf.c: Likewise.
53215         * math/w_sinhl.c: Likewise.
53216         * math/w_sqrt.c: Likewise.
53217         * math/w_sqrtf.c: Likewise.
53218         * math/w_sqrtl.c: Likewise.
53219         * math/w_tgamma.c: Likewise.
53220         * math/w_tgammaf.c: Likewise.
53221         * math/w_tgammal.c: Likewise.
53223         * po/ja.po: Update from translation team.
53225 2011-09-29  Andreas Jaeger  <aj@suse.de>
53227         [BZ #13179]
53228         * sunrpc/netname.c (netname2host): Fix logic.
53230         [BZ #6779]
53231         [BZ #6783]
53232         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53233         correctly.
53234         * math/w_remainder.c (__remainder): Likewise.
53235         * math/w_remainderf.c (__remainderf): Likewise.
53236         * math/libm-test.inc (remainder_test): Add test cases.
53238 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53240         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53241         sdiv_qrnnd.
53243 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53245         * string/test-memcmp.c: Avoid unncessary #defines.
53246         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53248 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53250         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53251         Use new sse2 version for core i3 - i7 as it's faster
53252         than sse42 version.
53253         (bit_Prefer_PMINUB_for_stringop): New.
53254         * sysdeps/x86_64/rawmemchr.S: Update.
53255         Replace with faster SSE2 version.
53256         * sysdeps/x86_64/memrchr.S: New file.
53257         * sysdeps/x86_64/memchr.S: Update.
53258         Replace with faster SSE2 version.
53260 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53262         * elf/dl-load.c (lose): Add cast to avoid warning.
53264 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53266         * po/ca.po: Update from translation team.
53268         * inet/getnetgrent_r.c: Hook up nscd.
53269         * nscd/Makefile (routines): Add nscd_netgroup.
53270         (nscd-modules): Add netgroupcache.
53271         (CFLAGS-netgroupcache.c): Define.
53272         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53273         (cache_search): Add const to second parameter.
53274         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53275         INNETGR.
53276         (dbs): Add netgrdb entry.
53277         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53278         (verify_persistent_db): Handle netgrdb.
53279         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53280         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53281         GETFDNETGR.
53282         (netgroup_response_header): Define.
53283         (innetgroup_response_header): Define.
53284         (datahead): Add netgroup_response_header and innetgroup_response_header
53285         elements.
53286         * nscd/nscd.conf: Add entries for netgroup cache.
53287         * nscd/nscd.h (dbtype): Add netgrdb.
53288         (_PATH_NSCD_NETGROUP_DB): Define.
53289         (netgroup_iov_disabled): Declare.
53290         (xmalloc, xcalloc, xrealloc): Move declarations here.
53291         (cache_search): Adjust prototype.
53292         Add netgroup-related prototypes.
53293         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53294         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53295         (__nscd_innetgr): Declare.
53296         * nscd/selinux.c (perms): Use access_vector_t as element type and
53297         add netgroup-related initializers.
53298         * nscd/netgroupcache.c: New file.
53299         * nscd/nscd_netgroup.c: New file.
53300         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53301         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53302         For four parameters use innetgr.
53303         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53304         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53305         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53306         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53308         * nscd/connections.c (register_traced_file): Don't register file
53309         for disabled databases.
53311 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53313         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53315         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53316         from tree and freeing node.
53318 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53320         * nss/nsswitch.c (__nss_database_lookup): Handle
53321         nss_parse_service_list out of memory case.
53323 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53325         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53326         out of memory case.
53328 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53330         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53331         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53332         pass it down.
53333         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53334         elf_machine_rela, elf_machine_lazy_rel.
53335         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53336         (ELF_DYNAMIC_DO_REL): Likewise.
53337         (ELF_DYNAMIC_DO_RELA): Likewise.
53338         (ELF_DYNAMIC_RELOCATE): Likewise.
53339         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53340         to ELF_DYNAMIC_DO_REL.
53341         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53342         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53343         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53344         elf_machine_rela.
53345         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53346         skip_ifunc, don't call ifunc function if non-zero.
53347         (elf_machine_rela): Likewise.
53348         (elf_machine_lazy_rel): Likewise.
53349         (elf_machine_lazy_rela): Likewise.
53350         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53351         (elf_machine_lazy_rel): Likewise.
53352         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53353         Likewise.
53354         (elf_machine_lazy_rel): Likewise.
53355         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53356         Likewise.
53357         (elf_machine_lazy_rel): Likewise.
53358         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53359         (elf_machine_lazy_rel): Likewise.
53360         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53361         (elf_machine_lazy_rel): Likewise.
53362         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53363         (elf_machine_lazy_rel): Likewise.
53364         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53365         (elf_machine_lazy_rel): Likewise.
53366         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53367         (elf_machine_lazy_rel): Likewise.
53368         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53369         (elf_machine_lazy_rel): Likewise.
53371 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53373         * nss/nss_files/files-init.c (_nss_files_init): Use static
53374         initialization for all the *_traced_file variables.
53376 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53378         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53380 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53382         [BZ #13226]
53383         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53385 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53387         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53388         Reread the line before reparsing it.
53390 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53392         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53394 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53395             Maxim Kuvyrkov  <maxim@codesourcery.com>
53396             Joseph Myers  <joseph@codesourcery.com>
53398         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53399         if needed for __stack_chk_guard.
53401 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53403         * sysdeps/posix/spawni.c (script_execute): Always define it.
53404         It will be optimized away if unused.
53405         (maybe_script_execute): New function.
53406         (__spawni): Call it.
53408         * Makerules: Don't include tls.make.
53409         (config-tls): Always set to thread.
53410         * tls.make.c: File removed.
53412 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53414         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53415         * config.make.in (CPPFLAGS-config): New substituted variable.
53417 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53419         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53421         [BZ #13192]
53422         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53423         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53425 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53427         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53428         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53429         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53430         (CALL_FAIL): Likewise.
53431         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53432         (CALL_FAIL): Macro removed.
53433         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53435 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53437         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53438         for __FINITE_MATH_ONLY__ == 1.
53440 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53442         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53443         __ieee754_sqrt instead of sqrt.
53444         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53445         __ieee754_sqrtf instead of sqrtf.
53446         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53447         __floorf instead of floorf.
53448         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53449         __floorf, __truncf instead of floorf, truncf.
53451 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53453         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53455         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53456         __extern_always_inline.
53457         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53458         32-bit.
53460 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53462         * elf/rtld.c (dl_main): Also relocate in dependency order when
53463         doing symbol dependency testing.
53465 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53467         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53468         Always define `refsym'.
53470 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53472         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53473         (__FD_ELT): Renamed from __FDELT.
53474         * misc/bits/select2.h (__FD_ELT): Likewise.
53475         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53476         __FD_MASK instead of __FDELT, __FDMASK.
53477         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53478         Likewise.
53479         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53480         Likewise.
53482         * elf/Makefile (gen-ldd): Fix pattern.
53484         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53485         (init_tls): Likewise.
53487 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53489         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53491 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53493         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53494         `struct cmsghdr *' instead of `void *'.
53495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53496         Likewise.
53498 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53500         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53501         if non-absolute.
53502         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53503         ldd_rewrite_script.
53505 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53507         * configure.in: Remove --with-tls option.
53508         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53509         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53510         out in case it is missing.
53511         * sysdeps/ia64/elf/configure.in: Likewise.
53512         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53513         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53514         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53515         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53516         * sysdeps/sh/elf/configure.in: Likewise.
53517         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53518         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53519         * sysdeps/x86_64/elf/configure.in: Likewise.
53520         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53521         * sysdeps/mach/hurd/tls.h: Likewise.
53523         [BZ #13067]
53524         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53526         [BZ #13090]
53527         * configure.in: Fix use of AC_INIT.
53529         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53531 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53533         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53534         __set_errno.
53535         * malloc/hooks.c: Likewise.
53537         [BZ #11929]
53538         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53539         variables statically.
53540         (narenas): Initialize.
53541         (list_lock): Initialize.
53542         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53543         initializtion of main_arena and list_lock.  Small cleanups.
53544         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53545         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53546         Add initializers to main_arena and mp_.
53547         (malloc_state): Remove pagesize member.  Change all users to use
53548         GLRO(dl_pagesize).
53550         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53551         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53552         is always initialized.
53554         * malloc/malloc.c: Removed unused configurations and dead code.
53555         * malloc/arena.c: Likewise.
53556         * malloc/hooks.c: Likewise.
53557         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53559         * include/tls.h: Removed.  USE___THREAD must always be defined.
53560         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53561         * elf/dl-libc.c: Likewise.
53562         * elf/dl-tsd.c: Likewise.
53563         * include/errno.h: Likewise.
53564         * include/netdb.h: Likewise.
53565         * include/resolv.h: Likewise.
53566         * inet/herrno-loc.c: Likewise.
53567         * inet/herrno.c: Likewise.
53568         * malloc/arena.c: Likewise.
53569         * malloc/hooks.c: Likewise.
53570         * malloc/malloc.c: Likewise.
53571         * resolv/res-state.c: Likewise.
53572         * resolv/res_libc.c: Likewise.
53573         * sysdeps/i386/dl-machine.h: Likewise.
53574         * sysdeps/ia64/dl-machine.h: Likewise.
53575         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53576         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53577         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53578         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53579         * sysdeps/sh/dl-machine.h: Likewise.
53580         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53581         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53582         * sysdeps/unix/i386/sysdep.S: Likewise.
53583         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53584         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53585         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53589         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53593         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53594         * sysdeps/x86_64/dl-machine.h: Likewise.
53595         * tls.make.c: Likewise.
53597         * configure.in: Remove --with-__thread option.  Make tests for
53598         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53599         tls_model attribute fail if no support is available.  Remove
53600         USE_IN_LIBIO.
53601         * Makeconfig: Adjust for dropped configure option.  All features are
53602         now mandatory.
53603         * Makerules: Likewise.
53604         * Versions.def: Likewise.
53605         * argp/argp-fmtstream.c: Likewise.
53606         * argp/argp-fmtstream.h: Likewise.
53607         * argp/argp-help.c: Likewise.
53608         * assert/assert.c: Likewise.
53609         * config.h.in: Likewise.
53610         * config.make.in: Likewise.
53611         * configure: Likewise.
53612         * configure.in: Likewise.
53613         * csu/Versions: Likewise.
53614         * csu/init.c: Likewise.
53615         * elf/tst-audit2.c: Likewise.
53616         * elf/tst-tls10.c: Likewise.
53617         * elf/tst-tls10.h: Likewise.
53618         * elf/tst-tls11.c: Likewise.
53619         * elf/tst-tls12.c: Likewise.
53620         * elf/tst-tls14.c: Likewise.
53621         * elf/tst-tlsmod11.c: Likewise.
53622         * elf/tst-tlsmod12.c: Likewise.
53623         * elf/tst-tlsmod13.c: Likewise.
53624         * elf/tst-tlsmod13a.c: Likewise.
53625         * elf/tst-tlsmod14a.c: Likewise.
53626         * elf/tst-tlsmod15b.c: Likewise.
53627         * elf/tst-tlsmod16a.c: Likewise.
53628         * elf/tst-tlsmod16b.c: Likewise.
53629         * elf/tst-tlsmod7.c: Likewise.
53630         * elf/tst-tlsmod8.c: Likewise.
53631         * elf/tst-tlsmod9.c: Likewise.
53632         * gmon/gmon.c: Likewise.
53633         * grp/fgetgrent_r.c: Likewise.
53634         * grp/putgrent.c: Likewise.
53635         * hurd/fopenport.c: Likewise.
53636         * include/libc-symbols.h: Likewise.
53637         * include/tls.h: Likewise.
53638         * intl/gettextP.h: Likewise.
53639         * intl/loadinfo.h: Likewise.
53640         * locale/global-locale.c: Likewise.
53641         * locale/localeinfo.h: Likewise.
53642         * mach/devstream.c: Likewise.
53643         * malloc/arena.c: Likewise.
53644         * malloc/set-freeres.c: Likewise.
53645         * misc/err.c: Likewise.
53646         * misc/getttyent.c: Likewise.
53647         * misc/mntent_r.c: Likewise.
53648         * posix/getopt.c: Likewise.
53649         * posix/wordexp.c: Likewise.
53650         * pwd/fgetpwent_r.c: Likewise.
53651         * resolv/Versions: Likewise.
53652         * resolv/res_hconf.c: Likewise.
53653         * shadow/fgetspent_r.c: Likewise.
53654         * shadow/putspent.c: Likewise.
53655         * stdio-common/printf_fphex.c: Likewise.
53656         * stdio-common/tmpfile.c: Likewise.
53657         * stdlib/abort.c: Likewise.
53658         * stdlib/fmtmsg.c: Likewise.
53659         * sunrpc/auth_unix.c: Likewise.
53660         * sunrpc/clnt_perr.c: Likewise.
53661         * sunrpc/clnt_tcp.c: Likewise.
53662         * sunrpc/clnt_udp.c: Likewise.
53663         * sunrpc/clnt_unix.c: Likewise.
53664         * sunrpc/openchild.c: Likewise.
53665         * sunrpc/svc_simple.c: Likewise.
53666         * sunrpc/svc_tcp.c: Likewise.
53667         * sunrpc/svc_udp.c: Likewise.
53668         * sunrpc/svc_unix.c: Likewise.
53669         * sunrpc/xdr.c: Likewise.
53670         * sunrpc/xdr_array.c: Likewise.
53671         * sunrpc/xdr_rec.c: Likewise.
53672         * sunrpc/xdr_ref.c: Likewise.
53673         * sunrpc/xdr_stdio.c: Likewise.
53675 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53677         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53679 2011-07-03  Andreas Jaeger  <aj@suse.de>
53681         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53682         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53683         regenerate with gen-libm-tests.pl.
53685 2010-05-12  Petr Baudis  <pasky@suse.cz>
53687         [BZ #11589]
53688         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53689         around j0() zero points by switching to j1().
53690         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53691         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53692         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53693         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53695 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53697         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53698         instead of 0.
53699         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53700         instead of 0.
53701         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53702         Patch in part by Pavel Roskin <proski@gnu.org>.
53704         [BZ #13138]
53705         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53706         realloc.
53707         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53708         Free memory block if necessary.
53710         [BZ #12847]
53711         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53712         be NULL.  Don't lock in this case.
53714 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53716         * elf/elf.h (ELFOSABI_GNU): New macro.
53717         (ELFOSABI_LINUX): Define to that.
53719 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53721         * string/strncat.c (strncat): Undef the symbol in case it has been
53722         defined in bits/string.h.
53724 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53726         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53728         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53729         link map.
53731 2011-08-17  Andreas Jaeger  <aj@suse.de>
53733         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53735 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53736             Ian Lance Taylor  <iant@google.com>
53738         * math/libm-test.inc (lround_test): New testcase.
53739         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53741 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53743         * Makefile: Remove support for automatic cvs check-ins.
53744         * Makerules: Likewise.
53745         * config.make.in: Likewise.
53746         * configure.in: Likewise.
53747         * intl/Makefile: Likewise.
53748         * locale/Makefile: Likewise.
53749         * po/Makefile: Likewise.
53750         * posix/Makefile: Likewise.
53751         * sysdeps/gnu/Makefile: Likewise.
53752         * sysdeps/mach/hurd/Makefile: Likewise.
53753         * sysdeps/sparc/sparc32/Makefile: Likewise.
53755         [BZ #13118]
53756         * posix/Makefile (bug-regex32-ENV): Define.
53757         Patch by John Stanley <jpsinthemix@verizon.net>.
53759         * misc/Makefile (headers): Add bits/select2.h.
53760         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53761         * misc/bits/select2.h: New file.
53762         * include/bits/select2.h: New file.
53763         * debug/Makefile (routines): Add fdelt_chk.
53764         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53765         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53766         FD_ISSET.
53767         * debug/fdelt_chk.c: New file.
53769         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53770         * wcsmbs/test-wmemcmp.c: Likewise.
53771         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53772         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53774 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53776         * string/Makefile (strop-tests): Add memcmp.
53777         * string/test-wmemcmp.c: New file.
53778         * string/test-memcmp.c: Add wmemcmp support.
53780 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53782         [BZ #13153]
53783         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53784         2011-07-19 change.
53786         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53787         garbage value in a __mach_port_mod_refs call in the cases of the
53788         task-self and thread-self ports.
53790 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53792         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53794 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53796         * elf/dl-load.c (lose): Check for non-null L.
53798 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53800         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53802         * elf/dl-libc.c (dlerror_run): Pass back error code from
53803         dl_catch_error.
53805         [BZ #13123]
53806         * elf/dl-load.c (lose): Free l_origin if it is valid.
53808         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53809         names.
53810         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53811         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53812         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53813         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53814         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53815         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53817 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53819         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53820         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53821         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53822         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53823         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53824         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53825         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53826         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53827         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53828         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53830 2011-08-15  Alan Modra  <amodra@gmail.com>
53832         [BZ #13092]
53833         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53834         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53835         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53836         ppc_mcount to static-only-routines.
53837         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53838         __mcount_internal.
53839         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53840         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53842 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53844         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53845         for finite and infinity parameters.
53847 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53849         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53850         and add nop instructions for throughput optimization.
53851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53853 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53855         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53856         aligned copy for power7 with vector-scalar instructions.
53857         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53859 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53861         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53862         AVX check.
53864 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53866         [BZ #13144]
53867         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53868         last change.
53870 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53872         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53873         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53874         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53875         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53876         clock_gettime.
53878 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53881         Forgot to demangle the pointer.
53883         * sysdeps/i386/sysdep.h: Define atom_text_section.
53884         * sysdeps/x86_64/sysdep.h: Likewise.
53885         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53886         section with atom_text_section.
53887         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53888         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53889         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53890         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53891         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53893         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53894         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53895         already be defined.  Change to take two parameters and don't assign
53896         result to variable.  Adjust all users.
53897         Define INTERNAL_GETTIME if not already defined.
53898         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53899         call.
53900         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53901         HAVE_CLOCK_GETTIME_VSYSCALL.
53902         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53904         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53905         gettimeofday vsyscall, just use time.
53907 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53909         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53910         <errno.h>.
53912 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53914         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53915         syscall on x86-64.
53916         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53917         syscall.
53918         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53919         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53920         syscall if possible.
53922 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53924         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53925         e_ident.  Don't pass to find_mapsXX.
53926         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53928 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53931         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53932         * sysdeps/x86_64/multiarch/strchr.S: Update.
53933         Check bit_slow_BSF bit.
53934         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53935         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53936         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53938 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53940         [BZ #13134]
53941         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53942         before glibc 2.15.
53943         (tryshell): Define.
53944         (__spawni): Change last parameter to be flag.  Test
53945         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53946         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53947         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53948         * posix/spawni.c: Likewise.
53949         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53950         * posix/spawnp.c: Likewise.  Change normal version to use
53951         SPAWN_XFLAGS_USE_PATH.
53952         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53953         SPAWN_XFLAGS_TRY_SHELL.
53955         [BZ #13150]
53956         * posix/glob.h: Remove gcc 1.x support.
53958         [BZ #13068]
53959         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53961 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53963         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53964         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53965         strrchr-sse2-bsf
53966         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53967         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53968         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53969         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53970         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53971         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53973 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53975         * sysdeps/x86_64/wcscmp.S: New file.
53977         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53978         wcscmp-c wcscmp-sse2
53979         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53980         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53981         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53982         * wcsmbs/wcscmp.c: Allow renaming.
53984 2011-09-05  David S. Miller  <davem@davemloft.net>
53986         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53987         stack slot, rather than the struct return pointer slot.
53988         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53989         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53991         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53993 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53995         * po/ja.po: Update from translation team.
53997         [BZ #13144]
53998         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53999         kernel in 64-bit binaries.
54001 2011-09-01  David S. Miller  <davem@davemloft.net>
54003         * elf/elf.h (HWCAP_SPARC_*): Move to..
54004         * sysdeps/sparc/sysdep.h: this new file and add new values.
54005         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54006         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54007         _DL_HWCAP_COUNT to 24.
54008         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54009         entries.
54010         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54011         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54012         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54014         instead of magic constants.
54015         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54017 2011-08-31  David S. Miller  <davem@davemloft.net>
54019         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54020         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54021         Reimplement to do errno handling inline.
54022         (SYSCALL_ERROR_HANDLER): New macro.
54023         (__SYSCALL_STRING): Do not do errno handling in asm.
54024         (__CLONE_SYSCALL_STRING): Delete.
54025         (__INTERNAL_SYSCALL_STRING): Delete.
54026         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54027         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54028         (PSEUDO): Reimplement to do errno handling inline.
54029         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54030         (SYSCALL_ERROR_HANDLER): New macro.
54031         (__SYSCALL_STRING): Do not do errno handling in asm.
54032         (__CLONE_SYSCALL_STRING): Delete.
54033         (__INTERNAL_SYSCALL_STRING): Delete.
54034         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54035         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54036         i386.
54037         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54038         (inline_syscall*): Add 'err' argument.
54039         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54040         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54041         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54042         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54044         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54045         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54047 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54049         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54051 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54053         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54054         directive.
54056 2011-08-24  David S. Miller  <davem@davemloft.net>
54058         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54060 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54062         * elf/Makefile: Add rules to build and run unload8 test.
54063         * elf/unload8.c: New file.
54064         * elf/unload8mod1.c: New file.
54065         * elf/unload8mod1x.c: New file.
54066         * elf/unload8mod2.c: New file.
54067         * elf/unload8mod3.c: New file.
54069         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54070         it wasn't used.
54072 2011-08-23  David S. Miller  <davem@davemloft.net>
54074         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54075         subtract stack bias.
54076         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54077         %sp not %fp in calculations.
54078         (_JMPBUF_UNWINDS_ADJ): Likewise.
54080         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54081         (aio_suspend): Call it to force an exception region around the
54082         AIO_MISC_WAIT() invocation.
54084 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54086         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54087         backslash.
54089 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54091         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54092         protection macro.
54093         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54094         and <dl-machine.h>.
54095         (Elf64_FuncDesc): Remove.
54097 2011-08-22  David S. Miller  <davem@davemloft.net>
54099         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54100         sigaltstack check, add missing cfi directives.
54101         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54102         missing cfi directives, and sigaltstack handling.
54104 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54106         [BZ #11724]
54107         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54108         object is seen twice.
54109         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54111         * elf/Makefile (distribute): Add tst-initorder2.c.
54112         (tests): Add tst-initorder2.
54113         (modules-names): Add tst-initorder2a tst-initorder2b
54114         tst-initorder2c tst-initorder2d.  Add rules to build them.
54115         ($(objpfx)tst-initorder2.out): New rule.
54116         * elf/tst-initorder2.c: New file.
54117         * elf/tst-initorder2.exp: New file.
54119 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54121         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54123         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54124         dependencies back to end of function.
54126         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54127         $(elfobjdir)/ld.so.
54129 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54131         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54132         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54133         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54134         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54135         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54136         of __vdso_gettimeofday.
54137         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54138         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54139         attribute_hidden.
54140         (_libc_vdso_platform_setup): Remove initialization of
54141         __vdso_gettimeofday and __vdso_time.
54143 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54145         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54146         and fgetc_unlocked.
54147         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54148         getc_unlocked.
54150         * elf/dl-open.c (add_to_global): Report additions to the global scope
54151         for LD_DEBUG=scopes.
54152         (dl_open_worker): Also print scope of newly loaded dependencies.
54153         (_dl_show_scope): Indicate if there is no scope.
54155         [BZ #13114]
54156         * stdio-common/Makefile (tests): Add bug24.
54157         * stdio-common/bug24.c: New file.
54159 2011-08-19  Andreas Jaeger  <aj@suse.de>
54161         [BZ #13114]
54162         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54163         non-existant file when using close-on-exec mode.
54165 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54167         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54168         the very first instruction.
54170         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54171         the CFI state in the end.
54172         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54173         inclusion of dl-trampoline.h.
54174         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54176 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54178         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54179         expectations for long double.
54181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54182         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54184 2011-08-14  David S. Miller  <davem@davemloft.net>
54186         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54187         artificual limit depends upon the system page size.
54189 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54191         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54192         * resolv/Makefile: Define CFLAGS-libresolv.
54194 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54196         * nss/makedb.c (compute_tables): Make variables used in nested
54197         function static.
54199 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54201         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54202         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54203         if buffer was too small.
54205         * elf/pldd.c (main): Attach to all threads in the process.
54206         Rewrite /proc handling to use *at functions.
54208 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54210         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54211         specifies first scope to show.
54212         (dl_open_worker): Update callers.  Move printing scope of new
54213         object to before the relocation.
54214         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54215         * sysdeps/generic/ldsodefs.h: Update declaration.
54217         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54218         string for the scope number.
54220 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54222         * nscd/servicescache.c (cache_addserv): Make sure written is always
54223         initialized.
54225 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54227         * sysdeps/i386/i486/bits/atomic.h
54228         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54229         statement expression, so as to suppress "set but not used" warning.
54230         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54232         * string/strncat.c (STRNCAT): Use prototype definition.
54234         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54235         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54236         -Iprograms here.
54237         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54238         (localedef-modules): Add localedef.
54239         (locale-modules): Add locale.
54241         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54242         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54243         to avoid a warning.
54245 2011-08-14  David S. Miller  <davem@davemloft.net>
54247         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54248         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54250 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54252         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54253         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54254         * elf/rtld.c (dl_main): Set l_name of vDSO.
54255         Call _dl_show_scope when DL_DEBUG_SCOPES.
54256         (process_dl_debug): Recognize scopes flag and also set it for all.
54257         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54258         Declare _dl_show_scope.
54260         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54261         (do_dlopen): Pass caller_dlopen to dl_open.
54262         (__libc_dlopen_mode): Initialize caller_dlopen.
54264         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54265         of libc.  Make tolower call locale-independent.  Optimize a bit by
54266         using isdigit instead of isalnum.
54267         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54269 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54271         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54272         was a dependency or dynamically loaded.
54274 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54276         * intl/l10nflist.c: Allow architecture-specific pop function.
54277         * sysdeps/x86_64/l10nflist.c: New file.
54279         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54280         classification.
54282 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54284         * include/dirent.h: Add libc_hidden_proto for scandirat and
54285         scandirat64.  Don't declare __scandirat64.
54286         * dirent/scandirat.c: Add libc_hidden_def.
54287         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54288         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54290 2011-08-10  David S. Miller  <davem@davemloft.net>
54292         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54293         enum.
54294         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54295         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54296         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54298 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54300         * Versions.def [libc]: Add GLIBC_2.15.
54301         * dirent/Makefile (routines): Add scandirat and scandirat64.
54302         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54303         GLIBC_2.15.
54304         * dirent/dirent.h: Declare scandirat and scandirat64.
54305         * dirent/scandirat.c: New file.
54306         * dirent/scandirat64.c: New file.
54307         * sysdeps/wordsize-64/scandirat.c: New file.
54308         * sysdeps/wordsize-64/scandirat64.c: New file.
54309         * dirent/opendir.c: Define opendirat.
54310         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54311         using scandirat.
54312         * dirent/scandir64.c: Adjust for scandir.c change.
54313         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54314         __scandirat64, and __scandir_cancel_handler.
54315         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54316         additional parameter and use openat instead of open (outside of ld.so).
54317         Add new __opendir as wrapper around __opendirat.
54318         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54319         here without requiring old scandirat implementation.
54321 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54323         * dirent/scandir.c (cancel_handler): Renamed to
54324         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54325         defined.  Adjust users.
54326         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54327         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54329 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54331         * string/test-string.h (IMPL): Use __STRING to expand name and then
54332         stringify it.
54334         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54335         of cleanups.
54337 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54339         * string/Makefile: Update.
54340         (strop-tests): Append strncat.
54341         * string/test-wcscmp.c: New file.
54342         New comprehensive test for wcscmp.
54343         * string/test-strcmp.c: Update.
54344         (WIDE): New define.
54346 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54348         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54349         line.
54351 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54354         encoding to ACE if AI_IDN.
54356 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54358         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54359         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54361 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54364         Fix overflow bug in strncat.
54365         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54367         * string/test-strncat.c: Update.
54368         Add new tests for checking overflow bugs.
54370 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54373         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54374         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54375         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54376         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54377         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54378         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54379         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54380         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54382         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54383         (USE_AS_STRCAT): Define.
54384         Add strcat and strncat support.
54385         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54387 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54389         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54390         __n bigger than INT_MAX+1.
54391         (__strncmp_g): Likewise.
54393 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54395         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54396         * libio/stido.h: Likewise.
54398         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54399         (AF_NFC): Define.
54400         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54401         (AF_NFC): Define.
54403         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54404         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54405         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54406         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54407         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54409         [BZ #13021]
54410         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54411         installed.
54413         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54414         typo.
54415         (_dl_x86_64_save_sse): Likewise.
54417 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54419         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54420         OSXSAVE.
54421         (_dl_x86_64_save_sse): Likewise.
54423         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54425         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54427 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54429         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54430         change.
54431         (_dl_x86_64_save_sse): Use correct AVX check.
54433 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54435         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54436         bug in strncpy/strncat.
54437         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54439 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54441         * string/tester.c (test_strcat): Add tests for different alignments
54442         of source and destination.
54443         (test_strncat): Likewise.
54445 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54447         [BZ #12852]
54448         * posix/glob.c (glob): Check passed in values before using them in
54449         expressions to avoid some overflows.
54450         (glob_in_dir): Likewise.
54452         [BZ #13007]
54453         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54454         check for AVX enablement so that we don't crash with old kernels and
54455         new hardware.
54456         * elf/tst-audit4.c: Add same checks here.
54457         * elf/tst-audit6.c: Likewise.
54459         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54461 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54463         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54465 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54467         * po/cs.po: Update from translation team.
54468         * po/bg.po: Likewise.
54470 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54472         * misc/sys/cdefs.h: Add support for const attribute.
54473         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54474         to gnu_dev_{major,minor,makedev} functions.
54476 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54478         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54480 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54482         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54483         strlen results.
54485 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54488         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54489         register in order to avoid conflicts with the soft frame pointer
54490         being held in r11 when necessary.
54491         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54492         (INTERNAL_VSYSCALL_NCS): Likewise.
54494 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54496         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54497         * elf/dl-fini.c (_dl_fini): Adjust caller.
54498         * elf/dl-close.c (_dl_close_worker): Likewise.
54499         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54501 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54503         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54504         "aux_cache->nlibs < 0".
54506         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54507         in the reload-count case.
54509 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54512         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54513         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54514         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54515         * sysdeps/x86_64/multiarch/strcat.S: New file.
54516         * sysdeps/x86_64/multiarch/strncat.S: New file.
54517         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54518         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54519         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54520         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54521         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54522         (USE_AS_STRCAT): Define.
54523         Add strcat and strncat support.
54524         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54525         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54526         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54527         * string/strncat.c: Update.
54528         (USE_AS_STRNCAT): Define.
54529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54530         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54531         and i7.
54532         * sysdeps/x86_64/multiarch/init-arch.h
54533         (bit_Prefer_PMINUB_for_stringop): New.
54534         (index_Prefer_PMINUB_for_stringop): Likewise.
54535         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54536         bit_Prefer_PMINUB_for_stringop.
54538 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54540         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54541         buffer64.
54542         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54543         of casting of buffer.
54544         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54545         buffer32 and buffer64.
54546         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54547         writes instead of casting of buffer.
54548         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54549         buffer32.
54550         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54551         casting of buffer.
54553 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54555         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54557 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54559         * nscd/nscd.c (termination_handler): Don't do anything for a database
54560         if it has not yet been initialized.
54562 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54564         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54566 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54568         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54570 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54572         * po/nl.po: Update from translation team.
54573         * po/sv.po: Likewise.
54575 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54577         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54578         now disallowed by GCC.
54580         * configure.in (use-default-link): Default to yes if a test -shared
54581         link meets our qualifications.
54582         * configure: Regenerated.
54584         * config.make.in (output-format): New variable.
54585         * configure.in: Check for ld --print-output-format support.
54586         * configure: Regenerated.
54587         * Makerules ($(common-objpfx)format.lds)
54588         [$(output-format) != unknown]: Just use $(output-format),
54589         instead of the linker-script munging.
54591 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54593         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54594         of $(common-objpfx)shlib.lds.
54595         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54597         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54598         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54600         * configure.in (-z relro check): Adjust test code to add a large
54601         writable data section after it.
54602         * configure: Regenerated.
54604 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54606         * configure.in (-z relro check): Fix test code to make the variable
54607         truly const.
54608         * configure: Regenerated.
54610 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54612         * nscd/nscd.h (struct traced_file): Define.
54613         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54614         elements.  Add traced_files.
54615         (inotify_fd): Declare.
54616         (register_traced_file): Declare.
54617         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54618         (inotify_fd): Export.
54619         (resolv_conf_descr): Remove.
54620         (nscd_init): Move inotify descriptor creation to main.
54621         Don't register files for notification here.
54622         (register_traced_file): New function.
54623         (invalidate_cache): Don't use reset_res to determine whether to call
54624         res_init, go through the list of registered files.
54625         (main_loop_poll): The inotify descriptors are now stored in the
54626         structures for the traced files.
54627         (main_loop_epoll): Likewise
54628         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54629         to __nss_disable_nscd.
54630         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54631         for a database anymore.  Check the records for all the registered
54632         files instead.
54633         * nss/Makefile (libnss_files-routines): Add files-init.
54634         (libnss_db-routines): Add db-init.
54635         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54636         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54637         * nss/nss_db/db-init.c: New file.
54638         * nss/nss_files/files-init.c: New file.
54639         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54640         __nss_lookup_function.
54641         (__nss_lookup_function): Call nss_load_library.
54642         (nss_load_all_libraries): New function.
54643         (__nss_disable_nscd): Take parameter with callback function for files
54644         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54645         used for the cached services.
54646         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54647         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54648         options for features to all the files in nscd.
54650         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54652 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54654         * csu/elf-init.c (__libc_csu_init): Comment typo.
54656 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54658         * po/pl.po: Update from translation team.
54659         * po/ja.po: Likewise.
54660         * po/ru.po: Likewise.
54661         * po/ko.po: Likewise.
54662         * po/fr.po: Likewise.
54664 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54666         * configure.in (.ctors/.dtors header and trailer check):
54667         Use an empirical test on a built program.
54668         * configure: Regenerated.
54670         * configure.in (-z relro check): Use an empirical test on a built DSO.
54671         Detect, but do not require, on ia64.
54672         * configure: Regenerated.
54674         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54675         Update tests that use readelf to use $READELF instead.
54676         * configure: Regenerated.
54678 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54680         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54681         if the result is not used.
54683 2011-07-05  Andreas Jaeger  <aj@suse.de>
54685         [BZ#9696]
54686         * stdlib/tst-strtod.c: Add testcase.
54688 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54690         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54691         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54692         The latter has a higher limit.  Take additional parameter to pass to
54693         the new function.
54694         (__pathconf): Pass file to __statfs_link_max.
54695         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54696         __statfs_link_max.
54697         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54698         __statfs_link_max.
54700         [BZ #12868]
54701         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54702         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54703         Handle Lustre.
54704         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54705         (__statfs_filesize_max): Likewise.
54706         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54708 2011-07-05  Andreas Jaeger  <aj@suse.de>
54710         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54712 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54714         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54715         `status' variable.
54716         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54717         Likewise.
54719 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54721         * Makefile (strop-tests): Add strncat.
54722         * string/test-strncat.c: New file.
54724 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54726         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54728 2011-06-21  Andreas Jaeger  <aj@suse.de>
54730         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54731         Copy rule from iconvdata/Makefile.
54733 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54735         [BZ #12922]
54736         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54737         but no long options are defined, just return 'W'.
54739 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54741         [BZ #9696]
54742         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54744 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54746         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54747         netgroups to read.
54748         (innetgr): Likewise.
54750 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54752         * config.make.in (install_root): Default to $(DESTDIR).
54754 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54756         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54758 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54760         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54762         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54763         containing directory rather than embedding absolute directory names.
54765         * scripts/check-local-headers.sh: Rewritten using awk.
54766         Match by word, not by line.  Print error messages for matches.
54767         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54769         * Makerules [shlib-lds-flags empty]:
54770         ($(common-objpfx)libc_pic.opts): New target.
54771         ($(common-objpfx)libc_pic.os.clean): New target.
54772         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54774         * config.make.in (OBJCOPY): New variable.
54775         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54776         * configure: Regenerated.
54778         * config.make.in (use-default-link): New variable.
54779         * configure.in (use_default_link): Grok --with-default-link to set it.
54780         * configure: Regenerated.
54781         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54782         (shlib-lds, shlib-lds-flags): Define to empty.
54784         * Makerules (shlib-lds): New variable.
54785         (shlib-lds-flags): New variable.
54786         (build-shlib, build-moduile, build-module-asneeded): Use it.
54787         ($(common-objpfx)libc.so): Use $(shlib-lds).
54788         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54789         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54791         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54792         DT_FLAGS/DT_FLAGS_1 with zero flags.
54794         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54795         linker script munging.
54797 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54799         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54800         as 128-bit value.
54801         * crypt/sha512.c (sha512_process_block): Perform total addition using
54802         128-bit if possible.
54803         (__sha512_finish_ctx): Likewise.
54804         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54805         as 64-bit value.
54806         * crypt/sha256.c (SWAP64): Define.
54807         (sha256_process_block): Perform total addition using 64-bit if
54808         possible.
54809         (__sha256_finish_ctx): Likewise.
54811 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54813         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54814         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54815         * nscd/hstcache.c (cache_addhst): Likewise.
54816         * nscd/grpcache.c (cache_addgr): Likewise.
54817         * nscd/aicache.c (addhstaiX): Likewise
54818         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54820 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54822         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54823         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54824         * nscd/hstcache.c (cache_addhst): Likewise.
54825         * nscd/grpcache.c (cache_addgr): Likewise.
54826         * nscd/aicache.c (addhstaiX): Likewise
54828 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54830         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54831         domain only when needed.
54833 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54836         is always restored.
54838 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54840         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54841         are re-adding the entry.
54842         * nscd/servicescache.c (cache_addserv): Likewise.
54844 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54846         * sysdeps/generic/dl-irel.h: fix protection against multiple
54847         inclusions.
54848         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54850 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54852         [BZ #12935]
54853         * malloc/memusage.sh: Fix quoting in message.
54854         * debug/xtrace.sh: Likewise.
54856         * configure.in: Remove support for --experimental-malloc option, make
54857         it the default.
54858         * config.make.in: Likewise.
54859         * malloc/Makefile: Likewise.
54861 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54863         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54864         two-byte characters.
54866 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54868         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54869         AC_CACHE_CHECK invocation.
54870         * configure: Regenerated.
54872         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54874 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54876         [BZ #12350]
54877         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54878         bit from old_res_options.
54880         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54882         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54883         value type for setfct.
54885 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54887         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54888         __gettimeofday instead of gettimeofday.
54890 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54892         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54894 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54896         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54898         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54899         info.
54901 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54904         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54905         strcpy-sse2-unaligned strncpy-sse2-unaligned
54906         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54907         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54908         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54909         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54910         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54911         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54912         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54913         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54914         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54915         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54916         (STRCPY): Support SSE2 and SSSE3 versions.
54918 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54920         [BZ #12874]
54921         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54922         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54923         kernels which artificially limit size of requests.
54925 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54928         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54929         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54930         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54931         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54932         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54933         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54934         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54935         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54936         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54937         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54938         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54939         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54940         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54941         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54943         Enable unaligned load optimization for Intel Core i3, i5 and i7
54944         processors.
54945         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54946         Define.
54947         (index_Fast_Unaligned_Load): Define.
54948         (HAS_FAST_UNALIGNED_LOAD): Define.
54950 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54952         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54954 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54956         [BZ #12907]
54957         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54958         until it is clear that the information is realy needed.
54959         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54961 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54965 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54968         /sys/devices/system/cpu/online if it is usable.
54970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54971         reading the information from the /proc filesystem to once a second.
54973 2011-06-21  Andreas Jaeger  <aj@suse.de>
54975         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54976         NULL after inclusion of kernel headers.
54978 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
54980         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54981         calls to internal_setent.
54983         [BZ #12885]
54984         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54985         addresses using gethostbyname4_r ignore IPv4 addresses.
54987         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54988         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
54990         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54992 2011-06-20  David S. Miller  <davem@davemloft.net>
54994         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54995         inclusions.
54996         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54998         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54999         (elf_irel): Use it.
55000         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55001         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55002         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55003         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55004         * sysdeps/x86_64/dl-irel.h: Likewise.
55006         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55007         * elf/dl-sym.c: Likewise.
55009 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55011         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55012         need to dereference resplen2.
55014 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55016         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55018 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55020         * Makeconfig: Define vardbdir and inst_vardbdir.
55021         * nss/Makefile: Add rules to install db-Makefile.
55023         * nss/nss_db/db-XXX.c: Cleanup.
55025         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55026         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55027         GLIBC_PRIVATE.
55028         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55029         * nss/makedb.c: Implement -g option to specify that value strings
55030         are generated and should not be added to table iterated over for
55031         get*ent calls.
55032         * nss/nss_db/db-initgroups.c: New file.
55034         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55035         interface.
55037         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55038         (internal_getgrouplist): Adjust to name change.
55039         Update use_initgroups_entry if this is not the first call.
55040         * nss/databases.def: Add initgroups entry.
55042         * nss/makedb.c (compute_tables): Check result of multiple hash table
55043         sizes to minimize maximum chain length.
55045 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55047         * Versions.def: Add entry for libnss_db.
55048         * shlib-versions: Likewise.
55049         * nss/Makefile: Add rules to build libnss_db.
55050         * nss/Versions: Add libnss_db information.  Organize libnss_files
55051         entries better.
55052         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55053         makedb progra.  Some minor improvements to generate smaller files.
55054         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55055         here from...
55056         * nss/makedb.c: ...here.
55057         Improve database format to be smaller and require less memory at
55058         runtime.
55059         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55060         db anymore.
55061         * nss/nss_db/db-netgrp.c: Likewise.
55062         * nss/nss_db/db-open.c: Likewise.
55063         * nss/nss_files/flies-XXX.x: Adjust comments.
55064         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55065         * nss/nss_files/files-grp.c: Likewise.
55066         * nss/nss_files/files-hosts.c: Likewise.
55067         * nss/nss_files/files-network.c: Likewise.
55068         * nss/nss_files/files-proto.c: Likewise.
55069         * nss/nss_files/files-pwd.c: Likewise.
55070         * nss/nss_files/files-rpc.c: Likewise.
55071         * nss/nss_files/files-service.c: Likewise.
55072         * nss/nss_files/files-sgrp.c: Likewise.
55073         * nss/nss_files/files-spwd.c: Likewise.
55074         * nss/nss_db/db-alias.c: Removed.
55075         * nss/nss_db/dummy-db.h: Removed.
55077 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55079         * nss/makedb.c: Rewritten to not use database library.
55080         * nss/Makefile: Update to build new makedb program.
55082 2011-06-14  Andreas Jaeger  <aj@suse.de>
55084         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55085         memset declaration.
55087 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55090         tmpbuf.
55092 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55094         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55095         * elf/Makefile ($(objpfx)ld.so): Likewise.
55097         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55098         Don't list ld.so twice in dependencies.
55100         * posix/bug-regex31.c: Include <stdlib.h>.
55102         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55104         * nis/nss_compat/compat-spwd.c
55105         (getspent_next_nss_netgr): Remove unused variable.
55106         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55108         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55109         nonmembers" output to use the right array.
55111         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55113         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55115         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55116         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55117         * catgets/gencat.c (read_input_file): Likewise.
55118         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55120         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55121         variable definition inside #if's controlling its use.
55123         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55125         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55127         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55129         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55130         unreachable code.
55132         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55134         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55135         * configure: Regenerated.
55137         * Makerules: Revert last change.
55138         * elf/Makefile: Likewise.
55140 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55142         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55143         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55144         (reloc-link): Likewise.
55146 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55148         * elf/Makefile: Add rules to build pldd.
55149         * elf/pldd.c: New file.
55150         * elf/pldd-xx.c: New file.
55152 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55154         * version.h: Update for 2.15 development version.
55156 2011-06-07  David S. Miller  <davem@davemloft.net>
55158         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55159         ifuncs.
55160         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55161         elf_machine_lazy_rel): Likewise.
55162         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55163         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55164         elf_machine_lazy_rel): Likewise.
55165         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55166         dl_hwcap via passed in argument.
55167         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55168         Likewise.
55170 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55172         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55174 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55176         [BZ #12849]
55177         * manual/fdl-1.1.texi: New file, verbatim from:
55178         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55179         * manual/lgpl-2.1.texi: New file, verbatim from:
55180         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55181         * manual/Makefile (licenses): New variable, list those new file names.
55182         (texis): Use it.
55183         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55185         * manual/fdl.texi: File removed.
55186         * manual/lesser.texi: File removed.
55187         * manual/libc.texinfo (Copying, Documentation License):
55188         Use new @include file names, put @appendix directive before @include.
55190 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55192         [BZ #12841]
55193         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55194         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55195         (mq_open): Add __NTH.
55197 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55200         Assume Intel Core i3/i5/i7 processor if AVX is available.
55202 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55204         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55205         typo.
55207 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55209         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55210         memory.  Use alloca_account.  Fix memory leak when retrying.
55212 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55214         * version.h (RELEASE): Bump for 2.14 release.
55215         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55217         * config.make.in (RANLIB): Remove entry.
55219 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55221         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55222         (libc.pot): Work around missing support for .ksh extension in xgettext.
55224         [BZ #12684]
55225         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55226         if both request failed.
55227         (send_dg): In case of server errors clear resplen or *resplen2.
55229         [BZ #12454]
55230         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55231         when there are multiple maps.
55232         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55233         (_dl_fini): Remove test here.
55235         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55237 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55239         [BZ #12350]
55240         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55241         bit from old_res_options.
55242         (gaih_inet): Likewise.
55244         [BZ #11099]
55245         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55246         as signed.
55248         * resolv/res_init.c (res_setoptions): Make the code more compact.
55250         [BZ #11558]
55251         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55252         set RES_USEVC.
55254         [BZ #11634]
55255         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55257         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55259         [BZ #11781]
55260         * malloc/malloc.h: Declare malloc hook variables as volatile.
55262         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55263         in last patch.
55265         [BZ #11799]
55266         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55267         raise in the comment.
55268         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55269         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55270         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55272 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55274         [BZ #12811]
55275         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55276         grow the buffers more if it already has to be sufficient.
55277         (build_wcs_upper_buffer): Likewise.
55278         * posix/regexec.c (check_matching): Likewise.
55279         (clean_state_log_if_needed): Likewise.
55280         (extend_buffers): Don't enlarge buffers beyond size of the input
55281         buffer.
55282         Patches mostly by Emil Wojak <emil@wojak.eu>.
55283         * posix/bug-regex32.c: New file.
55284         * posix/Makefile (tests): Add bug-regex32.
55286         * locale/findlocale.c (_nl_find_locale): Return right away if
55287         _nl_explode_name failed.
55288         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55290         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55292         * debug/xtrace.sh: Unify messages.
55293         * malloc/memusage.sh: Likewise.
55295         [BZ #12813]
55296         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55297         time symbol from vDSO.  Substitute with vsyscall if not available.
55298         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55299         __vdso_time.
55301         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55302         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55303         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55304         Add sendmmsg and internal_sendmmsg.
55305         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55306         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55307         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55309         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55310         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55311         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55313 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55315         [BZ #12813]
55316         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55317         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55318         available.
55319         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55320         __vdso_getcpu.
55322         [BZ #12814]
55323         * iconvdata/Makefile (tests): Add bug-iconv9.
55324         * iconvdata/bug-iconv9.c: New file.
55326 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55328         [BZ #12814]
55329         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55331 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55333         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55334         (struct user_regs_struct): Change intcs field back to cs.
55336 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55338         * po/ja.po: Update from translation team.
55340 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55342         [BZ #12795]
55343         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55344         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55346 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55348         * stdlib/longlong.h: Update from GCC.
55350 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55352         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55353         parameter name.
55354         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55355         Add parameter name.
55356         (__sysconf): Pass it down.
55358 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55360         [BZ #12671]
55361         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55362         some situations.
55363         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55364         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55365         add in in __libc_use_alloca calls.  Adjust callers.
55366         (glob): Use malloc in some situations.
55368         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55369         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55370         pltexit.
55372 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55374         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55375         and CLOCK_BOOTTIME_ALARM.
55377         [BZ #12782]
55378         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55379         is returned.
55381         * string/_strerror.c (__strerror_r): Print negative errors as signed
55382         numbers.
55384         [BZ #12777]
55385         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55386         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55387         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55389         * configure.in: Fix typo in redirection and correct removal of test
55390         files in two cases.
55392         [BZ #12788]
55393         * locale/setlocale.c (new_composite_name): Fix test to check for
55394         identical name of all categories.
55396         [BZ #12792]
55397         * libio/filedoalloc.c (local_isatty): New function.
55398         (_IO_file_doallocate): Use local_isatty.
55399         * stdio-common/perror.c (perror): In case a new stream is used
55400         forward the stream error.
55401         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55402         error flag.
55404 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55406         [BZ #11869]
55407         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55408         alloca.
55409         * include/alloca.h (extend_alloca_account): Define.
55411         [BZ #11857]
55412         * posix/regex.h: Fix comments with documentation of user-accessible
55413         fields after compilation and describe correct free'ing of pattern
55414         after re_compile_pattern.
55415         Patch by Reuben Thomas <rrt@sc3d.org>.
55417 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55419         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55420         and -mno-altivec to prevent the compiler from using Altivec and/or
55421         VSX instructions when the corresponding registers are not available.
55423 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55425         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55427 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55429         * libio/freopen.c (freopen): Use __dup2, not dup2.
55430         * libio/freopen64.c (freopen64): Likewise.
55432 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55434         [BZ #12775]
55435         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55436         * math/Makefile (tests): Add test-powl.
55437         (CFLAGS-test-powl.c): Define.
55438         * math/test-powl.c: New file.
55440 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55442         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55444 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55446         [BZ #11837]
55447         * iconvdata/gb18030.c: Update to GB18020-2005.
55449 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55451         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55452         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55453         Patch by Aharon Robbins <arnold@skeeve.com>.
55455         [BZ #11892]
55456         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55457         on the stack.
55459         [BZ #11895]
55460         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55461         through underflows.
55463         [BZ #12766]
55464         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55465         point to strings before performing equality test for error_one_per_line
55466         mode.
55468         [BZ #11697]
55469         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55471         [BZ #11820]
55472         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55473         (struct user_fpregs_struct): Avoid __uint*_t types.
55475         [BZ #6420]
55476         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55477         symbol info.  Use it instead of calling _dl_addr locally.
55478         (lock_and_info): New function.
55479         (tr_freehook): Call lock_and_info and pass symbol info as additional
55480         parameter to tr_where.
55481         (tr_mallochook): Likewise.
55482         (tr_reallochook): Likewise.
55483         (tr_memalignhook): Likewise.
55485         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55486         used and couldn't be at all thread-safe.
55488 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55490         * libio/freopen.c (freopen): Don't close old file descriptor
55491         before the new one is opened.  Instead dup the new file descriptor
55492         to the old one after the new stream is created.
55493         * libio/freopen64.c (freopen64): Likewise.
55494         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55495         * libio/fileops.c (_IO_new_file_close_it): Handle new
55496         _IO_FLAGS2_NOCLOSE flag.
55497         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55498         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55499         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55500         _IO_FLAGS2_NOCLOSE flag.
55501         * include/unistd.h: Add hidden_proto for dup3.
55502         Define __have_dup3.
55503         * io/dup3.c: Define hidden symbol.
55504         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55506         [BZ #7101]
55507         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55508         when an incomplete long option is used.
55509         * posix/tst-getopt_long1.c: New file.
55510         * posix/Makefile (tests): Add tst-getopt_long1.
55512         [BZ #10138]
55513         * scripts/config.guess: Update from autoconf-2.68.
55514         * scripts/config.sub: Likewise.
55516         [BZ #10157]
55517         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55518         tests into ...
55519         (has_cpuclock): ...this.  New function.
55520         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55521         macro here based on has_cpuclock code.
55523         [BZ #10149]
55524         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55525         First byte (not low byte) is now always NUL.
55526         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55528         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55529         Use non-cancelable interfaces.
55531         [BZ #9809]
55532         * locale/iso-639.def: Add entry for Sorani.
55534         [BZ #11901]
55535         * include/stdlib.h: Move include protection to the right place.
55536         Define abort_msg_s.  Declare __abort_msg with it.
55537         * stdlib/abort.c (__abort_msg): Adjust type.
55538         * assert/assert.c (__assert_fail_base): New function.  Majority
55539         of code from __assert_fail.  Allocate memory for __abort_msg with
55540         mmap.
55541         (__assert_fail): Now call __assert_fail_base.
55542         * assert/assert-perr.c: Remove bulk of implementation.  Use
55543         __assert_fail_base.
55544         * include/assert.hL Declare __assert_fail_base.
55545         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55546         mmap.
55547         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55549 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55551         [BZ #11952]
55552         [BZ #12453]
55553         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55554         until all modules are registered in the DTV.
55555         * elf/Makefile: Add rules to build and run tst-tls19.
55556         * elf/tst-tls19.c: New file.
55557         * elf/tst-tls19mod1.c: New file.
55558         * elf/tst-tls19mod2.c: New file.
55559         * elf/tst-tls19mod3.c: New file.
55560         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55562         [BZ #12083]
55563         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55564         correctly.
55566         [BZ #12601]
55567         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55568         two-byte sequence errors.
55569         * iconvdata/Makefile (tests): Add bug-iconv8.
55570         * iconvdata/bug-iconv8.c: New file.
55572         [BZ #12626]
55573         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55574         buf2 definition.
55576         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55578         [BZ #12432]
55579         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55580         (dummy_getcfa): New function.
55581         (init): Get _Unwind_GetCFA address, use dummy if not found.
55582         (backtrace_helper): In recursion check, also check whether CFA changes.
55583         (__backtrace): Completely initialize arg.
55585         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55586         storing incomplete byte sequence in state object.  Avoid testing for
55587         guaranteed too small input if we know there is enough data available.
55589 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55591         * Makeconfig (+link-pie): Indent.
55592         * Rules (binaries-pie): Define if $(have-fpie) and
55593         $(build-shared).
55594         (binaries-shared): Also filter out $(binaries-pie).
55595         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55596         * nscd/Makefile (others-pie): Add nscd.
55597         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55598         ($(objpfx)nscd): Remove command override.
55599         * login/Makefile (others-pie): Add pt_chown.
55600         ($(objpfx)pt_chown): Remove command override.
55601         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55602         remove command overrides.
55604 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55606         * libio/tst_putwc.c: Fix error messages.
55608         [BZ #12724]
55609         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55610         currently writing and seek to current position when not.
55611         * libio/Makefile (tests): Add bug-fclose1.
55612         * libio/bug-fclose1.c: New file.
55614 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55616         [BZ #12511]
55617         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55618         don't set DF_1_NODELETE here.
55619         (do_lookup_x): When entering new entry test for copy relocation
55620         and if necessary set DF_1_NODELETE flag.
55621         * elf/tst-unique4.cc: New file.
55622         * elf/tst-unique4.h: New file.
55623         * elf/tst-unique4lib.cc: New file.
55624         * elf/Makefile: Add rules to build and run tst-unique4.
55625         Patch by Piotr Bury <pbury@goahead.com>.
55627 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55629         [BZ #12052]
55630         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55632         [BZ #12625]
55633         * misc/mntent_r.c (addmntent): Flush the stream after the output
55635         [BZ #12393]
55636         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55637         (is_trusted_path_normalize): Skip initial colon.  Append slash
55638         to empty buffer.  Duplicate is_trusted_path code but allow
55639         constructed patch to be prefix.
55640         (is_dst): Allow $ORIGIN followed by /.
55641         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55642         Correct testing of result of is_trusted_path_normalize
55643         (decompose_rpath): Fix warning.
55645 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55647         [BZ #11257]
55648         * grp/initgroups.c (internal_getgrouplist): When we found the service
55649         list through the initgroups entry in nsswitch.conf do not always
55650         continue on a successful lookup.  Don't always use the
55651         __nss_group_database value if it is set.
55652         * nss/nsswitch.conf (initgroups): Change action for successful db
55653         lookup to continue for compatibility.
55655 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55657         [BZ #11532]
55658         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55659         and CP774 modules.
55660         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55661         and CP774 modules.
55662         * iconvdata/tst-tables.sh: Likewise.
55663         * iconvdata/cp770.c: New file.
55664         * iconvdata/cp771.c: New file.
55665         * iconvdata/cp772.c: New file.
55666         * iconvdata/cp773.c: New file.
55667         * iconvdata/cp774.c: New file.
55668         * iconvdata/testdata/CP770: New file.
55669         * iconvdata/testdata/CP770..UTF8: New file.
55670         * iconvdata/testdata/CP771: New file.
55671         * iconvdata/testdata/CP771..UTF8: New file.
55672         * iconvdata/testdata/CP772: New file.
55673         * iconvdata/testdata/CP772..UTF8: New file.
55674         * iconvdata/testdata/CP773: New file.
55675         * iconvdata/testdata/CP773..UTF8: New file.
55676         * iconvdata/testdata/CP774: New file.
55677         * iconvdata/testdata/CP774..UTF8: New file.
55679         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55680         END CHARMAP line.
55681         * iconvdata/gen-8bit-gap.sh: Likewise.
55682         * iconvdata/gen-8bit.sh: Likewise.
55684         * locale/iso-639.def: Add ary entry.
55686         [BZ #11258]
55687         * locale/C-translit.h.in: Add U20A1 transliteration.
55689         [BZ #12178]
55690         * locale/iso-639.def: Add wae entry.
55691         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55693         [BZ #12545]
55694         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55695         for n.
55697         [BZ #12711]
55698         * locale/C-translit.h.in: Add entry for U20B9.
55699         Patch by pravin.d.s@gmail.com.
55701 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55703         [BZ #12713]
55704         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55705         ENAMETOOLONG use generic getcwd.
55706         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55707         in rtld.  Use *stat64.
55708         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55709         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55710         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55711         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55712         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55713         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55714         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55715         __fstatat64 macros.
55716         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55717         * dirent/rewinddir.c: Add libc_hidden_def.
55718         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55719         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55721         * include/dirent.h (__alloc_dir): Add flags parameter.
55722         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55723         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55724         __alloc_dir.
55725         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55726         from fdopendir if O_CLOEXEC is already set.
55728 2011-03-15  Alan Modra  <amodra@gmail.com>
55730         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55731         l_tls_firstbyte_offset non-zero.  Save padding offset in
55732         l_tls_firstbyte_offset for later use.
55733         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55734         freeing static tls block.
55736 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55738         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55739         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55740         being defined by the kernel headers.
55742 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55744         [BZ #12734]
55745         * resolv/resolv.h: Define RES_NOTLDQUERY.
55746         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55747         no-tld-query and set RES_NOTLDQUERY.
55748         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55749         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55750         modern BIND to search name as TLD unless forbidden.
55752 2011-05-07  Petr Baudis  <pasky@suse.cz>
55753             Ulrich Drepper  <drepper@gmail.com>
55755         [BZ #12393]
55756         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55757         (is_trusted_path): ...to here.
55758         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55759         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55760         using is_trusted_path_normalize() in setuid scripts.
55762 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55764         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55765         __BEGIN/__END_DECLS.
55767 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55769         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55770         NSS_STATUS_NOTFOUND if no record was found.
55772 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55774         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55775         (headers-not-in-tirpc): Remove rpc/netdb.h
55776         * resolv/netdb.h: Revert last change.
55778 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55780         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55781         circular dependency between libgcc.a and libc.a.
55783 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55785         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55786         * nis/Makefile: Don't install rpcsvc/*.
55787         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55788         instead of <rpc/types.h>.
55789         (MAXHOSTNAMELEN): Define.
55791 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55793         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55795 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55797         [BZ #12714]
55798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55799         gethostbyname4_r when IPv6 results are possible.
55801 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55803         [BZ #12723]
55804         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55805         _PC_PIPE_BUF handling.
55807 2011-04-30  Bruno Haible  <bruno@clisp.org>
55809         [BZ #12717]
55810         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55811         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55812         to 'int'.
55813         * inet/getnameinfo.c (getnameinfo): Likewise.
55815 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55817         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55818         to groups setting in database lookup.
55819         * nss/nsswitch.conf: Add initgroups entry.
55821 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55823         [BZ #12685]
55824         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55825         mode string.
55826         Patch by Eric Blake <eblake@redhat.com>.
55828 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55830         * sunrpc/Makefile (need-export-routines): Add svc_run.
55831         (routines): Remove svc_run.
55832         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55833         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55834         * sunrpc/svc_run.c (svc_run): Likewise.
55835         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55837 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55839         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55840         problem in reallocation in last patch.
55842 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55844         * sunrpc/Makefile: Move inclusion of Rules.
55846 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55848         * nss/nss_files/files-initgroups.c: New file.
55849         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55850         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55851         _nss_files_initgroups_dyn.
55853 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55855         * elf/elf.h (R_ARM_IRELATIVE): Define.
55857 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55859         * po/ru.po: Update from translation team.
55861 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55863         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55864         dependencies.
55866 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55868         [BZ #12653]
55869         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55870         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55871         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55873         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55875 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55877         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55878         differing bytes.
55879         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55880         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55881         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55883 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55885         [BZ #12420]
55886         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55887         storing it.
55888         * stdlib/bug-getcontext.c: New file.
55889         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55891 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55893         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55894         instructions into .machine "z9-109".
55895         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55896         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55898 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55900         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55901         between environment variables and auxiliary vector.
55903 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55905         * Makefile: Add rules to build linkobj/libc.so.
55906         * include/libc-symbols.h: Define libc_hidden_nolink.
55907         * include/rpc/auth.h: Mark functions which are to be hidden.
55908         * include/rpc/auth_des.h: Likewise.
55909         * include/rpc/auth_unix.h: Likewise.
55910         * include/rpc/clnt.h: Likewise.
55911         * include/rpc/des_crypt.h: Likewise.
55912         * include/rpc/key_prot.h: Likewise.
55913         * include/rpc/pmap_clnt.h: Likewise.
55914         * include/rpc/pmap_prot.h: Likewise.
55915         * include/rpc/pmap_rmt.h: Likewise.
55916         * include/rpc/rpc_msg.h: Likewise.
55917         * include/rpc/svc.h: Likewise.
55918         * include/rpc/svc_auth.h: Likewise.
55919         * include/rpc/xdr.h: Likewise.
55920         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55921         * nss/Makefile: Likewise.
55922         * sunrpc/Makefile: Don't install headers.  Build library with normal
55923         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55924         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55925         for the compat linking library.  Remove use of INTDEF/INTUSE.
55926         * sunrpc/auth_none.c: Likewise.
55927         * sunrpc/auth_unix.c: Likewise.
55928         * sunrpc/authdes_prot.c: Likewise.
55929         * sunrpc/authuxprot.c: Likewise.
55930         * sunrpc/clnt_gen.c: Likewise.
55931         * sunrpc/clnt_perr.c: Likewise.
55932         * sunrpc/clnt_raw.c: Likewise.
55933         * sunrpc/clnt_simp.c: Likewise.
55934         * sunrpc/clnt_tcp.c: Likewise.
55935         * sunrpc/clnt_udp.c: Likewise.
55936         * sunrpc/clnt_unix.c: Likewise.
55937         * sunrpc/des_crypt.c: Likewise.
55938         * sunrpc/des_soft.c: Likewise.
55939         * sunrpc/get_myaddr.c: Likewise.
55940         * sunrpc/key_call.c: Likewise.
55941         * sunrpc/key_prot.c: Likewise.
55942         * sunrpc/netname.c: Likewise.
55943         * sunrpc/pm_getmaps.c: Likewise.
55944         * sunrpc/pm_getport.c: Likewise.
55945         * sunrpc/pmap_clnt.c: Likewise.
55946         * sunrpc/pmap_prot.c: Likewise.
55947         * sunrpc/pmap_prot2.c: Likewise.
55948         * sunrpc/pmap_rmt.c: Likewise.
55949         * sunrpc/publickey.c: Likewise.
55950         * sunrpc/rpc_cmsg.c: Likewise.
55951         * sunrpc/rpc_common.c: Likewise.
55952         * sunrpc/rpc_dtable.c: Likewise.
55953         * sunrpc/rpc_prot.c: Likewise.
55954         * sunrpc/rpc_thread.c: Likewise.
55955         * sunrpc/rtime.c: Likewise.
55956         * sunrpc/svc.c: Likewise.
55957         * sunrpc/svc_auth.c: Likewise.
55958         * sunrpc/svc_authux.c: Likewise.
55959         * sunrpc/svc_raw.c: Likewise.
55960         * sunrpc/svc_run.c: Likewise.
55961         * sunrpc/svc_simple.c: Likewise.
55962         * sunrpc/svc_tcp.c: Likewise.
55963         * sunrpc/svc_udp.c: Likewise.
55964         * sunrpc/svc_unix.c: Likewise.
55965         * sunrpc/svcauth_des.c: Likewise.
55966         * sunrpc/xcrypt.c: Likewise.
55967         * sunrpc/xdr.c: Likewise.
55968         * sunrpc/xdr_array.c: Likewise.
55969         * sunrpc/xdr_float.c: Likewise.
55970         * sunrpc/xdr_intXX_t.c: Likewise.
55971         * sunrpc/xdr_mem.c: Likewise.
55972         * sunrpc/xdr_rec.c: Likewise.
55973         * sunrpc/xdr_ref.c: Likewise.
55974         * sunrpc/xdr_sizeof.c: Likewise.
55975         * sunrpc/xdr_stdio.c: Likewise.
55977 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
55979         [BZ #12650]
55980         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55981         * sysdeps/ia64/dl-tls.h: Likewise.
55982         * sysdeps/powerpc/dl-tls.h: Likewise.
55983         * sysdeps/s390/dl-tls.h: Likewise.
55984         * sysdeps/sh/dl-tls.h: Likewise.
55985         * sysdeps/sparc/dl-tls.h: Likewise.
55986         * sysdeps/x86_64/dl-tls.h: Likewise.
55987         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55989 2011-03-14  Andreas Schwab  <schwab@redhat.com>
55991         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55992         rpath element also skip the following colon.
55993         (expand_dynamic_string_token): Add is_path parameter and pass
55994         down to DL_DST_REQUIRED and _dl_dst_substitute.
55995         (decompose_rpath): Call expand_dynamic_string_token with
55996         non-zero is_path.  Ignore empty rpaths.
55997         (_dl_map_object_from_fd): Call expand_dynamic_string_token
55998         with zero is_path.
56000 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56003         Make cancelable.
56005 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56007         [BZ #12655]
56008         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56009         Patch by Filipe David Manana <fdmanana@apache.org>.
56011 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56013         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56014         Maintain aligned stack.
56015         (CHECK_RSP): Remove unused macro.
56017 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56019         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56020         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56022 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56024         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56026         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56028 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56030         [BZ #12518]
56031         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56032         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56033         * sysdeps/x86_64/memmove.c: New file.
56034         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56035         (memcpy): Renamed to ...
56036         (__new_memcpy): This.
56037         (memcpy): Provide GLIBC_2_14 memcpy.
56038         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56039         (memcpy): Provide GLIBC_2_2_5 memcpy.
56041 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56043         [BZ #12631]
56044         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56046 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56048         * misc/syncfs.c: New file.
56049         * misc/Makefile (routines): Add syncfs.
56050         * posix/unistd.h: Declare syncfs.
56051         * sysdeps/unix/syscalls.list: Add syncfs.
56053 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56055         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56056         open_by_handle_at.
56057         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56058         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56060         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56062         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56063         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56065 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56067         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56068         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56069         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56071         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56073         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56075         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56076         sync_file_range.c with -fexceptions.
56077         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56078         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56079         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56080         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56081         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56082         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56084         sync_file_range as cancellation point
56085         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56086         now a wrapper around __call_sync_file_range with cancellation handling.
56087         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56088         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56089         function name to __call_sync_file_range.
56090         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56091         Add call_sync_file_range.
56093 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56095         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56096         bits/timex.h.
56098 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56100         * iconv/iconv.h: Fix typo in comment.
56101         * io/fcntl.h: Likewise.
56102         * libio/stdio.h: Likewise.
56103         * posix/spawn.h: Likewise.
56104         * posix/unistd.h: Likewise.
56105         * stdlib/stdlib.h: Likewise.
56106         * time/time.h: Likewise.
56107         * wcsmbs/wchar.h: Likewise.
56109         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56110         open_by_handle): Add.
56111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56112         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56113         Augment a few comments.
56114         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56115         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56116         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56117         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56118         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56119         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56120         open_by_handle.
56122         * io/fcntl.h (AT_EMPTY_PATH): Define.
56124 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56126         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56127         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56128         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56129         to...
56130         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56131         * Versions.def: Add GLIBC_2.14.
56132         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56133         Export.
56135 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56137         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56138         round counter.
56139         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56141 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56143         [BZ #12597]
56144         * string/test-strncmp.c (do_page_test): New function.
56145         (check2): Likewise.
56146         (test_main): Call check2.
56147         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56149 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56151         [BZ #12587]
56152         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56153         Handle cache information in CPU leaf 4.
56154         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56156 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56158         [BZ #12583]
56159         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56160         character representation.
56161         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56163 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56165         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56166         END(__isnan) to END(__isnanf) to match function entry point/label
56167         EALIGN(__isnanf,...).
56169 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56171         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56173 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56175         [BZ #12510]
56176         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56177         copy from the symbol referenced in the relocation to initialize the
56178         used variable.
56179         Patch by Piotr Bury <pbury@goahead.com>.
56180         * elf/Makefile: Add rules to build and tst-unique3.
56181         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56182         * elf/tst-unique3.cc: New file.
56183         * elf/tst-unique3.h: New file.
56184         * elf/tst-unique3lib.cc: New file.
56185         * elf/tst-unique3lib2.cc: New file.
56187         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56189 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56191         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56192         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56193         to _start.
56195 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56197         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56198         to-be-loaded object along a path to loader is ld.so.
56200 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56201             Ulrich Drepper  <drepper@gmail.com>
56203         * sysdeps/x86_64/memset.S: After aligning destination, code
56204         branches to different locations depending on the value of
56205         misalignment, when multiarch is enabled. Fix this.
56207 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56209         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56210         Set _x86_64_preferred_memory_instruction for AMD processsors.
56211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56212         Set bit_Prefer_SSE_for_memop for AMD processors.
56214 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56216         * libio/fmemopen.c (fmemopen): Optimize a bit.
56218 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56220         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56222 2011-03-03  Roland McGrath  <roland@redhat.com>
56224         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56226 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56228         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56229         __bzero_ultra1 instead of __memset_ultra1.
56231 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56232             Ulrich Drepper  <drepper@gmail.com>
56234         [BZ #12509]
56235         * include/link.h (struct link_map): Add l_orig_initfini.
56236         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56237         returning unsuccessfully.
56238         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56239         close of a file loaded at startup, restore the original l_initfini
56240         list.
56241         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56242         list, store the pointer.
56243         * elf/Makefile ($(objpfx)noload-mem): New rule.
56244         (noload-ENV): Define.
56245         (tests): Add $(objpfx)noload-mem.
56246         * elf/noload.c: Include <memcheck.h>.
56247         (main): Call mtrace.  Close all opened handles.
56249 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56251         [BZ #12454]
56252         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56253         dependencies are missing.
56255 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56257         Fix __if_freereq crash: Unlike the generic version which uses free,
56258         Hurd needs munmap.
56259         * sysdeps/mach/hurd/ifreq.h: New file.
56261 2011-01-27  Petr Baudis  <pasky@suse.cz>
56262             Ulrich Drepper  <drepper@gmail.com>
56264         [BZ 12445]#
56265         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56266         to extend_alloca().
56267         * stdio-common/bug23.c: New file.
56268         * stdio-common/Makefile (tests): Add bug23.
56270 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56271             Ulrich Drepper  <drepper@gmail.com>
56273         [BZ #12489]
56274         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56275         before performing relro protection.  At old place add assertion
56276         to make sure nothing changed.
56278 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56279             Glauber de Oliveira Costa  <glommer@gmail.com>
56281         * elf/elf.h: Add new ARM TLS relocs.
56283 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56286         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56287         cast from r3.
56288         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56289         'tests' variable.
56290         * sysdeps/wordsize-64/tst-writev.c: New file.
56292 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56294         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56295         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56296         insns in _dl_start to prevent a TOC reference before relocs are
56297         resolved.
56299 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56301         [BZ #12469]
56302         * Makeconfig: Remove RANLIB definition.
56303         * Makerules: Don't use RANLIB.
56304         * aclocal.m4: Remove ranlib test.
56305         * configure.in: No need to check for ranlib.
56306         * elf/rtld-Rules: Don't use RANLIB.
56308 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56310         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56311         protection macro.
56312         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56313         inclusion protection macro.
56315         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56316         SIGRTMIN and SIGRTMAX and print information in that case only when
56317         SIGRTMIN is defined.
56319 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56321         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56322         arginfo fn returning -1.
56324         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56325         and thousands string is zero terminated.
56327 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56329         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56330         sysdeps/unix/sysv/linux/bits/socket.h.
56332 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56334         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56335         (__CPU_COUNT): Remove old macros.
56336         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56337         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56338         (__CPU_ALLOC, __CPU_FREE): Add macros.
56339         (__sched_cpualloc, __sched_cpufree): Add declarations.
56341 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56343         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56344         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56345         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56346         (readdhstai): Return value of addhstaiX call.
56347         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56348         (addgrbyX): Return value returned by cache_addgr.
56349         (readdgrbyname): Return value returned by addgrbyX.
56350         (readdgrbygid): Likewise.
56351         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56352         (addpwbyX): Return value returned by cache_addpw.
56353         (readdpwbyname): Return value returned by addhstbyX.
56354         (readdpwbyuid): Likewise.
56355         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56356         (addservbyX): Return value returned by cache_addserv.
56357         (readdservbyname): Return value returned by addservbyX:
56358         (readdservbyport): Likewise.
56359         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56360         (addhstbyX): Return value returned by cache_addhst.
56361         (readdhstbyname): Return value returned by addhstbyX.
56362         (readdhstbyaddr): Likewise.
56363         (readdhstbynamev6): Likewise.
56364         (readdhstbyaddrv6): Likewise.
56365         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56366         (readdinitgroups): Return value returned by addinitgroupsX.
56367         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56368         (prune_cache): Keep track of timeout value of re-added entries.
56369         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56370         * nscd/nscd.h: Adjust prototypes of readd* functions.
56372 2011-02-04  Roland McGrath  <roland@redhat.com>
56374         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56375         (nis_stats): Likewise.
56376         * nis/nis_modify.c (nis_modify): Likewise.
56377         * nis/nis_remove.c (nis_remove): Likewise.
56378         * nis/nis_add.c (nis_add): Likewise.
56380         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56382         * posix/fnmatch_loop.c: Add some consts.
56384         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56386 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56388         [BZ #12460]
56389         * config.make.in (config-cflags-novzeroupper): Define.
56390         * configure.in: Substitute libc_cv_cc_novzeroupper.
56391         * elf/Makefile (AVX-CFLAGS): Define.
56392         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56393         (CFLAGS-tst-auditmod4a.c): Likewise.
56394         (CFLAGS-tst-auditmod4b.c): Likewise.
56395         (CFLAGS-tst-auditmod6b.c): Likewise.
56396         (CFLAGS-tst-auditmod6c.c): Likewise.
56397         (CFLAGS-tst-auditmod7b.c): Likewise.
56398         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56400 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56402         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56403         function to the callback.
56404         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56406 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56408         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56409         of errno.
56411 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56413         [BZ #11724]
56414         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56415         of constructors.
56416         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56417         of destructors.
56418         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56420         [BZ #11724]
56421         * elf/Makefile: Add rules to build and run new test.
56422         * elf/tst-initorder.c: New file.
56423         * elf/tst-initorder.exp: New file.
56424         * elf/tst-initordera1.c: New file.
56425         * elf/tst-initordera2.c: New file.
56426         * elf/tst-initordera3.c: New file.
56427         * elf/tst-initordera4.c: New file.
56428         * elf/tst-initorderb1.c: New file.
56429         * elf/tst-initorderb2.c: New file.
56430         * elf/tst-order-a1.c: New file.
56431         * elf/tst-order-a2.c: New file.
56432         * elf/tst-order-a3.c: New file.
56433         * elf/tst-order-a4.c: New file.
56434         * elf/tst-order-b1.c: New file.
56435         * elf/tst-order-b2.c: New file.
56436         * elf/tst-order-main.c: New file.
56437         New test case by George Gensure <werkt0@gmail.com>.
56439 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56441         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56442         decoding ACE if AI_CANONIDN.
56444 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56446         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56448 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56450         * version.h (RELEASE): Bump for 2.13 release.
56451         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56453         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56455         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56456         MADV_NOHUGEPAGE.
56457         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56458         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56459         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56460         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56462         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56464         * posix/getconf.c: Update copyright year.
56465         * catgets/gencat.c: Likewise.
56466         * csu/version.c: Likewise.
56467         * debug/catchsegv.sh: Likewise.
56468         * debug/xtrace.sh: Likewise.
56469         * elf/ldconfig.c: Likewise.
56470         * elf/ldd.bash.in: Likewise.
56471         * elf/sprof.c (print_version): Likewise.
56472         * iconv/iconv_prog.c: Likewise.
56473         * iconv/iconvconfig.c: Likewise.
56474         * locale/programs/locale.c: Likewise.
56475         * locale/programs/localedef.c: Likewise.
56476         * malloc/memusage.sh: Likewise.
56477         * malloc/mtrace.pl: Likewise.
56478         * nscd/nscd.c (print_version): Likewise.
56479         * nss/getent.c: Likewise.
56481         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56482         PF_CAIF, and PF_ALG.
56483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56485 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56487         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56488         (modules-names): Use them.
56489         (ifunc-test-modules, ifunc-pie-tests): Define.
56490         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56491         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56492         (test-extras): Likewise.
56493         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56494         $(compile-command.c).
56495         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56496         (all-built-dso): Define.
56497         (check-textrel.out, check-execstack.out): Depend on it.
56499         * configure.in: Don't override --enable-multi-arch.
56501 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56503         [BZ #6812]
56504         * nscd/hstcache.c (tryagain): Define.
56505         (cache_addhst): Return tryagain not notfound for temporary errors.
56506         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56507         failed.
56509 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56511         [BZ #10563]
56512         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56513         to make the syscall.
56514         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56516         [BZ #12378]
56517         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56518         and fall back to matching as normal character if the string ends before
56519         the matching ']' is found.  This is what POSIX requires.
56520         * posix/testfnm.c: Adjust test result.
56521         * posix/globtest.sh: Adjust test result.  Add new test.
56522         * posix/tst-fnmatch.input: Likewise.
56523         * posix/tst-fnmatch2.c: Add new test.
56525 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56527         * elf/Makefile (check-execstack): Revert last change.  Depend on
56528         check-execstack.h.
56529         (check-execstack.h): New target.
56530         (generated): Add check-execstack.h.
56531         * elf/check-execstack.c: Include "check-execstack.h".
56532         (main): Revert last change.
56533         (handle_file): Return zero if GNU_STACK is absent and
56534         DEFAULT_STACK_PERMS doesn't include PF_X.
56536 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56538         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56539         in child fails because the descriptor is already closed.
56540         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56541         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56542         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56544         [BZ #12397]
56545         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56546         syscall.
56548         [BZ #10484]
56549         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56550         temporary buffer used to handle multi lookups locally.
56551         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56553 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56555         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56556         loader is ld.so.
56558 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56560         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56561         alignment for SSE2.
56563 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56565         [BZ #12394]
56566         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56567         characters.  When rounding increased number of integer digits recompute
56568         number of groups.
56569         * stdio-common/tst-grouping.c: New file.
56570         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56572 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56574         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56575         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56577         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56578         void.
56579         * bits/select.h: Likewise.
56581 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56583         * po/ja.po: Update from translation team.
56585 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56587         [BZ #11155]
56588         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56589         implementation just like for lxstat, fxstatat, et al.
56591 2010-12-27  Jim Meyering  <meyering@redhat.com>
56593         [BZ #12348]
56594         * posix/regexec.c (build_trtable): Return failure indication upon
56595         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56597 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56599         [BZ #12201]
56600         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56601         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56602         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56603         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56605         [BZ #12207]
56606         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56608         [BZ #12204]
56609         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56610         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56612 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56614         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56615         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56616         script has SORT_BY_INIT_PRIORITY.
56617         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56618         NO_CTORS_DTORS_SECTIONS is defined.
56619         * elf/soinit.c: Likewise.
56620         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56621         NO_CTORS_DTORS_SECTIONS is defined.
56622         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56623         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56624         * sysdeps/sh/init-first.c: Likewise.
56625         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56627 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56629         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56630         always use the slow path.
56632 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56634         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56635         similar rule which adds the sysdep directories to the header search in
56636         order to pick up the correct platform stackinfo.h.
56637         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56638         perform test if it is, otherwise return successfully without testing.
56639         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56640         DEFAULT_STACK_PERMS define in stackinfo.h.
56641         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56642         defined in stackinfo.h.
56643         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56644         DEFAULT_STACK_PERMS defined in stackinfo.h.
56645         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56646         * sysdeps/ia64/stackinfo.h: Likewise.
56647         * sysdeps/s390/stackinfo.h: Likewise.
56648         * sysdeps/sh/stackinfo.h: Likewise.
56649         * sysdeps/sparc/stackinfo.h: Likewise.
56650         * sysdeps/x86_64/stackinfo.h: Likewise.
56651         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56652         PF_X for powerpc64.  Retain PF_X for powerpc32.
56654 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56656         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56657         accurately.
56658         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56659         GETDENTS_64BIT_ALIGNED.
56661 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56663         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56665 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56667         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56668         _GNU_SOURCE.
56670         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56671         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56672         Remove __restrict.
56673         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56674         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56676 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56678         [BZ #11655]
56679         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56680         are initialized.
56682 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56684         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56686 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56688         * po/it.po: Update from translation team.
56690 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56692         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56693         unused codes.
56695 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56697         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56699 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56701         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56702         specially.
56703         (gaih_getanswer_slice): Likewise.
56705 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56709 2010-05-31  Petr Baudis  <pasky@suse.cz>
56711         [BZ #11149]
56712         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56713         silently even in the chroot mode.
56715 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56717         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56718         last patch a bit.  Pretty printing
56720 2010-05-31  Petr Baudis <pasky@suse.cz>
56722         [BZ #10085]
56723         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56724         initialization of skip_initgroups_dyn.
56726 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56728         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56729         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56731 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56733         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56735 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56737         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56738         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56739         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56740         ($(objpfx)tst-fnmatch-mem): New rule.
56741         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56742         * posix/tst-fnmatch.c (main): Call mtrace.
56744 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56747         Support Intel processor model 6 and model 0x2c.
56749 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56751         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56752           signed comparison.
56754 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56756         [BZ #12205]
56757         * string/test-strncasecmp.c (check_result): New function.
56758         (do_one_test): Use it.
56759         (check1): New function.
56760         (test_main): Use it.
56761         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56762         Support strcasecmp and strncasecmp.
56764 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56766         [BZ #12194]
56767         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56768         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56770 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56772         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56773         IFUNC support.
56774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56775         memset-x86-64.
56776         * sysdeps/x86_64/multiarch/bzero.S: New file.
56777         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56778         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56779         * sysdeps/x86_64/multiarch/memset.S: New file.
56780         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56781         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56782         Set bit_Prefer_SSE_for_memop for Intel processors.
56783         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56784         Define.
56785         (index_Prefer_SSE_for_memop): Define.
56786         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56788 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56790         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56791         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56793 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56795         [BZ #12191]
56796         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56797         (__x86_64_raw_data_cache_size_half): Likewise.
56798         (__x86_64_raw_shared_cache_size): Likewise.
56799         (__x86_64_raw_shared_cache_size_half): Likewise.
56801         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56802         (__x86_64_raw_data_cache_size_half): Likewise.
56803         (__x86_64_raw_shared_cache_size): Likewise.
56804         (__x86_64_raw_shared_cache_size_half): Likewise.
56805         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56806         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56807         and __x86_64_raw_shared_cache_size_half.  Round
56808         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56809         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56810         to multiple of 256 bytes.
56812 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56814         [BZ #12167]
56815         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56816         of inacessible symlinks.  Verify result of symlink before returning it.
56817         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56818         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56820 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56822         * math/math.h (isinf): Fix typo in comment.
56824 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56826         * po/da.po: Update from translation team.
56828 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56830         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56831         is added to the list.
56833 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56834             Ulrich Drepper  <drepper@gmail.com>
56836         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56837         the global list here.  Move code to...
56838         (_dl_add_to_namespace_list): ...here.  New function.
56839         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56840         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56841         * elf/dl-load.c (lose): Don't remove the element from the list.
56842         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56843         (_dl_map_object): Likewise.
56845 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56847         [BZ #12159]
56848         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56849         into all bytes of SSE register.
56850         Patch by Richard Li <richardpku@gmail.com>.
56852 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56854         [BZ #12140]
56855         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56856         perturbing.
56858 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56860         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56861         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56862         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56863         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56865         submachine.
56866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56868 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56870         * include/dlfcn.h (__RTLD_SECURE): Define.
56871         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56872         mode & __RTLD_SECURE instead.
56873         (open_path): Rename preloaded parameter to secure.
56874         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56875         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56876         * elf/dl-deps.c (openaux): Likewise.
56877         * elf/rtld.c (struct map_args): Remove is_preloaded.
56878         (map_doit): Don't use it.
56879         (dl_main): Likewise.
56880         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56881         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56883 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56885         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56886         (sysd-rules-targets): Remove duplicates.
56887         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56888         rtld-%.$o dependency.
56890 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56892         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56893         _dl_map_object do it.
56895 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56897         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56898         fast fma builtins, define the macros in the C99 standard.
56899         (FP_FAST_FMAF): Likewise.
56900         (FP_FAST_FMAL): Likewise.
56901         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56903         * bits/mathdef.h: Update copyright year.
56904         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56906 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56908         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56909         builtins, define the macros in the C99 standard.
56910         (FP_FAST_FMAF): Likewise.
56911         (FP_FAST_FMAL): Likewise.
56912         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56913         multiply/add.
56914         (FP_FAST_FMAF): Likewise.
56916 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56918         [BZ #3268]
56919         * math/libm-test.inc (fma_test): Some new testcases.
56920         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56922         y and infinite z.  Do multiplication by C already in long double.
56923         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56924         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56925         y and infinite z.  Do bitwise or of inexact bit into u.d.
56926         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56927         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56928         * sysdeps/i386/fpu/s_fma.S: Removed.
56929         * sysdeps/i386/fpu/s_fmal.S: Removed.
56931 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56933         [BZ #3268]
56934         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56936         computation is not scheduled after fetestexcept.  Fix value
56937         of minimum denormal long double.
56939 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56941         [BZ #3268]
56942         * math/libm-test.inc (fma_test): Add some more tests.
56943         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56944         correctly.
56946 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56948         * scripts/data/localplt-s390-linux-gnu.data: New file.
56949         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56951 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56953         [BZ #3268]
56954         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56955         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56956         instead of dbl-64.
56957         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56958         inlines.
56959         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56961         if one of x and y is very large and the other is subnormal.
56962         * sysdeps/s390/fpu/s_fmaf.c: New file.
56963         * sysdeps/s390/fpu/s_fma.c: New file.
56964         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56965         * sysdeps/powerpc/fpu/s_fma.S: New file.
56966         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56967         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56968         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56970 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56972         [BZ #3268]
56973         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56974         fma tests.
56975         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56976         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56977         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56978         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56979         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56980         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56981         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56983 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
56985         [BZ #12078]
56986         * posix/regcomp.c (parse_branch): One more memory leak plugged.
56987         * posix/bug-regex31.input: Add test case.
56989 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56991         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56992         * posix/bug-regex31.input: New file.
56994         [BZ #12078]
56995         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56996         (parse_sub_exp): Fix last change, use postorder.
56998         * posix/bug-regex31.c: New file.
56999         * posix/Makefile: Add rules to build and run bug-regex31.
57001         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57003         [BZ #12078]
57004         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57006         [BZ #12108]
57007         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57008         to have entries in sys_siglist.
57010         [BZ #12093]
57011         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57012         be NULL.
57014 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57016         [BZ #3268]
57017         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57018         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57019         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57020         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57021         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57022         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57023         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57024         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57025         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57026         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57027         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57028         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57029         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57030         * math/ftestexcept.c (fetestexcept): Likewise.
57031         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57032         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57033         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57034         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57035         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57036         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57037         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57039 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57041         [BZ #12107]
57042         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57043         newline.
57045 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57047         * string/bug-strstr1.c: New file.
57048         * string/Makefile: Add rules to build and run bug-strstr1.
57050 2010-10-05  Eric Blake  <eblake@redhat.com>
57052         [BZ #12092]
57053         * string/str-two-way.h (two_way_long_needle): Always clear memory
57054         when skipping input due to the shift table.
57056 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57058         [BZ #12005]
57059         * malloc/mcheck.c: Handle large requests.
57061         [BZ #12077]
57062         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57063         for strncmp and strncasecmp.
57064         * string/stratcliff.c: Add tests for strcmp and strncmp.
57065         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57067 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57069         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57070         __set_fpscr.
57072 2010-09-30  Andreas Jaeger  <aj@suse.de>
57074         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57075         (CGROUP_SUPER_MAGIC): Define.
57076         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57077         Handle btrfs and cgroup file systems.
57078         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57079         Likewise.
57081 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57083         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57084         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57086 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57088         [BZ #12067]
57089         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57090         trying to locate the ELF header.
57092 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57094         [BZ #11611]
57095         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57096         Mask out sign-bit copies when constructing f_fsid.
57098 2010-09-24  Petr Baudis <pasky@suse.cz>
57100         * debug/stack_chk_fail_local.c: Add missing licence exception.
57101         * debug/warning-nop.c: Likewise.
57103 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57105         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57106         implementing getdents64 using getdents syscall, set d_type if
57107         __ASSUME_GETDENTS32_D_TYPE.
57109 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57111         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57112         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57114 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57116         [BZ #12037]
57117         * posix/unistd.h: Undo change of feature selection for ftruncate from
57118         2010-01-11.
57120 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57122         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57123         detection.
57125 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57127         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57128         fanotify_mark.
57129         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57131 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57133         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57134         variables after CHECK_SP call.
57135         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57137 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57138             Ulrich Drepper  <drepper@redhat.com>
57140         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57141         re-relocationg ld.so.
57142         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57143         _dl_init_paths call.
57144         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57145         here anymore.
57147 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57149         * resolv/res_init.c (__res_vinit): Count the default server we added.
57151 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57152             Ulrich Drepper  <drepper@redhat.com>
57154         [BZ #11968]
57155         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57156         (____longjmp_chk): Use %ebx for saving value across system call.
57157         Add unwind info.
57159 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57161         * manual/Makefile: Don't mix pattern rules with normal rules.
57163 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57165         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57166         operation.
57167         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57168         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57169         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57170         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57171         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57172         Likewise.
57174 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57176         [BZ #11979]
57177         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57178         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57180 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57182         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57183         * sysdeps/x86_64/addmul_1.S: Likewise.
57184         * sysdeps/x86_64/lshift.S: Likewise.
57185         * sysdeps/x86_64/mul_1.S: Likewise.
57186         * sysdeps/x86_64/rshift.S: Likewise.
57187         * sysdeps/x86_64/sub_n.S: Likewise.
57188         * sysdeps/x86_64/submul_1.S: Likewise.
57190 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57192         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57193         Define __sched_param instead of SCHED_* and sched_param when
57194         <bits/sched.h> is included with __need_schedparam defined.
57195         * bits/sched.h [__need_schedparam]
57196         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57197         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57198         (__defined_schedparam): Define to 1.
57199         (__sched_param): New structure, identical to sched_param.
57200         (__need_schedparam): Undefine.
57202 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57204         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57205         (epoll_create1): Declare.
57207         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57209 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57211         [BZ #7066]
57212         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57213         shifting retval into place.
57215 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57217         * nis/rpcsvc/nis.h: Update copyright notice.
57218         * nis/rpcsvc/nis.x: Likewise.
57219         * nis/rpcsvc/nis_callback.h: Likewise.
57220         * nis/rpcsvc/nis_callback.x: Likewise.
57221         * nis/rpcsvc/nis_object.x: Likewise.
57222         * nis/rpcsvc/nis_tags.h: Likewise.
57223         * nis/rpcsvc/yp.h: Likewise.
57224         * nis/rpcsvc/yp.x: Likewise.
57225         * nis/rpcsvc/ypupd.h: Likewise.
57226         * nis/yp_xdr.c: Likewise.
57227         * nis/ypupdate_xdr.c: Likewise.
57229         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57230         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57231         (pmap_getport): Use __libc_rpc_getport.
57232         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57233         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57234         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57236 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57239         fanotify_mark.
57241 2010-08-27  Roland McGrath  <roland@redhat.com>
57243         * sysdeps/i386/i686/multiarch/Makefile
57244         (CFLAGS-varshift.c): New variable.
57246 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57248         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57249         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57251         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57253         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57255 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57257         * sysdeps/x86_64/strlen.S: Unroll the loop.
57258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57259         strlen-sse2 strlen-sse2-bsf.
57260         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57261         __strlen_no_bsf if bit_Slow_BSF is set.
57262         (__strlen_sse42): Removed.
57263         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57264         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57266 2010-08-25  Roland McGrath  <roland@redhat.com>
57268         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57269         * sysdeps/x86_64/multiarch/varshift.c: New file.
57270         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57271         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57272         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57273         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57275 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57277         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57278         strlen-sse2 strlen-sse2-bsf.
57279         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57280         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57281         (__strlen_sse2): Removed.
57282         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57283         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57285         bit_Slow_BSF for Atom.
57286         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57287         (index_Slow_BSF): Define.
57288         (HAS_SLOW_BSF): Define.
57290 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57292         [BZ #10851]
57293         * resolv/res_init.c (__res_vinit): When no server address at all
57294         is given default to loopback.
57296 2010-08-24  Roland McGrath  <roland@redhat.com>
57298         * configure.in: Remove config-name.h generation.
57299         * configure: Regenerated.
57300         * config-name.in: File removed.
57301         * scripts/config-uname.sh: New file.
57302         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57303         ($(objdir)config-name.h): New target.
57305         * sunrpc/rpc_parse.h: Avoid nested comment.
57307 2010-08-24  Richard Henderson  <rth@redhat.com>
57308             Ulrich Drepper  <drepper@redhat.com>
57309             H.J. Lu  <hongjiu.lu@intel.com>
57311         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57313         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57314         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57315         _mm_alignr_epi8 with _mm_loadu_si128.
57316         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57317         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57318         (__m128i_shift_right): Removed.
57319         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57320         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57321         * sysdeps/x86_64/multiarch/varshift.h: New file.
57322         * sysdeps/x86_64/multiarch/varshift.S: New file.
57324 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57326         * configure.in: Move assembler checks to before sysdep dir checking.
57328 2010-08-20  Petr Baudis  <pasky@suse.cz>
57330         * LICENSES: Sync the sunrpc license.
57332 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57334         * sunrpc/auth_des.c: Update copyright notice once again.
57335         * sunrpc/auth_none.c: Likewise.
57336         * sunrpc/auth_unix.c: Likewise.
57337         * sunrpc/authdes_prot.c: Likewise.
57338         * sunrpc/authuxprot.c: Likewise.
57339         * sunrpc/bindrsvprt.c: Likewise.
57340         * sunrpc/clnt_gen.c: Likewise.
57341         * sunrpc/clnt_perr.c: Likewise.
57342         * sunrpc/clnt_raw.c: Likewise.
57343         * sunrpc/clnt_simp.c: Likewise.
57344         * sunrpc/clnt_tcp.c: Likewise.
57345         * sunrpc/clnt_udp.c: Likewise.
57346         * sunrpc/clnt_unix.c: Likewise.
57347         * sunrpc/des_crypt.c: Likewise.
57348         * sunrpc/des_soft.c: Likewise.
57349         * sunrpc/get_myaddr.c: Likewise.
57350         * sunrpc/getrpcport.c: Likewise.
57351         * sunrpc/key_call.c: Likewise.
57352         * sunrpc/key_prot.c: Likewise.
57353         * sunrpc/openchild.c: Likewise.
57354         * sunrpc/pm_getmaps.c: Likewise.
57355         * sunrpc/pm_getport.c: Likewise.
57356         * sunrpc/pmap_clnt.c: Likewise.
57357         * sunrpc/pmap_prot.c: Likewise.
57358         * sunrpc/pmap_prot2.c: Likewise.
57359         * sunrpc/pmap_rmt.c: Likewise.
57360         * sunrpc/rpc/auth.h: Likewise.
57361         * sunrpc/rpc/auth_unix.h: Likewise.
57362         * sunrpc/rpc/clnt.h: Likewise.
57363         * sunrpc/rpc/des_crypt.h: Likewise.
57364         * sunrpc/rpc/key_prot.h: Likewise.
57365         * sunrpc/rpc/netdb.h: Likewise.
57366         * sunrpc/rpc/pmap_clnt.h: Likewise.
57367         * sunrpc/rpc/pmap_prot.h: Likewise.
57368         * sunrpc/rpc/pmap_rmt.h: Likewise.
57369         * sunrpc/rpc/rpc.h: Likewise.
57370         * sunrpc/rpc/rpc_des.h: Likewise.
57371         * sunrpc/rpc/rpc_msg.h: Likewise.
57372         * sunrpc/rpc/svc.h: Likewise.
57373         * sunrpc/rpc/svc_auth.h: Likewise.
57374         * sunrpc/rpc/types.h: Likewise.
57375         * sunrpc/rpc/xdr.h: Likewise.
57376         * sunrpc/rpc_clntout.c: Likewise.
57377         * sunrpc/rpc_cmsg.c: Likewise.
57378         * sunrpc/rpc_common.c: Likewise.
57379         * sunrpc/rpc_cout.c: Likewise.
57380         * sunrpc/rpc_dtable.c: Likewise.
57381         * sunrpc/rpc_hout.c: Likewise.
57382         * sunrpc/rpc_main.c: Likewise.
57383         * sunrpc/rpc_parse.c: Likewise.
57384         * sunrpc/rpc_parse.h: Likewise.
57385         * sunrpc/rpc_prot.c: Likewise.
57386         * sunrpc/rpc_sample.c: Likewise.
57387         * sunrpc/rpc_scan.c: Likewise.
57388         * sunrpc/rpc_scan.h: Likewise.
57389         * sunrpc/rpc_svcout.c: Likewise.
57390         * sunrpc/rpc_tblout.c: Likewise.
57391         * sunrpc/rpc_util.c: Likewise.
57392         * sunrpc/rpc_util.h: Likewise.
57393         * sunrpc/rpcinfo.c: Likewise.
57394         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57395         * sunrpc/rpcsvc/key_prot.x: Likewise.
57396         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57397         * sunrpc/rpcsvc/mount.x: Likewise.
57398         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57399         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57400         * sunrpc/rpcsvc/rex.x: Likewise.
57401         * sunrpc/rpcsvc/rstat.x: Likewise.
57402         * sunrpc/rpcsvc/rusers.x: Likewise.
57403         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57404         * sunrpc/rpcsvc/spray.x: Likewise.
57405         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57406         * sunrpc/rtime.c: Likewise.
57407         * sunrpc/svc.c: Likewise.
57408         * sunrpc/svc_auth.c: Likewise.
57409         * sunrpc/svc_authux.c: Likewise.
57410         * sunrpc/svc_raw.c: Likewise.
57411         * sunrpc/svc_run.c: Likewise.
57412         * sunrpc/svc_simple.c: Likewise.
57413         * sunrpc/svc_tcp.c: Likewise.
57414         * sunrpc/svc_udp.c: Likewise.
57415         * sunrpc/svc_unix.c: Likewise.
57416         * sunrpc/svcauth_des.c: Likewise.
57417         * sunrpc/xcrypt.c: Likewise.
57418         * sunrpc/xdr.c: Likewise.
57419         * sunrpc/xdr_array.c: Likewise.
57420         * sunrpc/xdr_float.c: Likewise.
57421         * sunrpc/xdr_mem.c: Likewise.
57422         * sunrpc/xdr_rec.c: Likewise.
57423         * sunrpc/xdr_ref.c: Likewise.
57424         * sunrpc/xdr_sizeof.c: Likewise.
57425         * sunrpc/xdr_stdio.c: Likewise.
57427         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57428         handling.
57430 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57432         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57434 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57436         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57437         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57438         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57439         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57440         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57441         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57442         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57443         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57444         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57445         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57446         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57447         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57448         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57449         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57451 2010-07-26  Anton Blanchard  <anton@samba.org>
57453         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57454         * malloc/arena.c (heap_trim): Likewise.
57456 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57458         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57459         here.  Not...
57460         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57461         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57463 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57465         * sysdeps/i386/elf/Makefile: New file.
57467 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57469         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57470         from fanotify_init.
57471         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57474 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57476         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57477         of strncasecmp_l.
57478         * sysdeps/multiarch/strcmp.S: Likewise.
57480 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57482         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57483         strncase_l-nonascii.
57484         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57485         Add strncase_l-ssse3.
57486         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57487         * sysdeps/x86_64/strcmp.S: Likewise.
57488         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57489         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57490         * sysdeps/x86_64/strncase.S: New file.
57491         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57492         * sysdeps/x86_64/strncase_l.S: New file.
57493         * string/Makefile (strop-tests): Add strncasecmp.
57494         * string/test-strncasecmp.c: New file.
57496         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57497         warning.
57499         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57500         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57502 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57504         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57506 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57508         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57509         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57510         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57512 2010-05-01  Alan Modra  <amodra@gmail.com>
57514         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57515         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57516         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57517         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57518         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57519         tidying.  Don't tail-call __sigjmp_save for static lib.
57520         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57521         save location.
57522         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57523         (CALL_MCOUNT): Add eh info, and nop after bl.
57524         (TAIL_CALL_SYSCALL_ERROR): New macro.
57525         (PSEUDO_RET): Use it.
57526         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57527         Correct save location of integer regs and cr.
57528         (_dl_profile_resolve): Correct cr save location.  Delete nops
57529         after bl when SHARED.  Reduce cfi size a little by better
57530         placement of cfi directives.
57531         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57532         make a stack frame.  Instead use parm save area as a temp.
57533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57534         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57536         Don't make a stack frame for parent, use parm save area.
57537         Increase child stack frame to 112 bytes.  Don't save unused reg,
57538         and adjust reg usage.  Set up cfi on error recovery and
57539         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57541         (__makecontext): Add dummy nop after jump to exit.
57542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57543         Use correct parm save area and cr save, reduce stack frame.
57544         Correct cfi for possible PSEUDO_RET frame setup.
57545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57546         Branch to local label emitted by PSEUDO_RET rather than
57547         __syscall_error.
57549 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57551         [BZ #11904]
57552         * locale/programs/locale.c (print_assignment): New function.
57553         (show_locale_vars): Use it.
57555 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57557         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57558         field.
57559         (struct statfs64): Likewise.
57560         (_STATFS_F_FLAGS): Define.
57561         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57562         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57563         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57564         (ST_VALID): Define locally.
57565         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57566         __statvfs_getflags, use the provided value.
57567         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57568         __ASSUME_STATFS_F_FLAGS.
57570         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57572         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57573         Add sys/fanotify.h.
57574         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57575         fanotify_mask for GLIBC_2.13.
57576         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57577         fanotify_init and fanotify_mark.
57578         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57579         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57581         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57582         Add prlimit.
57583         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57584         prlimit64 for GLIBC_2.13.
57585         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57586         prlimit64.
57587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57588         syscall.
57589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57590         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57591         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57592         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57593         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57594         add prlimit alias.
57595         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57597         [BZ #11903]
57598         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57599         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57601         * nss/Makefile: Add rules to build and run tst-nss-test1.
57602         * shlib-versions: Add entry for libnss_test1.
57603         * nss/nss_test1.c: New file.
57604         * nss/tst-nss-test1.c: New file.
57606         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57607         (__nss_configure_lookup): Set appropriate entry in
57608         __nss_configure_lookup to true.
57609         * nss/nsswitch.h: Define enum with indeces of databases in
57610         databases and __nss_database_custom arrays.  Declare
57611         __nss_database_custom.
57612         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57613         to avoid using nscd when custom rules are installed.
57614         * nss/getXXbyYY_r.c: Likewise.
57615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57617         * nss/nss_files/files-parse.c: Whitespace fixes.
57619 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57621         [BZ #11883]
57622         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57623         * posix/fnmatch_loop.c: Likewise.
57625 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57627         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57628         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57629         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57630         * Versions.def [GLIBC_2.13]: Add.
57632 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57634         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57635         Also fail if tpwd after pwuid call is NULL.
57637 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57639         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57640         when converting to ms.
57642 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57644         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57645         EOPNOTSUPP errors with ENOTTY.
57646         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57647         EOPNOTSUPP errors with ENOTTY.
57649 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57651         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57652         Add strcasecmp_l-ssse3.
57653         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57654         strcasecmp.
57655         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57656         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57657         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57659 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57661         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57663         * string/Makefile (strop-tests): Add strcasecmp.
57664         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57665         strcasecmp_l-nonascii.
57666         (gen-as-const-headers): Add locale-defines.sym.
57667         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57668         * sysdeps/x86_64/strcasecmp.S: New file.
57669         * sysdeps/x86_64/strcasecmp_l.S: New file.
57670         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57671         * sysdeps/x86_64/locale-defines.sym: New file.
57672         * string/test-strcasecmp.c: New file.
57674         * string/test-strcasestr.c: Test both ends of the range of characters.
57675         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57677 2010-07-29  Roland McGrath  <roland@redhat.com>
57679         [BZ #11856]
57680         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57682 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57684         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57685         for ld.so.
57687 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57689         * manual/memory.texi (Malloc Tunable Parameters): Document
57690         M_PERTURB.
57692 2010-07-26  Roland McGrath  <roland@redhat.com>
57694         [BZ #11840]
57695         * configure.in (-fgnu89-inline check): Set and substitute
57696         gnu89_inline, not libc_cv_gnu89_inline.
57697         * configure: Regenerated.
57698         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57700 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57702         * string/test-strnlen.c: New file.
57703         * string/Makefile (strop-tests): Add strnlen.
57704         * string/tester.c (test_strnlen): Add a few more test cases.
57705         * string/tst-strlen.c: Better error reporting.
57707         * sysdeps/x86_64/strnlen.S: New file.
57709 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57711         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57712         lower-latency instructions.
57714 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57716         * string/test-strcasestr.c: New file.
57717         * string/test-strstr.c: New file.
57718         * string/Makefile (strop-tests): Add strstr and strcasestr.
57719         * string/str-two-way.h: Don't undefine MAX.
57720         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57722 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57724         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57725         strcasestr-nonascii.
57726         (CFLAGS-strcasestr-nonascii.c): Define.
57727         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57728         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57729         Remove unused attribute.
57731 2010-07-20  Roland McGrath  <roland@redhat.com>
57733         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57734         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57735         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57736         like LD_HWCAP_MASK can disable hwcaps.
57738 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57740         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57742 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57744         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57745         call in strcasestr.
57746         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57747         __strcasestr_sse42_nonascii.
57748         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57749         strcasestr-nonascii.c.
57750         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57752 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57754         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57755         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57756         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57757         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57759 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57761         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57762         fcntl.
57764 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57766         [BZ #11577]
57767         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57768         dl_signal_cerror.
57770 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57772         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57773         _PC_PIPE_BUF using F_GETPIPE_SZ.
57775 2010-07-05  Roland McGrath  <roland@redhat.com>
57777         * manual/arith.texi (Rounding Functions): Fix rint description
57778         implicit in round description.
57780 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57782         * elf/Makefile: Fix linking for a few tests to make recent linker
57783         happy.
57785 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57787         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57788         $(common-objpfx)libc_nonshared.a.
57790 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57792         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57793         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57794         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57795         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57796         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57797         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57798         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57799         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57814         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57815         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57816         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57817         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57818         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57819         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57820         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57821         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57822         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57823         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57824         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57825         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57841 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57843         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57844         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57845         * string/memmove.c (memmove): Renamed to ...
57846         (MEMMOVE): ...this.  Default to memmove.
57847         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57848         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57849         (END_CHK): Define.
57850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57851         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57852         mempcpy-ssse3-back memmove-ssse3-back.
57853         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57854         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57855         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57856         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57857         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57858         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57859         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57860         * sysdeps/x86_64/multiarch/memmove.c: New file.
57861         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57862         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57863         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57864         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57865         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57866         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57867         Define.
57868         (index_Fast_Copy_Backward): Define.
57869         (HAS_ARCH_FEATURE): Define.
57870         (HAS_FAST_REP_STRING): Define.
57871         (HAS_FAST_COPY_BACKWARD): Define.
57873 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57875         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57876         Restore proper fallback handling.
57878 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57880         [BZ #11701]
57881         * posix/group_member.c (__group_member): Correct checking loop.
57883         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57884         OOM in getpwuid_r correctly.  Return error number when the caller
57885         should return, otherwise -1.
57886         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57887         call returning > 0 value.
57888         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57890 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57892         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57893         libc_nonshared.a from targets in modules-names.
57895 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57897         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57898         requires it.
57900 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57902         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57903         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57904         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57905         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57907 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57909         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57911 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57913         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57914         and F_GETPIPE_SZ.
57915         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57916         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57919         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57920         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57922 2010-06-14  Roland McGrath  <roland@redhat.com>
57924         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57926 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57928         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57929         __REDIRECT followed by __THROW.
57930         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57931         * posix/getopt.h (getopt): Likewise.
57933 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57935         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57936         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57937         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57938         in AT_FLAGS.
57939         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57940         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57942 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57944         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57946 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57948         [BZ #11640]
57949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57950         Properly check family and model.
57952 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57954         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57956 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57958         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57960 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57962         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57963         symbol reference.
57965 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57967         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57968         symbol reference.
57970 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57972         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57973         and internal_recvmmsg.
57974         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57975         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57976         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57977         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57979         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57980         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57981         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57983 2010-05-20  Andreas Schwab  <schwab@redhat.com>
57985         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57987 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
57989         POWER7 optimizations.
57990         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57991         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57993 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
57995         * version.h: Update for 2.13 development version.
57997 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
57999         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58000         exceptions.  Return 0.
58002 2010-05-07  Roland McGrath  <roland@redhat.com>
58004         * elf/ldconfig.c (main): Add a const.
58006 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58008         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58009         (args_options): Add no-idn option.
58010         (ahosts_keys_int): Add idn_flags to ai_flags.
58011         (parse_option): Handle 'i' option to clear idn_flags.
58013         * malloc/malloc.c (_int_free): Possible race in the most recently
58014         added check.  Only act on the data if no current modification
58015         happened.
58017 See ChangeLog.17 for earlier changes.